]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add Nios II definitions to elf/elf.h.
[thirdparty/glibc.git] / ChangeLog
1 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2 Sandra Loosemore <sandra@codesourcery.com>
3 Andrew Jenner <andrew@codesourcery.com>
4 Joseph Myers <joseph@codesourcery.com>
5 Nathan Sidwell <nathan@codesourcery.com>
6
7 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
12 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
14 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24
25 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26
27 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28 timespec struct member in syscall macro.
29 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
31 first timeval struct member in syscall macro.
32 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33
34 2015-01-07 Joseph Myers <joseph@codesourcery.com>
35
36 [BZ #17748]
37 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40 __feupdateenv and define as weak alias of __feupdateenv. Use
41 libm_hidden_weak.
42 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
43 libm_hidden_def.
44 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
45 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
46 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
47 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
48 libm_hidden_def.
49 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
50 __feupdateenv and define as weak alias of __feupdateenv. Use
51 libm_hidden_weak.
52 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
53 libm_hidden_def.
54 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
55 __feupdateenv and define as weak alias of __feupdateenv. Use
56 libm_hidden_weak.
57 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
58 libm_hidden_def.
59 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
61 (__feupdateenv): Likewise.
62 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
63 __feupdateenv and define as weak alias of __feupdateenv. Use
64 libm_hidden_weak.
65 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
67 libm_hidden_def.
68 * sysdeps/tile/math_private.h (__feupdateenv): New inline
69 function.
70 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
71 libm_hidden_def.
72 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
73 __feupdateenv instead of feupdateenv.
74 (default_libc_feupdateenv_test): Likewise.
75 (libc_feresetround_ctx): Likewise.
76
77 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78
79 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
80 prototype.
81
82 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
83
84 * posix/regcomp.c (parse_bracket_exp): Initialize type to
85 COLL_SYM in a couple of places to avoid uninitialized variable
86 wanings on tilegx gcc 4.8.2.
87
88 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
89
90 * sysdeps/aarch64/strcpy.S: New file.
91 * sysdeps/aarch64/stpcpy.S: New file.
92 * NEWS: Updated.
93
94 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
95
96 * sysdeps/aarch64/strrchr.S: New file.
97 * NEWS: Updated.
98
99 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
100
101 [BZ #17658]
102 * stdlib/setenv.c: Fix memory leak when setting large,
103 duplicate string.
104
105 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
106
107 [BZ #17273]
108 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
109 and tabs from buffer before parsing fstab entry.
110 * misc/tst-mntent.c (main): Add test for mount entry with
111 trailing spaces and tabs.
112
113 2015-01-06 Joseph Myers <joseph@codesourcery.com>
114
115 [BZ #17748]
116 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
117 * math/fesetround.c (fesetround): Rename to __fesetround and
118 define as weak alias of __fesetround. Use libm_hidden_weak.
119 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
120 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
121 * sysdeps/arm/fesetround.c (fesetround): Likewise.
122 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
123 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
124 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
125 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
126 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
127 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
128 __fesetround_inline.
129 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
130 __fesetround_inline instead of __fesetround.
131 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
132 __fesetround and define as weak alias of __fesetround. Use
133 libm_hidden_weak. Call __fesetround_inline instead of
134 __fesetround.
135 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
136 __fesetround and define as weak alias of __fesetround. Use
137 libm_hidden_weak.
138 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
139 Likewise.
140 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
142 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
143 * sysdeps/tile/math_private.h (__fesetround): New inline function.
144 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
145 __fesetround and define as weak alias of __fesetround. Use
146 libm_hidden_weak.
147 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
148 __fesetround instead of fesetround.
149 (default_libc_feholdexcept_setround): Likewise.
150 (libc_feholdsetround_ctx): Likewise.
151 (libc_feholdsetround_noex_ctx): Likewise.
152
153 [BZ #17748]
154 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
155 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
156 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
157 and define as weak alias of __fesetenv. Use libm_hidden_weak.
158 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
159 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
160 define as weak alias of __fesetenv. Use libm_hidden_weak.
161 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
162 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
163 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
164 define as weak alias of __fesetenv. Use libm_hidden_weak.
165 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
166 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
167 define as weak alias of __fesetenv. Use libm_hidden_weak.
168 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
169 libm_hidden_def.
170 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
171 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
172 Likewise.
173 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
174 define as weak alias of __fesetenv. Use libm_hidden_weak.
175 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
176 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
177 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
178 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
179 and define as weak alias of __fesetenv. Use libm_hidden_weak.
180 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
181 __fesetenv instead of fesetenv.
182 (libc_feresetround_noex_ctx): Likewise.
183 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
184 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
185 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
186 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
187 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
188 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
189 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
190 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
191 (__feupdateenv): Likewise.
192 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
193 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
194 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
195 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
196
197 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
198
199 [BZ #17806]
200 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
201 addresses have been freed.
202
203 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
204
205 * resolv/res_init.c (__res_vinit): Improve comments about nserv
206 and nservall.
207
208 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
209
210 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
211 Clean up check_pf allocation pattern. addresses
212
213 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214
215 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
216 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
217 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
218 * nptl/pthread_exit.c (__pthread_exit): Likewise.
219 * nptl/pthread_join.c (pthread_join): Likewise.
220 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
221 * sysdeps/posix/waitid.c (__waitid): Likewise.
222 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
223 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
224 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
225 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
226 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
227 Likewise.
228 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
229 (__libc_pread64): Likewise.
230 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
231 (__libc_pwrite): Likewise.
232 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
233 (__libc_pwrite64): Likewsie.
234 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
235 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
236 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
237 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
238 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
239 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
240 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
242 Likewise.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
244 (__libc_pread64): Likewise.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
246 Likewise.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
248 (__libc_pwrite64): Likewise.
249 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
250 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
251 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
252 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
253 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
254 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
255 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
256 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
257 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
258 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
259 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
260 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
261 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
262 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
263 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
264 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
265 Likewise.
266
267 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
268
269 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
270 (CFLAGS-test-double.c): Likewise.
271 (CFLAGS-test-ldouble.c): Likewise.
272 (CPPFLAGS-test-ifloat.c): Likewise.
273 (CPPFLAGS-test-idouble.c): Likewise.
274 (CPPFLAGS-test-ildoubl.c): Likewise.
275 (CFLAGS-test-test-fenv.c): Remove variable.
276 (CFLAGS-test-misc.c): Likewise.
277
278 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
279
280 [BZ #17797]
281 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
282 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
283 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
284 CLOCKS_PER_SEC == 1000000.
285 * time/clocktest.c (main): Replace %ld with %jd and cast to
286 intmax_t.
287
288 2015-01-05 Roland McGrath <roland@hack.frob.com>
289
290 * sysdeps/generic/unwind-resume.h: New file.
291 * sysdeps/gnu/unwind-resume.c: Include it.
292 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
293 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
294 argument list.
295 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
296 global rather than static.
297 (_Unwind_Resume): Update user.
298 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
299 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
300 rather than static. Add __attribute__ ((cold)).
301 (_Unwind_Resume, __gcc_personality_v0): Update callers.
302 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
303 * sysdeps/arm/arm-unwind-resume.S: New file.
304 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
305 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
306 * sysdeps/arm/Makefile [$(subdir) = csu]
307 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
308 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
309 Add rt-arm-unwind-resume.
310 [$(subdir) = nptl]
311 (libpthread-sysdep_routines, libpthread-shared-only-routines):
312 Add pt-arm-unwind-resume.
313 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
314 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
315
316 2015-01-05 Joseph Myers <joseph@codesourcery.com>
317
318 [BZ #17748]
319 * include/fenv.h (__feholdexcept): Declare. Use
320 libm_hidden_proto.
321 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
322 define as weak alias of __feholdexcept. Use libm_hidden_weak.
323 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
324 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
325 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
326 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
327 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
328 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
329 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
330 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
331 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
332 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
333 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
334 (feholdexcept): Likewise.
335 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
336 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
337 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
338 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
339 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
340 __feholdexcept instead of feholdexcept.
341 (default_libc_feholdexcept_setround): Likewise.
342
343 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
344
345 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
346 to avoid using stl/str to align destination.
347
348 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
349
350 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
351
352 2015-01-05 Joseph Myers <joseph@codesourcery.com>
353
354 [BZ #17796]
355 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
356 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
357 Define as weak alias not strong alias.
358
359 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
360
361 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
362 bltzal with addiupc.
363 (RTLD_START): Ditto.
364
365 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
366
367 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
368 for __vdso_* functions in declarations.
369 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
370 definitions.
371 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
372 INTERNAL_VSYSCALL): Use struct return types to check for error.
373
374 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
375 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
376 function with cast from llround().
377 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
378 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
379 Define.
380
381 2015-01-05 Joseph Myers <joseph@codesourcery.com>
382
383 [BZ #17793]
384 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
385 Define as weak alias not strong alias.
386
387 [BZ #17635]
388 * ctype/ctype-c99.c: New file. isblank implementation moved from
389 ...
390 * ctype/ctype-extn.c: ... here.
391 (__isblank_l): Move to ...
392 * ctype/ctype-c99_l.c: ... here. New file.
393 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
394 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
395 Remove variable.
396 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
397 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
398 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
399 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
400 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
401
402 [BZ #17777]
403 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
404 (posix_fadvise64): Define as weak alias not strong alias.
405 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
406 (posix_fallocate64): Likewise.
407 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
408 Remove variable.
409 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
410 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
411 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
412 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
413 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
414
415 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
416
417 [BZ #16191]
418 * NEWS: Mention bug fix.
419 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
420 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
421 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
422 (HOST_STACK_END_ADDR): Likewise.
423
424 2015-01-02 Joseph Myers <joseph@codesourcery.com>
425
426 [BZ #17748]
427 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
428 * math/fegetround.c (fegetround): Rename to __fegetround and
429 define as weak alias of __fegetround. Use libm_hidden_weak.
430 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
431 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
432 * sysdeps/arm/fegetround.c (fegetround): Likewise.
433 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
434 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
435 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
436 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
437 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
438 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
439 Undefine after rather than before function definition; use
440 parentheses around function name in definition.
441 (__fegetround): Also undefine macro after function definition.
442 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
443 __fegetround and define as weak alias of __fegetround. Use
444 libm_hidden_weak. Do not undefine as macro.
445 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
446 Likewise.
447 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
448 __fegetround and define as weak alias of __fegetround. Use
449 libm_hidden_weak.
450 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
451 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
452 * sysdeps/tile/math_private.h (__fegetround): New inline function.
453 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
454 __fegetround and define as weak alias of __fegetround. Use
455 libm_hidden_weak.
456 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
457 __fegetround instead of fegetround.
458
459 [BZ #17782]
460 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
461 Condition macro definition on [__USE_MISC].
462
463 [BZ #17781]
464 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
465 (struct sigaction): Change type of sa_flags field to int.
466
467 [BZ #17780]
468 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
469 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
470 __glibc_reserved0.
471
472 * nptl/version.c (banner): Use single year in copyright notice.
473
474 * NEWS: Update copyright dates.
475 * catgets/gencat.c (print_version): Likewise.
476 * csu/version.c (banner): Likewise.
477 * debug/catchsegv.sh: Likewise.
478 * debug/pcprofiledump.c (print_version): Likewise.
479 * debug/xtrace.sh (do_version): Likewise.
480 * elf/ldconfig.c (print_version): Likewise.
481 * elf/ldd.bash.in: Likewise.
482 * elf/pldd.c (print_version): Likewise.
483 * elf/sotruss.sh: Likewise.
484 * elf/sprof.c (print_version): Likewise.
485 * iconv/iconv_prog.c (print_version): Likewise.
486 * iconv/iconvconfig.c (print_version): Likewise.
487 * locale/programs/locale.c (print_version): Likewise.
488 * locale/programs/localedef.c (print_version): Likewise.
489 * login/programs/pt_chown.c (print_version): Likewise.
490 * malloc/memusage.sh (do_version): Likewise.
491 * malloc/memusagestat.c (print_version): Likewise.
492 * malloc/mtrace.pl: Likewise.
493 * manual/libc.texinfo: Likewise.
494 * nptl/version.c (banner): Likewise.
495 * nscd/nscd.c (print_version): Likewise.
496 * nss/getent.c (print_version): Likewise.
497 * nss/makedb.c (print_version): Likewise.
498 * posix/getconf.c (main): Likewise.
499 * scripts/test-installation.pl: Likewise.
500 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
501
502 2015-01-02 Will Newton <will.newton@linaro.org>
503
504 * sysdeps/arm/armv7/configure: Removed.
505 * sysdeps/arm/armv7/configure.ac: Likewise.
506
507 2015-01-02 Joseph Myers <joseph@codesourcery.com>
508
509 * All files with FSF copyright notices: Update copyright dates
510 using scripts/update-copyrights.
511 * intl/plural.c: Regenerated.
512 * locale/programs/charmap-kw.h: Likewise.
513 * locale/programs/locfile-kw.h: Likewise.
514
515 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
516
517 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
518
519 2014-12-31 Joseph Myers <joseph@codesourcery.com>
520
521 [BZ #17748]
522 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
523 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
524 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
525 and define as weak alias of __fegetenv. Use libm_hidden_weak.
526 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
527 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
528 define as weak alias of __fegetenv. Use libm_hidden_weak.
529 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
530 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
531 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
532 define as weak alias of __fegetenv. Use libm_hidden_weak.
533 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
534 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
535 define as weak alias of __fegetenv. Use libm_hidden_weak.
536 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
537 libm_hidden_def.
538 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
539 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
540 Likewise.
541 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
542 define as weak alias of __fegetenv. Use libm_hidden_weak.
543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
544 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
545 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
546 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
547 and define as weak alias of __fegetenv. Use libm_hidden_weak.
548 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
549 __fegetenv instead of fegetenv.
550 (libc_feholdsetround_noex_ctx): Likewise.
551
552 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
553
554 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
555 (Elf_MIPS_ABIFlags_v0): New structure.
556 (EF_MIPS_FP64): Define.
557 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
558 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
559 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
560 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
561 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
562 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
563 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
564 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
565 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
566 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
567 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
568 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
569 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
570 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
571 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
572 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
573 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
574 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
575 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
576 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
577 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
578 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
579 field.
580 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
581 EF_MIPS_FP64.
582 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
583 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
584 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
585 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
586 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
587 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
588 * sysdeps/mips/tst-abi-interlink.c: Likewise.
589 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
590 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
591 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
592 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
593 record the current FP ABI extension.
594 (mips-mode-switch): Define to show if kernel headers support mode
595 switching.
596 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
597 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
598 supported SYSV ABI version to 3.
599 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
600 feature.
601
602 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
603 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
604
605 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
606 path.
607 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
608
609 2014-12-31 Joseph Myers <joseph@codesourcery.com>
610
611 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
612 __fegetround and redefine to call __fegetround. Remove condition
613 on [!__NO_MATH_INLINES].
614 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
615 function.
616 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
618 Remove macro.
619 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
620 instead of <fenv_libc.h>.
621 (__llrintl): Call fegetround instead of __fegetround.
622 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
623 instead of <fenv_libc.h>.
624 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
625 (__lrintl): Call fegetround instead of __fegetround.
626 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
627 instead of <fenv_libc.h>.
628 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
629 (__rintl): Call fegetround instead of __fegetround.
630
631 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
632
633 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
634 arrays.
635
636 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
637
638 [BZ #17775]
639 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
640 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
641 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
642
643 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
644
645 * sysdeps/i386/tls-macros.h: Include <features.h>.
646 (TLS_LE): Use non-PIC version for GCC >= 5.0.
647 (TLS_IE): Likewise.
648 (TLS_LD): Likewise.
649 (TLS_GD): Likewise.
650 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
651 define for GCC >= 5.0.
652
653 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
654
655 * math/test-fenv.c (test_single_exception, set_single_exc,
656 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
657 feexcp_mask_test, feenable_test, fe_single_test): Add
658 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
659 case where they are not used.
660 * math/libm-test.inc: Likewise.
661 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
662 unused in the absence of FP rounding/exception support.
663 * stdio-common/tst-printf-round.c: Likewise.
664 * stdlib/tst-strtod-round.c: Likewise.
665 * stdlib/tst-strtod-underflow.c: Likewise.
666
667 2014-12-30 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #17723]
670 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
671 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
672 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
673 __feraiseexcept and define as weak alias of __feraiseexcept. Use
674 libm_hidden_weak.
675 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
676 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
677 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
678 libm_hidden_def.
679 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
680 __feraiseexcept and define as weak alias of __feraiseexcept. Use
681 libm_hidden_weak.
682 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
683 Likewise.
684 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
685 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
686 __feraiseexcept and define as weak alias of __feraiseexcept. Use
687 libm_hidden_weak.
688 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
689 libm_hidden_def.
690 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
691 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
692 (__feraiseexcept): Likewise.
693 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
694 __feraiseexcept and define as weak alias of __feraiseexcept. Use
695 libm_hidden_weak.
696 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
697 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
698 libm_hidden_def.
699 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
700 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
701 Use libm_hidden_def.
702 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
703 libm_hidden_def.
704 (feraiseexcept): Define as weak not strong alias. Use
705 libm_hidden_weak.
706 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
707 New inline function. Factored out of ...
708 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
709 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
710 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
711 feraiseexcept.
712 * math/w_acos.c (__acos): Likewise.
713 * math/w_asin.c (__asin): Likewise.
714 * math/w_ilogb.c (__ilogb): Likewise.
715 * math/w_j0.c (y0): Likewise.
716 * math/w_j1.c (y1): Likewise.
717 * math/w_jn.c (yn): Likewise.
718 * math/w_log.c (__log): Likewise.
719 * math/w_log10.c (__log10): Likewise.
720 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
721 * sysdeps/aarch64/fpu/math_private.h
722 (libc_feupdateenv_test_aarch64): Likewise.
723 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
724 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
725 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
726 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
727 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
728 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
729 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
730 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
731 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
732 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
733
734 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
735
736 [BZ #17732]
737 * io/test-utime.c (main): Replace %ld with %jd and cast to
738 intmax_t.
739 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
740 * nptl/tst-mutex5.c: Include <stdint.h>.
741 (do_test): Replace %ld with %jd and cast to intmax_t.
742 * posix/tst-regex.c (run_test): Likewise.
743 (run_test_backwards): Likewise.
744 * rt/tst-clock.c: Include <stdint.h>.
745 (clock_test): Replace %ld with %jd and cast to intmax_t.
746 * rt/tst-cpuclock1.c: Include <stdint.h>.
747 (do_test): Replace %lu with %ju and cast to uintmax_t.
748 * rt/tst-cpuclock2.c: Include <stdint.h>.
749 (do_test): Replace %lu with %ju and cast to uintmax_t.
750 * rt/tst-mqueue1.c: Include <stdint.h>.
751 (check_attrs): Replace %ld with %jd and cast to intmax_t.
752 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
753 intmax_t.
754 * rt/tst-mqueue4.c (do_test): Likewise.
755 * rt/tst-timer4.c: Include <stdint.h>.
756 (check_ts): Replace %ld with %jd and cast to intmax_t.
757 (do_test): Likewise.
758 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
759 and cast to intmax_t.
760 * sysdeps/pthread/tst-timer.c (main): Likewise.
761 * time/clocktest.c (main): Likewise.
762 * time/tst-posixtz.c (do_test): Likewise.
763 * timezone/tst-timezone.c (main): Likewise.
764
765 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
766 H.J. Lu <hongjiu.lu@intel.com>
767
768 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
769 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
770 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
771 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
772 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
773 version if bit_Fast_Unaligned_Load is set.
774 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
775 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
776 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
777 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
778 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
779 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
781 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
782 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
783 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
784 to 4.
785 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
786 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
787 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
788 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
789
790 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
791
792 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
793 instead of #if to avoid a Wundef warning.
794 * stdlib/tst-limits.c (do_test): Likewise.
795
796 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
797 parallel other exception macros.
798 (fegetenv): Convert from macro to extern inline so that it applies
799 retroactively to inline functions already seen by the compiler.
800 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
801
802 * posix/Makefile (before-compile): Use $(objpfx) for
803 posix-conf-vars-def.h.
804
805 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
806
807 * posix/getconf.c (main): Use size_t for type of I.
808 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
809 NSPEC.
810
811 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
812 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
813 * posix/posix-envs.def: Likewise.
814 * sysdeps/posix/sysconf.c: Likewise.
815 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
816 (specs): Remove array.
817 * scripts/gen-posix-conf-vars.awk: Support generation of specs
818 array.
819
820 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
821 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
822 (__sysconf): Use CONF_IS_* macros.
823
824 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
825 ($(objpfx)posix-conf-vars-def.h): New target.
826 * posix/posix-conf-vars.list: New file.
827 * posix/posix-conf-vars.h: New file.
828 * posix/confstr.c: Include posix-conf-vars.h.
829 (confstr): Use CONF_IS_* macros.
830 * posix/posix-envs.def: Include posix-conf-vars.h. Use
831 CONF_IS_* macros.
832 * scripts/gen-posix-conf-vars.awk: New file.
833
834 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
835
836 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
837 fegetround): Add no-op macros to avoid linknamespace issues.
838
839 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
840 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
841
842 * sysdeps/unix/sysv/linux/tile/sysdep.h
843 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
844 assembly-specific section to avoid a redefinition warning.
845
846 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
847 long before casting to pointer to avoid a cast warning.
848
849 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
850
851 * sysdeps/tile/tilegx/Implies: New file.
852
853 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
854
855 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
856
857 2014-12-23 Florian Weimer <fweimer@redhat.com>
858
859 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
860
861 2014-12-22 Joseph Myers <joseph@codesourcery.com>
862
863 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
864 not define.
865 * sysdeps/unix/sysv/linux/utimes.c: Do not include
866 <kernel-features.h>.
867 (__utimes) [__NR_utimes]: Make code unconditional.
868 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
869 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
870 (__ASSUME_UTIMES): Do not undefine.
871 * sysdeps/unix/sysv/linux/tile/kernel-features.h
872 (__ASSUME_UTIMES): Likewise.
873 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
874 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
875 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
876 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
877
878 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
879
880 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
881
882 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
883
884 [BZ #17747]
885 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
886 alias to weak alias for j0l, y0l.
887 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
888 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
889
890 [BZ #17746]
891 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
892 conversion.
893
894 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
895
896 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
897 to zero if not already defined.
898
899 2014-12-22 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #17724]
902 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
903 (__kernel_standard_f): Remove. Moved to k_standardf.c.
904 (__kernel_standard_l): Remove. Moved to k_standardl.c with
905 (char *) casts added.
906 * sysdeps/ieee754/k_standardf.c: New file.
907 * sysdeps/ieee754/k_standardl.c: Likewise.
908 * math/Makefile (libm-support): Remove k_standard.
909 (libm-calls): Add k_standard.
910
911 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
912
913 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
914 Optimize to avoid an unnecessary FPCR read.
915
916 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
917
918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
919 Optimize to reduce FPCR/FPSR accesses.
920
921 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
922
923 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
924 Call libc_fetestexcept_aarch64.
925
926 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
927
928 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
929 Call libc_fesetround_aarch64.
930
931 2014-12-22 Joseph Myers <joseph@codesourcery.com>
932
933 [BZ #17733]
934 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
935 (__bind): Do not define as weak alias.
936 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
937 define.
938 (__getsockname): Do not define as weak alias.
939
940 2014-12-22 Will Newton <will.newton@linaro.org>
941
942 * manual/install.texi: Document that we require bison 2.7
943 or above.
944 * INSTALL: Regenerate.
945 * configure.ac: Use AC_CHECK_PROG_VER instead of
946 AC_PATH_PROG when checking for bison and check for
947 version 2.7 or above.
948 * configure: Regenerate.
949
950 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
951
952 [BZ #17745]
953 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
954 * sysdeps/tile/ffsll.c (ffsll): To here.
955
956 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
957
958 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
959
960 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
961 if not defined.
962 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
963 definition.
964 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
965 hidden ___tls_get_addr.
966 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
967 hidden __tls_get_addr.
968 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
969 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
970 Likewise.
971
972 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
973
974 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
975 _dl_init call.
976
977 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
978
979 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
980 from "call _dl_init@PLT".
981 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
982
983 2014-12-21 Anders Kaseorg <andersk@mit.edu>
984
985 * manual/search.texi: (Array Sort Function): Clarify stable sorting
986 guarantees.
987
988 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
989
990 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
991
992 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
993
994 [BZ #17744]
995 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
996 strnlen.
997
998 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
999
1000 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1001 of multu on MIPSr6.
1002 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1003 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1004 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1005 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1006 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1007
1008 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1009
1010 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1011 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1012 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1013 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1014 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1015 mips32r6/mips64r6.
1016 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1017
1018 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1019
1020 * string/strncat.c (STRNCAT): Simplify implementation.
1021
1022 2014-12-19 David S. Miller <davem@davemloft.net>
1023
1024 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1025 access the quad as both a long double and as a series of 4 words.
1026
1027 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1028 link_map->l_info array access.
1029
1030 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1031
1032 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1033
1034 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1035 * math/atest-exp2.c (TIMEOUT): Likewise.
1036 * math/atest-sincos.c (TIMEOUT): Likewise.
1037
1038 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1041 -Wno-error with -fno-builtin-lround.
1042
1043 2014-12-19 Torvald Riegel <triegel@redhat.com>
1044
1045 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1046 Contains futex constants and functions moved over from ...
1047 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1048 <lowlevellock-futex.h>.
1049 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1050 (lll_timedwait_tid): Add comments and parentheses around macro
1051 arguments.
1052
1053 2014-12-19 Torvald Riegel <triegel@redhat.com>
1054
1055 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1056 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1057 (__lll_private_flag): Remove.
1058 (lll_futex_wait): Likewise.
1059 (lll_futex_timed_wait): Likewise.
1060 (lll_futex_wake): Likewise.
1061 (lll_futex_requeue): Likewise.
1062 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1063 (__lll_timedwait_tid): Spell out argument names.
1064 (lll_timedwait_tid): Add comments and parentheses around macro
1065 arguments.
1066 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1067 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1068
1069 2014-12-19 Torvald Riegel <triegel@redhat.com>
1070
1071 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1072 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1073 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1074 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1075 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1076 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1077 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1078 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1079 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1080 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1081 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1082 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1083 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1084 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1085 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1086 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1087 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1088 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1089 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1090
1091 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/x86_64/x32/Makefile: New file.
1094
1095 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1098 1L with (mp_limb_t) 1.
1099
1100 2014-12-17 Roland McGrath <roland@hack.frob.com>
1101
1102 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1103 * nptl/libc_pthread_init.c: ... here.
1104 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1105 * nptl/register-atfork.c: ... here.
1106
1107 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1108 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1109 Use assert_perror to check its return value.
1110 (__gai_create_helper_thread): Likewise.
1111
1112 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1113
1114 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1115
1116 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #17725]
1119 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1120 __profil_counter.
1121 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1122 Likewise.
1123 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1124 Likewise.
1125 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1126 Likewise.
1127 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1128 (profil_counter): Likewise.
1129 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1130 (profil_counter): Likewise.
1131 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1132 Likewise.
1133 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1134 Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1136 (profil_counter): Likewise.
1137 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1138 Likewise.
1139 [!__profil_counter] (profil_counter): Define as weak alias of
1140 __profil_counter.
1141 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1142 (profil_counter): Rename to __profil_counter.
1143 [!__profil_counter] (profil_counter): Define as weak alias of
1144 __profil_counter.
1145 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1146 (profil_counter): Rename to __profil_counter.
1147 [!__profil_counter] (profil_counter): Define as weak alias of
1148 __profil_counter.
1149 * sysdeps/posix/profil.c: Update comment referring to
1150 profil_counter.
1151 (__profil): Use __profil_counter instead of profil_counter.
1152 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1153 __profil_counter. Use __profil_counter_ushort and
1154 __profil_counter_uint in definitions.
1155 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1156 instead of profil_counter_uint and profil_counter_ushort.
1157
1158 [BZ #17722]
1159 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1160 define as weak alias of __inet_makeaddr.
1161 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1162 as weak alias of __inet_addr.
1163 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1164 as weak alias of __inet_pton. Use libc_hidden_weak.
1165 * include/arpa/inet.h (__inet_pton): Declare. Use
1166 libc_hidden_proto.
1167 (inet_makeaddr): Don't use libc_hidden_proto.
1168 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1169 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1170 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1171 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1172 Remove variable.
1173 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1174 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1175
1176 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1177
1178 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1179
1180 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1181
1182 * stdio-common/bug-vfprintf-nargs.c (do_test):
1183 Cast value to intptr_t to avoid format warning
1184 for usage with PRIdPTR printing macro.
1185
1186 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1187
1188 * libio/tst-widetext.c (do_test):
1189 Use format type %td instead of %Zd for ptrdiff_t
1190 in order to avoid format warning.
1191
1192 2014-12-17 Andreas Schwab <schwab@suse.de>
1193
1194 * nscd/mem.c (gc): Add size_t cast to match printf format.
1195
1196 2014-12-16 Roland McGrath <roland@hack.frob.com>
1197
1198 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1199 (init): Apply PTR_MANGLE to pointers before storing them.
1200 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1201 before using them.
1202
1203 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1204
1205 [BZ #17719]
1206 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1207 define as weak alias of __memrchr.
1208 (__memrchr): Do not define as strong alias of memrchr.
1209 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1210 Remove variable.
1211 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1212 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1213 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1214
1215 [BZ #17717]
1216 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1217 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1218 (if_indextoname): Rename to __if_indextoname and define as weak
1219 alias of __if_indextoname. Use libc_hidden_weak.
1220 (if_freenameindex): Rename to __if_freenameindex and define as
1221 weak alias of __if_freenameindex.
1222 (if_nameindex): Rename to __if_nameindex and define as weak alias
1223 of __if_nameindex.
1224 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1225 __if_nametoindex and define as weak alias of __if_nametoindex.
1226 Use libc_hidden_weak.
1227 (if_freenameindex): Rename to __if_freenameindex and define as
1228 weak alias of __if_freenameindex.
1229 (if_nameindex): Rename to __if_nameindex and define as weak alias
1230 of __if_nameindex.
1231 (if_indextoname): Rename to __if_indextoname and define as weak
1232 alias of __if_indextoname. Use libc_hidden_weak.
1233 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1234 __if_nametoindex and define as weak alias of __if_nametoindex.
1235 Use libc_hidden_weak.
1236 (if_freenameindex): Rename to __if_freenameindex and define as
1237 weak alias of __if_freenameindex. Use libc_hidden_weak.
1238 (if_nameindex_netlink): Use __if_freenameindex instead of
1239 if_freenameindex.
1240 (if_nameindex): Rename to __if_nameindex and define as weak alias
1241 of __if_nameindex. Use libc_hidden_weak.
1242 (if_indextoname): Rename to __if_indextoname and define as weak
1243 alias of __if_indextoname. Use libc_hidden_weak.
1244 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1245 libc_hidden_proto.
1246 [!_ISOMAC] (__if_freenameindex): Likewise.
1247 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1248 if_nametoindex.
1249 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1250 variable.
1251 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1252 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1253 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1254 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1255 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1256 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1257 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1258
1259 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1260 Remove variable.
1261 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1262 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1263
1264 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1265
1266 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1267 subscript above bounds'
1268
1269 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1270 bounds.
1271
1272 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1273
1274 * libio/tst-fopenloc.c: Use test-skeleton.c.
1275
1276 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1277 (entry): Rename to ITEM.
1278 (do_test, comp): Adjust.
1279
1280 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1281
1282 2014-12-16 Torvald Riegel <triegel@redhat.com>
1283
1284 * string/tester.c: Include <libc-internal.h>.
1285 (test_memset): Ignore -Wmemset-transposed-args.
1286
1287 2014-12-16 Torvald Riegel <triegel@redhat.com>
1288
1289 * misc/tst-mntent2.c (do_test): Fix warning.
1290
1291 2014-12-16 Torvald Riegel <triegel@redhat.com>
1292
1293 * elf/tst-unique4lib.cc(a): Mark as used.
1294
1295 2014-12-16 Florian Weimer <fweimer@redhat.com>
1296
1297 [BZ #17630]
1298 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1299 names.
1300
1301 2014-12-16 Allan McRae <allan@archlinux.org>
1302
1303 * stdio-common/Makefile (tests): Re-add bug26.
1304
1305 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1306
1307 [BZ #17657]
1308 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1309 static array.
1310
1311 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1312
1313 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1314 (__lll_lock_wait): Likewise.
1315 (__lll_timedlock_wait): Likewise.
1316 (__lll_timedwait_tid): Likewise.
1317 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1318 (__lll_robust_timedlock_wait): Likewise.
1319 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1320 (lll_cond_trylock): Likewise.
1321 (__lll_lock): Likewise.
1322 (__lll_robust_lock): Likewise.
1323 (__lll_cond_lock): Likewise.
1324 (lll_robust_cond_lock): Likewise.
1325 (__lll_timedlock): Likewise.
1326 (__lll_robust_timedlock): Likewise.
1327 (__lll_unlock): Likewise.
1328 (__lll_robust_unlock): Likewise.
1329 (lll_wait_tid): Likewise.
1330 (lll_timedwait_tid): Likewise.
1331
1332 2014-12-15 Torvald Riegel <triegel@redhat.com>
1333
1334 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1335
1336 2014-12-15 Torvald Riegel <triegel@redhat.com>
1337
1338 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1339
1340 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1341
1342 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1343 * stdio-common/tst-sprintf.c: Likewise.
1344
1345 2014-12-15 Torvald Riegel <triegel@redhat.com>
1346
1347 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1348
1349 2014-12-15 Jeff Law <law@redhat.com>
1350
1351 [BZ #16617]
1352 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1353 on the heap. (CVE-2012-3406)
1354 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1355 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1356 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1357
1358 2014-12-15 Will Newton <will.newton@linaro.org>
1359
1360 * manual/install.texi: Bump required version of texinfo
1361 to 4.7 from 4.5.
1362 * INSTALL: Regenerated.
1363 * configure.ac: Check for makeinfo version 4.7 and above.
1364 * configure: Regenerated.
1365
1366 2014-12-12 Roland McGrath <roland@hack.frob.com>
1367
1368 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1369 PREFIX, string constant to insert between directory and name.
1370 * sysdeps/posix/shm_open.c: Update caller.
1371 * sysdeps/posix/shm_unlink.c: Likewise.
1372 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1373 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1374 (SEM_SHM_PREFIX): New macro.
1375 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1376 [$(have-thread-library) = no].
1377 * nptl/Makefile (libpthread-routines): Add shm-directory.
1378 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1379 * sysdeps/nptl/shm-directory.h: New file.
1380 * sysdeps/posix/shm-directory.c
1381 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1382 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1383 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1384 INTERNAL_SYSCALL.
1385 (__where_is_shmfs): Function removed.
1386 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1387 Variables removed.
1388 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1389 Use SHM_GET_NAME.
1390 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1391
1392 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1393 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1394 unconditional for use inside libpthread.
1395 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1396
1397 2014-12-12 Roland McGrath <roland@hack.frob.com>
1398
1399 * nptl/pthread_getaffinity.c: New file.
1400 * nptl/pthread_setaffinity.c: New file.
1401 * nptl/pthread_getname.c: New file.
1402 * nptl/pthread_setname.c: New file.
1403
1404 * nptl/pthread_create.c (START_THREAD_DEFN)
1405 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1406
1407 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1408 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409
1410 * resolv/res_send.c (send_vc): Disable warning resplen may
1411 be used uninitialized.
1412
1413 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1414
1415 * nptl/tst-mutex6.c
1416 (ATTR_NULL): New define checks ATTR against NULL.
1417 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1418 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1419
1420 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1421
1422 [BZ #17581]
1423 * malloc/hooks.c
1424 (mem2mem_check): Revert my previous change.
1425 (malloc_check_get_size): Revert my previous change.
1426 (mem2chunk_check): Revert my previous change.
1427
1428 2014-12-11 Roland McGrath <roland@hack.frob.com>
1429
1430 * sysdeps/posix/shm-directory.c: New file.
1431 * sysdeps/posix/shm-directory.h: New file.
1432 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1433 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1434 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1435 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1436 Transmute EPERM to EACCES.
1437 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1438 from ...
1439 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1440 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1441
1442 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1443
1444 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1445 pointer and cast to uintptr_t.
1446 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1447 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1448 Add cast to avoid warning.
1449 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1450
1451 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1452
1453 * nptl/semaphore.h: Move to ...
1454 * sysdeps/pthread/semaphore.h: ... here.
1455 * Makefile (installed-headers): Change nptl/semaphore.h to
1456 sysdeps/pthread/semaphore.h.
1457
1458 2014-12-11 Roland McGrath <roland@hack.frob.com>
1459
1460 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1461 generated error format strings.
1462
1463 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1464 -Wformat-extra-args warnings for scanf formats.
1465 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1466 test of zero-length format (duh).
1467 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1468 corner-case scanf format test.
1469 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1470 generated fprintf format string.
1471 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1472 corner-case sprintf format tests.
1473 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1474 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1475 -Wformat-extra-args warnings throughout.
1476 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1477 (CFLAGS-scanf4.c): Likewise.
1478 (CFLAGS-scanf7.c): Likewise.
1479 (CFLAGS-tst-sprintf.c): Likewise.
1480 (CFLAGS-tst-printf.c): Likewise.
1481 (CFLAGS-tst-printfsz.c): Likewise.
1482
1483 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1484
1485 * include/cpio.h: New file.
1486 * include/fmtmsg.h: Likewise.
1487
1488 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1489 corresponding format argument to size_t.
1490 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1491 arguments.
1492 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1493 corresponding format argument to size_t.
1494 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1495 arguments.
1496 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1497 corresponding format argument to size_t.
1498 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1499 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1500 (CFLAGS-tst-mbswcs2.c): Likewise.
1501 (CFLAGS-tst-mbswcs3.c): Likewise.
1502 (CFLAGS-tst-mbswcs4.c): Likewise.
1503 (CFLAGS-tst-mbswcs5.c): Likewise.
1504 (CFLAGS-tst-trans.c): Likewise
1505
1506 2014-12-11 Roland McGrath <roland@hack.frob.com>
1507
1508 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1509 rather than assuming they won't contain any '%'s.
1510
1511 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1512
1513 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1514 inhibit_loop_to_libcall to avoid recursive calls.
1515 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1516 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1517
1518 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1519
1520 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1521 prototype.
1522
1523 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1524
1525 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1526 integer value instead of boolean.
1527
1528 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1529
1530 * malloc/malloc.c: Fix powerof2 check.
1531
1532 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1533
1534 * locale/programs/locfile.h (maybe_swap_uint32):
1535 Remove inline and add unused attribute.
1536
1537 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1538
1539 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1540 Truncating assembler expression to a .long expression.
1541
1542 2014-12-11 Andreas Schwab <schwab@suse.de>
1543
1544 * elf/rtld.c (struct map_args): Constify str member.
1545 (do_preload): Constify fname argument.
1546
1547 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1550 constants definition.
1551
1552 2014-12-11 Andreas Schwab <schwab@suse.de>
1553
1554 [BZ #16657]
1555 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1556 FORCE_ELISION instead of DO_ELISION.
1557 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1558 Remove.
1559 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1560 Likewise.
1561
1562 * iconvdata/gconv-modules: Remove duplicate entry.
1563
1564 2014-12-11 Will Newton <will.newton@linaro.org>
1565
1566 Merge gettext 0.19.3 into intl/.
1567
1568 This involves a number of cosmetic changes to comments
1569 and ANSI function definitions and prototypes throughout
1570 all the files. The gettext copyright header is used but
1571 with the date ranges taken from the glibc copy.
1572
1573 * NEWS: Add gettext merge to 2.21.
1574 * intl/bindtextdom.c: Switch to gettext copyright.
1575 Use ANSI definitions and prototypes.
1576 Use gl_* locking primitives rather than __libc_* ones.
1577 Use __builtin_expect rather than __glibc_likely/unlikely.
1578 * intl/dcgettext.c: Switch to gettext copyright.
1579 Use ANSI definitions and prototypes.
1580 * intl/dcigettext.c: Switch to gettext copyright.
1581 Use ANSI definitions and prototypes.
1582 (INTDIV0_RAISES_SIGFPE): New define.
1583 Use gl_* locking primitives rather than __libc_* ones.
1584 Include eval-plural.h instead of plural-eval.c.
1585 Use __builtin_expect rather than __glibc_likely/unlikely.
1586 * intl/dcngettext.c: Switch to gettext copyright.
1587 Use ANSI definitions and prototypes.
1588 * intl/dgettext.c: Likewise.
1589 * intl/dngettext.c: Likewise.
1590 * intl/plural-eval.c: Renamed to...
1591 * intl/eval-plural.h: ...this.
1592 * intl/explodename.c: Switch to gettext copyright.
1593 Use ANSI definitions and prototypes.
1594 (_nl_explode_name): Use strchr instead of __rawmemchr.
1595 * intl/finddomain.c: Switch to gettext copyright.
1596 Use ANSI definitions and prototypes.
1597 Use gl_* locking primitives rather than __libc_* ones.
1598 (_nl_find_domain): Use malloc rather than alloca for
1599 allocation of temporary locale name.
1600 * intl/gettext.c: Switch to gettext copyright.
1601 Use ANSI definitions and prototypes.
1602 * intl/gettextP.h: Switch to gettext copyright.
1603 Use ANSI definitions and prototypes.
1604 Use gl_* locking primitives rather than __libc_* ones.
1605 * intl/gmo.h: Switch to gettext copyright.
1606 (struct sysdep_string): Move struct segment_pair outside of
1607 struct definition.
1608 * intl/hash-string.c: Use ANSI definitions and prototypes.
1609 * intl/hash-string.h: Switch to gettext copyright.
1610 Use ANSI definitions and prototypes.
1611 * intl/l10nflist.c: Switch to gettext copyright.
1612 Use ANSI definitions and prototypes.
1613 (_nl_normalize_codeset): Avoid integer overflow.
1614 * intl/loadinfo.h: Switch to gettext copyright.
1615 Use ANSI definitions and prototypes.
1616 (LIBINTL_DLL_EXPORTED): New define.
1617 (PATH_SEPARATOR): New define.
1618 * intl/loadmsgcat.c: Switch to gettext copyright.
1619 * intl/localealias.c: Switch to gettext copyright.
1620 Use ANSI definitions and prototypes.
1621 (_nl_expand_alias): Use PATH_SEPARATOR.
1622 * intl/ngettext.c: Switch to gettext copyright.
1623 Use ANSI definitions and prototypes.
1624 * intl/plural-exp.c: Likewise.
1625 * intl/plural-exp.h: Switch to gettext copyright.
1626 Use ANSI definitions and prototypes.
1627 (struct expression): Move definition of enum operator outside
1628 of struct definition.
1629 * intl/plural.c: Regenerate.
1630 * intl/plural.y: Switch to gettext copyright.
1631 Use ANSI definitions and prototypes.
1632 Port to bison 3.0.
1633 * intl/textdomain.c: Switch to gettext copyright.
1634 Use ANSI definitions and prototypes.
1635 Use gl_* locking primitives rather than __libc_* ones.
1636
1637 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1638
1639 * debug/warning-nop.c: Add used atrribute.
1640
1641 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1642
1643 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1644
1645 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1646 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1647 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1648
1649 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1650 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 [BZ #17634]
1653 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1654 Undefine after defining function. Define as weak alias of
1655 __wcschr. Use libc_hidden_weak.
1656 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1657 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1658 (libc_hidden_def): Also define __GI___wcschr alias.
1659 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1660 __wcschr and define as weak alias of __wcschr.
1661 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1662 __wcschr.
1663 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1664 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1665 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1666 libc_hidden_weak. Do not use libc_hidden_def.
1667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1668 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1669 __GI___wcschr alias.
1670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1671 [IS_IN (libc)] (wcschr): Define as macro expanding to
1672 __redirect_wcschr.
1673 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1674 [IS_IN (libc)] (__wcschr_power6): Likewise.
1675 [IS_IN (libc)] (__wcschr_power7): Likewise.
1676 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1677 instead of wcschr.
1678 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1679 __libc_wcschr.
1680 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1681 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1682 __wcschr and define as weak alias of __wcschr. Use
1683 libc_hidden_builtin_def.
1684 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1685 as weak alias of __wcschr. Use libc_hidden_weak.
1686 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1687 wcschr.
1688 * time/era.c (_nl_init_era_entries): Likewise.
1689 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1690 variable.
1691 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1692 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1693
1694 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1695
1696 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1697 format for long int variable.
1698
1699 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1700
1701 [BZ #10672]
1702 * manual/search.texi: (Array Sort Function): Remove claim how to make
1703 qsort stable.
1704
1705 2014-12-10 Andreas Schwab <schwab@suse.de>
1706
1707 [BZ #12847]
1708 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1709 user-controlled locks.
1710
1711 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1712
1713 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1714 register.
1715
1716 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1717
1718 * configure.ac (--disable-werror): New configure option.
1719 (enable_werror): New AC_SUBST.
1720 * configure: Regenerated.
1721 * config.make.in (enable-werror): New variable.
1722 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1723 -Wno-error=undef.
1724 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1725 * manual/install.texi (Configuring and compiling): Document
1726 --disable-werror.
1727 * INSTALL: Regenerated.
1728 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1729 (CFLAGS-tst-chk2.c): Likewise.
1730 (CFLAGS-tst-chk3.c): Likewise.
1731 (CFLAGS-tst-chk4.cc): Likewise.
1732 (CFLAGS-tst-chk5.cc): Likewise.
1733 (CFLAGS-tst-chk6.cc): Likewise.
1734 (CFLAGS-tst-lfschk1.c): Likewise.
1735 (CFLAGS-tst-lfschk2.c): Likewise.
1736 (CFLAGS-tst-lfschk3.c): Likewise.
1737 (CFLAGS-tst-lfschk4.cc): Likewise.
1738 (CFLAGS-tst-lfschk5.cc): Likewise.
1739 (CFLAGS-tst-lfschk6.cc): Likewise.
1740
1741 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1742 (main): Disable -Wdeprecated-declarations around calls to
1743 register_printf_function.
1744
1745 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1746 (do_test): Disable -Wdiv-by-zero around some calls to
1747 fwrite_unlocked and fread_unlocked.
1748
1749 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1750 (DIAG_POP_NEEDS_COMMENT): Likewise.
1751 (_DIAG_STR1): Likewise.
1752 (_DIAG_STR): Likewise.
1753 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1754 * stdio-common/bug21.c: Include <libc-internal.h>.
1755 (do_test): Disable -Wformat around call to sscanf.
1756 * stdio-common/scanf14.c: Include <libc-internal.h>.
1757 (main): Disable -Wformat around some calls to scanf functions.
1758
1759 2014-12-09 Torvald Riegel <triegel@redhat.com>
1760
1761 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1762
1763 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1764
1765 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1766 stack variable alignment.
1767
1768 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1769
1770 [BZ #17682]
1771 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1772 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1773 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1774 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1775 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1776 __getrlimit instead of getrlimit.
1777 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1778 __gettimeofday instead of gettimeofday.
1779 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1780 Likewise.
1781 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1782 Likewise.
1783 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1784 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1785 Remove variable.
1786 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1787 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1788
1789 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790
1791 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1792 for wide-character tests.
1793
1794 2014-12-04 Roland McGrath <roland@hack.frob.com>
1795
1796 * io/openat64.c: #include <libc-internal.h>
1797 (__openat64): Prototypify. Use ignore_value on MODE.
1798 * io/openat.c: Likewise.
1799 * misc/reboot.c: #include <libc-internal.h>
1800 (reboot): Prototypify. Use ignore_value on HOWTO.
1801 * misc/ptrace.c: #include <libc-internal.h>
1802 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1803
1804 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1805
1806 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1807 XPG4, UNIX98 and XOPEN2K.
1808 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1809 Remove variable.
1810 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1811
1812 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1813
1814 * libio/fileops.c: Use ISO C style for function definitions.
1815 * libio/iofopen.c: Likewise.
1816 * libio/wfileops.c: Likewise.
1817
1818 [BZ #17653]
1819 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1820 offset on EOF.
1821 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1822 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1823 (fgets_func): Function pointer to fgets and fgetws.
1824 (do_ftell_test): Add test to verify ftell value after read
1825 EOF.
1826 (do_test): Set fgets_func.
1827
1828 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1829 O_TRUNC flag for w and w+ modes.
1830 (do_rewind_test): Likewise.
1831 (do_ftell_test): Likewise.
1832 (do_write_test): Likewise.
1833
1834 [BZ #17647]
1835 * libio/fileops.c (do_ftell): Seek only when there are
1836 unflushed writes.
1837 * libio/wfileops.c (do_ftell_wide): Likewise.
1838 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1839 test case.
1840 (do_one_test): Call it.
1841
1842 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1843
1844 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1845 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1846 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1847 Remove variable.
1848 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1849 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1850 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1851
1852 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1853
1854 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1855 Remove variable.
1856 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1857
1858 [BZ #17668]
1859 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1860 as weak alias of __getifaddrs. Use libc_hidden_weak.
1861 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1862 __freeifaddrs. Use libc_hidden_weak.
1863 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1864 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1865 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1866 __freeifaddrs. Use libc_hidden_weak.
1867 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1868 __getifaddrs and define as weak alias of __getifaddrs. Use
1869 libc_hidden_weak.
1870 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1871 __freeifaddrs. Use libc_hidden_weak.
1872 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1873 Remove variable.
1874 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1875 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1876
1877 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1878
1879 [BZ #17601]
1880 * sysdeps/mips/start.S (__start): Use indirect jump to call
1881 __libc_start_main.
1882
1883 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1884
1885 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1886
1887 * nptl/tst-mutex1.c: Include <stdbool.h>.
1888 [!ATTR] (ATTR_NULL): New macro.
1889 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1890 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1891 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1892
1893 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1894 to char *.
1895
1896 [BZ #17665]
1897 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1898 Change conditional to [__USE_MISC].
1899
1900 [BZ #17664]
1901 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1902 fgets_unlocked.
1903 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1904 __fgets_unlocked.
1905 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1906 fgets_unlocked.
1907 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1908 Remove variable.
1909 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1910 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1911 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1912 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1913 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1914 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1915 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1916 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1917 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1918
1919 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1920
1921 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922
1923 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1924 Remove strpbrk objects.
1925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1926 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1927 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1928 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1929 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1930 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1931
1932 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1933 Remove strcspn objects.
1934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1935 (__libc_ifunc_impl_list): Remove strcspn implementation.
1936 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1937 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1938 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1939 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1940
1941 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1942 Remove strspn objetcs.
1943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1944 (__libc_ifunc_impl_list): Remove strspn implementation.
1945 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1946 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1947 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1948 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1949
1950 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1951
1952 [BZ #17581]
1953 * malloc/hooks.c
1954 (mem2mem_check): Add a terminator to the chain of checking blocks.
1955 (malloc_check_get_size): Use it here.
1956 (mem2chunk_check): Ditto.
1957
1958 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1959
1960 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1961 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1962
1963 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1964
1965 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1966
1967 * nptl/nptl-init.c: Include libc-internal.h.
1968 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1969
1970 * elf/ldconfig.c (search_dir): Expand comment.
1971
1972 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1973
1974 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1975 variable.
1976 (linknamespace-symlist-stdlibs-tests): Likewise.
1977 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1978 instead of $(objpfx)symlist-stdlibs.
1979 (linknamespace-libs-isoc): New variable.
1980 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1981 (linknamespace-libs-ISO): New variable.
1982 (linknamespace-libs-ISO99): Likewise.
1983 (linknamespace-libs-ISO11): Likewise.
1984 (linknamespace-libs-XPG3): Likewise.
1985 (linknamespace-libs-XPG4): Likewise.
1986 (linknamespace-libs-POSIX): Likewise.
1987 (linknamespace-libs-UNIX98): Likewise.
1988 (linknamespace-libs-XOPEN2K): Likewise.
1989 (linknamespace-libs-POSIX2008): Likewise.
1990 (linknamespace-libs-XOPEN2K8): Likewise.
1991 ($(objpfx)symlist-stdlibs): Replace by
1992 $(linknamespace-symlist-stdlibs-tests). Use
1993 $(linknamespace-libs-$*) as set of libraries.
1994 ($(linknamespace-header-tests)): Update dependencies. Use
1995 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1996 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1997 * conform/linknamespace.pl: Remove comment about considering
1998 definitions of symbols from irrelevant libraries.
1999
2000 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2001
2002 [BZ #13862]
2003 * elf/dl-tls.c: Include <atomic.h>.
2004 (oom): Remove #ifdef SHARED/#endif.
2005 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2006 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2007 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2008 big enough.
2009 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2010 * nptl/Makefile (tests): Add tst-stack4.
2011 (modules-names): Add tst-stack4mod.
2012 ($(objpfx)tst-stack4): New.
2013 (tst-stack4mod.sos): Likewise.
2014 ($(objpfx)tst-stack4.out): Likewise.
2015 ($(tst-stack4mod.sos)): Likewise.
2016 (clean): Likewise.
2017 * nptl/tst-stack4.c: New file.
2018 * nptl/tst-stack4mod.c: Likewise.
2019
2020 2014-11-27 J. Brown <jb999@gmx.de>
2021
2022 * sysdeps/x86/bits/string.h: Add recent CPUs.
2023
2024 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2025
2026 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2027 sigblock.
2028
2029 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2030 feof.
2031
2032 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2033 variable.
2034
2035 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2036
2037 * nscd/connections.c: Include libc-internal.h because of macro
2038 usage ignore_value.
2039
2040 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2041
2042 * string/bits/string3.h (__warn_memset_zero_len): Don't
2043 declare for gcc newer than 5.0.
2044 (memset): Don't test for zero-length __LEN for gcc newer than
2045 5.0.
2046
2047 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2048
2049 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2050 size_t for %zu format.
2051
2052 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2053 difference, not %ju.
2054
2055 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2056
2057 * include/libc-internal.h (ignore_value): New macro.
2058 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2059 with ignore_value.
2060
2061 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2062 definition.
2063
2064 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2065 pthread_cleanup_push to void *.
2066
2067 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2068 Undefine.
2069
2070 [BZ #16619]
2071 [BZ #16740]
2072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2073 instead of 1L << 52.
2074
2075 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2076 * libio/bug-rewind2.c (do_test): Likewise.
2077
2078 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2079 * debug/test-strcpy_chk-ifunc.c: Likewise.
2080 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2081 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2082 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2083 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2084 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2085 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2086 * Rules [$(multi-arch) = no] (tests): Do not filter out
2087 $(tests-ifunc).
2088 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2089 * debug/Makefile (tests-ifunc): Remove variable.
2090 (tests): Do not add $(tests-ifunc).
2091 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2092 (tests): Do not add $(tests-ifunc).
2093 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2094 [TEST_IFUNC]: Remove conditionals.
2095 * string/test-string.h (TEST_IFUNC): Remove macro.
2096 [TEST_IFUNC]: Remove conditionals.
2097
2098 * string/test-strchr.c [!WIDE] (L): New macro.
2099 [WIDE] (L): Likewise.
2100 (check1): Use CHAR instead of char. Use L on string and character
2101 constants.
2102
2103 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2104
2105 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2106 tests.
2107 * sysdeps/powerpc/bits/atomic.h
2108 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2109 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2110 (atomic_exchange_and_add_acq): Likewise.
2111 (atomic_exchange_and_add_rel): Likewise.
2112 * sysdeps/powerpc/powerpc32/bits/atomic.h
2113 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2114 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2115 * sysdeps/powerpc/powerpc64/bits/atomic.h
2116 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2117 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2118
2119 2014-11-26 Torvald Riegel <triegel@redhat.com>
2120
2121 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2122 Change synchronization of __sched_fifo_min_prio and
2123 __sched_fifo_max_prio.
2124 * nptl/pthread_mutexattr_getprioceiling.c
2125 (pthread_mutexattr_getprioceiling): Likewise.
2126 * nptl/pthread_mutexattr_setprioceiling.c
2127 (pthread_mutexattr_setprioceiling): Likewise.
2128 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2129 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2130 Likewise.
2131
2132 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2133
2134 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2135 void.
2136
2137 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2138
2139 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2140 third argument const.
2141
2142 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2143
2144 fnmatch: work around GCC compiler warning bug with uninit var
2145 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2146 This works around a bug with x86-64 GCC 4.9.2 and earlier
2147 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2148 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2149 used uninitialized in this function [-Wmaybe-uninitialized]".
2150
2151 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2152
2153 * posix/bug-regex31.c (main): Return RES not 0.
2154
2155 2014-11-25 Anton Blanchard <anton@samba.org>
2156
2157 * sysdeps/powerpc/bits/atomic.h
2158 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2159
2160 2014-11-24 Sterling Augustine <saugustine@google.com>
2161
2162 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2163
2164 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2165
2166 [BZ #17608]
2167 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2168
2169 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2170
2171 [BZ #17633]
2172 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2173 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2174 variable.
2175 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2176 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2177
2178 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2179
2180 * string/strncpy.c (strncpy): Improve performance by using memset.
2181
2182 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2183
2184 * string/strcpy.c (strcpy):
2185 Improve performance by using strlen and memcpy.
2186
2187 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2188
2189 * string/strcoll_l.c (get_next_seq): __always_inline.
2190 * string/strcoll_l.c (do_compare): __always_inline.
2191
2192 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2193
2194 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2195 defined.
2196 * include/mqueue.h: Likewise.
2197 * include/stdlib.h: Likewise.
2198
2199 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2200 (get_null_defines): Adjust.
2201 * sunrpc/Makefile: Adjust comment.
2202 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2203 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2204 (CFLAGS-interp.c): Likewise.
2205 (CFLAGS-ldconfig.c): Likewise.
2206 (CPPFLAGS-.os): Likewise.
2207 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2208 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2209 * extra-modules.mk (extra-modules.mk): Likewise.
2210 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2211 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2212 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2213 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2214 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2215 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2216 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2217 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2218 * iconvdata/Makefile (CPPFLAGS): Likewise.
2219 (cpp-srcs-left): Add libof for all iconvdata routines.
2220 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2221 * include/assert.h: Likewise.
2222 * include/ctype.h: Likewise.
2223 * include/errno.h: Likewise.
2224 * include/libc-symbols.h: Likewise.
2225 * include/math.h: Likewise.
2226 * include/netdb.h: Likewise.
2227 * include/resolv.h: Likewise.
2228 * include/stdio.h: Likewise.
2229 * include/stdlib.h: Likewise.
2230 * include/string.h: Likewise.
2231 * include/sys/stat.h: Likewise.
2232 * include/wctype.h: Likewise.
2233 * intl/l10nflist.c: Likewise.
2234 * libidn/idn-stub.c: Likewise.
2235 * libio/libioP.h: Likewise.
2236 * nptl/libc_multiple_threads.c: Likewise.
2237 * nptl/pthreadP.h: Likewise.
2238 * posix/regex_internal.h: Likewise.
2239 * resolv/res_hconf.c: Likewise.
2240 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2241 * sysdeps/arm/memmove.S: Likewise.
2242 * sysdeps/arm/sysdep.h: Likewise.
2243 * sysdeps/generic/_itoa.h: Likewise.
2244 * sysdeps/generic/symbol-hacks.h: Likewise.
2245 * sysdeps/gnu/errlist.awk: Likewise.
2246 * sysdeps/gnu/errlist.c: Likewise.
2247 * sysdeps/i386/i586/memcpy.S: Likewise.
2248 * sysdeps/i386/i586/memset.S: Likewise.
2249 * sysdeps/i386/i686/memcpy.S: Likewise.
2250 * sysdeps/i386/i686/memmove.S: Likewise.
2251 * sysdeps/i386/i686/mempcpy.S: Likewise.
2252 * sysdeps/i386/i686/memset.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2257 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2270 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2281 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2287 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2289 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2290 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2291 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2293 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2295 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2296 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2298 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2300 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2305 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2306 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2308 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2311 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2315 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2316 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2317 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2318 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2319 * sysdeps/posix/closedir.c: Likewise.
2320 * sysdeps/posix/opendir.c: Likewise.
2321 * sysdeps/posix/readdir.c: Likewise.
2322 * sysdeps/posix/rewinddir.c: Likewise.
2323 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2324 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2325 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2326 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2327 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2334 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2339 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2341 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2354 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2359 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2361 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2362 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2363 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2364 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2365 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2366 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2367 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2368 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2369 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2370 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2372 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2374 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2375 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2376 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2377 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2379 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2380 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2381 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2382 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2383 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2385 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2387 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2388 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2389 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2390 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2391 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2392 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2393 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2395 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2397 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2398 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2399 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2400 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2401 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2402 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2403 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2404 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2406 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2407 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2409 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2410 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2411 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2412 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2413 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2414 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2415 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2419 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2421 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2422 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2423 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2424 * sysdeps/unix/alpha/sysdep.S: Likewise.
2425 * sysdeps/unix/alpha/sysdep.h: Likewise.
2426 * sysdeps/unix/make-syscalls.sh: Likewise.
2427 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2429 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2430 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2431 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2432 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2433 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2434 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2435 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2436 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2437 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2438 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2440 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2441 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2442 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2443 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2444 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2445 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2446 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2447 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2448 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2449 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2450 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2451 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2452 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2453 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2456 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2457 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2461 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2463 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2465 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2466 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2467 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2468 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2469 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2470 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2474 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2477 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2478 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2479 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2480 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2481 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2482 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2483 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2485 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2486 * sysdeps/x86_64/memcpy.S: Likewise.
2487 * sysdeps/x86_64/memmove.c: Likewise.
2488 * sysdeps/x86_64/memset.S: Likewise.
2489 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2490 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2491 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2492 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2493 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2494 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2495 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2496 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2497 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2498 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2499 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2501 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2502 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2503 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2504 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2506 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2507 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2508 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2509 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2510 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2512 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2513 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2514 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2515 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2516 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2517 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2518 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2519 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2520 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2521 * sysdeps/x86_64/strcmp.S: Likewise.
2522
2523 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2524
2525 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2526 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2527 * elf/rtld-Rules: Likewise.
2528 * elf/setup-vdso.h: Likewise.
2529 * include/assert.h: Likewise.
2530 * include/bits/stdlib-float.h: Likewise.
2531 * include/errno.h: Likewise.
2532 * include/sys/stat.h: Likewise.
2533 * include/unistd.h: Likewise.
2534 * sysdeps/aarch64/setjmp.S: Likewise.
2535 * sysdeps/alpha/setjmp.S: Likewise.
2536 * sysdeps/arm/__longjmp.S: Likewise.
2537 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2538 * sysdeps/arm/setjmp.S: Likewise.
2539 * sysdeps/arm/sysdep.h: Likewise.
2540 * sysdeps/generic/_itoa.h: Likewise.
2541 * sysdeps/generic/dl-sysdep.h: Likewise.
2542 * sysdeps/generic/ldsodefs.h: Likewise.
2543 * sysdeps/i386/dl-tls.h: Likewise.
2544 * sysdeps/i386/setjmp.S: Likewise.
2545 * sysdeps/m68k/setjmp.c: Likewise.
2546 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2547 * sysdeps/mach/hurd/opendir.c: Likewise.
2548 * sysdeps/posix/getcwd.c: Likewise.
2549 * sysdeps/posix/opendir.c: Likewise.
2550 * sysdeps/posix/profil.c: Likewise.
2551 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2552 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2553 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2554 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2556 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2558 * sysdeps/s390/dl-tls.h: Likewise.
2559 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2560 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2561 * sysdeps/sh/sh3/setjmp.S: Likewise.
2562 * sysdeps/sh/sh4/setjmp.S: Likewise.
2563 * sysdeps/unix/alpha/sysdep.h: Likewise.
2564 * sysdeps/unix/arm/sysdep.S: Likewise.
2565 * sysdeps/unix/i386/sysdep.S: Likewise.
2566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2567 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2568 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2569 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2571 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2572 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2573 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2574 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2575 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2576 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2577 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2581 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2584 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2585 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2589 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2590 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2594 * sysdeps/x86_64/setjmp.S: Likewise.
2595
2596 * include/math.h: Use IS_IN instead of IS_IN_libm.
2597 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2598 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2599 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2600 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2601 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2602 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2603 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2604 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2605 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2606 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2607 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2608 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2609 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2610 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2611 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2612 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2613 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2614 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2615 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2616 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2617 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2618 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2619 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2620 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2621 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2622 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2623 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2624 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2625 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2626 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2627 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2628 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2629 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2631 Likewise.
2632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2633 Likewise.
2634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2635 Likewise.
2636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2637 Likewise.
2638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2639 Likewise.
2640 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2642 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2643 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2645 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2651 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2655 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2657 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2659 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2660 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2662 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2663 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2664 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2666 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2667
2668 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2669 * nptl/pthreadP.h: Likewise.
2670 * nptl_db/structs.def: Likewise.
2671 * sysdeps/arm/sysdep.h: Likewise.
2672 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2673 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2674 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2675 * sysdeps/unix/alpha/sysdep.h: Likewise.
2676 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2677 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2678 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2679 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2680 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2681 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2682 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2683 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2684 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2685 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2686 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2687 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2688 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2689 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2694 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2697 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2698 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2699 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2700 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2701 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2702
2703 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2704 * nptl/pthreadP.h: Likewise.
2705 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2706 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2707 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2708 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2709 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2710 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2711 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2712 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2713 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2714 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2715 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2716 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2718 Likewise.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2720 Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2723 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2726 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2727 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2728 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2729
2730 * dlfcn/dladdr.c: Use IS_IN.
2731 * dlfcn/dladdr1.c: Likewise.
2732 * dlfcn/dlclose.c: Likewise.
2733 * dlfcn/dlerror.c: Likewise.
2734 * dlfcn/dlinfo.c: Likewise.
2735 * dlfcn/dlmopen.c: Likewise.
2736 * dlfcn/dlopen.c: Likewise.
2737 * dlfcn/dlsym.c: Likewise.
2738 * dlfcn/dlvsym.c: Likewise.
2739
2740 * include/ifaddrs.h: Use IS_IN.
2741 * inet/check_pf.c: Likewise.
2742 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2743 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2744
2745 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2746 IS_IN_ldconfig.
2747 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2748 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2749
2750 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2751 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2752 IS_IN (libc).
2753
2754 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2755
2756 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2757 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2758 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2759 * include/libc-symbols.h (IS_IN_LIB): New macro.
2760 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2761 * include/netdb.h: Likewise.
2762 * include/stap-probe.h: Remove all uses of IN_LIB.
2763
2764 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2765 instead of IN_MODULE.
2766 * include/libc-symbols.h (IN_MODULE): Define using
2767 MODULE_NAME.
2768 (PASTE_NAME, PASTE_NAME1): New macros.
2769 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2770 of IN_LIB.
2771 (STAP_PROBE_ASM): Likewise.
2772
2773 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2774
2775 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2776 __mach_init in dlopened libc.
2777
2778 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2779
2780 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2781 * sysdeps/arm/preconfigure: Regenerate.
2782
2783 2014-11-21 Roland McGrath <roland@hack.frob.com>
2784
2785 * nptl/pthread_create.c (__pthread_create_2_1): Set
2786 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2787 when copying values from IATTR into PD.
2788
2789 2014-11-21 Will Newton <will.newton@linaro.org>
2790 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2791
2792 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2793 Refactor inline-asm. Also add comment.
2794
2795 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2796 ElfW macro instead of hardcoded Elf64 types.
2797 (la_aarch64_gnu_pltenter): Likewise.
2798 * sysdeps/aarch64/dl-machine.h
2799 (elf_machine_runtime_setup): Use ElfW(Addr).
2800
2801 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2802 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2803 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2804 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2805 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2806 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2807 (R_AARCH64_TLS_DTPMOD): This.
2808 (R_AARCH64_TLS_DTPREL64): Rename to ...
2809 (R_AARCH64_TLS_DTPREL): This.
2810 (R_AARCH64_TLS_TPREL64): Rename to ...
2811 (R_AARCH64_TLS_TPREL): This.
2812 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2813 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2814 R_AARCH64_TLS_TPREL64.
2815 (elf_machine_rela): Likewise.
2816
2817 2014-11-21 Torvald Riegel <triegel@redhat.com>
2818
2819 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2820 by setting it to 0. 64b atomics are not supported currently.
2821
2822 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2823
2824 [BZ #16469]
2825 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2826 search domain names.
2827
2828 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2829
2830 [BZ #16469]
2831 * NEWS: Update.
2832 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2833 trailing dot.
2834 * posix/tst-getaddrinfo5.c: New.
2835 * posix/Makefile (tests): Add it.
2836
2837 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2838
2839 [BZ #14498]
2840 * NEWS: Fixed.
2841 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2842 after parsing line but before break_if_match.
2843 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2844 if there is a protocol mismatch.
2845
2846 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2847
2848 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2849 because the potential race is on the user-supplied stream.
2850
2851 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2852
2853 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2854 string literal if not passed a buffer.
2855 * manual/job.texi (ctermid): Update reasoning, note deviation
2856 from posix, suggest mtasurace when not passed a buffer, for
2857 future non-preliminary safety notes.
2858
2859 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2860
2861 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2862 of not passing it a buffer.
2863 Reported by Peng Haitao.
2864
2865 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2866
2867 * manual/Makefile ($(objpfx)stamp-summary): Require
2868 check-safety.sh to pass.
2869 * manual/check-safety.sh: Wish for verification that every
2870 @deftypefn and @deftypefun is followed by a @safety remark.
2871
2872 2014-11-20 Roland McGrath <roland@hack.frob.com>
2873
2874 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2875
2876 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2877 PTHREAD_CANCEL_ASYNCHRONOUS.
2878 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2879 send SIGCANCEL.
2880
2881 * nptl/default-sched.h: New file.
2882 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2883 * nptl/pthread_create.c: Include it.
2884 (__pthread_create_2_1): Use collect_default_sched instead of making
2885 Linux syscalls here directly.
2886
2887 2014-11-20 Torvald Riegel <triegel@redhat.com>
2888
2889 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2890 __pthread_once): Use C11 atomics.
2891
2892 2014-11-20 Torvald Riegel <triegel@redhat.com>
2893
2894 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2895
2896 2014-11-20 Torvald Riegel <triegel@redhat.com>
2897
2898 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2899 atomic_thread_fence_acquire, atomic_thread_fence_release,
2900 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2901 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2902 atomic_compare_exchange_weak_relaxed,
2903 atomic_compare_exchange_weak_acquire,
2904 atomic_compare_exchange_weak_release,
2905 atomic_exchange_acquire, atomic_exchange_release,
2906 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2907 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2908 atomic_fetch_and_acquire,
2909 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2910
2911 2014-11-20 Torvald Riegel <triegel@redhat.com>
2912
2913 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2914 USE_ATOMIC_COMPILER_BUILTINS): Define.
2915 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2916 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2917 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2918 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2919 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2920 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2921 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2922 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2923 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2924 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2925 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2926 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2927 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2928 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2929 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2930 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2931 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2932 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2933 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2934 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2935 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2936 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2937 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2938 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2939 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2940 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2941 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2942 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2943 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2944 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2945 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2946 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2947 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2948 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2949 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2950 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2951 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2952 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2953 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2954 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2955
2956 2014-11-19 Roland McGrath <roland@hack.frob.com>
2957
2958 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2959 the sched_priority value here. It was already checked when the user
2960 called pthread_attr_setschedparam.
2961
2962 * nptl/tst-bad-schedattr.c: New file.
2963 * nptl/Makefile (tests): Add it.
2964
2965 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2966 Florian Weimer <fweimer@redhat.com>
2967 Joseph Myers <joseph@codesourcery.com>
2968 Adam Conrad <adconrad@0c3.net>
2969 Andreas Schwab <schwab@suse.de>
2970 Brooks <bmoses@google.com>
2971
2972 [BZ #17625]
2973 * wordexp-test.c (__dso_handle): Add prototype.
2974 (__register_atfork): Likewise.
2975 (__app_register_atfork): New function.
2976 (registered_forks): New global.
2977 (register_fork): New function.
2978 (test_case): Add 3 new tests for WRDE_CMDSUB.
2979 (main): Call __app_register_atfork.
2980 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2981 fork count is non-zero fail the test.
2982 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2983 is set.
2984 (parse_dollars): Remove check for WRDE_NOCMD.
2985 (parse_dquote): Likewise.
2986
2987 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2988
2989 * Makeconfig (built-modules): List non-library modules to be
2990 built.
2991 (module-cppflags): Include libc-modules.h for
2992 everything except shlib-versions.v.i.
2993 (CPPFLAGS): Use it.
2994 (before-compile): Add libc-modules.h.
2995 ($(common-objpfx)libc-modules.h,
2996 $(common-objpfx)libc-modules.stmp): New targets.
2997 (common-generated): Add libc-modules.h and libc-modules.stmp.
2998 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2999 * include/libc-symbols.h: Don't include libc-modules.h.
3000 * include/libc-modules.h: Remove file.
3001 * scripts/gen-libc-modules.awk: New script to generate
3002 libc-modules.h.
3003 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3004 Depend on libc-modules.stmp.
3005
3006 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3007
3008 * Makeconfig (in-module): Get value of libof set for the
3009 translation unit.
3010 (CPPFLAGS): Use $(in-module).
3011 * Makerules: Don't suffix routine names for nonlib.
3012 * include/libc-modules.h: New file.
3013 * include/libc-symbols.h: Include libc-modules.h
3014 (IS_IN): New macro to replace IS_IN_* macros.
3015 * elf/Makefile: Set libof-* for each routine.
3016 * elf/rtld-Rules: Likewise.
3017 * extra-modules.mk: Likewise.
3018 * iconv/Makefile: Likewise.
3019 * iconvdata/Makefile: Likewise.
3020 * locale/Makefile: Likewise.
3021 * malloc/Makefile: Likewise.
3022 * nss/Makefile: Likewise.
3023 * sysdeps/gnu/Makefile: Likewise.
3024 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3025 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3026 * sysdeps/s390/s390-64/Makefile: Likewise.
3027 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3028 CPPFLAGS for nscd instead of nonlib.
3029
3030 2014-11-18 Roland McGrath <roland@hack.frob.com>
3031
3032 * nptl/createthread.c: New file.
3033
3034 * nptl/createthread.c: Moved ...
3035 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3036
3037 * nptl/createthread.c: Add proper top-line comment.
3038 (do_clone): Folded into ...
3039 (create_thread): ... here. Take new arguments STOPPED_START and
3040 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3041 increment __nptl_threads, do event-reporting logic, do
3042 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3043 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3044 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3045 just send SIGCANCEL.
3046 * nptl/pthread_create.c: Forward-declare create_thread before
3047 including createthread.c.
3048 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3049 declaration, and new macro START_THREAD_SELF to replace argument.
3050 Remove return statement.
3051 (report_thread_creation): New function.
3052 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3053 synchronization logic, and __nptl_nthreads increment here, around
3054 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3055 PD->parent_cancelhandling here, before create_thread. When
3056 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3057 __deallocate_stack, and ENOMEM translation here.
3058
3059 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3060
3061 [BZ #17616]
3062 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3063 (mptwo): Rename to __mptwo.
3064 (__inv): Use __mptwo instead of mptwo.
3065 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3066 (mptwo): Rename to __mptwo.
3067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3068 of mpone and __mptwo instead of mptwo.
3069 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3070 instead of mpone.
3071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3072 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3073 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3074 of mpone and __mptwo instead of mptwo.
3075 (__mpranred): Use __mpone instead of mpone.
3076 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3077 variable.
3078 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3079 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3080 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3081 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3082 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3083 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3084 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3085 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3086 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3087 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3088 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3089 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3090 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3091 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3092 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3093 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3094 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3095 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3096 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3097
3098 2014-11-18 Tom de Vries <tom@codesoucery.com>
3099
3100 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3101 replace BSD Handler xref with BSD Signal Handling.
3102
3103 2014-11-17 Richard Henderson <rth@redhat.com>
3104
3105 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3106 (_FP_PACK_RAW_2): Remove.
3107 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3108 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3109 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3110 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3111 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3112 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3113 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3114 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3115 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3116 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3117 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3118 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3119 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3120 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3121 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3122 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3123
3124 2014-11-14 Roland McGrath <roland@hack.frob.com>
3125
3126 * signal/signal.h [__USE_MISC]
3127 (struct sigvec): Remove type.
3128 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3129 (sigvec): Remove declaration.
3130 * sysdeps/posix/sigvec.c: Moved ...
3131 * signal/sigvec.c: ... here, replacing old file.
3132 (struct sigvec): New type, copied from old signal.h definition.
3133 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3134 (__sigvec): Convert definition to prototype.
3135 (sigvec): Replace weak_alias with compat_symbol.
3136 * signal/Versions (libc: GLIBC_2.21): New version set.
3137 * include/signal.h: Remove __sigvec declaration.
3138 * sysdeps/unix/bsd/sigvec.c: Remove file.
3139 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3140 * manual/signal.texi (BSD Handler): Remove subsection.
3141 Move siginterrupt up to ...
3142 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3143 (Blocking in BSD): Fold subsection into its parent.
3144 * NEWS: Mention sigvec removal.
3145
3146 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3147
3148 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3149 (DLA_FMS): Make definition conditional only on [__FMA4__].
3150 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3151 definition.
3152
3153 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3154 Make definition conditional only on [PROF].
3155 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3156 definition.
3157 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3158 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3159
3160 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3161 !__GNUC__].
3162 * include/signal.h (__sigpause): Move declaration above call to
3163 libc_hidden_proto.
3164 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3165 variable.
3166 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3167 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3168
3169 2014-11-14 David S. Miller <davem@davemloft.net>
3170
3171 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3172 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3173
3174 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3175
3176 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3177 * configure: Regenerated.
3178 * manual/install.texi (Tools for Compilation): Document a
3179 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3180 compiler verified to work.
3181 * INSTALL: Regenerated.
3182
3183 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3184 redeclare with asm name.
3185 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3186 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3187 including <string.h>.
3188 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3189 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3190 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3192 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3193 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3194 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3195
3196 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3197
3198 * stdlib/strtol.c (__strtol): Use prototype definition.
3199
3200 [BZ #17594]
3201 * stdlib/strtol.c (SYM__): New macro.
3202 (SYM__1): Likewise.
3203 (__strtol): Likewise.
3204 (strtol): Rename to __strtol and define as weak alias of
3205 __strtol. Use libc_hidden_weak.
3206
3207 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3208
3209 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3210 Use numbered labels in inline assembly.
3211
3212 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3213
3214 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3215 Add setjmp LIBC_PROBE.
3216 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3217 Likewise.
3218 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3219 Add longjmp, longjmp_target LIBC_PROBE.
3220 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3221 Likewise.
3222
3223 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3224
3225 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3226 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3227 to get rid of unused variable warning.
3228
3229 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3230
3231 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3232 Check for unwind_backtrace == NULL only in SHARED case.
3233 (__backchain_backtrace): Compile only in SHARED case.
3234 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3235 Likewise.
3236 (__backchain_backtrace): Declare as static.
3237
3238 2014-11-12 Roland McGrath <roland@hack.frob.com>
3239
3240 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3241 (__libc_multiple_threads_ptr): Variable moved ...
3242 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3243
3244 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3245
3246 * conform/GlibcConform.pm: New file.
3247 * conform/conformtest.pl: Use GlibcConform module.
3248 * conform/linknamespace.pl: New file.
3249 * conform/list-header-symbols.pl: Likewise.
3250 * conform/Makefile (linknamespace-symlists-base): New variable.
3251 (linknamespace-symlists-tests): Likewise.
3252 (linknamespace-header-base): Likewise.
3253 (linknamespace-header-tests): Likewise.
3254 (tests-special): Add new tests.
3255 ($(linknamespace-symlists-tests)): New rule.
3256 (linknamespace-libs): New variable.
3257 ($(objpfx)symlist-stdlibs): New rule.
3258 ($(linknamespace-header-tests)): Likewise.
3259 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3260 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3261 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3262 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3263 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3264 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3265 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3266 (test-xfail-ISO/math.h/linknamespace): Likewise.
3267 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3268 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3269 (test-xfail-ISO/time.h/linknamespace): Likewise.
3270 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3271 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3272 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3273 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3274 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3275 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3276 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3277 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3278 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3279 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3280 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3281 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3282 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3283 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3284 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3285 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3286 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3287 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3288 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3289 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3290 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3291 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3292 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3293 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3294 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3295 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3296 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3297 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3298 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3299 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3300 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3301 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3302 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3303 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3304 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3305 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3306 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3307 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3308 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3309 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3310 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3311 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3312 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3313 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3314 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3315 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3316 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3317 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3318 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3319 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3320 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3321 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3322 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3323 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3324 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3325 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3326 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3327 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3328 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3329 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3330 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3331 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3332 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3333 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3334 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3335 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3336 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3337 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3338 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3339 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3340 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3341 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3342 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3343 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3344 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3345 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3346 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3347 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3348 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3349 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3350 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3351 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3352 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3353 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3354 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3355 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3356 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3357 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3358 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3359 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3360 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3361 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3362 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3363 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3364 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3365 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3366 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3367 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3368 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3369 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3370 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3371 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3372 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3373 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3374 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3375 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3376 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3377 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3378 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3379 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3380 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3381 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3382 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3383 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3384 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3385 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3386 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3387 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3388 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3389 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3390 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3391 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3392 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3393 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3394 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3395 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3396 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3397 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3398 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3399 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3400 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3401 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3402 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3403 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3404 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3405 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3406 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3407 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3408 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3409 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3410 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3411 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3412 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3413 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3414 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3415 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3416 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3417 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3418 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3419 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3420
3421 [BZ #17589]
3422 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3423 of fgets_unlocked.
3424
3425 [BZ #17585]
3426 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3427 (memmem): Rename to __memmem and define as weak alias of
3428 __memmem. Use libc_hidden_weak.
3429 (__memmem): Use libc_hidden_def.
3430 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3431 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3432 memmem.
3433
3434 [BZ #17582]
3435 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3436 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3437 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3438 and define as weak alias of __fgets_unlocked. Use
3439 libc_hidden_weak.
3440 (__fgets_unlocked): Use libc_hidden_def.
3441 * include/stdio.h (__fgets_unlocked): Declare. Use
3442 libc_hidden_proto.
3443 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3444 __fgets_unlocked instead of fgets_unlocked.
3445 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3446 (GET_NPROCS_CONF_PARSER): Likewise.
3447 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3448 (GET_NPROCS_CONF_PARSER): Likewise.
3449
3450 [BZ #17574]
3451 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3452 weak alias of __wmemset. Use libc_hidden_weak.
3453 (__wmemset): Use libc_hidden_def.
3454 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3455 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3456 of wmemset.
3457
3458 [BZ #17573]
3459 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3460 with asm name __mempcpy.
3461 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3462
3463 [BZ #17572]
3464 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3465 and define as weak alias of __rawmemchr.
3466 (__rawmemchr): Do not define as strong alias of rawmemchr.
3467
3468 [BZ #17571]
3469 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3470 alias of __qsort_r.
3471 (qsort): Call __qsort_r instead of qsort_r.
3472 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3473 (__qsort_r): Declare. Call libc_hidden_proto.
3474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3475 instead of qsort_r.
3476 * nscd/gai.c (__qsort_r): Define to qsort_r.
3477 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3478 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3479 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3480
3481 [BZ #17570]
3482 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3483 define as weak alias of __malloc_info.
3484
3485 [BZ #17584]
3486 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3487 as weak alias of __rewinddir. Don't use libc_hidden_def.
3488 (__rewinddir): Use libc_hidden_def.
3489 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3490 as weak alias of __rewinddir. Don't use libc_hidden_def.
3491 (__rewinddir): Use libc_hidden_def.
3492 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3493 weak alias of __rewinddir. Don't use libc_hidden_def.
3494 (__rewinddir): Use libc_hidden_def.
3495 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3496 (__rewinddir): Use libc_hidden_proto.
3497 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3498 rewinddir.
3499 (__getcwd): Use __rewinddir instead of rewinddir.
3500
3501 [BZ #17583]
3502 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3503 alias of __fileno. Use libc_hidden_weak.
3504 (__fileno): Use libc_hidden_def.
3505 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3506 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3507 alias of __ftello.
3508 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3509 __ftello.
3510 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3511 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3512 libc_hidden_def.
3513 (fread_unlocked): Don't use libc_hidden_ver.
3514 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3515 and define as weak alias of __fread_unlocked. Don't use
3516 libc_hidden_def.
3517 (__fread_unlocked): Use libc_hidden_def.
3518 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3519 (ftello): Don't use libc_hidden_proto.
3520 (__ftello): Declare. Use libc_hidden_proto.
3521 (fread_unlocked): Don't use libc_hidden_proto.
3522 (__fread_unlocked): Declare. Use libc_hidden_proto.
3523 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3524 and __ftello instead of fileno, fread_unlocked and ftello.
3525
3526 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3527
3528 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3529 GOT12.
3530 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3531 Likewise.
3532 (_dl_start_user): Likewise.
3533 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3534
3535 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3536 Siddhesh Poyarekar <siddhesh@redhat.com>
3537
3538 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3539 Move argv and envp down instead of moving argc up.
3540 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3541
3542 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3543
3544 [BZ #17506]
3545 * test-skeleton.c (main): Return successful if one of
3546 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3547 * string/tst-strcoll-overflow.c: Define expected status.
3548
3549 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3550
3551 [BZ #17475]
3552 * locale/iso-639.def: Define Bhili and Tulu language codes.
3553
3554 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3555
3556 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3557
3558 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3559
3560 [BZ #17555]
3561 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3562
3563 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3564
3565 * configure.ac: Updated check of minimal required version to
3566 2.22.
3567 * manual/install.texi (Tools for Compilation): Updated version
3568 number.
3569 * configure: Regenerated.
3570 * INSTALL: Likewise.
3571
3572 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3573
3574 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3575 __tls_get_addr.
3576
3577 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3578
3579 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3580 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3581 (__waitpid): Don't define as alias. Use libc_hidden_def not
3582 libc_hidden_weak.
3583 (waitpid): Define as alias of __waitpid.
3584 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3585 __waitpid.
3586 (__waitpid): Don't define as alias. Use libc_hidden_def not
3587 libc_hidden_weak.
3588 (waitpid): Define as alias of __waitpid.
3589 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3590 __libc_waitpid alias.
3591 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3592 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3593 Likewise.
3594 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3595 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3596 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3597 alias.
3598 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3599 __waitpid.
3600 (__waitpid): Don't define as alias. Use libc_hidden_def not
3601 libc_hidden_weak.
3602 (waitpid): Define as alias of __waitpid.
3603
3604 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3605
3606 * manual/llio.texi: Add comment that write safety has been
3607 fixed in Linux.
3608
3609 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3610 (localplt-build-dso): Add elf/ld.so.
3611 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3612 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3613 and free for ld.so.
3614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3615 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3617 Likewise.
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3619 Likewise.
3620 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3621 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3622 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3623 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3624 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3625 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3626 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3627 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3628 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3629 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3630 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3631
3632 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #14132]
3635 * include/libc-symbols.h (INTUSE): Remove macro.
3636 (INTDEF): Likewise.
3637 (INTVARDEF): Likewise.
3638 (_INTVARDEF): Likewise.
3639 (INTDEF2): Likewise.
3640 (INTVARDEF2): Likewise.
3641 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3642 rtld_hidden_def instead of INTVARDEF.
3643 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3644 (_dl_starting_up_internal): Remove declaration.
3645 (_dl_starting_up): Use rtld_hidden_proto.
3646 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3647 declaration.
3648 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3649 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3650 _dl_starting_up.
3651 * elf/dl-writev.h (_dl_writev): Likewise.
3652 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3653 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3654 _dl_starting_up_internal.
3655
3656 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3657
3658 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3659 test-skeleton.c.
3660
3661 2014-11-05 Will Newton <will.newton@linaro.org>
3662
3663 * benchtests/Makefile: (bench-malloc): Add malloc thread
3664 scalability benchmark.
3665 * benchtests/bench-malloc-threads.c: New file.
3666
3667 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3668
3669 * sysdeps/aarch64/strchrnul.S: New file.
3670
3671 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3672
3673 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3674 definition.
3675 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3676 Likwise.
3677 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3678 Likewise.
3679 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3680 Likewise.
3681 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3682 Likewise.
3683 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3684 Likewise.
3685
3686 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3687
3688 * catgets/test-gencat.c: Use test-skeleton.c.
3689 * catgets/tst-catgets.c: Likewise.
3690 * csu/tst-empty.c: Likewise.
3691 * elf/tst-audit2.c: Likewise.
3692 * elf/tst-global1.c: Likewise.
3693 * elf/tst-pathopt.c: Likewise.
3694 * elf/tst-piemod1.c: Likewise.
3695 * elf/tst-tls10.c: Likewise.
3696 * elf/tst-tls11.c: Likewise.
3697 * elf/tst-tls12.c: Likewise.
3698 * gnulib/tst-gcc.c: Likewise.
3699 * iconvdata/tst-e2big.c: Likewise.
3700 * iconvdata/tst-loading.c: Likewise.
3701 * iconv/tst-iconv1.c: Likewise.
3702 * iconv/tst-iconv2.c: Likewise.
3703 * inet/test-inet6_opt.c: Likewise.
3704 * inet/tst-gethnm.c: Likewise.
3705 * inet/tst-network.c: Likewise.
3706 * inet/tst-ntoa.c: Likewise.
3707 * intl/tst-codeset.c: Likewise.
3708 * intl/tst-gettext2.c: Likewise.
3709 * intl/tst-gettext3.c: Likewise.
3710 * intl/tst-ngettext.c: Likewise.
3711 * intl/tst-translit.c: Likewise.
3712 * io/test-stat.c: Likewise.
3713 * libio/test-fmemopen.c: Likewise.
3714 * libio/tst-freopen.c: Likewise.
3715 * libio/tst-sscanf.c: Likewise.
3716 * libio/tst-ungetwc1.c: Likewise.
3717 * libio/tst-ungetwc2.c: Likewise.
3718 * libio/tst-widetext.c: Likewise.
3719 * localedata/tst-ctype.c: Likewise.
3720 * localedata/tst-digits.c: Likewise.
3721 * localedata/tst-leaks.c: Likewise.
3722 * localedata/tst-mbswcs1.c: Likewise.
3723 * localedata/tst-mbswcs2.c: Likewise.
3724 * localedata/tst-mbswcs3.c: Likewise.
3725 * localedata/tst-mbswcs4.c: Likewise.
3726 * localedata/tst-mbswcs5.c: Likewise.
3727 * localedata/tst-setlocale.c: Likewise.
3728 * localedata/tst-trans.c: Likewise.
3729 * localedata/tst-wctype.c: Likewise.
3730 * localedata/tst-xlocale1.c: Likewise.
3731 * login/tst-grantpt.c: Likewise.
3732 * malloc/tst-calloc.c: Likewise.
3733 * malloc/tst-malloc.c: Likewise.
3734 * malloc/tst-mallocstate.c: Likewise.
3735 * malloc/tst-mcheck.c: Likewise.
3736 * malloc/tst-mtrace.c: Likewise.
3737 * malloc/tst-obstack.c: Likewise.
3738 * math/atest-exp2.c: Likewise.
3739 * math/atest-exp.c: Likewise.
3740 * math/atest-sincos.c: Likewise.
3741 * math/test-matherr.c: Likewise.
3742 * math/test-misc.c: Likewise.
3743 * math/test-powl.c: Likewise.
3744 * math/tst-definitions.c: Likewise.
3745 * misc/tst-dirname.c: Likewise.
3746 * misc/tst-efgcvt.c: Likewise.
3747 * misc/tst-fdset.c: Likewise.
3748 * misc/tst-hsearch.c: Likewise.
3749 * misc/tst-mntent2.c: Likewise.
3750 * nptl/tst-sem7.c: Likewise.
3751 * nptl/tst-sem8.c: Likewise.
3752 * nptl/tst-sem9.c: Likewise.
3753 * nss/test-netdb.c: Likewise.
3754 * posix/tst-fnmatch.c: Likewise.
3755 * posix/tst-getlogin.c: Likewise.
3756 * posix/tst-gnuglob.c: Likewise.
3757 * posix/tst-mmap.c: Likewise.
3758 * pwd/tst-getpw.c: Likewise.
3759 * resolv/tst-inet_ntop.c: Likewise.
3760 * rt/tst-timer.c: Likewise.
3761 * stdio-common/test-fseek.c: Likewise.
3762 * stdio-common/test-popen.c: Likewise.
3763 * stdio-common/test-vfprintf.c: Likewise.
3764 * stdio-common/tst-cookie.c: Likewise.
3765 * stdio-common/tst-fileno.c: Likewise.
3766 * stdio-common/tst-gets.c: Likewise.
3767 * stdio-common/tst-obprintf.c: Likewise.
3768 * stdio-common/tst-perror.c: Likewise.
3769 * stdio-common/tst-sprintf2.c: Likewise.
3770 * stdio-common/tst-sprintf3.c: Likewise.
3771 * stdio-common/tst-sprintf.c: Likewise.
3772 * stdio-common/tst-swprintf.c: Likewise.
3773 * stdio-common/tst-tmpnam.c: Likewise.
3774 * stdio-common/tst-unbputc.c: Likewise.
3775 * stdio-common/tst-wc-printf.c: Likewise.
3776 * stdlib/tst-environ.c: Likewise.
3777 * stdlib/tst-fmtmsg.c: Likewise.
3778 * stdlib/tst-limits.c: Likewise.
3779 * stdlib/tst-rand48-2.c: Likewise.
3780 * stdlib/tst-rand48.c: Likewise.
3781 * stdlib/tst-random2.c: Likewise.
3782 * stdlib/tst-random.c: Likewise.
3783 * stdlib/tst-strtol.c: Likewise.
3784 * stdlib/tst-strtoll.c: Likewise.
3785 * stdlib/tst-tls-atexit.c: Likewise.
3786 * stdlib/tst-xpg-basename.c: Likewise.
3787 * string/test-ffs.c: Likewise.
3788 * string/tst-bswap.c: Likewise.
3789 * string/tst-inlcall.c: Likewise.
3790 * string/tst-strtok.c: Likewise.
3791 * string/tst-strxfrm.c: Likewise.
3792 * sysdeps/x86_64/tst-audit10.c: Likewise.
3793 * sysdeps/x86_64/tst-audit3.c: Likewise.
3794 * sysdeps/x86_64/tst-audit4.c: Likewise.
3795 * sysdeps/x86_64/tst-audit5.c: Likewise.
3796 * time/tst-ftime_l.c: Likewise.
3797 * time/tst-getdate.c: Likewise.
3798 * time/tst-mktime3.c: Likewise.
3799 * time/tst-mktime.c: Likewise.
3800 * time/tst-posixtz.c: Likewise.
3801 * time/tst-strptime2.c: Likewise.
3802 * time/tst-strptime3.c: Likewise.
3803 * wcsmbs/tst-btowc.c: Likewise.
3804 * wcsmbs/tst-mbrtowc.c: Likewise.
3805 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3806 * wcsmbs/tst-wchar-h.c: Likewise.
3807 * wcsmbs/tst-wcpncpy.c: Likewise.
3808 * wcsmbs/tst-wcrtomb.c: Likewise.
3809 * wcsmbs/tst-wcsnlen.c: Likewise.
3810 * wcsmbs/tst-wcstof.c: Likewise.
3811
3812 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3813
3814 [BZ #14132]
3815 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3816 INTDEF.
3817 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3818 declaration.
3819 (_dl_mcount): Use rtld_hidden_proto.
3820 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3821 _dl_mcount.
3822 * elf/rtld.c (_rtld_global_ro): Likewise.
3823
3824 [BZ #14132]
3825 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3826 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3827 of _dl_init_internal.
3828 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3829 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3830 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3831 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3832 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3833 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3834 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3835 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3836 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3837 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3838 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3839 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3840 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3841 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3842 * sysdeps/tile/dl-start.S (_start): Likewise.
3843 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3844 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3845
3846 [BZ #14132]
3847 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3848 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3849 (rtld_progname): Make macro definition unconditional.
3850 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3851 INTDEF.
3852 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3853 (dl_main): Likewise.
3854 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3855 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3856 instead of _dl_argv_internal.
3857 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3858 __GI__dl_argv instead of INTUSE(_dl_argv).
3859 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3860 __GI__dl_argv instead of _dl_argv_internal.
3861
3862 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3863 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3864 macro.
3865 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3866 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3867 New macro.
3868 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3869 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3870 macro.
3871 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3872 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3873
3874 2014-11-04 Andreas Schwab <schwab@suse.de>
3875
3876 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3877
3878 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3879
3880 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3881 mtvsrd instruction in binary form.
3882
3883 2014-11-03 Andreas Schwab <schwab@suse.de>
3884
3885 [BZ #17522]
3886 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3887 for less than MB_LEN_MAX use a local buffer of that size.
3888 * libio/tst-fputws.c: New file.
3889 * libio/Makefile (tests): Add tst-fputws.
3890
3891 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3892
3893 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3894 the size of the fpu_fr.fpu_dregs[] array.
3895
3896 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3897
3898 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3899 (__nanosleep): Do not define as alias.
3900 (nanosleep): Define as alias of __nanosleep.
3901 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3902 __libc_nanosleep name.
3903
3904 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3905
3906 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3907 install.texi in comment.
3908
3909 2014-10-31 Torvald Riegel <triegel@redhat.com>
3910
3911 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3912 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3913 ... add here and use lwsync or sync ...
3914 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3915 ... and add here using lwsync.
3916
3917 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3918
3919 * elf/dl-machine-reject-phdr.h: New file.
3920 * elf/dl-load.c: #include that.
3921 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3922 if that returned true.
3923
3924 2014-10-31 Roland McGrath <roland@hack.frob.com>
3925
3926 [BZ #17496]
3927 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3928 gen-as-const-headers chunk. Add a big scare comment after the last
3929 safe place to touch before-compile.
3930
3931 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3932
3933 * manual/install.texi (Tools for Compilation): Update autoconf
3934 version requirements.
3935 * INSTALL: Regenerated.
3936
3937 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3938 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3939 (__libc_pselect): Likewise.
3940
3941 [BZ #14138]
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3946
3947 2014-10-31 Torvald Riegel <triegel@redhat.com>
3948
3949 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3950 correct barrier instruction.
3951 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3952 Likewise.
3953 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3954 Likewise.
3955
3956 2014-10-30 Roland McGrath <roland@hack.frob.com>
3957
3958 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3959 after defining inlines. Instead, just use parens to defeat macro
3960 expansion of __isctype in its declaration.
3961
3962 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3963
3964 * include/sys/uio.h (__libc_readv): Remove declaration.
3965 (__libc_writev): Likewise.
3966 * misc/readv.c (__libc_readv): Rename to __readv.
3967 (__readv): Do not define as alias.
3968 (readv): Define as alias of __readv.
3969 * misc/writev.c (__libc_writev): Rename to __writev.
3970 (__writev): Do not define as alias.
3971 (writev): Define as alias of __writev.
3972 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3973 (__readv): Do not define as alias.
3974 (readv): Define unconditionally as alias of __readv.
3975 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3976 (__writev): Do not define as alias.
3977 (writev): Define unconditionally as alias of __writev.
3978 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3979 name.
3980 (writev): Do not define __libc_writev name.
3981
3982 2014-10-30 Roland McGrath <roland@hack.frob.com>
3983
3984 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3985 (convert_charseq): New function, broken out of ...
3986 (use_from_charmap): ... here. Call it.
3987 (use_to_charmap): Use convert_charseq and free instead of duplicating
3988 its code with a variable-length stack struct.
3989
3990 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3991
3992 * include/fcntl.h (__libc_creat): Remove declaration.
3993 * io/creat.c (__libc_creat): Rename to creat.
3994 (creat): Do not define as alias.
3995 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3996 of creat instead of __libc_creat.
3997 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3998 to creat.
3999 (creat): Do not define as alias.
4000 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4001 __libc_creat.
4002 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4003 __libc_creat name.
4004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4005 Likewise.
4006
4007 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4008
4009 * manual/llio.texi: Add comments discussing why write() may be
4010 considered MT-unsafe on Linux.
4011
4012 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4013
4014 * dl-load.c (local_strdup): Remove.
4015 (expand_dynamic_string_token): Use __strdup.
4016 (decompose_rpath): Likewise.
4017 (_dl_map_object): Likewise.
4018
4019 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4020
4021 [BZ #14132]
4022 * sysdeps/generic/unwind-dw2-fde.c
4023 (__register_frame_info_bases_internal): Do not declare.
4024 (__register_frame_info_table_bases_internal): Likewise.
4025 (__deregister_frame_info_bases_internal): Likewise.
4026 (__register_frame_info_bases): Declare and use hidden_proto before
4027 definition. Use hidden_def instead of INTDEF.
4028 (__register_frame_info_table_bases): Likewise.
4029 (__deregister_frame_info_bases): Likewise.
4030 (__register_frame_info): Do not use INTUSE.
4031 (__register_frame): Likewise.
4032 (__register_frame_info_table): Likewise.
4033 (__register_frame_table): Likewise.
4034 (__deregister_frame_info): Likewise.
4035 (__deregister_frame): Likewise.
4036
4037 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4038
4039 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4040 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4041 not undefine.
4042 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4043 Likewise.
4044 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4045 Likewise.
4046
4047 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4048
4049 [BZ #14138]
4050 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4051 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4052 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4053 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4054 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4055 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4056 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4057 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4058 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4059 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4061 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4062 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4063 syscall.
4064 (setfsuid): Likewise.
4065 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4066 (setfsuid): Likewise.
4067 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4068 (setfsuid): Likewise.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4070 Likewise.
4071 (setfsuid): Likewise.
4072 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4073 (setfsuid): Likewise.
4074 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4075 Likewise.
4076 (setfsuid): Likewise.
4077
4078 2014-10-27 Andreas Schwab <schwab@suse.de>
4079
4080 [BZ #17501]
4081 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4082 check for Slow_SSE4_2 feature bit.
4083 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4084 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4085 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4086 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4087
4088 2014-10-24 Roland McGrath <roland@hack.frob.com>
4089
4090 * configure.ac: Validate compiler version with a empirical test of
4091 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4092 $CC -v output.
4093 * configure: Regenerated.
4094
4095 * inet/htons.c (htons): Prototypify.
4096 * inet/htonl.c (htonl): Likewise.
4097
4098 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4099
4100 * string/strncat.c (strncat): Improve performance by using strlen.
4101
4102 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4103
4104 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4105
4106 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4107
4108 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4109 Call libc_fetestexcept_aarch64.
4110
4111 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4112
4113 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4114 Call libc_feholdexcept_aarch64.
4115
4116 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4117
4118 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4119 Call get_rounding_mode.
4120
4121 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4122
4123 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4124 Simplify logic.
4125
4126 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4127
4128 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4129 Simplify logic.
4130
4131 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4132
4133 [BZ #14138]
4134 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4135 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4136 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4137 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4138 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4139 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4140 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4141 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4142 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4143 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4144 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4145 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4146 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4147 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4148 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4149 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4150 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4151 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4152 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4153 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4154 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4155 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4156 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4157 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4158 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4159 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4160 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4161 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4162 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4163 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4164 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4165 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4166 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4167 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4168 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4169 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4170 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4171 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4172 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4173 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4174 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4175 syscall.
4176 (geteuid): Likewise.
4177 (getgid): Likewise.
4178 (getuid): Likewise.
4179 (getresgid): Likewise.
4180 (getresuid): Likewise.
4181 (getgroups): Likewise.
4182 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4183 (geteuid): Likewise.
4184 (getgid): Likewise.
4185 (getuid): Likewise.
4186 (getresgid): Likewise.
4187 (getresuid): Likewise.
4188 (getgroups): Likewise.
4189 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4190 (geteuid): Likewise.
4191 (getgid): Likewise.
4192 (getuid): Likewise.
4193 (getresgid): Likewise.
4194 (getresuid): Likewise.
4195 (getgroups): Likewise.
4196 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4197 Likewise.
4198 (geteuid): Likewise.
4199 (getgid): Likewise.
4200 (getuid): Likewise.
4201 (getresgid): Likewise.
4202 (getresuid): Likewise.
4203 (getgroups): Likewise.
4204 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4205 (geteuid): Likewise.
4206 (getgid): Likewise.
4207 (getuid): Likewise.
4208 (getresgid): Likewise.
4209 (getresuid): Likewise.
4210 (getgroups): Likewise.
4211 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4212 Likewise.
4213 (geteuid): Likewise.
4214 (getgid): Likewise.
4215 (getuid): Likewise.
4216 (getgroups): Likewise.
4217
4218 [BZ #14138]
4219 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4220 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4221 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4222 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4223 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4225 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4226 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4227 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4228 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4229 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4230 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4231 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4232 __chown.
4233 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4234 (lchown): Likewise.
4235 (fchown): Likewise.
4236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4237 Likewise.
4238 (lchown): Likewise.
4239 (fchown): Likewise.
4240 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4241 (lchown): Likewise.
4242 (fchown): Likewise.
4243 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4244 Likewise.
4245 (lchown): Likewise.
4246 (fchown): Likewise.
4247
4248 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4249
4250 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4251 Simplify logic.
4252
4253 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4254
4255 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4256 Cleanup logic.
4257
4258 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4259
4260 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4261 Remove unused include.
4262
4263 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4264
4265 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4266 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4267 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4268 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4269
4270 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4271 Helge Deller <deller@gmx.de>
4272
4273 [BZ #17508]
4274 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4275 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4276 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4277
4278 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4279
4280 [BZ #14132]
4281 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4282 Remove macro definition.
4283 (__ashrdi3_v_glibc20): Likewise.
4284 (__lshrdi3_v_glibc20): Likewise.
4285 (__cmpdi2_v_glibc20): Likewise.
4286 (__ucmpdi2_v_glibc20): Likewise.
4287 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4288 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4289 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4290 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4291 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4292 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4293
4294 2014-10-22 Roland McGrath <roland@hack.frob.com>
4295
4296 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4297 old GNU extension [0] syntax.
4298 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4299 alloca rather than an array member with variable length.
4300 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4301 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4302 (parse_opt): ... here. Likewise use alloca there.
4303 Validate the -i argument before checking for rootness.
4304 (send_shutdown): New function, broken out of ...
4305 (parse_opt): ... here.
4306
4307 2014-10-22 Roland McGrath <roland@hack.frob.com>
4308
4309 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4310 macro to get at the _rt_local_ro field.
4311 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4312 ([PIC] case) or _dl_hwcap ([!PIC] case).
4313 * sysdeps/arm/setjmp.S: Likewise.
4314
4315 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4316 * sysdeps/arm/configure.ac: New check to define it.
4317 * sysdeps/arm/configure: Regenerated.
4318 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4319 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4320 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4321 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4322 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4323 Use move/movt pair instead of a load.
4324 (LDST_GLOBAL): Macro removed.
4325 (LDR_GLOBAL): New macro replaces it.
4326 (LDR_HIDDEN): New macro.
4327 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4328 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4329
4330 * setjmp/tst-setjmp-static.c: New file.
4331 * setjmp/Makefile (tests): Add it.
4332 (tests-static): New variable.
4333
4334 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4335
4336 [BZ #17485]
4337 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4338
4339 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4340
4341 [BZ #14132]
4342 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4343
4344 2014-10-21 Roland McGrath <roland@hack.frob.com>
4345
4346 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4347
4348 2014-10-20 Roland McGrath <roland@hack.frob.com>
4349
4350 * io/fts.c (dirent_not_directory): New function.
4351 (fts_build): Call it.
4352
4353 2014-10-20 Roland McGrath <roland@hack.frob.com>
4354
4355 * nptl/version.c (__nptl_main): Use normal __write rather than
4356 INTERNAL_SYSCALL.
4357 (banner): Update copyright years.
4358
4359 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4360 gettimeofday.
4361 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4362 * nptl/pthread_cond_timedwait.c: Likewise.
4363 * nptl/pthread_mutex_timedlock.c: Likewise.
4364 * nptl/sem_timedwait.c: Likewise.
4365
4366 * sysdeps/nptl/bits/libc-lock.h
4367 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4368 (__libc_lock_init_recursive): Return void, not 0.
4369 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4370 (__libc_rwlock_init): Likewise.
4371 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4372
4373 2014-10-20 Torvald Riegel <triegel@redhat.com>
4374
4375 [BZ #15215]
4376 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4377 (__pthread_once_slow): ... here.
4378 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4379 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4380
4381 2014-10-20 Torvald Riegel <triegel@redhat.com>
4382
4383 [BZ #15215]
4384 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4385 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4386 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4387 * nptl/pthread_once.c (__pthread_once): Likewise.
4388 Update comments.
4389
4390 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4391
4392 [BZ #14138]
4393 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4394 name.
4395 (writev): Use __libc_writev as strong name.
4396 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4397 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4398
4399 2014-10-17 Roland McGrath <roland@hack.frob.com>
4400
4401 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4402
4403 * sysdeps/i386/nptl/tls.h
4404 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4405 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4406 New macros.
4407 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4408 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4409 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4410 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4411 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4412 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4413
4414 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4415 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4416 on [__NR_futex].
4417 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4418 broken out of ...
4419 (__pthread_mutex_init): ... here. Call it.
4420 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4421 Conditionalize PI cases on [__NR_futex].
4422 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4423 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4424 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4425
4426 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4427 conditional on [SIGSETXID].
4428 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4429 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4430 is defined. Likewise for SIGSETXID.
4431 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4432 Conditionalize definitions on [SIGSETXID].
4433 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4434 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4435 unblocking on [SIGCANCEL].
4436
4437 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4438 [__NR_set_robust_list].
4439
4440 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4441
4442 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4443 (do_compare): Likewise.
4444
4445 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4446
4447 [BZ #15884]
4448 * string/strcoll_l.c: Don't include stdio.h.
4449 (coll_seq): Remove members idxarr and rulearr.
4450 (get_next_seq_cached): Remove function.
4451 (get_next_seq): Likewise.
4452 (get_next_seq_nocache): Rename to get_next_seq.
4453 (do_compare): Remove function.
4454 (do_compare_nocache): Rename to do_compare.
4455 (STRCOLL): Remove weight and rules cache.
4456
4457 2014-10-16 Roland McGrath <roland@hack.frob.com>
4458
4459 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4460 * sysdeps/arm/sfp-machine.h: ... to here.
4461 * sysdeps/arm/Implies: Remove arm/soft-fp.
4462
4463 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4464
4465 * conform/data/sys/utsname.h-data (*_t): Allow.
4466 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4467 [POSIX] (WEXITED): Do not expect constant.
4468 [POSIX] (WSTOPPED): Likewise.
4469 [POSIX] (WNOHANG): Likewise.
4470 [POSIX] (WNOWAIT): Likewise.
4471 [POSIX] (siginfo_t): Do not expect type or elements.
4472 [POSIX] (pid_t): Do not expect type.
4473 [POSIX] (signal.h): Do not allow header.
4474 [POSIX] (sys/resource.h): Likewise.
4475 [POSIX] (si_*): Do not allow pattern.
4476 [POSIX] (W*): Likewise.
4477 [POSIX] (P_*): Likewise.
4478 [POSIX] (BUS_*): Likewise.
4479 [POSIX] (CLD_*): Likewise.
4480 [POSIX] (FPE_*): Likewise.
4481 [POSIX] (ILL_*): Likewise.
4482 [POSIX] (POLL_*): Likewise.
4483 [POSIX] (SEGV_*): Likewise.
4484 [POSIX] (SI_*): Likewise.
4485 [POSIX] (TRAP_*): Likewise.
4486 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4487 variable.
4488
4489 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4490
4491 [BZ #12926]
4492 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4493 infinite loop when __recvmsg returns 0.
4494
4495 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4496
4497 * CANCEL-FCT-WAIVE: Remove file.
4498 * CANCEL-FILE-WAIVE: Likewise.
4499
4500 [BZ #14132]
4501 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4502 instead of INTVARDEF.
4503 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4504 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4505 rtld_hidden_data_def instead of INTVARDEF.
4506 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4507 * elf/dl-deps.c (expand_dst): Likewise.
4508 * elf/dl-load.c (_dl_dst_count): Likewise.
4509 (_dl_dst_substitute): Likewise.
4510 (decompose_rpath): Likewise.
4511 (_dl_init_paths): Likewise.
4512 (open_path): Likewise.
4513 (_dl_map_object): Likewise.
4514 * elf/rtld.c (dl_main): Likewise.
4515 (process_dl_audit): Likewise.
4516 (process_envvars): Likewise.
4517 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4518 Remove declaration.
4519 (__libc_enable_secure): Use rtld_hidden_proto.
4520
4521 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4522
4523 * elf/dl-load.c
4524 (add_path): New function broken out of _dl_rtld_di_serinfo.
4525 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4526
4527 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4528
4529 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4530 parentheses around macro arguments.
4531 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4532 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4533 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4534 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4535 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4536 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4538 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4539 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4542 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4543 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4544 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4545 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4546 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4547 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4548 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4549 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4550 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4551 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4552 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4553 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4554 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4555 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4558 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4559 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4560 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4561 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4562 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4563 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4564 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4565 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4566 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4567 Likewise.
4568 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4569 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4570 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4571 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4572 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4573 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4574 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4575 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4576 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4577 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4578 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4579 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4580 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4582 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4583 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4584 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4585 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4586 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4587 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4588 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4589 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4590 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4591 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4592 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4593 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4594 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4595 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4596 (_FP_FRAC_SRS_1): Likewise.
4597 (_FP_FRAC_CLZ_1): Likewise.
4598 (_FP_MUL_MEAT_1_imm): Likewise.
4599 (_FP_MUL_MEAT_1_wide): Likewise.
4600 (_FP_MUL_MEAT_1_hard): Likewise.
4601 (_FP_SQRT_MEAT_1): Likewise.
4602 (_FP_FRAC_ASSEMBLE_1): Likewise.
4603 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4604 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4605 (__FP_CLZ_2): Likewise.
4606 (_FP_MUL_MEAT_2_wide): Likewise.
4607 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4608 (_FP_MUL_MEAT_2_gmp): Likewise.
4609 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4610 (_FP_SQRT_MEAT_2): Likewise.
4611 (_FP_FRAC_ASSEMBLE_2): Likewise.
4612 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4613 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4614 (_FP_FRAC_CLZ_4): Likewise.
4615 (_FP_MUL_MEAT_4_wide): Likewise.
4616 (_FP_MUL_MEAT_4_gmp): Likewise.
4617 (_FP_SQRT_MEAT_4): Likewise.
4618 (_FP_FRAC_ASSEMBLE_4): Likewise.
4619 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4620 * soft-fp/op-common.h (_FP_CMP): Likewise.
4621 (_FP_CMP_EQ): Likewise.
4622 (_FP_CMP_UNORD): Likewise.
4623 (_FP_TO_INT): Likewise.
4624 (_FP_FROM_INT): Likewise.
4625 [!__FP_CLZ] (__FP_CLZ): Likewise.
4626 (_FP_DIV_HELP_imm): Likewise.
4627 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4628 Likewise.
4629 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4630 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4631 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4632 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4633 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4634 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4635 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4636 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4637 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4638 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4639 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4640 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4641 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4642 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4643 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4644 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4645 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4646 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4647 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4648 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4649 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4650 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4651 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4652 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4653 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4654 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4655 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4656 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4657 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4658 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4659 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4660 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4661 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4662 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4663 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4664 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4665 (FP_UNPACK_RAW_SP): Likewise.
4666 (FP_PACK_RAW_S): Likewise.
4667 (FP_PACK_RAW_SP): Likewise.
4668 (FP_UNPACK_S): Likewise.
4669 (FP_UNPACK_SP): Likewise.
4670 (FP_UNPACK_SEMIRAW_S): Likewise.
4671 (FP_UNPACK_SEMIRAW_SP): Likewise.
4672 (FP_PACK_S): Likewise.
4673 (FP_PACK_SP): Likewise.
4674 (FP_PACK_SEMIRAW_S): Likewise.
4675 (FP_PACK_SEMIRAW_SP): Likewise.
4676 (_FP_SQRT_MEAT_S): Likewise.
4677 (FP_CMP_S): Likewise.
4678 (FP_CMP_EQ_S): Likewise.
4679 (FP_CMP_UNORD_S): Likewise.
4680 (FP_TO_INT_S): Likewise.
4681 (FP_FROM_INT_S): Likewise.
4682
4683 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4684
4685 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4686 (FP_EX_INVALID_IMZ): Likewise.
4687 (FP_EX_INVALID_IMZ_FMA): Likewise.
4688 (FP_EX_INVALID_ISI): Likewise.
4689 (FP_EX_INVALID_ZDZ): Likewise.
4690 (FP_EX_INVALID_IDI): Likewise.
4691 (FP_EX_INVALID_SQRT): Likewise.
4692 (FP_EX_INVALID_CVI): Likewise.
4693 (FP_EX_INVALID_VC): Likewise.
4694 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4695 "invalid" exceptions.
4696 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4697 (_FP_ADD_INTERNAL): Likewise.
4698 (_FP_MUL): Likewise.
4699 (_FP_FMA): Likewise.
4700 (_FP_DIV): Likewise.
4701 (_FP_CMP_CHECK_NAN): Likewise.
4702 (_FP_SQRT): Likewise.
4703 (_FP_TO_INT): Likewise.
4704 (FP_EXTEND): Likewise.
4705
4706 2014-10-09 Allan McRae <allan@archlinux.org>
4707
4708 * po/fr.po: Update French translation from translation project.
4709
4710 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4711
4712 [BZ #14132]
4713 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4714 of INTDEF.
4715 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4716 (__cxa_atexit): Use libc_hidden_proto.
4717 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4718
4719 [BZ #14132]
4720 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4721 declaration.
4722 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4723 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4724 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4725 [!_ISOMAC] (__iswctype_internal): Likewise.
4726 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4727 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4728 alias.
4729 (fcntl): Remove __fcntl_internal alias.
4730 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4731 __connect_internal alias.
4732 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4733 Likewise.
4734
4735 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4736 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4737 FP_DENORM_ZERO.
4738 (_FP_CHECK_FLUSH_ZERO): New macro.
4739 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4740 (_FP_CMP): Likewise.
4741 (_FP_CMP_EQ): Likewise.
4742 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4743 FP_DENORM_ZERO.
4744 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4745 (FP_TRUNC): Likewise.
4746
4747 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4748 treated as invalid conversion, not as normal exponent.
4749
4750 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4751 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4752 (_FP_CMP_EQ): Likewise.
4753 (_FP_CMP_UNORD): Likewise.
4754 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4755 (FP_CMP_EQ_D): Likewise.
4756 (FP_CMP_UNORD_D): Likewise.
4757 * soft-fp/extended.h (FP_CMP_E): Likewise.
4758 (FP_CMP_EQ_E): Likewise.
4759 (FP_CMP_UNORD_E): Likewise.
4760 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4761 (FP_CMP_EQ_Q): Likewise.
4762 (FP_CMP_UNORD_Q): Likewise.
4763 * soft-fp/single.h (FP_CMP_S): Likewise.
4764 (FP_CMP_EQ_S): Likewise.
4765 (FP_CMP_UNORD_S): Likewise.
4766 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4767 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4768 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4769 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4770 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4771 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4772 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4773 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4774 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4775 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4776 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4777 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4778 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4779 to FP_CMP_Q.
4780 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4781 FP_CMP_Q.
4782 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4783 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4784 FP_CMP_EQ_Q.
4785 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4786 FP_CMP_Q.
4787 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4788 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4789 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4790 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4791 FP_CMP_EQ_Q.
4792 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4793 FP_CMP_Q.
4794 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4795 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4796 FP_CMP_EQ_Q.
4797 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4798 FP_CMP_Q.
4799 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4800 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4801 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4802 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4803 FP_CMP_EQ_Q.
4804
4805 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4806 a subnormal result, set the underflow exception if trapping on
4807 underflow is enabled.
4808 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4809 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4810 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4811 redefine to 0.
4812 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4813 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4814 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4815 * soft-fp/extendxftf2.c (__extendxftf2): Use
4816 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4817
4818 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4819 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4820 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4821 FP_HANDLE_EXCEPTIONS.
4822 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4823 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4824 FP_HANDLE_EXCEPTIONS.
4825 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4826 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4827 FP_HANDLE_EXCEPTIONS.
4828 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4829 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4830 FP_HANDLE_EXCEPTIONS.
4831
4832 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4833
4834 [BZ #14132]
4835 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4836 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4837 use INTUSE.
4838 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4839 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4840 Remove alias.
4841 (__adjtimex): Define using libc_hidden_ver.
4842 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4843 Remove declaration.
4844 (ntp_gettime): Call __adjtimex directly.
4845 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4846 Remove declaration.
4847 (ntp_gettimex): Call __adjtimex directly.
4848 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4849 __adjtimex_internal alias.
4850
4851 2014-10-08 Roland McGrath <roland@hack.frob.com>
4852
4853 [BZ #17460]
4854 * nscd/nscd.c (more_help): Rewrite list of tables collection
4855 using xstrdup and asprintf.
4856
4857 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4858
4859 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4860 Roland McGrath <roland@hack.frob.com>
4861
4862 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4863 (do_lookup_unique): ... local function 'enter' here; update callers.
4864
4865 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4866
4867 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4868 compat_symbol calls on [SHARED].
4869 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4870 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4871 Remove.
4872 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4873 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4874 (oldsetrlimit): Remove.
4875 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4877 (lchown): New syscall entry.
4878 (oldsetrlimit): Remove.
4879 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4881 (oldsetrlimit): Remove.
4882 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4883
4884 [BZ #14138]
4885 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4886 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4887 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4888 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4889 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4890 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4891 (fchown): Likewise.
4892 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4893 (fchown): Likewise.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4895 Likewise.
4896
4897 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898
4899 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4900 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4901 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4902 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4903 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4904 Likewise.
4905 (__old_sem_post): Likewise.
4906
4907 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4908
4909 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4910 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4911 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4912 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4913 Use INLINE_VSYSCALL macro.
4914 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4915 __vdso_clock_gettime.
4916 * sysdeps/unix/sysv/linux/tile/init-first.c
4917 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4918 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4919 __vdso_clock_gettime.
4920
4921 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4922 to set up frame more cleanly.
4923
4924 * sysdeps/tile/memcmp.c: New file.
4925
4926 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4927
4928 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4929 * sysdeps/tile/tilegx/strcasestr.c: New file.
4930 * sysdeps/tile/tilegx/strnlen.c: New file.
4931 * sysdeps/tile/tilegx/strstr.c: New file.
4932
4933 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4934
4935 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4936
4937 * nptl/tst-setuid3.c: Write errors to stdout.
4938
4939 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4940
4941 * elf/dl-deps.c
4942 (preload): New functions broken out of _dl_map_object_deps.
4943 (_dl_map_object_deps): Remove a nested function. Update call sites.
4944
4945 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4946
4947 [BZ #14138]
4948 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4949 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4950
4951 2014-10-01 Steve Ellcey <sellcey@mips.com>
4952
4953 * sysdeps/mips/strcmp.S: New.
4954
4955 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4956
4957 [BZ #14138]
4958 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4959 (linkat): Likewise.
4960 (mkdirat): Likewise.
4961 (readlinkat): Likewise.
4962 (renameat): Likewise.
4963 (symlinkat): Likewise.
4964 (unlinkat): Likewise.
4965 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4966 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4967 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4968 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4969 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4970 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4971 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4972
4973 2014-09-30 Will Newton <will.newton@linaro.org>
4974
4975 * math/math.h: Define long double math functions if
4976 _LIBC_TEST is defined.
4977 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4978
4979 * localedata/Makefile: Move assignment to tests-special
4980 into an ifdef testing run-built-tests.
4981 * timezone/Makefile: Likewise.
4982
4983 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4984
4985 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4986 with $(BASH) not $(SHELL).
4987
4988 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4989 Matthew LeGendre <legendre1@llnl.gov>
4990
4991 [BZ #17411]
4992 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4993 l_reloc_result.
4994
4995 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4996
4997 * stdio-common/printf_fp.c
4998 (hack_digit): New function, broken out of ...
4999 (__printf_fp): ... local function here. Update call sites.
5000 hack_digit now takes an additional parameter that is a pointer
5001 to a struct of the referenced locals. Those locals moved inside
5002 the struct and references updated.
5003
5004 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5005
5006 * aclocal.m4: Require autoconf 2.69.
5007 * configure: Regenerated.
5008 * sysdeps/aarch64/configure: Likewise.
5009 * sysdeps/alpha/configure: Likewise.
5010 * sysdeps/arm/armv7/configure: Likewise.
5011 * sysdeps/arm/configure: Likewise.
5012 * sysdeps/ia64/configure: Likewise.
5013 * sysdeps/mach/configure: Likewise.
5014 * sysdeps/mips/configure: Likewise.
5015 * sysdeps/s390/configure: Likewise.
5016 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5018
5019 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5020 file.
5021 * sysdeps/ia64/configure.ac: Likewise.
5022
5023 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5024
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5026 specify symbol version for ld.so. Do not include entry for
5027 libpthread.
5028 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5029 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5030 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5031
5032 [BZ #14171]
5033 * Makeconfig [$(build-shared) = yes]
5034 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5035 makefiles.
5036 [$(build-shared) = yes && $(soversions.mk-done) = t]
5037 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5038 [$(build-shared) = yes && $(soversions.mk-done) = t]
5039 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5040 to Makerules.
5041 [$(build-shared) = yes && $(soversions.mk-done) = t]
5042 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5043 here.
5044 [$(build-shared) = yes && $(soversions.mk-done) = t]
5045 (common-generated): Don't append gnu/lib-names.h and
5046 gnu/lib-names.stmp here.
5047 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5048 (lib-names-h-abi): New variable.
5049 [$(build-shared) = yes && $(soversions.mk-done) = t]
5050 (lib-names-stmp-abi): Likewise.
5051 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5052 abi-variants] (before-compile): Append
5053 $(common-objpfx)$(lib-names-h-abi).
5054 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5055 abi-variants] (common-generated): Append gnu/lib-names.h.
5056 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5057 abi-variants] (install-others-nosubdir): Depend on
5058 $(inst_includedir)/$(lib-names-h-abi).
5059 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5060 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5061 [$(build-shared) = yes && $(soversions.mk-done) = t]
5062 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5063 [$(build-shared) = yes && $(soversions.mk-done) = t]
5064 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5065 [$(build-shared) = yes && $(soversions.mk-done) = t]
5066 (common-generated): Append $(lib-names-h-abi) and
5067 $(lib-names-stmp-abi).
5068 * scripts/lib-names.awk: Do not handle multi being set.
5069 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5070 Remove variable.
5071 (abi-lp64_be-ld-soname): Likewise.
5072 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5073 Likewise.
5074 (abi-hard-ld-soname): Likewise.
5075 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5076 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5077 Remove variable.
5078 (abi-o32_hard-ld-soname): Likewise.
5079 (abi-o32_soft_2008-ld-soname): Likewise.
5080 (abi-o32_hard_2008-ld-soname): Likewise.
5081 (abi-n32_soft-ld-soname): Likewise.
5082 (abi-n32_hard-ld-soname): Likewise.
5083 (abi-n32_soft_2008-ld-soname): Likewise.
5084 (abi-n32_hard_2008-ld-soname): Likewise.
5085 (abi-n64_soft-ld-soname): Likewise.
5086 (abi-n64_hard-ld-soname): Likewise.
5087 (abi-n64_soft_2008-ld-soname): Likewise.
5088 (abi-n64_hard_2008-ld-soname): Likewise.
5089 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5090 Likewise.
5091 (abi-64-v2-ld-soname): Likewise.
5092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5093 ld.so entries.
5094 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5095 variable.
5096 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5097 entry.
5098 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5099 variable.
5100 (abi-64-ld-soname): Likewise.
5101 (abi-x32-ld-soname): Likewise.
5102 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5103 entry.
5104 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5105
5106 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5107
5108 [BZ #14138]
5109 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5110 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5111 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5112 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5113 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5114 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5115 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5116 syscall entry for GLIBC_2.2 symbol version.
5117 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5118 Likewise.
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5120 (setrlimit): Likewise.
5121 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5122 Likewise.
5123
5124 2014-09-23 Will Newton <will.newton@linaro.org>
5125
5126 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5127 _LINUX_ARM_SYSDEP_H include guard too.
5128 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5129 define.
5130
5131 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5132
5133 * sysdeps/unix/sysv/linux/eventfd.c:
5134 Make first argument unsigned.
5135 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5136 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5137
5138 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5139
5140 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5141 * socket/sys/socket.h: Likewise
5142 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5143
5144 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5145
5146 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5147
5148 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5149
5150 * time/tst-ftime.c: New test.
5151 * time/Makefile (tests): Add tst-ftime.
5152
5153 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5154
5155 * soft-fp/extended.h: Fix comment formatting.
5156 * soft-fp/op-1.h: Likewise.
5157 * soft-fp/op-2.h: Likewise.
5158 * soft-fp/op-4.h: Likewise.
5159 * soft-fp/op-8.h: Likewise.
5160 * soft-fp/op-common.h: Likewise.
5161 * soft-fp/soft-fp.h: Likewise.
5162
5163 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5164
5165 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5166
5167 [BZ #6652]
5168 * Makeconfig (soversions-default-setname): Remove variable.
5169 ($(common-objpfx)soversions.i): Don't pass default_setname to
5170 soversions.awk.
5171 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5172 oldest_abi to abi-versions.awk.
5173 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5174 * config.make.in (oldest-abi): Remove variable.
5175 * configure.ac (--enable-oldest-abi): Remove configure option.
5176 * configure: Regenerated.
5177 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5178 text.
5179 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5180 * scripts/soversions.awk: Do not handle default_setname variable.
5181 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5182 variable.
5183 * sysdeps/mach/hurd/configure: Regenerated.
5184 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5185 variable.
5186 * sysdeps/unix/sysv/linux/configure: Regenerated.
5187
5188 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5189
5190 * elf/Makefile (CFLAGS-interp.c): Remove.
5191 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5192 path string.
5193 * elf/interp.c: Include generated runtime-linker.h
5194
5195 * Makerules (lib%.so): Don't include $(+interp) in
5196 prerequisites.
5197 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5198 * dlfcn/eval.c: Remove file.
5199
5200 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5201 macros.
5202
5203 [BZ #17266]
5204 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5205 4.2 and newer.
5206
5207 [BZ #17370]
5208 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5209
5210 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5211 Jakub Jelinek <jakub@redhat.com>
5212
5213 [BZ #17266]
5214 * libio/stdio.h: Check definition of __fortify_function
5215 instead of __extern_always_inline to include bits/stdio2.h.
5216 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5217 check if __extern_always_inline is defined.
5218 [__USE_MISC || __USE_XOPEN]: Likewise.
5219 [__USE_ISOC99] Likewise.
5220 * misc/sys/cdefs.h (__fortify_function): Define only if
5221 __extern_always_inline is defined.
5222 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5223 __extern_always_inline and __extern_inline only for g++-4.3
5224 and newer or a compatible gcc.
5225
5226 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5227
5228 [BZ #17371]
5229 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5230 last change to handle zero prefix length.
5231
5232 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5233
5234 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5235 _SC_REGEX_VERSION.
5236
5237 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5238 _POSIX_RAW_SOCKETS.
5239
5240 2014-09-13 Allan McRae <allan@archlinux.org>
5241
5242 * po/ru.po: Update Russian translation from translation project.
5243
5244 2014-09-12 Roland McGrath <roland@hack.frob.com>
5245
5246 * locale/programs/locale.c (show_locale_vars): Inline local function
5247 into its sole call site. Clean up some style nits.
5248 (print_item): New function, broken out of ...
5249 (show_info): ... local function here. Clean up style nits.
5250
5251 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5252 out of ...
5253 (set_class_defaults): ... local function set_default here.
5254 Define set_default as a macro locally to pass constant parameters.
5255 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5256 rather than a shared local.
5257
5258 * stdlib/rpmatch.c (try): New function, broken out of ...
5259 (rpmatch): ... local function here. Also, prototypify definition.
5260
5261 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5262
5263 * scripts/soversions.awk: Do not handle configuration names.
5264 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5265 vendor and os variables to soversions.awk.
5266 * configure.ac: Do not modify gnu-* host_os.
5267 * configure: Regenerated
5268 * shlib-versions: Remove first column with configuration names.
5269 * nptl/shlib-versions: Likewise.
5270 * nptl_db/shlib-versions: Likewise.
5271 * sysdeps/hppa/shlib-versions: Likewise.
5272 * sysdeps/m68k/shlib-versions: Likewise.
5273 * sysdeps/mach/hurd/shlib-versions: Likewise.
5274 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5275 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5276 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5277 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5278 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5279 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5280 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5281 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5283 Likewise.
5284 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5285 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5286 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5287 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5289 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5290 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5292
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5294 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5296 Regenerated.
5297 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5299 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5300
5301 * shlib-versions: Remove OS-specific entries. Moved to files in
5302 sysdeps.
5303 * sysdeps/mach/hurd/shlib-versions: New file.
5304 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5305
5306 * nptl/shlib-versions: Remove architecture-specific entries.
5307 Moved to files in sysdeps.
5308 * shlib-versions: Likewise.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5310 file.
5311 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5312 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5314 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5315
5316 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5317 (UDP_NO_CHECK6_RX): Likewise.
5318
5319 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5320
5321 * sysdeps/posix/sysconf.c (__sysconf): Spell
5322 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5323
5324 2014-08-12 Florian Weimer <fweimer@redhat.com>
5325
5326 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5327 loading.
5328 * iconv/Versions (__gconv_transliterate): Export for use from
5329 gconv modules.
5330 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5331 (struct __gconv_trans_data, __gconv_trans_fct,
5332 __gconv_trans_context_fct, __gconv_trans_query_fct,
5333 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5334 definitions.
5335 (struct __gconv_step_data): Remove __trans member.
5336 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5337 longer hidden. Remove unused trans_data argument.
5338 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5339 (__gconv_translit_find): Remove declaration.
5340 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5341 prototype.
5342 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5343 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5344 trans_data argument. Add hidden definition.
5345 (__gconv_translit_find): Remove.
5346 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5347 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5348 * iconv/skeleton.c: Remove transliteration initialization.
5349 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5350 __gconv_step_data initialization.
5351 * libio/iofwide.c (__libio_translit_): Remove.
5352 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5353 * wcsmbs/btowc.c (__btowc): Likewise.
5354 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5355 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5356 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5357 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5358 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5359 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5360 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5361 * wcsmbs/wctob.c (wctob): Likewise.
5362
5363 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5364
5365 [BZ #16194]
5366 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5367 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5368 register usage.
5369 * sysdeps/x86/Makefile: Adjust.
5370
5371 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5372 Roland McGrath <roland@hack.frob.com>
5373
5374 * locale/weight.h: Add include guard.
5375 (findidx): Make static rather than auto; take new parameters
5376 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5377 * locale/weightwc.h: Likewise.
5378 * posix/fnmatch_loop.c
5379 (FCT): Change type of EXTRA from int32_t to wint_t.
5380 Don't include either header inside the function.
5381 Call FINDIDX rather than findidx, and pass new arguments.
5382 #undef FINDIDX at the end of the file.
5383 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5384 FINDIDX before including fnmatch_loop.c for the non-wide version.
5385 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5386 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5387 for the wide version.
5388 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5389 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5390 Pass new arguments to findidx.
5391 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5392 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5393 Don't #include it inside the function. Pass new arguments to findidx.
5394 * posix/regex_internal.h
5395 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5396 (re_string_elem_size_at): Don't #include it inside the function.
5397 Pass new arguments to findidx.
5398 * string/strcoll_l.c: #include WEIGHT_H at top level.
5399 (get_next_seq): Don't #include it inside the function.
5400 Pass new arguments to findidx.
5401 (get_next_seq_nocache): Likewise.
5402 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5403 (STRXFRM): Don't #include it inside the function.
5404 Pass new arguments to findidx.
5405
5406 2014-09-11 Florian Weimer <fweimer@redhat.com>
5407
5408 [BZ #17344]
5409 * malloc/malloc.c (unlink): Turn asserts into a call to
5410 malloc_printerr.
5411
5412 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5413
5414 [BZ #17370]
5415 * libio/wfileops (do_ftell_wide): Free OUT.
5416
5417 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5418
5419 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5420
5421 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5422
5423 [BZ #17363]
5424 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5425 group if the current group is empty.
5426
5427 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428
5429 * benchtests/bench-memset.c (test_main): Add more test from size
5430 from 32 to 512 bytes.
5431 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5432 Add POWER8 memset object.
5433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5434 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5435 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5436 implementation.
5437 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5438 Likewise.
5439 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5440 multiarch POWER8 memset optimization.
5441 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5442 POWER8 memset optimization.
5443
5444 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5445 Remove bzero multiarch objects.
5446 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5447 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5450 Remove define.
5451 [__bzero]: Redefine to specific name.
5452 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5453 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5455 define.
5456 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5457 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5458
5459 2014-09-10 Florian Weimer <fweimer@redhat.com>
5460
5461 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5462 warnings into errors.
5463
5464 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5465 __cxa_thread_atexit_impl prototype.
5466
5467 2014-09-09 Steve Ellcey <sellcey@mips.com>
5468
5469 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5470 Fix capitalization of error message.
5471
5472 2014-09-09 Steve Ellcey <sellcey@mips.com>
5473
5474 * sysdeps/mips/preconfigure: Modify ABI tests.
5475
5476 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5477
5478 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5479
5480 2014-09-07 Roland McGrath <roland@hack.frob.com>
5481 Carlos O'Donell <carlos@systemhalted.org>
5482
5483 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5484 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5485 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5486 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5487 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5488 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5489 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5490 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5491 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5492 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5493 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5494 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5495 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5496 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5497 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5498 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5499 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5500 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5501 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5502 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5503 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5504 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5505 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5506 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5507 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5508 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5509 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5510 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5511 Deconditionalize the code that was previously under [RESET_PID].
5512 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5513 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5514 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5515 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5516 include sysdep.h.
5517
5518 2014-09-08 Allan McRae <allan@archlinux.org>
5519
5520 * version.h (RELEASE): Set to "development".
5521 (VERSION): Set to "2.20.90"
5522
5523 2014-09-07 Allan McRae <allan@archlinux.org
5524
5525 * version.h (RELEASE): Set to "stable".
5526 (VERSION): Set to "2.20"
5527 * include/features.h (__GLIBC_MINOR__): Set to 20.
5528
5529 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5530 Liebler.
5531
5532 * po/ko.po: Update Korean translation from translation project.
5533
5534 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5535
5536 [BZ #17354]
5537 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5538 macro for handling signed relocations.
5539
5540 2014-09-03 Florian Weimer <fweimer@redhat.com>
5541
5542 [BZ #17325]
5543 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5544 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5545 assert.
5546 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5547 * iconvdata/ibm935.c (BODY): Likewise.
5548 * iconvdata/ibm937.c (BODY): Likewise.
5549 * iconvdata/ibm939.c (BODY): Likewise.
5550 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5551 assert.
5552 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5553 script.
5554 * iconvdata/run-iconv-test.sh: New test loop for checking for
5555 decoder crashers.
5556
5557 2014-09-02 Khem Raj <raj.khem@gmail.com>
5558
5559 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5560 libm_hidden_ver.
5561
5562 2014-09-01 Allan McRae <allan@archlinux.org>
5563
5564 * po/eo.po: Update Esperanto translation from translation project.
5565
5566 * po/ca.po: Update Catalan translation from translation project.
5567
5568 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5569
5570 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5571 __proc_dostop call.
5572
5573 2014-08-27 Mark Wielaard <mjw@redhat.com>
5574
5575 [BZ #17319]
5576 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5577 to call set_thread_area instead of hand written asm.
5578 (__NR_set_thread_area): Removed define.
5579 (TLS_FLAG_WRITABLE): Likewise.
5580 (__ASSUME_SET_THREAD_AREA): Remove check.
5581 (TLS_EBX_ARG): Remove define.
5582 (TLS_LOAD_EBX): Likewise.
5583
5584 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5585
5586 Simplify atomicity of socket creation in bind.
5587
5588 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5589 looking up the name after linking the file.
5590
5591 2014-08-27 Allan McRae <allan@archlinux.org>
5592
5593 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5594
5595 2014-08-26 Florian Weimer <fweimer@redhat.com>
5596
5597 [BZ #17187]
5598 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5599 trans_compare, open_translit, __gconv_translit_find):
5600 Remove module loading code.
5601
5602 2014-08-26 Allan McRae <allan@archlinux.org>
5603
5604 * po/vi.po: Update Vietnamese translation from translation project.
5605
5606 * po/uk.po: Update Ukrainian translation from translation project.
5607
5608 * po/fr.po: Update French translation from translation project.
5609
5610 * po/ru.po: Update Russian translation from translation project.
5611
5612 * po/pl.po: Update Polish translation from translation project.
5613
5614 * po/cs.po: Update Czech translation from translation project.
5615
5616 * po/de.po: Update German translation from translation project.
5617
5618 * po/bg.po: Update Bulgarian translation from translation project.
5619
5620 * po/sv.po: Update Sweedish translation from translation project.
5621
5622 * po/nl.po: Update Dutch translation from translation project.
5623
5624 * po/es.po: Update Spanish translation from translation project.
5625
5626 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5627
5628 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5629
5630 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5631 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5632 (CPPFLAGS-iconvconfig): Likewise.
5633 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5634
5635 * include/libc-symbols.h: Remove unnecessary check for
5636 NOT_IN_libc.
5637 * nptl/pthreadP.h: Likewise.
5638 * sysdeps/aarch64/setjmp.S: Likewise.
5639 * sysdeps/alpha/setjmp.S: Likewise.
5640 * sysdeps/arm/sysdep.h: Likewise.
5641 * sysdeps/i386/setjmp.S: Likewise.
5642 * sysdeps/m68k/setjmp.c: Likewise.
5643 * sysdeps/posix/getcwd.c: Likewise.
5644 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5645 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5646 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5647 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5648 * sysdeps/sh/sh3/setjmp.S: Likewise.
5649 * sysdeps/sh/sh4/setjmp.S: Likewise.
5650 * sysdeps/unix/alpha/sysdep.h: Likewise.
5651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5652 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5653 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5654 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5659 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5662 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5664 * sysdeps/x86_64/setjmp.S: Likewise.
5665
5666 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5667
5668 [BZ #17263]
5669 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5670 <stdint.h>.
5671 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5672 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5673
5674 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5675
5676 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5677
5678 [BZ #17262]
5679 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5680 and __x86_64__ when disabling x87 inline functions.
5681
5682 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5683
5684 [BZ #17259]
5685 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5686 asm statement with __cpuid_count.
5687
5688 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5689
5690 * configure.ac: Change __ehdr_start code to dereference the struct.
5691 Run readelf on the output to look for relocations.
5692 * configure: Regenerated.
5693
5694 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5695
5696 [BZ #17261]
5697 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5698 value to 0.
5699 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5700
5701 2014-08-12 Roland McGrath <roland@hack.frob.com>
5702
5703 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5704
5705 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5706
5707 [BZ #16892]
5708 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5709 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5710
5711 2014-08-12 Sean Anderson <seanga2@gmail.com>
5712
5713 * malloc/malloc.c: Fix typo in comment.
5714
5715 2014-08-09 Allan McRae <allan@archlinux.org>
5716
5717 * Regenerate libc.po.
5718
5719 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5720
5721 * intl/tst-gettext2.sh: Check every lang file for creation.
5722
5723 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5724
5725 * sysdeps/aarch64/fpu/math_private.h
5726 (libc_feholdsetround_noex_aarch64_ctx): New function.
5727
5728 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5729
5730 * sysdeps/arm/armv6/strcpy.S (strcpy):
5731 Fix performance issue in misaligned cases.
5732
5733 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5734
5735 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5736 Move definition from termios.h.
5737 (struct termio): Likewise.
5738 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5739 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5740 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5741 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5742 Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5744 Move definition to ioctl-types.h
5745 (struct termio): Likewise.
5746 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5747 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5748 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5749 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5750 Likewise.
5751
5752 2014-08-05 Richard Henderson <rth@redhat.com>
5753
5754 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5755 exceptions.
5756 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5757 Add fraiseexcpt.
5758 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5759 Use __feraiseexcept.
5760 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5761 Protect libm symbols with IS_IN_libm.
5762
5763 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5764
5765 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5766
5767 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5768
5769 2014-08-04 Will Newton <will.newton@linaro.org>
5770
5771 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5772 file.
5773
5774 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5775
5776 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5777 variants for each function.
5778
5779 2014-08-04 Roland McGrath <roland@hack.frob.com>
5780
5781 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5782 appended ...
5783 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5784 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5785 appended ...
5786 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5787 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5788 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5789 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5790 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5791 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5792 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5793 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5794 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5795 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5800 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5804 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5805 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5810 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5811 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5812 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5813 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5814 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5815 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5816 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5820 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5821 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5822 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5823 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5824 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5825 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5826 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5827 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5828 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5829 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5830 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5831 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5832 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5833 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5834 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5835 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5836 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5837 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5838 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5839 Update #include.
5840 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5841 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5842
5843 2014-08-04 Roland McGrath <roland@hack.frob.com>
5844
5845 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5846 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5847 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5848 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5850 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5851
5852 2014-08-04 Roland McGrath <roland@hack.frob.com>
5853
5854 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5855 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5856 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5857 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5858
5859 2014-08-04 Roland McGrath <roland@hack.frob.com>
5860
5861 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5862 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5863 (__libc_vfork): Define function under this name.
5864 (__vfork): Define as an alias.
5865 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5866 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5867
5868 2014-08-04 Roland McGrath <roland@hack.frob.com>
5869
5870 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5871 that was previously under [RESET_PID].
5872 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5873
5874 2014-08-04 Andreas Schwab <schwab@suse.de>
5875
5876 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5877
5878 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5879
5880 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5881 (main): Likewise.
5882
5883 2014-08-01 Roland McGrath <roland@hack.frob.com>
5884
5885 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5886
5887 2014-08-01 Richard Henderon <rth@redhat.com>
5888
5889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5890 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5891 typo in exact zero test.
5892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5893 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5895
5896 2014-08-01 Roland McGrath <roland@hack.frob.com>
5897
5898 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5899 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5900 * sysdeps/arm/sysdep.h: ... here.
5901 [!__ASSEMBLER__]: Include <stdint.h>.
5902
5903 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5904
5905 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5906 (HAVE_WCTYPE_H): Likewise.
5907 (HAVE_ISWCTYPE): Likewise.
5908 (ENABLE_NLS): Likewise.
5909 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5910 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5911
5912 * posix/regex_internal.c: Check if DEBUG is defined and is
5913 set.
5914
5915 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5916 (HAVE_MBSRTOWCS): Likewise.
5917 * posix/fnmatch.c: Include string.h unconditionally.
5918
5919 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5920
5921 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5922 reversal.
5923
5924 2014-07-31 Roland McGrath <roland@hack.frob.com>
5925
5926 * sysdeps/generic/safe-fatal.h: New file.
5927 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5928 * nptl/forward.c: Include it.
5929 (__pthread_unwind): Use __safe_fatal as default action, rather
5930 than a bogus use of INTERNAL_SYSCALL that could never work.
5931
5932 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5933 * configure.ac (libc_cv_builtin_trap): New test.
5934 * configure: Regenerated.
5935 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5936 (ABORT_INSTRUCTION): Define using __builtin_trap.
5937
5938 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5939 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5940 * sysdeps/nptl/nptl-signals.h: New file.
5941 * nptl/pthreadP.h: Include <nptl-signals.h>.
5942
5943 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5944
5945 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5946 (ONE_DIRECTION): Define.
5947 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5948 (ONE_DIRECTION): Define.
5949 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5950 (ONE_DIRECTION): Define.
5951
5952 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5953
5954 * sysdeps/s390/Makefile: Delete file.
5955 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5956 * sysdeps/s390/__longjmp.c: Delete file.
5957 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5958 Remove fields __flags and __reserved.
5959 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5960 and add versioning.
5961 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5962 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5963 * sysdeps/s390/rtld-setjmp.S: Likewise.
5964 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5965 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5966 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5967 * sysdeps/s390/s390-32/setjmp.S: ... here.
5968 Add versioning.
5969 (__sigsetjmp): Remove setting __flags field.
5970 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5971 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5972 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5973 * sysdeps/s390/s390-64/setjmp.S: ... here.
5974 Add versioning.
5975 (__sigsetjmp): Remove setting __flags field.
5976 * sysdeps/s390/setjmp.S: Delete file.
5977 * sysdeps/s390/sigjmp.c: Likewise.
5978 * sysdeps/s390/v1-longjmp.c: Likewise.
5979 * sysdeps/s390/v1-setjmp.h: Likewise.
5980 * sysdeps/s390/v1-sigjmp.c: Likewise.
5981 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5982 Remove v1-longjmp_chk.
5983 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5984 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5985 Include debug/longjmp_chk.c and add versioning.
5986 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5987 Include nptl/pt-longjmp.c and add versioning.
5988 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5989 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5990 Include __longjmp.c.
5991 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5992 Move to ...
5993 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5994 (__getcontext): Remove setting __flags field.
5995 Add versioning.
5996 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5997 Don't restore upper high grps.
5998 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5999 Likewise.
6000 (__swapcontext): Remove setting uc_flags field.
6001 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6002 Delete file.
6003 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6004 Include __longjmp.c.
6005 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6006 Move to ...
6007 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6008 (__getcontext): Remove setting __flags field.
6009 Add versioning.
6010 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6011 (__swapcontext): Remove setting uc_flags field.
6012 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6013 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6014 Remove fields uc_high_gprs and __reserved.
6015 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6016 New file with reverted content.
6017 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6018 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6019 Regenerated.
6020 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6021 Regenerated.
6022
6023 2014-07-31 Andreas Schwab <schwab@suse.de>
6024
6025 * config.h.in (HAVE_IFUNC): Define to 0.
6026 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6027 definedness.
6028
6029 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6030
6031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6032 memmove-avx-unaligned, memcpy-avx-unaligned and
6033 mempcpy-avx-unaligned.
6034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6035 Add tests for AVX memcpy functions.
6036 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6037 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6038 memcpy_chk.
6039 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6040 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6041 memmove_chk.
6042 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6043 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6044 mempcpy_chk.
6045 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6046 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6047 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6048
6049 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6050
6051 [BZ #17213]
6052 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6053 powerpc64le.
6054
6055 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6056
6057 [BZ #16839]
6058 * manual/llio.texi: Add section about open file description locks.
6059 * manual/examples/ofdlocks.c: Example of open file description
6060 lock usage.
6061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6062 F_OFD_SETLK, and F_OFD_SETLKW.
6063
6064 2014-07-23 Allan McRae <allan@archlinux.org>
6065
6066 * po/es.po: Update Spanish translation from translation project.
6067
6068 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6069
6070 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6071
6072 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6073
6074 [BZ #17078]
6075 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6076 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6077 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6078
6079 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6080
6081 [BZ #17088]
6082 * math/fesetenv.c (__fesetenv)
6083 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6084 * math/feupdateenv.c (__feupdateenv)
6085 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6086
6087 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6088 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6089 (__ASSUME_SOCKETCALL): Do not define.
6090
6091 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6092 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6093 (__ASSUME_SOCKETCALL): Do not define.
6094 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6095 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6096 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6097 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6098 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6099 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6100 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6101 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6102
6103 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6104 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6105 (__ASSUME_SOCKETCALL): Do not define.
6106 (__ASSUME_IPC64): Define unconditionally.
6107 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6108 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6109 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6110 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6111 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6112 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6113 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6114 Likewise.
6115
6116 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6117 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6118 (__ASSUME_SOCKETCALL): Do not define.
6119 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6120 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6121 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6122 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6123 (__ASSUME_REQUEUE_PI): Define unconditionally.
6124 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6125 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6126 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6127 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6128 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6129 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6130
6131 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6132 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6133 (__ASSUME_SOCKETCALL): Do not define.
6134 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6135 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6136 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6137 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6138 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6139 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6140
6141 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6142 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6143 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6144 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6145 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6146 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6147 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6148 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6149 (__ASSUME_GETCPU_SYSCALL): Likewise.
6150
6151 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6152 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6153 cases for individual architectures.
6154 * sysdeps/gnu/configure: Regenerated.
6155 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6156 LIBC_SLIBDIR_RTLDDIR.
6157 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6158 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6159 LIBC_SLIBDIR_RTLDDIR.
6160 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6162 LIBC_SLIBDIR_RTLDDIR.
6163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6164 Regenerated.
6165 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6166 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6167 file.
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6169 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6170 file.
6171 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6172 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6173 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6174 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6175
6176 * sysdeps/aarch64/shlib-versions: Move to ...
6177 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6178 * sysdeps/alpha/shlib-versions: Move to ...
6179 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6180 * sysdeps/arm/shlib-versions: Move to ...
6181 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6182 * sysdeps/hppa/shlib-versions: Move all contents except for
6183 libgcc_s entry to ...
6184 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6185 entry from ...
6186 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6187 * sysdeps/ia64/shlib-versions: Move to ...
6188 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6189 entry from ...
6190 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6191 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6192 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6193 * sysdeps/microblaze/shlib-versions: Move to ...
6194 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6195 * sysdeps/mips/shlib-versions: Move to ...
6196 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6197 entry from ...
6198 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6199 * sysdeps/tile/shlib-versions: Move to ...
6200 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6201 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6202 from ...
6203 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6204 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6205 entry from ...
6206 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6207
6208 2014-07-17 Will Newton <will.newton@linaro.org>
6209
6210 * sysdeps/arm/bits/atomic.h
6211 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6212 (__arch_compare_and_exchange_bool_16_int): Likewise.
6213 (__arch_compare_and_exchange_bool_64_int): Likewise.
6214
6215 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6216 into an #else block.
6217
6218 2014-07-16 Roland McGrath <roland@hack.frob.com>
6219
6220 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6221 just Linux configurations. Test empirically that the compiler sets
6222 __ARM_EABI__, rather than using the tuple to decide.
6223 * sysdeps/arm/preconfigure: Regenerated.
6224 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6225 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6226 contents appended ...
6227 * sysdeps/arm/configure.ac: ... here.
6228 * sysdeps/arm/configure: Regenerated.
6229
6230 2014-07-15 Roland McGrath <roland@hack.frob.com>
6231
6232 * nptl/pthread_kill.c: New file.
6233 * nptl/pthread_sigmask.c: New file.
6234 * nptl/pthread_sigqueue.c: New file.
6235
6236 * sysdeps/nptl/lowlevellock.h: New file.
6237 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6238 * sysdeps/nptl/lowlevellock-futex.h: New file.
6239
6240 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6241 Remove dead declarations.
6242
6243 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6244
6245 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6246 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6247 config-cflags-avx2.
6248 * sysdeps/x86_64/configure.ac: Likewise.
6249 * sysdeps/i386/configure: Regenerated.
6250 * sysdeps/x86_64/configure: Likewise.
6251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6252 memset-avx2 only if config-cflags-avx2 is yes.
6253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6254 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6255 defined.
6256 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6257 only if HAVE_AVX2_SUPPORT is defined.
6258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6259
6260 2014-07-14 Alan Modra <amodra@gmail.com>
6261
6262 [BZ #17153]
6263 * elf/elf.h (DT_PPC64_NUM): Correct value.
6264 * NEWS: Add to fixed bug list.
6265
6266 2014-07-13 Jim Meyering <meyering@fb.com>
6267
6268 [BZ 17150]
6269 regex: don't deref NULL upon heap allocation failure
6270 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6271 failure in one more place.
6272 To trigger the segfault, configure grep -with-included-regex,
6273 build it, and run these commands:
6274 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6275
6276 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6277
6278 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6279
6280 2014-07-11 Richard Henderson <rth@redhat.com>
6281
6282 * sysdeps/aarch64/libm-test-ulps: Update.
6283
6284 2014-07-10 Florian Weimer <fweimer@redhat.com>
6285
6286 [BZ #17135]
6287 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6288 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6289 (__nptl_setxid): Initialize error member. Call
6290 __nptl_setxid_error.
6291 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6292 * nptl/descr.h (struct xid_command): Add error member.
6293 * nptl/tst-setuid3.c: New file.
6294 * nptl/Makefile (tests): Add it.
6295
6296 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6297
6298 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6299 New define.
6300 (__lll_trylock): Use __lll_base_trylock.
6301 (__lll_cond_trylock): Likewise.
6302
6303 2014-07-10 Roland McGrath <roland@hack.frob.com>
6304
6305 * nptl/pthread_create.c (start_thread): Use atomic_or and
6306 lll_futex_wake directly rather than lll_robust_dead.
6307 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6308 (lll_robust_dead): Macro removed.
6309 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6310 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6311 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6312 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6314 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6315 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6316 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6317 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6318 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6319 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6320 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6321 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6322 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6323 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6324
6325 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6326 Use atomic_compare_and_exchange_val_acq directly rather than
6327 lll_robust_trylock.
6328 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6329 (__lll_robust_trylock, lll_robust_trylock): Removed.
6330 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6331 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6332 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6333 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6334 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6335 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6336 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6337 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6338 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6339 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6340 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6341 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6342 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6344
6345 2014-07-02 Florian Weimer <fweimer@redhat.com>
6346
6347 * manual/locale.texi (Locale Names): New section documenting
6348 locale name syntax. Adjust menu and node chaining accordingly.
6349 (Choosing Locale): Reference Locale Names, Locale Categories.
6350 Mention setting LC_ALL=C. Reflect that name syntax is now
6351 documented.
6352 (Locale Categories): New section title. Reference Locale Names.
6353 LC_ALL is an environment variable, but not a category.
6354 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6355 description, now in Locale Name. Reference that section. Locale
6356 name syntax is now documented.
6357
6358 2014-07-02 Florian Weimer <fweimer@redhat.com>
6359
6360 [BZ #17137]
6361 * locale/findlocale.c (name_present, valid_locale_name): New
6362 functions.
6363 (_nl_find_locale): Use the loc_name variable to store name
6364 candidates. Call name_present and valid_locale_name to check and
6365 validate locale names. Return an error if the locale is invalid.
6366
6367 2014-07-02 Florian Weimer <fweimer@redhat.com>
6368
6369 * locale/setlocale.c (setlocale): Use strdup for allocating
6370 composite name copy.
6371
6372 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6373
6374 Sync up with gnulib.
6375 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6376 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6377 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6378 and _GL_ARG_NONNULL.
6379 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6380 [!_LIBC]: Include code for Windows and Cygwin.
6381 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6382 Include prototype for int strerror_r.
6383 [!_LIBC] (is_open): New function.
6384 (flush_stdout): New function.
6385 (print_errno_message): Use it.
6386 (error): Likewise.
6387 (error_at_line): Likewise.
6388 (error_tail) Add function attribute macros. Use
6389 __builtin_expect.
6390
6391 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6392
6393 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6394
6395 * io/ftw.c: Include sys/param.h unconditionally.
6396
6397 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6398
6399 [BZ #17125]
6400 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6401 libc_freeres_ptr.
6402 (freecache): New function to free CACHE on exit.
6403
6404 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6405 initialization.
6406
6407 2014-07-09 David S. Miller <davem@davemloft.net>
6408
6409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6410
6411 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6412 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6413 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6414 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6415 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6416 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6417 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6418 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6419 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6420 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6421 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6422 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6423 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6424
6425 2014-07-09 Andreas Schwab <schwab@suse.de>
6426
6427 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6428 output.
6429 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6430 (do_test): Likewise.
6431
6432 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6433
6434 2014-07-09 Will Newton <will.newton@linaro.org>
6435
6436 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6437 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6438 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6439 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6440 * sysdeps/hppa/start.S (_start): Likewise.
6441
6442 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6443
6444 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6445
6446 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6447 defined.
6448
6449 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6450
6451 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6452 after checking that it is non-NULL.
6453
6454 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6455
6456 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6457
6458 * sysdeps/powerpc/memmove.c: Remove file.
6459 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6460 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6462 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6463 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6464 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6465 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6466 string memmove instead of removed powerpc one.
6467
6468 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6469 [weak_alias]: Fix compiler warning due trailing data.
6470 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6471 [weak_alias]: Likewise.
6472 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6473 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6474
6475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6476 (__libc_ifunc_impl_list): Add memmove functions.
6477
6478 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6479
6480 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6481 Remove code.
6482 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6483 Likewise
6484 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6485 Likewise
6486 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6487 Likewise
6488 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6489 Likewise
6490 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6491 Likewise
6492 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6493 Likewise
6494 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6495 Likewise
6496 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6497 Likewise
6498 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6499 Likewise
6500 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6501 Likewise
6502 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6503 Likewise
6504 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6505 Likewise
6506 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6507 Likewise
6508 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6509 Likewise
6510 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6511 Likewise
6512 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6513 Likewise
6514
6515 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6516
6517 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6518 to avoid alignment traps in non-cacheable memory.
6519 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6520
6521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6522 multiarch objects.
6523 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6524 file: multiarch power7 memmove.
6525 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6526 multiarch default memmove.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6528 multiarch memove for powerpc32/power4.
6529
6530 * string/bcopy.c: Use full path to include memmove.c.
6531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6532 multiarch objects.
6533 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6534 bcopy for powerpc64.
6535 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6536 bcopy for powerpc64.
6537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6538 and memmove implementations.
6539 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6540 optimized multiarch memmove for POWER7/powerpc64.
6541 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6542 default multiarch memmove for powerpc64.
6543 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6544 multiarch for powerpc64.
6545 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6546 for POWER7/powerpc64.
6547 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6548 memmove for POWER7/powerpc64.
6549
6550 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6551 glibc default one.
6552
6553 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6554 __ELF_NATIVE_CLASS equal to 64.
6555
6556 2014-07-07 Roland McGrath <roland@hack.frob.com>
6557
6558 * sysdeps/nptl/lowlevellock.h: File removed.
6559
6560 * NEWS: NPTL is no longer an add-on!
6561 * nptl/internaltypes.h: Moved ...
6562 * sysdeps/nptl/internaltypes.h: ... here.
6563 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6564 * sysdeps/nptl/fork.c: Likewise.
6565 * sysdeps/nptl/gai_misc.h: Likewise.
6566 * sysdeps/nptl/librt-cancellation.c: Likewise.
6567 * sysdeps/nptl/jmp-unwind.c: Likewise.
6568 * sysdeps/nptl/setxid.h: Likewise.
6569 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6570 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6571 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6572 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6573 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6574 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6575 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6576 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6577 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6578 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6579 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6580 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6581 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6582 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6583 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6584 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6585 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6586 * nptl/Makeconfig: Moved ...
6587 * sysdeps/nptl/Makeconfig: ... here.
6588 * nptl/configure: File removed.
6589 * nptl/ANNOUNCE: File removed.
6590 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6591 * sysdeps/unix/sysv/linux/configure: Regenerated.
6592
6593 * nptl/Makefile (routines): Add libc_pthread_init,
6594 libc_multiple_threads, register-atfork and unregister-atfork.
6595 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6596 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6597 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6598 pthread-pi-defines.sym, structsem.sym.
6599 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6600 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6601 [$(subdir) = nptl] (tests): Add tst-setgetname.
6602 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6603 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6604 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6605 [!LIBC_SIGACTION]: Remove aliases.
6606 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6607 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6608 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6609 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6610 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6611 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6613 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6614 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6615 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6616 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6617 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6618 __libc_allocate_rtsig_private.
6619 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6620 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6621 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6622 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6623 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6624 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6625 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6626 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6627 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6628 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6629 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6630 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6631 * nptl/internaltypes.h: ... here.
6632 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6633 * sysdeps/nptl/jmp-unwind.c: ... here.
6634 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6635 * nptl/libc-lowlevellock.c: ... here.
6636 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6637 * nptl/libc_multiple_threads.c: ... here.
6638 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6639 * nptl/libc_pthread_init.c: ... here.
6640 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6641 * nptl/lowlevelbarrier.sym: ... here.
6642 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6643 * nptl/lowlevelcond.sym: ... here.
6644 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6645 * nptl/lowlevellock.c: ... here.
6646 * nptl/lowlevellock.h: Moved ...
6647 * sysdeps/nptl/lowlevellock.h: ... here.
6648 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6649 * nptl/lowlevelrobustlock.c: ... here.
6650 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6651 * nptl/lowlevelrobustlock.sym: ... here.
6652 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6653 * nptl/lowlevelrwlock.sym: ... here.
6654 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6655 * nptl/pt-fork.c: ... here.
6656 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6657 * nptl/pthread-pi-defines.sym: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6659 * nptl/pthread_attr_getaffinity.c: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6661 * nptl/pthread_attr_setaffinity.c: ... here.
6662 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6663 * nptl/pthread_mutex_cond_lock.c: ... here.
6664 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6665 Update #include.
6666 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6667 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6668 * nptl/pthread_once.c: ... here, replacing old file.
6669 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6670 * nptl/pthread_yield.c: ... here.
6671 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6672 * nptl/register-atfork.c: ... here.
6673 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6674 * nptl/sem_post.c: ... here.
6675 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6676 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6677 * nptl/sem_timedwait.c: ... here.
6678 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6679 * nptl/sem_trywait.c: ... here.
6680 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6681 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6682 * nptl/sem_wait.c: ... here.
6683 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6684 * nptl/structsem.sym: ... here.
6685 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6686 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6687 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6688 * nptl/unregister-atfork.c: ... here.
6689 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6690 * nptl/unwindbuf.sym: ... here.
6691 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6692 * sysdeps/nptl/fork.c: ... here.
6693 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6694 * sysdeps/nptl/fork.h: ... here.
6695 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6696 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6697 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6699 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6700 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6701 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6702 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6703 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6705 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6706 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6707 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6708 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6709 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6711 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6712 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6713 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6714 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6715 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6716 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6717 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6719 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6721 * sysdeps/unix/sysv/linux/raise.c: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6723 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6724 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6725 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6726 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6727 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6728 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6729 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6730 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6731 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6732 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6733 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6734 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6735 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6736 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6737
6738 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6739
6740 * sysdeps/generic/memcopy.h: Add comment for
6741 MEMCPY_OK_FOR_FWD_MEMMOVE.
6742
6743 2014-07-04 Will Newton <will.newton@linaro.org>
6744
6745 * string/memchr.c: Merge from gnulib.
6746 [_LIBC]: Remove conditionals.
6747 (__ptr_t): Remove define.
6748 (LONG_MAX_32_BITS): Likewise.
6749 (LONG_MAX): Likewise.
6750 (MEMCHR): Use ANSI prototype and optimize algorithm.
6751
6752 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6753
6754 2014-07-03 Roland McGrath <roland@hack.frob.com>
6755
6756 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6757 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6758
6759 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6760 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6761 in a bare environment with no <stdlib.h> installed.
6762 * sysdeps/nptl/configure: Regenerated.
6763
6764 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6765
6766 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6767 AC_EGREP_CPP for kernel header checks, so they only succeed if
6768 including <linux/version.h> actually works right.
6769 * sysdeps/unix/sysv/linux/configure: Regenerated.
6770
6771 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6772 value so it's not diagnosed as unused.
6773
6774 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6775 thing) with "ifeq ($(subdir),rt)".
6776
6777 2014-07-03 Richard Henderson <rth@redhat.com>
6778
6779 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6780 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6781 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6782
6783 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6784 (math_force_eval): New.
6785
6786 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6787 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6788
6789 * sysdeps/alpha/fpu/s_round.c: Remove file.
6790 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6791
6792 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6793 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6794 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6795 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6796 (_dl_start, print_statistics): Likewise.
6797 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6798 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6799
6800 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6801 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6802 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6803 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6804 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6805 (HP_SMALL_TIMING_AVAIL): Define.
6806 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6807 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6808 (HP_SMALL_TIMING_AVAIL): Define.
6809 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6810 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6811
6812 * sysdeps/aarch64/hp-timing.h: New file.
6813
6814 * sysdeps/generic/hp-timing.h: Remove dead comment.
6815 * sysdeps/generic/hp-timing-common.h: New file.
6816 * sysdeps/alpha/hp-timing.h: Include it.
6817 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6818 * sysdeps/i386/i686/hp-timing.h: Likewise.
6819 * sysdeps/ia64/hp-timing.h: Likewise.
6820 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6822 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6823 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6824 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6825 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6826 (hp_timing_t): New.
6827
6828 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6829 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6830 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6831 * elf/rtld.c (_dl_start_final): Likewise.
6832 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6833 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6834 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6835 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6836 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6837 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6838 (HP_TIMING_DIFF_INIT): Remove.
6839 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6840 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6841 (HP_TIMING_DIFF_INIT): Remove.
6842 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6843 * sysdeps/i386/i686/hp-timing.c: Remove file.
6844 * sysdeps/x86_64/hp-timing.c: Remove file.
6845 * sysdeps/ia64/hp-timing.c: Remove file.
6846 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6847 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6849 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6850
6851 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6852 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6853 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6854 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6855 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6856 (HP_TIMING_ACCUM): Remove.
6857 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6858 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6859 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6860
6861 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6862 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6863 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6864 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6865 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6866 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6867 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6868 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6869
6870 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6871
6872 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6873
6874 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6875
6876 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6877
6878 Sync up with gettext.
6879 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6880 [_MSC_VER]: Include malloc.h
6881 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6882 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6883 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6884 TEMP_FAILURE_RETRY. Cast return of alloca.
6885 [!_LIBC] Call gl_rwlock_init.
6886 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6887
6888 2014-07-02 Roland McGrath <roland@hack.frob.com>
6889
6890 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6891 before checking its value.
6892
6893 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6894
6895 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6896
6897 * debug/memcpy_chk.c: Don't include pagecopy.h.
6898 * debug/mempcpy_chk.c: Likewise.
6899 * string/memcpy.c: Likewise.
6900 * string/memmove.c: Likewise.
6901 * sysdeps/powerpc/memmove.c: Likewise.
6902 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6903 definition of PAGE_COPY_FWD_MAYBE here...
6904 * sysdeps/generic/pagecopy.h: ... from here.
6905 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6906
6907 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6908 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909
6910 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6912 optimizations.
6913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6914 (__libc_ifunc_impl_list): Likewise.
6915 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6916 multiarch strcat for PPC64.
6917 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6918 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6919
6920 2014-07-02 Roland McGrath <roland@hack.frob.com>
6921
6922 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6923
6924 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6925
6926 * intl/loadmsgcat.c: Remove declaration of
6927 get_sysdep_segment_value.
6928 (get_sysdep_segment_value): Use ISO C style.
6929 (_nl_load_domain): Use ISO C style. Get rid of redundant
6930 semicolon. Fix typo and formatting in comment.
6931 (_nl_unload_domain): Use ISO C style.
6932
6933 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6934
6935 2014-07-02 Will Newton <will.newton@linaro.org>
6936
6937 * malloc/obstack.c: Merge from gnulib master.
6938 [HAVE_CONFIG_H]: Remove conditional code.
6939 [!_LIBC]: Include config.h.
6940 [!ELIDE_CODE]: Don't include inttypes.h, include
6941 stdint.h unconditionally.
6942 (print_and_abort): Mark as _Noreturn.
6943 (_obstack_allocated_p): Mark as __attribute_pure__.
6944 (obstack_free): Rename to __obstack_free.
6945 [!__attribute__]: Remove conditional code.
6946 * malloc/obstack.h: Merge from gnulib master.
6947 [__cplusplus]: Move conditional down.
6948 [!__attribute_pure__]: Define __attribute_pure__ here
6949 if it is not already defined.
6950 (_obstack_memory_used): Mark as __attribute_pure__.
6951 [!__obstack_free]: Define as obstack_free.
6952 [__GNUC__]: Remove check for ancient NeXT gcc.
6953
6954 2014-07-02 Will Newton <will.newton@linaro.org>
6955 Paul Eggert <eggert@cs.ucla.edu>
6956
6957 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6958
6959 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6960
6961 * resolv/gethnamaddr.c: Add comment warning that the file is
6962 not maintained.
6963
6964 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6965
6966 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6967 entries.
6968
6969 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6970 entry for aio_cancel and aio_cancel64.
6971 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6972 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6973 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6974 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6975 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6976 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6977 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6978 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6979 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6980 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6981 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6982 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6983 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6984
6985 2014-07-01 Roland McGrath <roland@hack.frob.com>
6986
6987 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6988 * nptl/pthread_mutex_lock.c: Likewise.
6989 * nptl/pthread_mutex_timedlock.c: Likewise.
6990 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6991
6992 2014-07-01 Richard henderson <rth@redhat.com>
6993
6994 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6995 (__isnan, __isnanl): Remove.
6996 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6997
6998 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6999
7000 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7001
7002 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7003
7004 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7005
7006 * resolv/nss_dns/dns-host.c (getanswer_r)
7007 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7008
7009 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7010
7011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7012 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7013 undefine.
7014 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7015 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7016
7017 2014-07-01 Roland McGrath <roland@hack.frob.com>
7018
7019 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7020 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7021
7022 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7023 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7024
7025 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7026 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7027 ... here.
7028 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7029 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7030
7031 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7032 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7033 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7034 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7035
7036 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7037 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7038 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7041 Moved ...
7042 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7043 ... here.
7044 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7045 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7047 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7048 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7049 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7050 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7051 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7053 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7054 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7055 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7056 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7063 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7064 ... here.
7065 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7066 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7068 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7069 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7070 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7071 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7072 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7073
7074 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7075
7076 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7077 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7078 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7079 Add sysdep.
7080
7081 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082
7083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7084
7085 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7086
7087 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7088 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7089
7090 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7091
7092 * sysdeps/arm/libm-test-ulps: Regenerated.
7093
7094 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7095 Roland McGrath <roland@hack.frob.com>
7096
7097 * test-skeleton.c (signal_handler): Kill the whole process group
7098 before killing the child individually.
7099 (main): Report any failure on `setpgid'.
7100
7101 2014-06-30 Roland McGrath <roland@hack.frob.com>
7102
7103 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7104 from _TLS_H to _ARM_NPTL_TLS_H.
7105 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7106 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7107
7108 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7109
7110 [BZ #16539]
7111 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7112 (__expm1l): Return argument unchanged when small but not
7113 subnormal.
7114
7115 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7116 include macro name.
7117 (_FP_UNPACK_RAW_1_P): Likewise.
7118 (_FP_PACK_RAW_1): Likewise.
7119 (_FP_PACK_RAW_1_P): Likewise.
7120 (_FP_MUL_MEAT_1_wide): Likewise.
7121 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7122 (_FP_MUL_MEAT_1_hard): Likewise.
7123 (_FP_DIV_MEAT_1_imm): Likewise.
7124 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7125 (_FP_DIV_MEAT_1_udiv): Likewise.
7126 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7127 (_FP_UNPACK_RAW_2): Likewise.
7128 (_FP_UNPACK_RAW_2_P): Likewise.
7129 (_FP_PACK_RAW_2): Likewise.
7130 (_FP_PACK_RAW_2_P): Likewise.
7131 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7132 (_FP_MUL_MEAT_2_wide): Likewise.
7133 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7134 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7135 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7136 (_FP_MUL_MEAT_2_gmp): Likewise.
7137 (_FP_DIV_MEAT_2_udiv): Likewise.
7138 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7139 (_FP_FRAC_SRL_4): Likewise.
7140 (_FP_FRAC_SRST_4): Likewise.
7141 (_FP_FRAC_SRS_4): Likewise.
7142 (_FP_UNPACK_RAW_4): Likewise.
7143 (_FP_UNPACK_RAW_4_P): Likewise.
7144 (_FP_PACK_RAW_4): Likewise.
7145 (_FP_PACK_RAW_4_P): Likewise.
7146 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7147 (_FP_MUL_MEAT_4_wide): Likewise.
7148 (_FP_MUL_MEAT_4_gmp): Likewise.
7149 (umul_ppppmnnn): Likewise.
7150 (_FP_DIV_MEAT_4_udiv): Likewise.
7151 (__FP_FRAC_ADD_4): Likewise.
7152 (__FP_FRAC_SUB_3): Likewise.
7153 (__FP_FRAC_SUB_4): Likewise.
7154 (__FP_FRAC_DEC_3): Likewise.
7155 (__FP_FRAC_DEC_4): Likewise.
7156 (__FP_FRAC_ADDI_4): Likewise.
7157 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7158 (_FP_FRAC_SRL_8): Likewise.
7159 (_FP_FRAC_SRS_8): Likewise.
7160
7161 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7162 include macro name.
7163 (FP_UNPACK_RAW_EP): Likewise.
7164 (FP_PACK_RAW_E): Likewise.
7165 (FP_PACK_RAW_EP): Likewise.
7166 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7167 (_FP_ISSIGNAN): Likewise.
7168 (_FP_ADD_INTERNAL): Likewise.
7169 (_FP_FMA): Likewise.
7170 (_FP_CMP): Likewise.
7171 (_FP_SQRT): Likewise.
7172 (_FP_TO_INT): Likewise.
7173 (_FP_FROM_INT): Likewise.
7174 (FP_EXTEND): Likewise.
7175 (_FP_DIV_MEAT_N_loop): Likewise.
7176
7177 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7178
7179 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7180 throughout.
7181
7182 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7183
7184 [BZ #17097]
7185 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7186 result with correct sign in case of exponents that produce
7187 overflow except for X very close to 1.
7188
7189 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7190
7191 mktime: merge #if/#ifdef usage from glibc
7192 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7193 as that works with both Glibc's and Gnulib's style.
7194 See thread starting at Siddhesh Poyarekar's bug report at:
7195 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7196
7197 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7198
7199 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7200 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7201 * sysdeps/tile/tilegx/memmove.c: Remove file.
7202
7203 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7204
7205 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7206 abi-name definition.
7207 * scripts/soversions.awk: Do not handle or generate ABI lines.
7208 * shlib-versions: Remove ABI entries.
7209 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7210 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7211
7212 2014-06-27 Roland McGrath <roland@hack.frob.com>
7213
7214 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7215 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7216 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7217 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7218 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7219 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7220 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7221 Moved ...
7222 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7223 ... here.
7224 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7225 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7227 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7228 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7229 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7230 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7237 Moved ...
7238 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7240 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7242 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7244 Moved ...
7245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7247 Moved ...
7248 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7250 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7252 Moved ...
7253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7255 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7257 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7259 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7261 Moved ...
7262 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7264 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7265 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7266 Moved ...
7267 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7268 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7269 Moved ...
7270 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7271 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7272 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7273 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7274 Moved ...
7275 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7276 ... here.
7277 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7278 Identical file removed.
7279 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7280 Moved ...
7281 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7283 Identical file removed.
7284 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7285 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7286 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7287 Moved ...
7288 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7290 Identical file removed.
7291 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7292 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7293 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7294 Identical file removed.
7295 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7296 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7297 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7298 Identical file removed.
7299 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7300 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7301 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7302 Identical file removed.
7303 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7304 Moved ...
7305 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7307 Identical file removed.
7308 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7309 Moved ...
7310 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7311 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7312 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7314 Identical file removed.
7315 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7316 Moved ...
7317 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7318 ... here.
7319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7320 Identical file removed.
7321 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7322 Moved ...
7323 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7324 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7325 Identical file removed.
7326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7327 Moved ...
7328 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7329 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7330 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7332 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7333 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7334 Moved ...
7335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7336 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7337 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7338
7339 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7340 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7341 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7342 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7343 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7344
7345 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7346
7347 [BZ #17092]
7348 * nscd/nscd.c (monitor_child): Return exit status of child
7349 instead of return value from wait syscall.
7350
7351 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7352
7353 * configure.ac (libc_commonpagesize): Remove variable.
7354 (libc_relro_required): Likewise.
7355 (libc_cv_z_relro): Remove configure test.
7356 * configure: Regenerated.
7357 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7358 variable.
7359 (libc_relro_required): Likewise.
7360 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7361 (libc_relro_required): Likewise.
7362 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7363 (libc_relro_required): Likewise.
7364 * sysdeps/arm/preconfigure: Regenerated.
7365 * sysdeps/ia64/preconfigure: Remove file.
7366 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7367 variable.
7368 (libc_relro_required): Likewise.
7369
7370 [BZ #16561]
7371 [BZ #16562]
7372 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7373 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7374 recompute overflowing results in original rounding mode.
7375 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7376 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7377 recompute overflowing results in original rounding mode.
7378 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7379 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7380 recompute overflowing results in original rounding mode.
7381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7382 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7383 recompute overflowing results in original rounding mode.
7384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7385 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7386 recompute overflowing results in original rounding mode.
7387 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7388 (libc_feholdsetround_ctx): New macro.
7389 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7390 * sysdeps/i386/fpu/libm-test-ulps: Update.
7391 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7392
7393 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7394
7395 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7396 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7397 corresponding .cpsetup call.
7398
7399 2014-06-26 Roland McGrath <roland@hack.frob.com>
7400
7401 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7402 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7403 * sysdeps/arm/Makefile [$(subdir) = csu]
7404 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7405 (static-only-routines): Add aeabi_read_tp here.
7406 (shared-only-routines): Add libc-aeabi_read_tp here.
7407 (CFLAGS-libc-start.c): Add -fexceptions here.
7408 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7409 (sysdep_routines, static-only-routines, shared-only-routines):
7410 Don't add to these here.
7411 (CFLAGS-libc-start.c): Likewise.
7412
7413 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7414 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7415 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7416 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7417 * sysdeps/arm/Makefile [$(subdir) = rt]
7418 (librt-sysdep_routines, librt-shared-only-routines):
7419 Append rt-aeabi_unwind_cpp_pr1 here.
7420 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7421 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7422 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7423 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7424 Append nptl-aeabi_unwind_cpp_pr1 here.
7425 (tests): Filter out tst-cleanupx4 here.
7426 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7427 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7428 Don't do those here.
7429
7430 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7431
7432 * scripts/list-sources.sh: Do not handle ports specially.
7433
7434 2014-06-26 Roland McGrath <roland@hack.frob.com>
7435
7436 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7437 * sysdeps/arm/feupdateenv.c: Likewise.
7438
7439 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7440
7441 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7442
7443 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7444 trailing whitespace removed.
7445 * scripts/config.guess: Update to version 2014-03-23.
7446 * scripts/config.sub: Update to version 2014-05-01
7447 * scripts/install-sh: Update to version 2013-12-25.23.
7448 * scripts/move-if-change: Update from gnulib.
7449
7450 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7451
7452 * debug/memmove_chk.c: Remove pagecopy.h include.
7453
7454 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7455
7456 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7457 identical to gnulib mktime.
7458
7459 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7460
7461 * configure.ac: Do not test for machine being rs6000. Do not test
7462 for powerpc*-*soft.
7463 * configure: Regenerated.
7464
7465 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7466 test.
7467 * configure: Regenerated.
7468 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7469 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7470 Remove configure test.
7471 * sysdeps/arm/configure: Regenerated.
7472 * sysdeps/nptl/configure.ac: Do not check
7473 libc_cv_asm_cfi_directives.
7474 * sysdeps/nptl/configure: Regenerated.
7475 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7476 * sysdeps/x86_64/nptl/configure: Remove generated file.
7477 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7478 unconditional.
7479 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7480
7481 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7482
7483 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7484 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7485 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7486 it is defined.
7487
7488 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7489 instead of whether it is defined.
7490 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7491 * sysdeps/hppa/dl-machine.h: Likewise.
7492 * sysdeps/ia64/dl-machine.h: Likewise.
7493 * sysdeps/m68k/dl-machine.h: Likewise.
7494 * sysdeps/microblaze/dl-machine.h: Likewise.
7495 * sysdeps/mips/dl-machine.: Likewise.
7496 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7497 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7498 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7499 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7500 * sysdeps/sh/dl-machine.h: Likewise.
7501 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7502 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7503 * sysdeps/tile/dl-machine.h: Likewise.
7504 * sysdeps/x86_64/dl-machine.h: Likewise.
7505
7506 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7507 code.
7508 (verify_persistent_db): Likewise.
7509
7510 2014-06-26 Roland McGrath <roland@hack.frob.com>
7511
7512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7513 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7515 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7517 Moved ...
7518 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7519 ... here.
7520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7523 Identical file removed.
7524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7525 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7527 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7529 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7531 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7533 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7535 Moved ...
7536 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7538 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7540 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7542 Moved ...
7543 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7545 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7547 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7549 Identical file removed.
7550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7551 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7553 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7555 Moved ...
7556 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7557 ... here.
7558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7559 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7561 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7563 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7565 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7567 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7569 Moved ...
7570 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7572 Moved ...
7573 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7575 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7577 Moved ...
7578 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7580 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7581
7582 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7583 folded into ...
7584 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7585 * sysdeps/unix/sysv/linux/s390/Versions
7586 (libpthread: GLIBC_2.19): New version set.
7587 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7588 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7589 (librt: GLIBC_2.3.3): New version set.
7590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7591 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7592 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7593 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7594 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7596 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7598 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7599 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7600 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7601 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7602 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7603 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7604 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7606 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7608 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7610 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7612 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7613 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7614 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7616 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7618 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7620 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7621 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7624 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7626 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7627 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7628 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7630 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7631 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7632 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7634 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7635
7636 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7637 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7638 (__libc_vfork): Define the function under this name.
7639 [!NOT_IN_libc] (__vfork): Make this an alias.
7640 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7641 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7642 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7643 (__libc_vfork): Define the function under this name.
7644 [!NOT_IN_libc] (__vfork): Make this an alias.
7645 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7646 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7647 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7649 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7650 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7651
7652 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7653 code that was previously under [RESET_PID].
7654 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7655 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7656 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7657
7658 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7659 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7660 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7661 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7662 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7663 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7664 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7665 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7666 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7667 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7668 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7669 Moved ...
7670 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7671 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7672 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7673 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7674 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7675 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7676 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7677 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7678 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7679 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7680 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7681 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7682 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7683 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7684 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7685 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7686 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7687 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7688 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7690 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7692 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7693 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7694 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7695 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7696 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7697 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7698 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7699
7700 2014-06-25 Roland McGrath <roland@hack.frob.com>
7701
7702 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7703 that was previously under [RESET_PID].
7704 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7705
7706 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7707
7708 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7709 not undefine and redefine.
7710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7711 [O_CLOEXEC]: Make code unconditional.
7712 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7713 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7714 <kernel-features.h>.
7715 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7716 conditional variable definition.
7717 (shm_open) [O_CLOEXEC]: Make code unconditional.
7718 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7719 code.
7720
7721 * configure.ac (USE_REGPARMS): Don't define here.
7722 * configure: Regenerated.
7723 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7724 * sysdeps/i386/configure: Regenerated.
7725
7726 * nptl/createthread.c: Don't include kernel-features.h.
7727 * nptl/pthread_cancel.c: Likewise.
7728 * nptl/pthread_condattr_setclock.c: Likewise.
7729 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7730 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7731 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7732 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7733 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7734 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7735 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7738 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7739 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7740 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7741 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7742 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7743 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7744 * nscd/gai.c: Likewise.
7745 * nss/nss_db/db-open.c: Likewise.
7746 * sysdeps/generic/ldsodefs.h: Likewise.
7747 * sysdeps/sh/nptl/tls.h: Likewise.
7748 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7749 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7750 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7751 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7752 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7753 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7754 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7755 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7756 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7757 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7758 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7759 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7760 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7761 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7762 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7763 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7764 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7765 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7766 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7767 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7768 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7769 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7770 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7771 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7772 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7773 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7774 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7775 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7776 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7777 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7778 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7779 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7780 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7781 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7782 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7783 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7784 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7785 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7786 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7787 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7788 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7789 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7790 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7791 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7792 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7793 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7794 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7795 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7796 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7797 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7798 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7799 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7800 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7801 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7802 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7803 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7828 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7829 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7830 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7831 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7832 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7833 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7834 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7835 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7836 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7837 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7838 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7839 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7840 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7841 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7842 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7843 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7844 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7845 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7846 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7847 * sysdeps/unix/sysv/linux/system.c: Likewise.
7848 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7849 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7850 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7851 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7852 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7853 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7854 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7855
7856 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7857 * configure: Regenerated.
7858 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7859
7860 * configure.ac (base_machine): Do not set specially for particular
7861 machines here.
7862 * configure: Regenerated.
7863 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7864 settings from configure.ac.
7865 * sysdeps/i386/preconfigure: New file.
7866 * sysdeps/s390/preconfigure: Likewise.
7867 * sysdeps/sh/preconfigure: Likewise.
7868 * sysdeps/sparc/preconfigure: Likewise.
7869
7870 2014-06-25 Roland McGrath <roland@hack.frob.com>
7871
7872 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7873 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7874 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7875 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7876 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7877 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7878 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7879 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7880 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7881 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7882 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7883 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7884 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7885 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7886 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7887 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7888 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7889 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7890 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7891
7892 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7893 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7894 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7895 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7896 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7897 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7898 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7899 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7900 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7901 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7902 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7903 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7904 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7905 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7906 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7907 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7908 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7909 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7910 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7911 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7912 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7913 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7914 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7915 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7916 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7917 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7918 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7919 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7920 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7921 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7922 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7923 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7924 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7925 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7926 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7927 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7928 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7929 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7930
7931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7932 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7934 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7936 Moved ...
7937 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7938 ... here.
7939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7942 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7944 Moved ...
7945 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7947 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7949 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7951 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7953 Moved ...
7954 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7956 Moved ...
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7961 Moved ...
7962 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7964 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7966 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7968 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7972 Moved ...
7973 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7974 ... here.
7975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7978 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7980 Moved ...
7981 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7983 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7985 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7989 Moved ...
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7992 Moved ...
7993 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7995 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7997 Moved ...
7998 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8000 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8002 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8003
8004 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8005
8006 * timezone/checktab.awk: Update from tzcode 2014e.
8007 * timezone/private.h: Likewise.
8008 * timezone/tzfile.h: Likewise.
8009 * timezone/zdump.c: Likewise.
8010 * timezone/zic.c: Likewise.
8011
8012 * sysdeps/unix/sysv/linux/kernel-features.h
8013 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8015 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8016 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8017 Remove conditional code.
8018
8019 2014-06-25 Will Newton <will.newton@linaro.org>
8020
8021 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8022 (_dl_arm_cap_flags): Add HWCAP2 values.
8023 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8024 (_DL_HWCAP_COUNT): Increase to 37.
8025 (_DL_HWCAP_LAST): New define.
8026 (_DL_HWCAP2_LAST): New define.
8027 (_dl_procinfo): Add support for printing
8028 AT_HWCAP2 entries.
8029 (_dl_string_hwcap): Use _dl_hwcap_string.
8030
8031 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8032
8033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8034
8035 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8036
8037 * README: Do not mention ports directory.
8038
8039 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8040 Remove macro.
8041 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8042 <kernel-features.h>.
8043 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8044 conditional variable definition.
8045 (__futimes): Update comment.
8046 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8047 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8048
8049 [BZ #16560]
8050 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8051 arguments close to 0.
8052 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8053 Likewise.
8054 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8055 Likewise.
8056 * math/auto-libm-test-in: Add more tests of exp10.
8057 * math/auto-libm-test-out: Regenerated.
8058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8059
8060 * sysdeps/unix/sysv/linux/kernel-features.h
8061 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8062 * sysdeps/unix/sysv/linux/readv.c: Do not include
8063 <kernel-features.h>.
8064 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8065 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8066 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8067 unconditional.
8068 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8069 conditional code.
8070 * sysdeps/unix/sysv/linux/writev.c: Do not include
8071 <kernel-features.h>.
8072 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8073 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8074 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8075 unconditional.
8076 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8077 conditional code.
8078
8079 2014-06-25 Will Newton <will.newton@linaro.org>
8080
8081 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8082 comment changes throughout the file. Remove checks
8083 for HAVE_*_H definitions that are not required.
8084 (__gen_tempname): Call abort if an unknown kind value is
8085 passed.
8086
8087 2014-06-25 Andreas Schwab <schwab@suse.de>
8088
8089 [BZ #17086]
8090 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8091 scalbln, scalblnf, scalblnl in libc.
8092
8093 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8094
8095 [BZ #17086]
8096 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8097 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8098 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8099
8100 2014-06-24 Roland McGrath <roland@hack.frob.com>
8101
8102 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8103 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8104 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8105 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8106 Update #include.
8107 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8108 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8109 Update #include.
8110 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8111 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8112 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8113 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8114 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8115 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8116 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8117 * sysdeps/x86/bits/semaphore.h: ... here.
8118 * sysdeps/x86/nptl/elide.h: Moved ...
8119 * sysdeps/x86/elide.h: ... here.
8120 * sysdeps/x86_64/nptl/Implies: File removed.
8121 * sysdeps/i386/nptl/Implies: File removed.
8122
8123 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8124
8125 [BZ #16539]
8126 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8127 return the argument for normal arguments with exponent below -64.
8128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8129 Likewise.
8130 * math/auto-libm-test-in: Add another test of expm1.
8131 * math/auto-libm-test-out: Regenerated.
8132
8133 [BZ #16287]
8134 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8135 calling __erfcl for arguments at least 16.
8136 * math/auto-libm-test-in: Add more tests of erf.
8137 * math/auto-libm-test-out: Regenerated.
8138
8139 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8140 individual architectures.
8141 * sysdeps/unix/sysv/linux/configure: Regenerated.
8142 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8143 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8144 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8145 (ldd_rewrite_script): Define variable.
8146 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8148 file.
8149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8150 generated file.
8151 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8152 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8153 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8154 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8155 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8156 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8157 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8158 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8159
8160 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
8162 [BZ #17084]
8163 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8164 Rename member __data.d to __data.__elision_data.
8165
8166 2014-06-24 Wilco <wdijkstr@arm.com>
8167
8168 * NEWS: Add 16918 to fixed bug list.
8169
8170 2014-06-24 Wilco <wdijkstr@arm.com>
8171
8172 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8173
8174 2014-06-24 Wilco <wdijkstr@arm.com>
8175
8176 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8177 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8178 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8179 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8180 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8181 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8182 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8183 Use _FPU_MASK_RM.
8184
8185 2014-06-24 Wilco <wdijkstr@arm.com>
8186
8187 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8188
8189 2014-06-24 Wilco <wdijkstr@arm.com>
8190
8191 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8192 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8193 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8194 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8195
8196 2014-06-24 Wilco <wdijkstr@arm.com>
8197
8198 [BZ #16918]
8199 * sysdeps/arm/feupdateenv.c (feupdateenv):
8200 Rewrite to reduce FPSCR accesses and fix return value.
8201
8202 2014-06-24 Wilco <wdijkstr@arm.com>
8203
8204 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8205 Optimize to avoid unnecessary FPSCR writes.
8206 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8207 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8208 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8209 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8210
8211 2014-06-24 Wilco <wdijkstr@arm.com>
8212
8213 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8214 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8215 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8216 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8217 Call libc_fetestexcept_vfp.
8218 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8219 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8220 __SOFTFP__ ifdef so that they can be built for softfp.
8221
8222 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8223
8224 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8225 argument type signed char.
8226
8227 * Makerules (check-abi): Dump diff of symlist if the test
8228 fails.
8229
8230 2014-06-23 Roland McGrath <roland@hack.frob.com>
8231
8232 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8233 using abort.
8234
8235 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8236 Remove unused variable ST.
8237
8238 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8239
8240 [BZ #16354]
8241 [BZ #17061]
8242 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8243 small arguments before calling __expm1.
8244 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8245 small arguments before calling __expm1f.
8246 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8247 small arguments before calling __expm1l.
8248 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8249 Likewise.
8250 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8251 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8252 spurious underflow for some cosh tests.
8253 * math/auto-libm-test-out: Regenerated.
8254 * sysdeps/i386/fpu/libm-test-ulps: Update.
8255
8256 [BZ #17050]
8257 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8258 (__ieee754_y1): Set errno if return value overflows.
8259 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8260 (__ieee754_y1f): Set errno if return value overflows.
8261 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8262 (__ieee754_y1l): Set errno if return value overflows.
8263 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8264 (__ieee754_y1l): Set errno if return value overflows.
8265 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8266 * math/auto-libm-test-out: Regenerated.
8267
8268 * math/gen-auto-libm-tests.c: Document use of
8269 ignore-zero-inf-sign.
8270 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8271 (input_flags): Add ignore-zero-inf-sign.
8272 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8273 * math/gen-libm-test.pl (generate_testfile): Handle
8274 ignore-zero-inf-sign.
8275 * math/auto-libm-test-in: Mark some cpow tests with
8276 ignore-zero-inf-sign and some with xfail-rounding.
8277 * math/auto-libm-test-out: Regenerated.
8278 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8279 * sysdeps/i386/fpu/libm-test-ulps: Update.
8280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8281
8282 [BZ #16315]
8283 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8284 overflowing or underflowing operations take place with sign of
8285 result.
8286 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8287 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8288 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8289 (__ieee754_pow): Recompute overflowing and underflowing results in
8290 original rounding mode.
8291 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8292 (__powl_helper): Allow negative argument X and scale negated value
8293 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8294 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8295 overflowing or underflowing operations take place with sign of
8296 result.
8297 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8298 Include <math.h>.
8299 * math/auto-libm-test-in: Add more tests of pow.
8300 * math/auto-libm-test-out: Regenerated.
8301 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8302 (pow_tonearest_test_data): Remove.
8303 (pow_test_tonearest): Likewise.
8304 (pow_towardzero_test_data): Likewise.
8305 (pow_test_towardzero): Likewise.
8306 (pow_downward_test_data): Likewise.
8307 (pow_test_downward): Likewise.
8308 (pow_upward_test_data): Likewise.
8309 (pow_test_upward): Likewise.
8310 (main): Don't call removed functions.
8311 * sysdeps/i386/fpu/libm-test-ulps: Update.
8312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8313
8314 2014-06-23 Roland McGrath <roland@hack.frob.com>
8315
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8317 Moved ...
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8320 Moved ...
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8323 Moved ...
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8326 Moved ...
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8329 File removed.
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8331 File removed.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8333 File removed.
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8335 File removed.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8337 File removed.
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8339 File removed.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8341 File removed.
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8343 File removed.
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8345 File removed.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8347 File removed.
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8349 File removed.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8351 File removed.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8353 Moved ...
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8356 Moved ...
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8358 ... here.
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8360 Moved ...
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8363 Moved ...
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8366 Moved ...
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8369 Moved ...
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8372 Moved ...
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8375 Moved ...
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8378 Moved ...
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8382 ... here.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8384 Moved ...
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8387 Moved ...
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8389 ... here.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8391 Moved ...
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8393 ... here.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8395 Moved ...
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8397 ... here.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8399 Moved ...
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8402 Moved ...
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8407 Moved ...
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8409 ... here.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8411 Moved ...
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8413 ... here.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8415 Moved ...
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8418 Moved ...
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8421 Moved ...
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8424 Moved ...
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8427 Moved ...
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8429 ... here.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8431 Moved ...
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8434 Moved ...
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8437 Moved ...
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8440 Moved ...
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8445 Moved ...
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8448 Moved ...
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8451 Moved ...
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8453 ... here.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8455 Moved ...
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8457 ... here.
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8459 Moved ...
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8461 ... here.
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8463 Moved ...
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8466 Moved ...
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8469 Moved ...
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8472 Moved ...
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8474 ... here.
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8476 Moved ...
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8478 ... here.
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8480 Moved ...
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8482 ... here.
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8484 Moved ...
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8487 Moved ...
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8489
8490 2014-06-23 Will Newton <will.newton@linaro.org>
8491 Wilco <wdijkstr@arm.com>
8492
8493 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8494 implementation. Include get-rounding-mode.h.
8495 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8496 [!libc_feholdsetround_noex_ctx]: Define
8497 libc_feholdsetround_noex_ctx.
8498 [!libc_feholdsetround_noexf_ctx]: Define
8499 libc_feholdsetround_noexf_ctx.
8500 [!libc_feholdsetround_noexl_ctx]: Define
8501 libc_feholdsetround_noexl_ctx.
8502 (libc_feholdsetround_ctx): New function.
8503 (libc_feresetround_ctx): New function.
8504 (libc_feholdsetround_noex_ctx): New function.
8505 (libc_feresetround_noex_ctx): New function.
8506
8507 2014-06-23 Roland McGrath <roland@hack.frob.com>
8508
8509 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8510 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8511 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8512 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8513 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8514 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8515
8516 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8517 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8518 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8519 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8520 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8521 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8522 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8523 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8524 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8525 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8526 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8527 Moved ...
8528 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8529 ... here.
8530 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8531 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8533 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8534 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8535 Moved ...
8536 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8537 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8538 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8539 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8540 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8541 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8542 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8544 Moved ...
8545 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8547 Moved ...
8548 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8549 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8550 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8552 Moved ...
8553 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8554 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8555 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8556 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8557 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8558 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8559 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8560 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8561 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8563 Moved ...
8564 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8565 ... here.
8566 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8567 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8569 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8571 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8573 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8579 Moved ...
8580 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8582 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8583 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8584 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8585 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8586 Moved ...
8587 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8588 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8589 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8591 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8592
8593 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8594 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8595 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8596 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8597 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8598 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8600 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8602 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8603 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8604 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8606 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8607 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8608 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8612 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8621
8622 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8623
8624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8625 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8626 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8627 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8628 (IPV6_PMTUDISC_INTERFACE): Likewise.
8629 (IPV6_PMTUDISC_OMIT): Likewise.
8630
8631 2014-06-23 Andreas Schwab <schwab@suse.de>
8632
8633 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8634 Remove unused errout label.
8635
8636 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8637
8638 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8639 macro: hardware supports Vector Crypto instructions.
8640
8641 2014-06-23 Will Newton <will.newton@linaro.org>
8642
8643 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8644 rather than __builtin_expect.
8645
8646 * elf/dl-lookup.c (undefined_msg): Remove variable.
8647 (_dl_lookup_symbol_x): Replace undefined_msg with string
8648 literal.
8649
8650 * elf/dl-lookup.c (do_lookup_unique): New function.
8651 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8652 to a separate function.
8653
8654 2014-06-23 Andreas Schwab <schwab@suse.de>
8655
8656 [BZ #17079]
8657 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8658 before reading the next line.
8659
8660 2014-06-23 Will Newton <will.newton@linaro.org>
8661
8662 * test-skeleton.c (signal_handler): Use printf and %m
8663 rather than perror. Use printf rather than fprintf to
8664 stderr. Use puts rather than fputs to stderr.
8665 (main): Likewise.
8666
8667 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8668
8669 * nscd/nscd.c (thread_info_t): Remove typedef.
8670 (thread_info): Remove variable.
8671
8672 2014-06-21 Allan McRae <allan@archlinux.org>
8673
8674 * NEWS: Mention CVE-2014-4043.
8675
8676 2014-06-20 Roland McGrath <roland@hack.frob.com>
8677
8678 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8679 * nptl/smp.h: ... here.
8680
8681 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8682
8683 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8684 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8685 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8686 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8687
8688 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8689 * nptl/stack-aliasing.h: New file.
8690 * sysdeps/i386/i686/stack-aliasing.h: New file.
8691 * sysdeps/i386/i686/nptl/Makefile: File removed.
8692 * sysdeps/x86_64/stack-aliasing.h: New file.
8693 * sysdeps/x86_64/nptl/Makefile
8694 (CFLAGS-pthread_create.c): Variable removed.
8695
8696 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8697 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8698 old file.
8699 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8700 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8701 old file.
8702
8703 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8704
8705 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8706 (__ASSUME_SIGFRAME_V2): Remove macro.
8707 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8708 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8709 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8710 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8711 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8712 Declare as function. Remove conditional macro definitions.
8713 (__default_rt_sa_restorer): Likewise.
8714 (__default_sa_restorer_v1): Remove declaration.
8715 (__default_sa_restorer_v2): Likewise.
8716 (__default_rt_sa_restorer_v1): Likewise.
8717 (__default_rt_sa_restorer_v2): Likewise.
8718 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8719 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8720 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8721
8722 2014-06-20 Roland McGrath <roland@hack.frob.com>
8723
8724 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8725 (libpthread-routines): Add sysdep.
8726 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8727 * sysdeps/unix/sysv/linux/sparc/Versions
8728 (libpthread: GLIBC_2.3.3): New version set.
8729 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8730 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8731 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8732 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8733 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8734 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8735 Moved ...
8736 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8737 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8738 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8739 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8740 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8741 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8742 * sysdeps/sparc/nptl/sem_init.c: ... here.
8743 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8744 * sysdeps/sparc/nptl/sem_post.c: ... here.
8745 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8746 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8747 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8748 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8749 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8750 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8751 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8752 (libpthread-routines): Add cpu_relax.
8753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8754 File removed.
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8756 (librt: GLIBC_2.3.3): New version set.
8757 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8758 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8759 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8760 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8763 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8764 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8765 Moved ...
8766 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8768 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8770 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8772 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8774 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8776 Moved ...
8777 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8778 Update #include.
8779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8780 Moved ...
8781 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8782 Update #include.
8783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8784 Moved ...
8785 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8786 Update #include.
8787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8788 Moved ...
8789 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8790 Update #include.
8791 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8792 Moved ...
8793 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8794 Update #include.
8795 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8796 Moved ...
8797 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8798 Update #include.
8799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8800 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8806 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8808 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8810 Moved ...
8811 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8813 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8815 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8816
8817 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8818
8819 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8820 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8821 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8822 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8823 * nscd/nscd.c: Likewise.
8824 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8825 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8826 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8827 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8828
8829 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8830 <kernel-features.h>.
8831 (init_mq_netlink): Remove conditional have_sock_cloexec
8832 definitions. Remove code conditional on have_sock_cloexec < 0.
8833 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8834 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8835 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8836 <kernel-features.h>.
8837 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8838 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8839
8840 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8841
8842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8843 Add tests for memset_chk and memset.
8844
8845 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8846 with AVX2_Usable.
8847
8848 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8849
8850 [BZ #16046]
8851 * elf/tst-dl-iter-static.c: New file.
8852 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8853
8854 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8855 error.
8856
8857 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8858
8859 * sysdeps/unix/sysv/linux/kernel-features.h
8860 (__ASSUME_F_GETOWN_EX): Remove macro.
8861 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8862 <kernel-features.h>.
8863 (miss_F_GETOWN_EX): Remove variable or macro.
8864 (do_fcntl): Do not check miss_F_GETOWN_EX.
8865 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8866
8867 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8868 Remove macro.
8869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8870 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8871 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8872
8873 * sysdeps/unix/sysv/linux/kernel-features.h
8874 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8875 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8876 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8877 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8878
8879 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8880
8881 [BZ #17075]
8882 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8883 Fix calculation of the symbol's value.
8884 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8885 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8886 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8887 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8888 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8889 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8890 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8891 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8892 (modules-names): Add `tst-armtlsdescmod',
8893 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8894 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8895 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8896 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8897 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8898 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8899 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8900 ($(objpfx)tst-armtlsdescloc): New dependency.
8901 ($(objpfx)tst-armtlsdescextnow): Likewise.
8902 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8903 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8904 TLS scheme support.
8905 * sysdeps/arm/configure: Regenerate.
8906
8907 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8908
8909 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8910 (__atfct_seterrno_2): Likewise.
8911 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8912 <kernel-features.h>.
8913 (__ASSUME_ATFCTS): Do not undefine and redefine.
8914 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8915 (__have_atfcts): Remove conditional definition.
8916 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8917 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8918 unreachable if [__ASSUME_ATFCTS].
8919 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8920 not undefine and redefine.
8921 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8922 <kernel-features.h>.
8923 (faccessat) [__NR_faccessat]: Make code unconditional.
8924 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8925 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8926 <kernel-features.h>.
8927 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8928 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8929 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8930 <kernel-features.h>.
8931 (fchownat) [__NR_fchownat]: Make code unconditional.
8932 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8933 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8934 <kernel-features.h>.
8935 (futimesat) [__NR_futimesat]: Make code unconditional.
8936 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8937 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8938 <kernel-features.h>.
8939 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8940 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8941 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8942 <kernel-features.h>.
8943 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8944 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8945 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8946 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8947 <kernel-features.h>.
8948 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8949 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8950 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8951 <kernel-features.h>.
8952 (linkat) [__NR_linkat]: Make code unconditional.
8953 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8954 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8955 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8956 <kernel-features.h>.
8957 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8958 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8959 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8960 <kernel-features.h>.
8961 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8962 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8963 * sysdeps/unix/sysv/linux/openat.c: Do not include
8964 <kernel-features.h>.
8965 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8966 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8967 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8968 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8969 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8970 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8971 <kernel-features.h>.
8972 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8973 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8974 result of INLINE_SYSCALL directly, not via int variable.
8975 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8976 <kernel-features.h>.
8977 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8978 (renameat) [__NR_renameat]: Make code unconditional.
8979 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8980 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8981 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8982 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8984 (__ASSUME_ATFCTS): Do not undefine and redefine.
8985 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8986 <kernel-features.h>.
8987 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8988 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8989 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8990 <kernel-features.h>.
8991 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8992 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8993 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8994 (__ASSUME_ATFCTS): Do not undefine and redefine.
8995 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8996 <kernel-features.h>.
8997 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8998 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8999 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9000 <kernel-features.h>.
9001 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9002 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9003
9004 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9005
9006 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9007
9008 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9009
9010 [BZ #17069]
9011 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9012 constructed tree before returning error.
9013 * posix/bug-regexp36.c: Expand test case.
9014
9015 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9016
9017 [BZ #6803]
9018 * math/libm-test.inc (scalbln_test_date):
9019 Add errno expectations.
9020 * math/w_scalblnf.c: New File.
9021 Add wrapper which checks for setting errno to ERANGE.
9022 Add weak_alias for corresponding scalbln function.
9023 * math/w_scalbln.c: Likewise.
9024 * math/w_scalblnl.c: Likewise.
9025 * math/Makefile (libm-calls): Add w_scalbln.
9026 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9027 Remove weak_alias for corresponding scalbln function.
9028 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9030 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9032 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9033 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9034 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9035 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9036 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9037 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9038 Remove long_double_symbol for scalblnl function in libm, libc.
9039 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9040 Add wrapper which checks for setting errno to ERANGE.
9041 Add long_double_symbol for scalblnl function in libm, libc.
9042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9043 Remove long_double_symbol for scalblnl in libm.
9044 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9045 Add wrapper which checks for setting errno to ERANGE.
9046 Add long_double_symbol for scalblnl function in libm.
9047 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9048 Do not use wrapper because of own implementation.
9049
9050 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9051
9052 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9053 3 bytes for __pad1 for x32.
9054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9055
9056 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9057 H.J. Lu <hongjiu.lu@intel.com>
9058
9059 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9060 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9061 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9062 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9063 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9064
9065 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9066
9067 [BZ #17069]
9068 * posix/regcomp.c (parse_expression): Deallocate partially
9069 constructed tree before returning error.
9070 * posix/Makefile.c (tests): Add bug-regex36.
9071 (generated): Add bug-regex36.mtrace.
9072 (tests-special): Add $(objpfx)bug-regex36-mem.out
9073 (bug-regex36-ENV): New variable.
9074 ($(objpfx)bug-regex36-mem.out): New rule.
9075 * posix/bug-regex36.c: New file.
9076
9077 2014-06-19 Will Newton <will.newton@linaro.org>
9078
9079 * malloc/malloc.c (systrim): If extra is zero then return
9080 early.
9081
9082 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9083
9084 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9085
9086 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9087
9088 * sysdeps/aarch64/strchr.S: New file.
9089
9090 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9091
9092 [BZ #17022]
9093 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9094 from arguments -2 or below.
9095 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9096 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9097
9098 2014-06-18 Andreas Schwab <schwab@suse.de>
9099
9100 [BZ #17062]
9101 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9102 of a bracket expr not to run off the end of the string.
9103 * posix/Makefile (tests): Add tst-fnmatch3.
9104 * posix/tst-fnmatch3.c: New file.
9105
9106 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9107
9108 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9109 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9110 [$(cross-compiling) = no]: Likewise.
9111 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9112 [$(cross-compiling) = no]: Likewise.
9113
9114 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9115
9116 [BZ #17031]
9117 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9118 double, adjusted for any remainder from the high double.
9119 * math/libm-test.inc (nearbyint): Add tests.
9120 (rint): Likewise.
9121
9122 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9123
9124 * nptl/sysdeps/powerpc/Makefile: Moved ...
9125 * sysdeps/powerpc/nptl/Makefile: ... here.
9126 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9127 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9128 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9129 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9130 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9131 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9132 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9133 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9134 * nptl/sysdeps/powerpc/tls.h: Moved ...
9135 * sysdeps/powerpc/nptl/tls.h: ... here.
9136
9137 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9138
9139 [BZ #16681]
9140 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9141 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9142 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9143 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9144 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9145 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9146 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9147 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9148 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9149
9150 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9151
9152 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9153
9154 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9155
9156 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9157 defined operator.
9158
9159 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9160 $TIMEOUTFACTOR.
9161
9162 2014-06-16 Florian Weimer <fweimer@redhat.com>
9163
9164 [BZ #17058]
9165 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9166 non-executed part of the test.
9167
9168 2014-06-16 Andreas Schwab <schwab@suse.de>
9169
9170 * string/bits/string2.h (strdup, strndup): Update feature guard.
9171
9172 2014-06-14 David S. Miller <davem@davemloft.net>
9173
9174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9175
9176 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9177
9178 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9179 that was previously under [RESET_PID].
9180 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9181
9182 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9183 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9184 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9185 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9186 (__libc_vfork): New strong alias.
9187 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9188
9189 2014-06-14 Andi Kleen <ak@linux.intel.com>
9190
9191 * sysdeps/generic/elide.h: New file.
9192
9193 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9194
9195 * Makefile (installed-headers): Adjust path of pthread.h header.
9196
9197 2014-06-13 Roland McGrath <roland@hack.frob.com>
9198
9199 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9200 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9201 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9202 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9203
9204 * nptl/sysdeps/s390/Makefile: Moved ...
9205 * sysdeps/s390/nptl/Makefile: ... here.
9206 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9207 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9208 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9209 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9210 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9211 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9212 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9213 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9214 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9215 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9216 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9217 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9218 * nptl/sysdeps/s390/tls.h: Moved ...
9219 * sysdeps/s390/nptl/tls.h: ... here.
9220
9221 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9222 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9223
9224 2014-06-13 David S. Miller <davem@davemloft.net>
9225
9226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9229 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9233 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9234 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9235 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9236 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9237 Remove RESET_PID cpp guards.
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9239 Remove RESET_PID cpp guards.
9240 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9241
9242 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9243
9244 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9245 __sp to uintptr_t.
9246
9247 2014-06-13 Andi Kleen <ak@linux.intel.com>
9248
9249 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9250 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9251 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9252 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9253 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9255 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9256 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9257 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9259 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9260 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9261 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9262 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9263 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9264 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9265 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9266 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9267 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9268 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9269
9270 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9271 (pthread_rwlock_rdlock): Add elision.
9272 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9273 (pthread_rwlock_wrlock): Add elision.
9274 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9275 (pthread_rwlock_trywrlock): Add elision.
9276 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9277 (pthread_rwlock_tryrdlock): Add elision.
9278 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9279 (pthread_rwlock_tryrdlock): Add elision unlock.
9280 * nptl/sysdeps/pthread/pthread.h:
9281 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9282 (PTHREAD_RWLOCK_INITIALIZER,
9283 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9284 Handle new elision field.
9285 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9286 * sysdeps/arm/nptl/bits/pthreadtypes.h
9287 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9288 * sysdeps/sh/nptl/bits/pthreadtypes.h
9289 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9290 * sysdeps/tile/nptl/bits/pthreadtypes.h
9291 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9292 * sysdeps/a/nptl/bits/pthreadtypes.h
9293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9294 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9295 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9296 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9297 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9298 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9299 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9300 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9301 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9302 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9303 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9304 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9305 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9306 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9307 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9308 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9309 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9310 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9311 (elision_init): Set try_xbegin to zero when no RTM.
9312 * sysdeps/x86/nptl/bits/pthreadtypes.h
9313 (pthread_rwlock_t): Change __pad1 to __rwelision.
9314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9315
9316 2014-06-13 Andi Kleen <ak@linux.intel.com>
9317
9318 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9319 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9320 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9321 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9322
9323 2014-06-13 Meador Inge <meadori@codesourcery.com>
9324
9325 [BZ #16996]
9326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9327 that the cached result has been set before returning it.
9328
9329 2014-06-12 Roland McGrath <roland@hack.frob.com>
9330
9331 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9332 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9333 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9334 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9335 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9336 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9337
9338 * nptl/sysdeps/sparc/Makefile: Moved ...
9339 * sysdeps/sparc/nptl/Makefile: ... here.
9340 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9341 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9342 * nptl/sysdeps/sparc/tls.h: Moved ...
9343 * sysdeps/sparc/nptl/tls.h: ... here.
9344 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9345 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9346 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9347 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9348 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9349 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9350 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9351 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9352 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9353 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9354 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9355 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9356 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9357 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9358 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9359 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9360 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9362 Update #include.
9363 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9364 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9365 Update #include.
9366 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9367 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9368 Update #include.
9369 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9370 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9371 Update #include.
9372
9373 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9374
9375 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9376 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9377
9378 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9379 (struct list_links): Type removed.
9380 (struct thread_node, struct timer_node): Replace struct list_links
9381 with struct list_head.
9382 (list_unlink_ip): Likewise.
9383 * sysdeps/pthread/timer_routines.c
9384 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9385 (list_append, list_insbefore): Likewise.
9386 (list_init): Function removed.
9387 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9388 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9389 * sysdeps/pthread/Makefile: ... here, new file.
9390
9391 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9392 * sysdeps/nptl/Implies: ... here.
9393 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9394 * nptl/sysdeps/pthread/list.h: Moved ...
9395 * include/list.h: ... here.
9396 * nptl/sysdeps/pthread/createthread.c: Moved ...
9397 * nptl/createthread.c: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9399 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9400 * nptl/pt-longjmp.c: ... here.
9401 * nptl/sysdeps/pthread/Makefile: Moved ...
9402 * sysdeps/nptl/Makefile: ... here.
9403 * nptl/sysdeps/pthread/Subdirs: Moved ...
9404 * sysdeps/nptl/Subdirs: ... here.
9405 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9406 * sysdeps/nptl/aio_misc.h: ... here.
9407 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9408 * sysdeps/nptl/bits/libc-lock.h: ... here.
9409 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9410 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9411 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9412 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9413 * nptl/sysdeps/pthread/configure: Moved ...
9414 * sysdeps/nptl/configure: ... here.
9415 * nptl/sysdeps/pthread/configure.ac: Moved ...
9416 * sysdeps/nptl/configure.ac: ... here.
9417 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9418 * sysdeps/nptl/gai_misc.h: ... here.
9419 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9420 * sysdeps/nptl/librt-cancellation.c: ... here.
9421 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9422 * sysdeps/nptl/malloc-machine.h: ... here.
9423 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9424 * sysdeps/nptl/pthread-functions.h: ... here.
9425 * nptl/sysdeps/pthread/pthread.h: Moved ...
9426 * sysdeps/nptl/pthread.h: ... here.
9427 * nptl/sysdeps/pthread/setxid.h: Moved ...
9428 * sysdeps/nptl/setxid.h: ... here.
9429 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9430 * sysdeps/nptl/sigfillset.c: ... here.
9431 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9432 * sysdeps/nptl/tcb-offsets.h: ... here.
9433 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9434 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9435 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9436 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9437 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9438 * sysdeps/pthread/allocalim.h: ... here.
9439 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9440 * sysdeps/pthread/bits/sigthread.h: ... here.
9441 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9442 * sysdeps/pthread/flockfile.c: ... here.
9443 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9444 * sysdeps/pthread/ftrylockfile.c: ... here.
9445 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9446 * sysdeps/pthread/funlockfile.c: ... here.
9447 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9448 * sysdeps/pthread/posix-timer.h: ... here.
9449 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9450 * sysdeps/pthread/timer_create.c: ... here.
9451 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9452 * sysdeps/pthread/timer_delete.c: ... here.
9453 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9454 * sysdeps/pthread/timer_getoverr.c: ... here.
9455 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9456 * sysdeps/pthread/timer_gettime.c: ... here.
9457 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9458 * sysdeps/pthread/timer_routines.c: ... here.
9459 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9460 * sysdeps/pthread/timer_settime.c: ... here.
9461 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9462 * sysdeps/pthread/tst-timer.c: ... here.
9463 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9464 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9465
9466 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9467 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9468
9469 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9470 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9471 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9472 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9473 Update #include target.
9474 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9475 * sysdeps/i386/i686/nptl/Makefile: ... here.
9476 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9477 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9478 Update #include target.
9479 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9480 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9481 * nptl/sysdeps/i386/Makefile: Moved ...
9482 * sysdeps/i386/nptl/Makefile: ... here.
9483 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9484 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9485 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9486 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9487 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9488 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9489 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9490 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9491 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9492 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9493 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9494 * nptl/sysdeps/i386/tls.h: Moved ...
9495 * sysdeps/i386/nptl/tls.h: ... here.
9496
9497 * sysdeps/sh/Makefile [$(subdir) = csu]
9498 (gen-as-const-headers): Add tcb-offsets.sym.
9499 * nptl/sysdeps/sh/Makefile: File removed.
9500 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9501 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9502 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9503 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9504 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9505 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9506 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9507 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9508 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9509 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9510 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9511 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9512 * nptl/sysdeps/sh/tls.h: Moved ...
9513 * sysdeps/sh/nptl/tls.h: ... here.
9514 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9515 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9516 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9517 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9519 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9521 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9522 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9523 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9525 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9527 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9529 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9531 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9533 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9535 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9537 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9539 Moved ...
9540 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9541 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9542 Moved ...
9543 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9544 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9545 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9546 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9547 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9548 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9549 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9551 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9553 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9555 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9557 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9558 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9559 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9561 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9562
9563 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9564
9565 * posix/spawn_faction_addopen.c: Include string.h.
9566
9567 2014-06-11 Roland McGrath <roland@hack.frob.com>
9568
9569 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9570 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9571 * nptl/sysdeps/x86_64/Makefile: Moved ...
9572 * sysdeps/x86_64/nptl/Makefile: ... here.
9573 * nptl/sysdeps/x86_64/configure: Moved ...
9574 * sysdeps/x86_64/nptl/configure: ... here.
9575 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9576 * sysdeps/x86_64/nptl/configure.ac: ... here.
9577 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9578 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9579 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9580 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9581 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9582 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9583 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9584 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9585 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9586 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9587 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9588 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9589 * nptl/sysdeps/x86_64/tls.h: Moved ...
9590 * sysdeps/x86_64/nptl/tls.h: ... here.
9591 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9592 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9593 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9594 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9595
9596 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9597
9598 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9599
9600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9601
9602 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9603
9604 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9605 type.
9606 [POSIX] (off_t): Likewise.
9607 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9608 [POSIX] (S_ISBLK): Require macro.
9609 [POSIX] (S_ISCHR): Likewise.
9610 [POSIX] (S_ISDIR): Likewise.
9611 [POSIX] (S_ISFIFO): Likewise.
9612 [POSIX] (S_ISREG): Likewise.
9613 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9614 optional-macro.
9615 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9616 type.
9617 [POSIX] (time_t): Likewise.
9618 [POSIX] (timer_t): Likewise.
9619
9620 2014-06-11 Florian Weimer <fweimer@redhat.com>
9621
9622 [BZ #17048]
9623 * posix/spawn_int.h (struct __spawn_action): Make the path string
9624 non-const to support deallocation.
9625 * posix/spawn_faction_addopen.c
9626 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9627 * posix/spawn_faction_destroy.c
9628 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9629 path in all spawn_do_open actions.
9630 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9631 posix_spawn_file_actions_addopen.
9632
9633 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9634
9635 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9636 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9637 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9638 conditional code always true.
9639 (__libc_vfork): New alias.
9640
9641 2014-06-11 Roland McGrath <roland@hack.frob.com>
9642
9643 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9644 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9645
9646 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9647
9648 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9649 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9650
9651 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9652 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9653
9654 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9655 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9656
9657 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9658
9659 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9660 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9661 multiarch strcmp for PPC64.
9662 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9663 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9665 multiarch optimizations.
9666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9667 (__libc_ifunc_impl_list): Likewise.
9668
9669 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9670
9671 * benchtests/scripts/validate_benchout.py: New script.
9672 * benchtests/Makefile (bench-func): Call it.
9673 * benchtests/scripts/benchout.schema.json: New file.
9674
9675 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9676
9677 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9678 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9679 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9680 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9681 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9682 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9683 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9684 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9685 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9686 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9687 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9688 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9689 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9690 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9691 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9692 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9694 Moved ...
9695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9696 ... here.
9697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9698 Moved ...
9699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9701 Moved ...
9702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9703 ... here.
9704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9705 Moved ...
9706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9707 ... here.
9708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9709 Moved ...
9710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9712 Moved ...
9713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9714 ... here.
9715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9716 Moved ...
9717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9718 ... here.
9719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9720 Moved ...
9721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9723 Moved ...
9724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9725 ... here.
9726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9727 Moved ...
9728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9729 ... here.
9730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9731 Moved ...
9732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9733 ... here.
9734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9735 Moved ...
9736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9740 ... here.
9741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9742 Moved ...
9743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9744 ... here.
9745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9746 Moved ...
9747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9748 ... here.
9749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9750 Moved ...
9751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9753 Moved ...
9754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9755 ... here.
9756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9757 Moved ...
9758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9759 ... here.
9760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9761 Moved ...
9762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9764 Moved ...
9765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9766 ... here.
9767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9768 Moved ...
9769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9771 Moved ...
9772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9774 Moved ...
9775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9776 ... here.
9777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9778 Moved ...
9779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9780 ... here.
9781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9782 Moved ...
9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9784 ... here.
9785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9786 Moved ...
9787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9789 Moved ...
9790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9791 ... here.
9792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9793 Moved ...
9794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9795 ... here.
9796 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9797 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9798 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9801 Moved ...
9802 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9803 ... here.
9804 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9805 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9806 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9807 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9809 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9815 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9817 Moved ...
9818 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9820 Moved ...
9821 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9825 Moved ...
9826 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9830 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9831 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9832 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9833
9834 2014-06-10 Wilco <wdijkstr@arm.com>
9835
9836 * math/test-fenv-return.c: New file.
9837 * math/Makefile: Add new test test-fenv-return.
9838
9839 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9840
9841 [BZ #17042]
9842 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9843 when x - 1 is zero.
9844 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9845 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9846 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9847 0.0L for an argument of 1.0L.
9848 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9849 Likewise.
9850 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9851 value when x - 1 is zero.
9852 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9853 * sysdeps/i386/fpu/libm-test-ulps: Update.
9854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9855
9856 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9857
9858 [BZ #15119]
9859 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9860
9861 2014-06-09 Roland McGrath <roland@hack.frob.com>
9862
9863 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9864 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9865
9866 2014-06-09 Roland McGrath <roland@hack.frob.com>
9867
9868 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9869 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9870
9871 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9872 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9873
9874 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9875 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9876
9877 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9878 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9879
9880 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9881 if not already defined.
9882 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9883 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9884 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9885 (TLS_INIT_TP): Use it.
9886 (TLS_DEFINE_INIT_TP): New macro.
9887 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9888
9889 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9890
9891 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9892 constant.
9893 [POSIX] (IXANY): Likewise.
9894 [POSIX] (OLCUC): Likewise.
9895 [POSIX || POSIX2008] (CBAUD): Do not allow.
9896 [POSIX || POSIX2008] (DEFECHO): Likewise.
9897 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9898 [POSIX || POSIX2008] (ECHOKE): Likewise.
9899 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9900 [POSIX || POSIX2008] (EXTA): Likewise.
9901 [POSIX || POSIX2008] (EXTB): Likewise.
9902 [POSIX || POSIX2008] (FLUSHO): Likewise.
9903 [POSIX || POSIX2008] (LOBLK): Likewise.
9904 [POSIX || POSIX2008] (PENDIN): Likewise.
9905 [POSIX || POSIX2008] (SWTCH): Likewise.
9906 [POSIX || POSIX2008] (VDISCARD): Likewise.
9907 [POSIX || POSIX2008] (VDSUSP): Likewise.
9908 [POSIX || POSIX2008] (VLNEXT): Likewise.
9909 [POSIX || POSIX2008] (VREPRINT): Likewise.
9910 [POSIX || POSIX2008] (VSTATUS): Likewise.
9911 [POSIX || POSIX2008] (VWERASE): Likewise.
9912 (B*): Change to B[0123456789]*.
9913 * conform/data/time.h-data [POSIX || UNIX98]
9914 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9915 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9916 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9917 [POSIX] (tm_*): Do not allow.
9918
9919 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9920
9921 * Makefile (install): Don't set LANGUAGE.
9922 * Makefile.in (install): Likewise.
9923 * assert/Makefile (test-assert-ENV): Remove variable.
9924 (test-assert-perr-ENV): Likewise.
9925 * elf/Makefile (neededtest4-ENV): Likewise.
9926 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9927 [$(cross-compiling) = no]: Don't set LANGUAGE.
9928 * io/ftwtest-sh (LANG): Remove variable.
9929 * libio/Makefile (tst-widetext-ENV): Likewise.
9930 * manual/install.texi (Running make install): Don't refer to
9931 environment settings for make install.
9932 * INSTALL: Regenerated.
9933 * nptl/tst-tls6.sh: Don't set LANG.
9934 * posix/globtest.sh (LANG): Remove variable.
9935 * string/Makefile (tester-ENV): Likewise.
9936 (inl-tester-ENV): Likewise.
9937 (noinl-tester-ENV): Likewise.
9938 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9939 [$(cross-compiling) = no]: Don't set LANGUAGE.
9940 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9941 without explicit environment settings.
9942
9943 2014-06-06 Roland McGrath <roland@hack.frob.com>
9944
9945 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9946 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9947 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9948 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9949
9950 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9951
9952 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9953 other files in the crypt directory.
9954 * crypt/crypt.c: Remove duplicate includes.
9955 * crypt/crypt-entry.c: Likewise.
9956 * crypt/crypt_util.c: Likewise.
9957
9958 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9959
9960 * Makeconfig (run-program-env): New variable.
9961 (run-program-prefix-before-env): Likewise.
9962 (run-program-prefix-after-env): Likewise.
9963 (run-program-prefix): Define in terms of new variables.
9964 (built-program-cmd-before-env): New variable.
9965 (built-program-cmd-after-env): Likewise.
9966 (built-program-cmd): Define in terms of new variables.
9967 (test-program-prefix-before-env): New variable.
9968 (test-program-prefix-after-env): Likewise.
9969 (test-program-prefix): Define in terms of new variables.
9970 (test-program-cmd-before-env): New variable.
9971 (test-program-cmd-after-env): Likewise.
9972 (test-program-cmd): Define in terms of new variables.
9973 * Rules (make-test-out): Use $(run-program-env).
9974 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9975 (help): Do not mention environment variables. Mention
9976 --timeoutfactor option.
9977 (timeoutfactor): New variable.
9978 (blacklist_exports): Remove function.
9979 (exports): Remove variable.
9980 (command): Do not include ${exports}.
9981 * manual/install.texi (Configuring and compiling): Do not mention
9982 test wrappers preserving environment variables. Mention that last
9983 assignment to a variable must take precedence.
9984 * INSTALL: Regenerated.
9985 * benchtests/Makefile (run-bench): Use $(run-program-env).
9986 * catgets/Makefile ($(objpfx)test1.cat): Use
9987 $(built-program-cmd-before-env), $(run-program-env) and
9988 $(built-program-cmd-after-env).
9989 ($(objpfx)test2.cat): Do not specify environment variables
9990 explicitly.
9991 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9992 $(run-program-env) and $(built-program-cmd-after-env).
9993 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9994 $(run-program-env) and $(test-program-cmd-after-env).
9995 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9996 explicitly.
9997 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9998 run_program_env and test_program_cmd_after_env arguments.
9999 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10000 * elf/tst-pathopt.sh: Use run_program_env argument.
10001 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10002 $(test-wrapper-env) and $(run-program-env).
10003 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10004 run_program_env arguments.
10005 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10006 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10007 $(test-program-prefix-before-env), $(run-program-env) and
10008 $(test-program-prefix-after-env).
10009 ($(objpfx)tst-gettext2.out): Likewise.
10010 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10011 run_program_env and test_program_prefix_after_env arguments.
10012 * intl/tst-gettext2.sh: Likewise.
10013 * intl/tst-gettext4.sh: Do not set environment variables
10014 explicitly.
10015 * intl/tst-gettext6.sh: Likewise.
10016 * intl/tst-translit.sh: Likewise.
10017 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10018 $(test-program-prefix-before-env), $(run-program-env) and
10019 $(test-program-prefix-after-env).
10020 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10021 run_program_env and test_program_prefix_after_env arguments.
10022 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10023 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10024 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10025 explicitly with each use of ${test_wrapper_env}.
10026 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10027 $(test-program-prefix-before-env), $(run-program-env) and
10028 $(test-program-prefix-after-env).
10029 * posix/tst-getconf.sh: Do not set environment variables
10030 explicitly.
10031 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10032 run_program_env and test_program_prefix_after_env arguments.
10033 * stdio-common/tst-printf.sh: Do not set environment variables
10034 explicitly.
10035 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10036 $(test-program-prefix-before-env), $(run-program-env) and
10037 $(test-program-prefix-after-env).
10038 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10039 run_program_env and test_program_prefix_after_env arguments.
10040 Split $test calls into $test_pre and $test.
10041 * timezone/Makefile (build-testdata): Use
10042 $(built-program-cmd-before-env), $(run-program-env) and
10043 $(built-program-cmd-after-env).
10044
10045 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10046
10047 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10048 strlen for non SHARED builds.
10049
10050 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10051
10052 * nptl/allocatestack.c (check_list): Inlined function...
10053 (__reclaim_stacks): ... here.
10054
10055 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10056
10057 [BZ #15698]
10058 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10059 memory overrun.
10060
10061 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10062
10063 * Rules (make-test-out): Include
10064 LOCPATH=$(common-objpfx)localedata in default environment.
10065 * debug/Makefile (tst-chk1-ENV): Remove variable.
10066 (tst-chk2-ENV): Likewise.
10067 (tst-chk3-ENV): Likewise.
10068 (tst-chk4-ENV): Likewise.
10069 (tst-chk5-ENV): Likewise.
10070 (tst-chk6-ENV): Likewise.
10071 (tst-lfschk1-ENV): Likewise.
10072 (tst-lfschk2-ENV): Likewise.
10073 (tst-lfschk3-ENV): Likewise.
10074 (tst-lfschk4-ENV): Likewise.
10075 (tst-lfschk5-ENV): Likewise.
10076 (tst-lfschk6-ENV): Likewise.
10077 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10078 (tst-iconv7-ENV): Likewise.
10079 * intl/Makefile (LOCPATH-ENV): Likewise.
10080 (tst-codeset-ENV): Likewise.
10081 (tst-gettext3-ENV): Likewise.
10082 (tst-gettext5-ENV): Likewise.
10083 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10084 (tst-fopenloc-ENV): Likewise.
10085 (tst-fgetws-ENV): Remove variable.
10086 (tst-ungetwc1-ENV): Likewise.
10087 (tst-ungetwc2-ENV): Likewise.
10088 (bug-ungetwc2-ENV): Likewise.
10089 (tst-swscanf-ENV): Likewise.
10090 (bug-ftell-ENV): Likewise.
10091 (tst-fgetwc-ENV): Likewise.
10092 (tst-fseek-ENV): Likewise.
10093 (tst-ftell-partial-wide-ENV): Likewise.
10094 (tst-ftell-active-handler-ENV): Likewise.
10095 (tst-ftell-append-ENV): Likewise.
10096 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10097 (tst-regexloc-ENV): Likewise.
10098 (bug-regex1-ENV): Likewise.
10099 (tst-regex-ENV): Likewise.
10100 (tst-regex2-ENV): Likewise.
10101 (bug-regex5-ENV): Likewise.
10102 (bug-regex6-ENV): Likewise.
10103 (bug-regex17-ENV): Likewise.
10104 (bug-regex18-ENV): Likewise.
10105 (bug-regex19-ENV): Likewise.
10106 (bug-regex20-ENV): Likewise.
10107 (bug-regex22-ENV): Likewise.
10108 (bug-regex23-ENV): Likewise.
10109 (bug-regex25-ENV): Likewise.
10110 (bug-regex26-ENV): Likewise.
10111 (bug-regex30-ENV): Likewise.
10112 (bug-regex32-ENV): Likewise.
10113 (bug-regex33-ENV): Likewise.
10114 (bug-regex34-ENV): Likewise.
10115 (bug-regex35-ENV): Likewise.
10116 (tst-rxspencer-ENV): Likewise.
10117 (tst-rxspencer-no-utf8-ENV): Likewise.
10118 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10119 (tst-sscanf-ENV): Likewise.
10120 (tst-swprintf-ENV): Likewise.
10121 (tst-swscanf-ENV): Likewise.
10122 (test-vfprintf-ENV): Likewise.
10123 (scanf13-ENV): Likewise.
10124 (bug14-ENV): Likewise.
10125 (tst-grouping-ENV): Likewise.
10126 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10127 (tst-strtod3-ENV): Likewise.
10128 (tst-strtod4-ENV): Likewise.
10129 (tst-strtod5-ENV): Likewise.
10130 (testmb2-ENV): Likewise./
10131 * string/Makefile (tst-strxfrm-ENV): Likewise.
10132 (tst-strxfrm2-ENV): Likewise.
10133 (bug-strcoll1-ENV): Likewise.
10134 (test-strcasecmp-ENV): Likewise.
10135 (test-strncasecmp-ENV): Likewise.
10136 * time/Makefile (tst-strptime-ENV): Likewise.
10137 (tst-ftime_l-ENV): Likewise.
10138 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10139 (tst-mbrtowc-ENV): Likewise.
10140 (tst-wcrtomb-ENV): Likewise.
10141 (tst-mbrtowc2-ENV): Likewise.
10142 (tst-c16c32-1-ENV): Likewise.
10143 (tst-mbsnrtowcs-ENV): Likewise.
10144
10145 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10146
10147 * manual/resource.texi (How to get information about the memory
10148 subsystem?): Fix typo.
10149 Reported by Peon de la Parra Ivan <peon@keba.com>
10150
10151 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10152
10153 [BZ #16882]
10154 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10155 (pthread_spin_lock): Branch out of spin loop to proper location.
10156 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10157 (pthread_spin_lock): Likewise.
10158
10159 * nptl/tst-spin4.c: New test.
10160 * nptl/Makefile (tests): Add tst-spin4.
10161
10162 2014-06-03 Andreas Schwab <schwab@suse.de>
10163
10164 [BZ #15946]
10165 * resolv/res_send.c (send_dg): Reload file descriptor after
10166 calling reopen.
10167
10168 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10169
10170 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10171
10172 2014-06-03 Richard Henderson <rth@redhat.com>
10173
10174 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10175 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10176 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10177 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10178 in the SAVE_PID block.
10179 (__libc_vfork): New alias.
10180 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10181
10182 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10183 child in registers, not on the stack. Remove RESET_PID conditionals.
10184 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10185
10186 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10187
10188 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10189
10190 2014-06-03 Wilco <wdijkstr@arm.com>
10191
10192 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10193 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10194 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10195 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10196 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10197 Likewise.
10198
10199 2014-06-03 Wilco <wdijkstr@arm.com>
10200
10201 * sysdeps/aarch64/fpu/math_private.h
10202 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10203 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10204 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10205 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10206 Fix declarations.
10207
10208 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10209
10210 * crypt/crypt-private.h: Include ufc-crypt.h.
10211 (__b64_from_24bit): Declare extern.
10212 * crypt/crypt_util.c(__b64_from_24bit): New function.
10213 (b64t): New static const variable.
10214 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10215 (b64t): Remove variable.
10216 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10217 * crypt/sha256-crypt.c: Include crypt-private.h.
10218 (b64t): Remove variable.
10219 (__sha256_crypt_r): Remove b64_from_24bit and replace
10220 with __b64_from_24bit.
10221 * crypt/sha512-crypt.c: Likewise.
10222
10223 2014-06-02 Roland McGrath <roland@hack.frob.com>
10224
10225 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10226 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10227 Label the code __libc_vfork rather than __vfork.
10228 [!NOT_IN_libc] (vfork): Define as weak alias.
10229 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10230 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10231 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10232
10233 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10234
10235 * malloc/malloc.c (malloc_info): Fix format specifier for
10236 n_mmaps.
10237
10238 2014-06-02 Wilco <wdijkstr@arm.com>
10239
10240 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10241 FPCR write.
10242
10243 2014-06-02 Wilco <wdijkstr@arm.com>
10244
10245 [BZ #17009]
10246 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10247 Rewrite to reduce FPCR/FPSR accesses.
10248
10249 2014-06-01 David S. Miller <davem@davemloft.net>
10250
10251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10252
10253 2014-05-31 David S. Miller <davem@davemloft.net>
10254
10255 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10256 to occur in round to nearest mode when |x| >= 2.0
10257
10258 2014-05-30 Richard Henderson <rth@twiddle.net>
10259
10260 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10261 (PSEUDO_RET_NOERRNO): Remove.
10262 (ret): Don't redefine.
10263 (ret_NOERRNO): Define in terms of ret.
10264 (ret_ERRVAL): Likewise.
10265
10266 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10267 use of PSEUDO_RET; perform the error check directly.
10268
10269 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10270
10271 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10272 with __int128_t.
10273
10274 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10275
10276 * malloc/malloc (malloc_info): Fix formatting.
10277
10278 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10279 Roland McGrath <roland@hack.frob.com>
10280
10281 * malloc/malloc (malloc_info): Also print mmapped statistics.
10282
10283 2014-05-30 Roland McGrath <roland@hack.frob.com>
10284
10285 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10286 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10287
10288 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10289
10290 * malloc/malloc.c (malloc_info): Inline mi_arena.
10291
10292 2014-05-29 Richard Henderson <rth@twiddle.net>
10293
10294 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10295 Remove comma before expanding ASM_ARGS_##nr.
10296 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10297 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10298 of ASM_ARGS_##nr.
10299 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10300 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10301 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10302 (ASM_ARGS_1): Add leading comma.
10303
10304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10305 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10306 to __errno_location.
10307 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10308 Remove the expected plt for __errno_location.
10309
10310 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10311 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10312 call to __read_tp.
10313
10314 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10315 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10316 it and break it down.
10317 (DOCARGS_0, DOCARGS_1): Do nothing.
10318 (DOCARGS_2): Update to store into the new stack frame.
10319 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10320 (UNDOCARGS_1): Update to restore from the new stack frame.
10321 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10322 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10323
10324 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10325 (SINGLE_THREAD_P): New parameter for result regno.
10326 (PSEUDO): Update to match; use cbz instead of beq.
10327
10328 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10329 Use ENTRY to define the _nocancel entry point. Share the syscall
10330 and syscall error check paths with the cancel path.
10331 (PSEUDO_END): New.
10332
10333 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10334 whitespace; tabs before and after asm mnemonics.
10335
10336 2014-05-29 Eric Wong <normalperson@yhbt.net>
10337
10338 [BZ #15132]
10339 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10340 Call fstat64 or stat64 internally, depending on arguments passed.
10341 Replace stat buffer argument with file descriptor argument.
10342 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10343 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10344 Pass fd to __internal_statvfs instead of calling fstat64.
10345 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10346 Pass fd to __internal_statvfs64 instead of calling fstat64.
10347 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10348 Pass -1 to __internal_statvfs instead of calling stat64.
10349 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10350 Pass -1 to __internal_statvfs64 instead of calling stat64.
10351
10352 2014-05-28 Roland McGrath <roland@hack.frob.com>
10353
10354 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10355 that was previously under [RESET_PID].
10356 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10357
10358 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10359 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10360
10361 2014-05-27 Roland McGrath <roland@hack.frob.com>
10362
10363 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10364
10365 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10366 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10367
10368 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10369
10370 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10371
10372 2014-05-27 Andreas Schwab <schwab@suse.de>
10373
10374 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10375 TLS_INIT_TP macro.
10376 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10377 * elf/rtld.c (init_tls, dl_main): Likewise.
10378 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10379 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10380 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10381 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10382 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10383 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10384 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10385 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10386 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10387 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10388 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10389 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10390 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10391 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10392 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10393 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10394 * sysdeps/generic/tls.h: Update description.
10395
10396 2014-05-27 Will Newton <will.newton@linaro.org>
10397
10398 [BZ #16990]
10399 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10400 and restore r2 rather than just restoring.
10401
10402 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10403
10404 [BZ #16724]
10405 * libio/tst-ftell-append.c: New test case.
10406 * libio/Makefile (tests): Add test case.
10407 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10408 append mode.
10409 * libio/wfileops.c (do_ftell_wide): Likewise.
10410
10411 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10412
10413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10414
10415 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10416 ...
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10419 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10420 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10421 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10422 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10423 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10424 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10426 Moved ...
10427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10428 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10429 Moved ...
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10431 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10432 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10433 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10434 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10435 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10436 ...
10437 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10438 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10439 Moved ...
10440 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10441 here.
10442 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10443 ...
10444 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10445 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10446 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10447
10448 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10449 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10450 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10451 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10452
10453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10454 merge into ...
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10456 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10457 ...
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10459 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10460 ...
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10463 Moved ...
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10465 here.
10466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10467 Moved ...
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10470 Moved ...
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10472
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10474 conditional [RESET_PID].
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10476 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10477 removed.
10478 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10479 removed.
10480
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10482 <tcb-offsets.h>.
10483 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10484 (__libc_vfork): New strong alias.
10485 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10486 removed.
10487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10488 Removed.
10489
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10491 <tcb-offsets.h>.
10492 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10493 (__libc_vfork): New strong alias.
10494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10495 removed.
10496 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10497 removed.
10498
10499 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10500
10501 * malloc/malloc.c (mi_arena): New function.
10502 (malloc_info): Remove nested function mi_arena. Call non-nosted
10503 function mi_arena.
10504
10505 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10506
10507 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10508 by insrwi.
10509 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10510 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10511 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10512 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10513 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10514 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10515 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10516
10517 2014-05-26 Andreas Schwab <schwab@suse.de>
10518
10519 [BZ #16984]
10520 * locale/programs/repertoire.c (repertoire_read): Add slash
10521 between I18NPATH element and file name.
10522 * locale/programs/locfile.c (locfile_read): Likewise.
10523
10524 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10525
10526 * nptl/pthread_mutexattr_settype.c
10527 (__pthread_mutexattr_settype):
10528 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10529
10530 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10531
10532 * nptl/tst-mutex5 (do_test):
10533 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10534
10535 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10536
10537 * benchtests/README: Document 'init' directive.
10538 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10539 BENCH_INIT.
10540 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10541 (parse_file): Recognize 'init' directive.
10542
10543 2014-05-26 Kyle McMartin <kyle@redhat.com>
10544
10545 [BZ #16796]
10546 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10547 alignment of struct pthread.
10548
10549 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10550
10551 [BZ #16878]
10552 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10553 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10554 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10555 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10556
10557 2014-05-25 Richard Henderson <rth@twiddle.net>
10558
10559 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10560 (SINGLE_THREAD_P_PIC): Remove.
10561 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10562 (SINGLE_THREAD_P_PIC): Remove.
10563
10564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10565 branch to syscall error ...
10566 (PSEUDO): ... here.
10567 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10568 from __local_syscall_error to .Lsyscall_error.
10569 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10570 (SYSCALL_ERROR): Update label name.
10571
10572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10573 Do not use DOARGS/UNDOARGS.
10574 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10575 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10576 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10577 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10578 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10579
10580 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10581 block comment.
10582
10583 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10584 define if !NOT_IN_libc.
10585 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10586 define with non-default symbol versions.
10587
10588 2014-05-23 Richard Henderson <rth@twiddle.net>
10589
10590 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10591 (vfork, __vfork): Define via compat_symbol.
10592
10593 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10594 [!HAVE_IFUNC] (vfork_compat): Remove.
10595 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10596
10597 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10598
10599 [BZ #16978]
10600 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10601 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10602 variable.
10603
10604 2014-05-23 Richard Henderson <rth@twiddle.net>
10605
10606 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10607 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10608 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10609 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10610
10611 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10612 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10613 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10614 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10615 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10616 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10617 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10618 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10619 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10620 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10621 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10622 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10623 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10626 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10628 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10630 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10634 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10636 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10638 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10639 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10640 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10641 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10642 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10644 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10650 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10651 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10652 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10653 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10654 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10655 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10656 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10657 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10658 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10659 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10660 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10661 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10662 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10663 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10664 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10665 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10666 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10667
10668 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10669 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10670 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10671 before exiting on error.
10672 (__libc_vfork): New strong alias.
10673 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10674 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10675
10676 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10677 that was previously under [RESET_PID].
10678 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10679
10680 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10681
10682 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10683
10684 [BZ #16977]
10685 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10686 value when x - 1 is zero.
10687 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10688 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10689 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10690 0.0L for an argument of 1.0L.
10691 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10692 Likewise.
10693 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10694 value when x - 1 is zero.
10695 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10696 * sysdeps/i386/fpu/libm-test-ulps: Update.
10697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10698
10699 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10700
10701 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10702 alphasort and versionsort.
10703
10704 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10705
10706 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10707 macro.
10708 [copysignf]: Likewise.
10709
10710 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10711
10712 * crypt/md5-crypt.c: Fix formatting.
10713
10714 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10715
10716 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10717 (b64_from_24bit): New function.
10718
10719 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10720
10721 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10722 libc_hidden_builtin_def to ifunc.
10723 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10724 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10725
10726 2014-05-21 Roland McGrath <roland@hack.frob.com>
10727
10728 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10729 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10730
10731 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10732
10733 * nscd/Depend (linuxthreads): Remove.
10734 (nptl): Add.
10735 * resolv/Depend (linuxthreads): Remove.
10736 * rt/Depend (linuxthreads): Remove.
10737
10738 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10739 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10740 $(common-objpfx)elf/.
10741 (link-libc-before-gnulib): Likewise.
10742 (elfobjdir): Remove variable.
10743 * Makefile (install): Use $(elf-objpfx) instead of
10744 $(common-objpfx)elf/.
10745 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10746 $(elfobjdir)/.
10747 (link-libc-deps): Likewise.
10748 ($(common-objpfx)libc.so): Likewise.
10749 ($(common-objpfx)linkobj/libc.so): Likewise.
10750 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10751 instead of $(common-objpfx)elf/.
10752 (symbolic-link-list): Likewise.
10753 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10754 [$(cross-compiling) = no]: Likewise.
10755 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10756 $(elfobjdir)/.
10757 (static-gnulib-arch): Likewise.
10758 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10759 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10760 $(common-objpfx)elf/.
10761
10762 2014-05-21 Richard Henderson <rth@redhat.com>
10763
10764 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10765 (SINGLE_THREAD_P): Use the correct width load. Fold
10766 into the ldr offset.
10767
10768 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10769 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10770
10771 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10772
10773 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10774 (libgcc_s_resume): Use __attribute_used__.
10775 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10776 Likewise.
10777
10778 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10779
10780 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10781 optimization when used with float constants.
10782
10783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10784
10785 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10786
10787 [BZ #16915]
10788 * locale/nl_langinfo_l.c: Make direct reference to every
10789 _nl_current_CATEGORY symbol.
10790 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10791 (tests-static): Add tst-langinfo-static.
10792 (tests-special): Add tst-langinfo-static.out.
10793 ($(objpfx)tst-langinfo.out): Redirect output.
10794 ($(objpfx)tst-langinfo-static.out): New.
10795 * localedata/tst-langinfo.sh: Send output to stdout.
10796 * localedata/tst-langinfo-static.c: New file.
10797
10798 [BZ #16965]
10799 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10800 when the shift amount is modulo the limb size.
10801
10802 2014-05-20 Richard Henderson <rth@redhat.com>
10803
10804 [BZ #16967]
10805 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10806 Change type of sa_flags from unsigned int to int.
10807
10808 [BZ #16966]
10809 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10810
10811 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10812
10813 2014-05-20 Will Newton <will.newton@linaro.org>
10814
10815 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10816 Test the return value of the system call in the nocancel case.
10817
10818 2014-05-20 Will Newton <will.newton@linaro.org>
10819 Yvan Roux <yvan.roux@linaro.org>
10820
10821 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10822 #include of asm/ptrace.h.
10823 (PTRACE_GET_THREAD_AREA): Remove #undef.
10824 (PTRACE_GETHBPREGS): Likewise.
10825 (PTRACE_SETHBPREGS): Likewise.
10826 (struct user_regs_struct): New structure.
10827 (struct user_fpsimd_struct): New structure.
10828 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10829 #include of asm/ptrace.h and second #include of sys/user.h.
10830 (PTRACE_GET_THREAD_AREA): Remove #undef.
10831 (PTRACE_GETHBPREGS): Likewise.
10832 (PTRACE_SETHBPREGS): Likewise.
10833 (ELF_NGREG): Use new struct user_regs_struct.
10834 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10835
10836 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10837
10838 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10839 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10840
10841 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10842
10843 [BZ #16958]
10844 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10845 membar to avoid block loads/stores to overlap previous stores.
10846
10847 2014-05-17 Richard Henderson <rth@redhat.com>
10848
10849 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10850 Create the __##syscall_name##_nocancel entry point.
10851 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10852 Remove; let the sysdep-cancel.h code create it.
10853
10854 2014-05-17 David S. Miller <davem@davemloft.net>
10855
10856 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10857 Protect with __USE_GNU.
10858 (TIOCSET_TEMPT): Likewise.
10859 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10860 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10861 these are already provided in bits/ioctl-types.h
10862
10863 2014-05-16 Roland McGrath <roland@hack.frob.com>
10864
10865 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10866 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10867
10868 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10869 Use wait4 regardless of [__NR_waitpid].
10870
10871 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10872
10873 PR libgcc/60166
10874 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10875 (_FP_NANSIGN_Q): Set the quiet bit.
10876
10877 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10878
10879 * benchtests/Makefile
10880 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10881 not $(common-objpfx)math/libm.so.
10882 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10883 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10884 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10885 $(common-objpfx)dlfcn/libdl.so.
10886 ($(objpfx)tst-audit8): Depend on $(libm), not
10887 $(common-objpfx)math/libm.so.
10888 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10889 not $(common-objpfx)dlfcn/libdl.so.
10890 * math/Makefile
10891 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10892 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10893 [$(build-shared) = yes].
10894 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10895 $(common-objpfx)nptl/libpthread.so.
10896 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10897 $(common-objpfx)math/libm.so$(libm.so-version) or
10898 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10899 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10900 $(common-objpfx)dlfcn/libdl.so.
10901 * setjmp/Makefile (link-libm): Remove variable.
10902 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10903 * stdio-common/Makefile (link-libm): Remove variable.
10904 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10905 * stdlib/Makefile (link-libm): Remove variable.
10906 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10907 ($(objpfx)tst-strtod-round): Likewise.
10908 ($(objpfx)tst-tininess): Likewise.
10909 ($(objpfx)tst-strtod-underflow): Likewise.
10910 ($(objpfx)tst-strtod6): Likewise.
10911 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10912 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10913 $(common-objpfx)dlfcn/libdl.so.
10914
10915 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916
10917 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10918 BSD terminal modes definitions.
10919
10920 2014-05-16 Roland McGrath <roland@hack.frob.com>
10921
10922 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10923 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10924
10925 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10926 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10927 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10928 Don't do #include_next.
10929 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10930 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10931 Don't do #include_next.
10932 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10933 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10934 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10935 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10936
10937 2014-05-16 Allan McRae <allan@archlinux.org>
10938
10939 * po/sv.po: Update Swedish translation from translation project.
10940
10941 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10942 in sed expression.
10943
10944 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10945
10946 [BZ #16917]
10947 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10948 errno if the TIOCGPTN ioctl fails with an error different than
10949 EINVAL.
10950 * login/tst-ptsname.c: New file.
10951 * login/Makefile (tests): Add tst-ptsname.
10952
10953 [BZ #16943]
10954 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10955 and prlimit64.
10956
10957 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10958
10959 [BZ #16849]
10960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10961 herrno to return EAI_AGAIN.
10962
10963 2014-05-14 Roland McGrath <roland@hack.frob.com>
10964
10965 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10966 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10967 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10968 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10970 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10971 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10972 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10984 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10986 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10990 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10992 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10994 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10996 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10998 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11000 Moved ...
11001 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11003 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11005 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11007 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11009 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11011 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11013 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11015 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11017 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11019 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11021 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11023 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11025 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11027 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11029 Moved ...
11030 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11032 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11034 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11036 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11038 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11046 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11048 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11050 Moved ...
11051 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11053 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11054
11055 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11056 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11057 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11058 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11059 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11060 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11061 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11062 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11063 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11064 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11065 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11066 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11067 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11068 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11069 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11070 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11071 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11072 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11073 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11075 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11076 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11077 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11079 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11081 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11082 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11083 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11084 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11085 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11086
11087 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11088 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11089
11090 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11091 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11092 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11093 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11094 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11095 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11096 Moved ...
11097 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11098 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11099 Moved ...
11100 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11101 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11102 Moved ...
11103 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11104 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11105 Moved ...
11106 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11107 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11108 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11109 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11110 Moved ...
11111 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11112 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11113 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11115 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11117 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11118 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11119 Moved ...
11120 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11122 Moved ...
11123 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11124 ... here.
11125 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11126 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11127 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11128 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11129 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11130 Moved ...
11131 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11132 ... here.
11133 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11134 Moved ...
11135 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11136 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11137 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11138 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11139 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11140 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11141 Moved ...
11142 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11143 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11144 Moved ...
11145 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11146 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11147 Moved ...
11148 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11149 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11150 Moved ...
11151 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11153 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11155 Moved ...
11156 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11157 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11158 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11159 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11160 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11161 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11162 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11163 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11164 Moved ...
11165 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11166 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11167 Moved ...
11168 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11169 ... here.
11170 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11171 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11172 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11173 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11174 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11175 Moved ...
11176 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11177 ... here.
11178 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11179 Moved ...
11180 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11181 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11182 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11183 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11184 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11185 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11186 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11188 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11189 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11190 Moved ...
11191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11192 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11193 Moved ...
11194 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11195 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11196 Moved ...
11197 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11198 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11199 Moved ...
11200 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11202 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11204 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11206 Moved ...
11207 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11209 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11211 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11212 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11213 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11215 Moved ...
11216 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11217 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11218 Moved ...
11219 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11220 ... here.
11221 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11222 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11223 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11224 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11226 Moved ...
11227 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11228 ... here.
11229 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11230 Moved ...
11231 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11232 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11233 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11234 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11235 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11236 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11237 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11239 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11241 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11242
11243 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11244 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11245
11246 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11247 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11248
11249 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11250 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11251 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11253 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11255 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11257 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11259 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11260 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11261 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11263 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11265 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11267 Moved ...
11268 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11270 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11271 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11272 Moved ...
11273 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11275 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11277 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11279 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11280 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11281 Moved ...
11282 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11283 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11284 Moved ...
11285 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11286 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11287 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11288 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11289 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11291 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11293 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11295 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11296 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11297 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11298 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11299 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11300 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11301 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11302
11303 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11304 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11305 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11306 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11307 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11308
11309 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11310 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11312 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11313 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11314 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11315 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11316 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11317 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11318 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11319
11320 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11322
11323 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11324 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11325 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11326 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11327 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11328 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11329 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11330 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11331 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11332 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11333 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11334 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11335 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11336 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11338 Update #include.
11339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11340 Likewise.
11341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11342 Likewise.
11343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11344 Likewise.
11345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11346 Likewise.
11347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11348 Likewise.
11349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11350 Likewise.
11351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11352 Likewise.
11353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11354 Likewise.
11355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11356 Likewise.
11357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11358 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11359 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11360 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11361 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11362 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11363 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11364 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11365 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11366 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11367 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11368 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11369 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11370 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11371 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11372
11373 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11374 that was previously under [RESET_PID].
11375 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11376 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11377 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11378
11379 * sysdeps/i386/nptl/Implies: New file.
11380 * sysdeps/x86_64/nptl/Implies: New file.
11381 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11382 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11384 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11385
11386 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11387 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11388 (__libc_vfork): New strong alias.
11389 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11390 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11391
11392 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11393 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11394 (__libc_vfork): New strong alias.
11395 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11396 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11397
11398 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11399 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11400 (__libc_vfork): New strong alias.
11401 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11402 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11403 * nptl/pt-vfork.c: New file.
11404 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11405 (libpthread: GLIBC_2.20): New version set (empty).
11406
11407 2014-05-14 Will Newton <will.newton@linaro.org>
11408
11409 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11410 rather than #if.
11411
11412 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11413
11414 [BZ #16564]
11415 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11416 arguments with exponent 65 or above.
11417 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11418 arguments 0x1p113L or above.
11419 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11420 to arguments 0x1p107L or above.
11421 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11422 positive arguments with exponent 65 or above.
11423 * math/auto-libm-test-in: Add more tests of log1p.
11424 * math/auto-libm-test-out: Regenerated.
11425
11426 [BZ #16928]
11427 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11428 non-finite arguments is +0.
11429 * math/s_cacosf.c (__cacosf): Likewise.
11430 * math/s_cacosl.c (__cacosl): Likewise.
11431 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11432 * sysdeps/i386/fpu/libm-test-ulps: Update.
11433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11434
11435 [BZ #16927]
11436 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11437 value.
11438 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11439 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11440 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11441 for explicit high bit of mantissa when testing for argument equal
11442 to 1.
11443 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11444 * sysdeps/i386/fpu/libm-test-ulps: Update.
11445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11446
11447 [BZ #16516]
11448 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11449 (__erf): Scale by 16 instead of 8 in potentially underflowing
11450 case. Ensure exception if result actually underflows.
11451 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11452 (__erff): Scale by 16 instead of 8 in potentially underflowing
11453 case. Ensure exception if result actually underflows.
11454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11455 (efx8): Remove variable.
11456 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11457 case. Ensure exception if result actually underflows.
11458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11459 (efx8): Remove variable.
11460 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11461 case. Ensure exception if result actually underflows.
11462 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11463 (efx8): Remove variable.
11464 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11465 case. Ensure exception if result actually underflows.
11466 * math/auto-libm-test-in: Add more tests of erf.
11467 * math/auto-libm-test-out: Regenerated.
11468
11469 2014-05-14 Andreas Schwab <schwab@suse.de>
11470
11471 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11472 Remove code conditionalized on USE___THREAD.
11473
11474 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11475 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11476 not definedness.
11477
11478 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11479
11480 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11481 Define unconditionally.
11482 (__ASSUME_O_CLOEXEC): Likewise.
11483 (__ASSUME_SOCK_CLOEXEC): Likewise.
11484 (__ASSUME_IN_NONBLOCK): Likewise.
11485 (__ASSUME_PIPE2): Likewise.
11486 (__ASSUME_EVENTFD2): Likewise.
11487 (__ASSUME_SIGNALFD4): Likewise.
11488 (__ASSUME_DUP3): Likewise.
11489 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11490 (__ASSUME_DUP3): Do not define.
11491 (__ASSUME_EVENTFD2): Likewise.
11492 (__ASSUME_IN_NONBLOCK): Likewise.
11493 (__ASSUME_O_CLOEXEC): Likewise.
11494 (__ASSUME_PIPE2): Likewise.
11495 (__ASSUME_SIGNALFD4): Likewise.
11496 (__ASSUME_SOCK_CLOEXEC): Likewise.
11497 (__ASSUME_UTIMES): Undefine.
11498 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11499 (__ASSUME_UTIMES): Do not define.
11500 (__ASSUME_O_CLOEXEC): Likewise.
11501 (__ASSUME_SOCK_CLOEXEC): Likewise.
11502 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11503 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11504 0x020621].
11505 (__ASSUME_PIPE2): Likewise.
11506 (__ASSUME_EVENTFD2): Likewise.
11507 (__ASSUME_SIGNALFD4): Likewise.
11508 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11509 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11510 Do not define.
11511 (__ASSUME_EVENTFD2): Likewise.
11512 (__ASSUME_SIGNALFD4): Likewise.
11513 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11514 (__ASSUME_32BITUIDS): Likewise.
11515 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11516 (__ASSUME_IPC64): Likewise.
11517 (__ASSUME_ST_INO_64_BIT): Likewise.
11518 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11519 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11520 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11521 (__ASSUME_UTIMES): Do not define.
11522 (__ASSUME_PSELECT): Likewise.
11523 (__ASSUME_PPOLL): Likewise.
11524 (__ASSUME_O_CLOEXEC): Likewise.
11525 (__ASSUME_SOCK_CLOEXEC): Likewise.
11526 (__ASSUME_IN_NONBLOCK): Likewise.
11527 (__ASSUME_PIPE2): Likewise.
11528 (__ASSUME_EVENTFD2): Likewise.
11529 (__ASSUME_SIGNALFD4): Likewise.
11530 (__ASSUME_DUP3): Likewise.
11531 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11532 (__ASSUME_UTIMES): Likewise.
11533 (__ASSUME_O_CLOEXEC): Likewise.
11534 (__ASSUME_SOCK_CLOEXEC): Likewise.
11535 (__ASSUME_IN_NONBLOCK): Likewise.
11536 (__ASSUME_PIPE2): Likewise.
11537 (__ASSUME_EVENTFD2): Likewise.
11538 (__ASSUME_SIGNALFD4): Likewise.
11539 (__ASSUME_DUP3): Likewise.
11540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11541 (__ASSUME_UTIMES): Likewise.
11542 (__ASSUME_O_CLOEXEC): Likewise.
11543 (__ASSUME_SOCK_CLOEXEC): Likewise.
11544 (__ASSUME_IN_NONBLOCK): Likewise.
11545 (__ASSUME_PIPE2): Likewise.
11546 (__ASSUME_EVENTFD2): Likewise.
11547 (__ASSUME_SIGNALFD4): Likewise.
11548 (__ASSUME_DUP3): Likewise.
11549 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11550 Likewise.
11551 (__ASSUME_UTIMES): Likewise.
11552 (__ASSUME_EVENTFD2): Likewise.
11553 (__ASSUME_SIGNALFD4): Likewise.
11554 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11555 (__ASSUME_O_CLOEXEC): Likewise.
11556 (__ASSUME_SOCK_CLOEXEC): Likewise.
11557 (__ASSUME_IN_NONBLOCK): Likewise.
11558 (__ASSUME_PIPE2): Likewise.
11559 (__ASSUME_EVENTFD2): Likewise.
11560 (__ASSUME_SIGNALFD4): Likewise.
11561 (__ASSUME_DUP3): Likewise.
11562 (__ASSUME_UTIMES): Undefine.
11563
11564 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11565 feclearexcept. Remove symbol versioning code.
11566 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11567 symbol versioning code.
11568 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11569 symbol versioning code.
11570 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11571 feupdateenv. Remove symbol versioning code.
11572 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11573 fegetexceptflag. Remove symbol versioning code.
11574 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11575 fesetexceptflag. Remove symbol versioning code.
11576 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11577 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11578 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11579 (__posix_fadvise64_l32): Remove prototype.
11580 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11581 code.
11582
11583 2014-05-13 Roland McGrath <roland@hack.frob.com>
11584
11585 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11586 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11587 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11588 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11589
11590 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11591
11592 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11593 current working directory
11594
11595 2014-05-13 Roland McGrath <roland@hack.frob.com>
11596
11597 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11598 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11599 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11600 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11601 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11602 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11603 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11604 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11605 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11606 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11607 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11608 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11609 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11610 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11611 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11612 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11613 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11614 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11615 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11616 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11617 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11618 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11619 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11620 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11621 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11622 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11626 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11628 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11629 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11630 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11631 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11632 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11633 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11634 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11635 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11636 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11637 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11638 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11639
11640 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11641 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11642
11643 * sysdeps/unix/sysv/linux/arm/Makefile
11644 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11645 Add rt-aeabi_unwind_cpp_pr1.
11646 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11647 Add nptl-aeabi_unwind_cpp_pr1.
11648 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11649 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11650 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11651 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11652 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11653 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11654
11655 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11656 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11657 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11658 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11659
11660 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11661 Deconditionalize the code that was previously under [RESET_PID].
11662 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11663
11664 * sysdeps/generic/exit-thread.h: New file.
11665 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11666 * include/unistd.h (__exit_thread): Remove declaration.
11667 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11668 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11669 * csu/libc-start.c: Include <exit-thread.h>.
11670 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11671 * nptl/pthread_create.c: Include <exit-thread.h>.
11672 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11673 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11674 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11675 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11676 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11677 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11678 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11679 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11680 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11681 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11682 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11683 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11684 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11685 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11686 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11687 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11688 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11689
11690 2014-05-13 Andreas Schwab <schwab@suse.de>
11691
11692 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11693
11694 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11695
11696 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11697 (__ASSUME_UTIMES): Do not condition on kernel version.
11698 (__ASSUME_PSELECT): Define unconditionally.
11699 (__ASSUME_PPOLL): Likewise.
11700 (__ASSUME_ATFCTS): Likewise.
11701 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11702 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11703 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11704 (__ASSUME_UTIMENSAT): Define unconditionally.
11705 (__ASSUME_PRIVATE_FUTEX): Likewise.
11706 (__ASSUME_FALLOCATE): Likewise.
11707 (__ASSUME_O_CLOEXEC): Likewise.
11708 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11709 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11710 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11711 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11712 (__ASSUME_IN_NONBLOCK): Likewise.
11713 (__ASSUME_PIPE2): Likewise.
11714 (__ASSUME_EVENTFD2): Likewise.
11715 (__ASSUME_SIGNALFD4): Likewise.
11716 (__ASSUME_DUP3): Likewise.
11717 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11718 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11719 (__ASSUME_AT_RANDOM): Likewise.
11720 (__ASSUME_PREADV): Likewise.
11721 (__ASSUME_PWRITEV): Likewise.
11722 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11723 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11724 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11725 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11726 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11727 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11728 (__ASSUME_O_CLOEXEC): Define unconditionally.
11729 (__ASSUME_PSELECT): Do not undefine conditionally.
11730 (__ASSUME_PPOLL): Likewise.
11731 (__ASSUME_ATFCTS): Likewise.
11732 (__ASSUME_SET_ROBUST_LIST): Likewise.
11733 (__ASSUME_UTIMENSAT): Likewise.
11734 (__ASSUME_FDATASYNC): Define unconditionally.
11735 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11736 (__ASSUME_SIGFRAME_V2): Likewise.
11737 )__ASSUME_EVENTFD2): Likewise.
11738 (__ASSUME_SIGNALFD4): Likewise.
11739 (__ASSUME_PSELECT): Do not undefine conditionally.
11740 (__ASSUME_PPOLL): Likewise.
11741 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11742 (__ASSUME_PSELECT): Define unconditionally.
11743 (__ASSUME_PPOLL): Likewise.
11744 (__ASSUME_O_CLOEXEC): Likewise.
11745 (__ASSUME_SOCK_CLOEXEC): Likewise.
11746 (__ASSUME_IN_NONBLOCK): Likewise.
11747 (__ASSUME_PIPE2): Likewise.
11748 (__ASSUME_EVENTFD2): Likewise.
11749 (__ASSUME_SIGNALFD4): Likewise.
11750 (__ASSUME_DUP3): Likewise.
11751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11752 (__ASSUME_O_CLOEXEC): Likewise.
11753 (__ASSUME_SOCK_CLOEXEC): Likewise.
11754 (__ASSUME_IN_NONBLOCK): Likewise.
11755 (__ASSUME_PIPE2): Likewise.
11756 (__ASSUME_EVENTFD2): Likewise.
11757 (__ASSUME_SIGNALFD4): Likewise.
11758 (__ASSUME_DUP3): Likewise.
11759 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11760 (__ASSUME_EVENTFD2): Likewise.
11761 (__ASSUME_SIGNALFD4): Likewise.
11762 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11763
11764 2014-05-12 Andreas Schwab <schwab@suse.de>
11765
11766 [BZ #16932]
11767 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11768 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11769 than maximum RPC packet size.
11770 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11771 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11772 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11773 (_nss_nis_getservbyport_r): Likewise.
11774
11775 2014-05-12 Will Newton <will.newton@linaro.org>
11776
11777 * malloc/Makefile (tests): Add tst-mallopt.
11778 * malloc/tst-mallopt.c: New file.
11779
11780 2014-05-09 Roland McGrath <roland@hack.frob.com>
11781
11782 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11783 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11784
11785 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11786
11787 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11788 (tst-tlsmod6.so): Likewise.
11789
11790 2014-05-09 Roland McGrath <roland@hack.frob.com>
11791
11792 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11793
11794 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11795
11796 [BZ #16064]
11797 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11798 and <dl-procinfo.h>.
11799 (__fegetenv): Save SSE state in envp->__eip if supported.
11800 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11801 envp->__eip if supported.
11802 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11803 and <dl-procinfo.h>.
11804 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11805 __data_offset and __data_selector in environment to 0. Set SSE
11806 state if supported.
11807 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11808 test-fenv-sse.
11809 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11810 -mfpmath=sse.
11811 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11812
11813 2014-05-09 Will Newton <will.newton@linaro.org>
11814
11815 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11816 and libc_relro_required for ARM.
11817 * sysdeps/arm/preconfigure: Regenerate.
11818
11819 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11820 Stefan Liebler <stli@linux.vnet.ibm.com>
11821
11822 * config.make.in (enable-lock-elision): New Makefile variable.
11823 * configure.ac: Likewise.
11824 * configure: Regenerate.
11825 * sysdeps/s390/configure.ac:
11826 Add check for gcc transactions support.
11827 * sysdeps/s390/configure: Regenerate.
11828 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11829 Build elision files if enabled.
11830 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11831 Add lock elision support for s390.
11832 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11833 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11834 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11835 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11836 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11837 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11838 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11839 Likewise.
11840 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11841 Likewise.
11842 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11843 Likewise.
11844 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11845 Likewise.
11846 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11847 (__lll_timedlock_elision, __lll_lock_elision)
11848 (__lll_unlock_elision, __lll_trylock_elision)
11849 (lll_timedlock_elision, lll_lock_elision)
11850 (lll_unlock_elision, lll_trylock_elision): Add.
11851 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11852 (pthread_mutex_t): Add lock elision support for s390.
11853
11854 2014-05-14 Wilco <wdijkstr@arm.com>
11855
11856 * sysdeps/arm/fclrexcpt.c: Cleanup.
11857 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11858 * sysdeps/arm/feenablxcpt.c: Cleanup.
11859 * sysdeps/arm/fegetenv.c: Cleanup.
11860 * sysdeps/arm/fegetexcept.c: Cleanup.
11861 * sysdeps/arm/fegetround.c: Cleanup.
11862 * sysdeps/arm/feholdexcpt.c: Cleanup.
11863 * sysdeps/arm/fesetenv.c: Cleanup.
11864 * sysdeps/arm/fesetround.c: Cleanup.
11865 * sysdeps/arm/feupdateenv.c: Cleanup.
11866 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11867 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11868 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11869 * sysdeps/arm/ftestexcept.c: Cleanup.
11870 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11871 * sysdeps/arm/setfpucw.c: Cleanup.
11872
11873 2014-05-09 Will Newton <will.newton@linaro.org>
11874
11875 * sysdeps/arm/armv7/strcmp.S: New file.
11876 * NEWS: Mention addition of ARMv7 optimized strcmp.
11877
11878 2014-05-08 Roland McGrath <roland@hack.frob.com>
11879
11880 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11881 look for %.ac rather than %.in.
11882
11883 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11884 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11885 * sysdeps/mach/hurd/configure: Regenerated.
11886 * sysdeps/unix/sysv/linux/configure: Regenerated.
11887
11888 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11889
11890 2014-05-07 Steve Ellcey <sellcey@mips.com>
11891
11892 [BZ# 16922]
11893 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11894 (LONG_SUB): Ditto.
11895 (PTR_SUB): Ditto.
11896
11897 2014-05-07 Andreas Schwab <schwab@suse.de>
11898
11899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11900 when skipping over non-matching result from nscd.
11901
11902 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11903
11904 [BZ #16876]
11905 * nptl/sockperf.c (client): Check socket return value.
11906
11907 [BZ #16877]
11908 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11909 nscd security class.
11910
11911 2014-05-06 Roland McGrath <roland@hack.frob.com>
11912
11913 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11914 * sysdeps/arm/unwind.h: ... here.
11915
11916 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11917
11918 [BZ# 16916]
11919 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11920 Define.
11921
11922 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11923
11924 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11925 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11926 multiarch strncpy for PPC64.
11927 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11928 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11930 multiarch optimizations.
11931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11932 (__libc_ifunc_impl_list): Likewise.
11933 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11934 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11935 multiarch stpncpy for PPC64.
11936 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11937 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11938
11939 2014-05-06 Andreas Schwab <schwab@suse.de>
11940
11941 [BZ #16912]
11942 * gmon/mcount.c (_MCOUNT_DECL): Use
11943 atomic_compare_and_exchange_bool_acq instead of
11944 catomic_compare_and_exchange_bool_acq.
11945
11946 2014-05-05 Roland McGrath <roland@hack.frob.com>
11947
11948 * elf/Makefile (others, install-bin): Remove pldd.
11949 (pldd-modules): Variable removed.
11950 ($(objpfx)pldd): Target removed.
11951 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11952 (others, install-bin): Append pldd here.
11953 ($(objpfx)pldd): New target.
11954
11955 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11956 to 0, so the first #if test emitted later doesn't see it undefined.
11957 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11958 * sysdeps/gnu/errlist.c: Regenerated.
11959
11960 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11961
11962 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11963 [libc_hidden_builtin_def]: Define to empty value.
11964 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11965 [libc_hidden_builtin_def]: Likewise.
11966 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11967 [libc_hidden_builtin_def]: Likewise.
11968 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11969 [libc_hidden_builtin_def]: Likewise.
11970 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11971 __redirect_memcpy and define ifunc as default hidden symbol.
11972 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11973 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11974
11975 2014-05-04 Adam Conrad <adconrad@0c3.net>
11976
11977 * locale/iso-4217.def: Reintroduce XDR currency.
11978
11979 2014-05-04 Allan McRae <allan@archlinux.org>
11980
11981 * po/eo.po: Update Esperanto translation from translation project.
11982
11983 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11984
11985 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11986 and FEATURE_INDEX_MAX to 1.
11987 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11988
11989 2014-05-01 Steve Ellcey <sellcey@mips.com>
11990
11991 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11992 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11993 * iconvdata/big5.c (ONE_DIRECTION): Define.
11994 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11995 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11996 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11997 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11998 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11999 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12000 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12001 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12002 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12003 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12004 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12005 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12006 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12007 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12008 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12009 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12010 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12011 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12012 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12013 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12014 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12015 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12016 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12017 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12018 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12019 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12020 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12021 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12022 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12023 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12024 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12025 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12026 * iconvdata/johab.c (ONE_DIRECTION): Define.
12027 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12028 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12029 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12030 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12031 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12032 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12033 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12034 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12035 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12036 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12037
12038 2014-05-01 Roland McGrath <roland@hack.frob.com>
12039
12040 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12041 (_IO_JUMPS_OFFSET): Define to 0.
12042
12043 * nptl/sysdeps/pthread/bits/libc-lock.h
12044 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12045 (__libc_lock_define_initialized_recursive): Always define using
12046 initializer. Modern compilers treat uninitialized (implicit zero) and
12047 explicit zero initializers the same (i.e. put the datum in bss).
12048
12049 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12050
12051 * nscd/nscd-client.h: Include <string.h>.
12052
12053 2014-05-01 David S. Miller <davem@davemloft.net>
12054
12055 [BZ #16885]
12056 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12057 multiple zero bytes exist at the end of a string.
12058 Reported by Aurelien Jarno <aurelien@aurel32.net>
12059
12060 * string/test-strcmp.c (check): Add explicit test for situations where
12061 there are multiple zero bytes after the first.
12062
12063 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12064
12065 [BZ #16890]
12066 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12067 when compiling wprintf.
12068 * stdio-common/tstdiomisc.c (t3): New function.
12069 (main): Call it.
12070
12071 2014-05-01 Steve Ellcey <sellcey@mips.com>
12072
12073 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12074 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12075 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12076 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12077
12078 2014-05-01 Steve Ellcey <sellcey@mips.com>
12079
12080 * stdlib/longlong.h: Updated from GCC.
12081
12082 2014-05-01 Will Newton <will.newton@linaro.org>
12083 Bernard Ogden <bernie.ogden@linaro.org>
12084
12085 * NEWS: Update fixed bug list.
12086
12087 [BZ #15119]
12088 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12089
12090 2014-04-30 David S. Miller <davem@davemloft.net>
12091
12092 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12093 (libc_feholdexcept_setround_sparc_ctx): New function.
12094 (libc_fesetenv_sparc_ctx): Likewise.
12095 (libc_feupdateenv_sparc_ctx): Likewise.
12096 (libc_feholdsetround_sparc_ctx): Likewise.
12097 (libc_feholdexcept_setround_ctx): Define.
12098 (libc_feholdexcept_setroundf_ctx): Likewise.
12099 (libc_feholdexcept_setroundl_ctx): Likewise.
12100 (libc_fesetenv_ctx): Likewise.
12101 (libc_fesetenvf_ctx): Likewise.
12102 (libc_fesetenvl_ctx): Likewise.
12103 (libc_feupdateenv_ctx): Likewise.
12104 (libc_feupdateenvf_ctx): Likewise.
12105 (libc_feupdateenvl_ctx): Likewise.
12106 (libc_feresetround_ctx): Likewise.
12107 (libc_feresetroundf_ctx): Likewise.
12108 (libc_feresetroundl_ctx): Likewise.
12109 (libc_feholdsetround_ctx): Likewise.
12110 (libc_feholdsetroundf_ctx): Likewise.
12111 (libc_feholdsetroundl_ctx): Likewise.
12112
12113 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12114 with __USE_GNU instead of XOPEN cpp guards.
12115
12116 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12117 0.
12118
12119 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12120 with XOPEN cpp guards.
12121
12122 2014-04-30 Julian Brown <julian@codesourcery.com>
12123
12124 [BZ #16888]
12125 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12126 handling.
12127
12128 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12129
12130 [BZ #9894]
12131 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12132 Change to 2.6.32.
12133 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12134 * sysdeps/unix/sysv/linux/configure: Regenerated.
12135 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12136 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12137 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12138 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12139 * README: Update reference to required Linux kernel version.
12140 * manual/install.texi (Linux): Update reference to required Linux
12141 kernel headers version.
12142 * INSTALL: Regenerated.
12143
12144 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12145 header inclusion.
12146 [POSIX] (limits.h): Likewise.
12147 [POSIX] (math.h): Likewise.
12148 [POSIX] (sys/wait.h): Likewise.
12149 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12150 function.
12151 [POSIX] (stddef.h): Do not allow header inclusion.
12152
12153 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12154
12155 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12156
12157 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12158
12159 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12160 Return immediately after lll_futex_wake.
12161
12162 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12163
12164 [BZ #16791]
12165 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12166 structure.
12167 (datahead_init_pos): Call datahead_init_common early.
12168 (datahead_init_neg): Likewise.
12169
12170 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12171 datahead_init_neg): New functions.
12172 * nscd/aicache.c (addhstaiX): Use them.
12173 * nscd/grpcache.c (cache_addgr): Likewise.
12174 * nscd/hstcache.c (cache_addhst): Likewise.
12175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12176 * nscd/netgroupcache.c (do_notfound): Likewise.
12177 (addgetnetgrentX): Likewise.
12178 (addinnetgrX): Likewise.
12179 * nscd/pwdcache.c (cache_addpw): Likewise.
12180 * nscd/servicescache.c (cache_addserv): Likewise.
12181
12182 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12183 Atsushi Onoe <atsushi@onoe.org>
12184
12185 [BZ #14308]
12186 [BZ #12994]
12187 [BZ #13651]
12188 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12189 one response is valid.
12190 * resolv/res_send.c (send_dg): Check for validity of other
12191 response if the current response is a referral.
12192
12193 2014-04-29 Steve Ellcey <sellcey@mips.com>
12194
12195 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12196
12197 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12198
12199 [BZ #16823]
12200 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12201 Always divide by positive zero when computing -Inf result.
12202 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12203 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12204
12205 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12206
12207 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12208 FPSCR if value do not change.
12209 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12210 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12211 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12212 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12213 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12214 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12215 function.
12216
12217 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12218
12219 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12220 * sysdeps/unix/sysv/linux/hppa: Move directory from
12221 ports/systeps/unix/sysv/linux/hppa.
12222 * README: Update listing for hppa-*-linux-gnu.
12223
12224 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12225
12226 [BZ #16754]
12227 * manual/stdio.texi (Hook functions): Fix types of stream hook
12228 functions.
12229 [BZ #16854]
12230 * socket/sys/socket.h: Fix typo in comment.
12231
12232 2014-04-28 Wilco <wdijkstr@arm.com>
12233
12234 * sysdeps/arm/fenv_private.h: New file.
12235 * sysdeps/arm/math_private.h: New file.
12236 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12237
12238 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12239
12240 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12241 with __int128_t.
12242 (La_x86_64_retval): Likewise.
12243
12244 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12245
12246 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12247 fpsr if value didn't change.
12248 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12249 to fpcr if value didn't change.
12250 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12251 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12252 fpsr or fpcr if value didn't change.
12253 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12254 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12255 fpcr if value didn't change.
12256 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12257 to fpsr if value didn't change.
12258
12259 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12260
12261 * nptl/tst-sem3.c: Use test-skeleton.c
12262 (main): Rename to do_test. Use return instead of
12263 exit.
12264 * nptl/tst-sem4.c: Use test-skeleton.c
12265 (main): Rename to do_test.
12266
12267 2014-04-22 David S. Miller <davem@davemloft.net>
12268
12269 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12270 (struct sigaction): New struct member __glibc_reserved0, change
12271 type of sa_flags to int.
12272
12273 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12274
12275 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12276 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12277
12278 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12279
12280 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12281 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12282
12283 2014-04-22 Will Newton <will.newton@linaro.org>
12284 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12285
12286 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12287 (__longjmp): Add longjmp and longjmp_target SystemTap
12288 probes.
12289 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12290 (__sigsetjmp): Add setjmp SystemTap probe.
12291
12292 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12293
12294 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12295 match manual order.
12296
12297 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12298
12299 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12300
12301 * sysdeps/powerpc/fpu/fenv_private.h
12302 (libc_feholdexcept_setroundl_ctx): Define to
12303 libc_feholdexcept_setround_ppc_ctx.
12304 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12305 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12306 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12307 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12308
12309 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12310
12311 * sysdeps/aarch64/math-tests.h: New file.
12312
12313 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12314
12315 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12316 New.
12317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12318 Check and set bit_AVX2_Usable.
12319 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12320 macro.
12321 (bit_AVX2): Likewise.
12322 (index_AVX2_Usable): Likewise.
12323 (CPUID_AVX2): Likewise.
12324 (HAS_AVX2): Likewise.
12325
12326 2014-04-17 Will Newton <will.newton@linaro.org>
12327
12328 * manual/setjmp.texi (System V contexts): Add note that
12329 calling setcontext on a context created by a call to a
12330 signal handler is undefined. Update text to note that
12331 setcontext from a signal handler is possible but not
12332 recommended.
12333
12334 [BZ #16629]
12335 * stdlib/tst-setcontext.c: Include signal.h.
12336 (main): Check that the signal stack before and
12337 after swapcontext is the same.
12338
12339 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12340 Re-implement to restore registers in user code and avoid
12341 rt_sigreturn system call.
12342
12343 2014-04-17 Wilco <wdijkstr@arm.com>
12344
12345 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12346 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12347 * math/test-fenv.c: Skip exception trap tests on targets which only
12348 support non-stop mode.
12349
12350 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12351 Wilco Dijkstra <wilco.dijkstra@arm.com>
12352
12353 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12354 (libc_feholdsetround_aarch64_ctx)
12355 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12356 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12357 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12358 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12359 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12360 (libc_feresetround_noexl_ctx): Define.
12361
12362 2014-04-16 Richard Henderson <rth@redhat.com>
12363
12364 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12365
12366 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12367 unwind tables.
12368
12369 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12370 const from the non-libc, non-ldso copy.
12371
12372 * sysdeps/alpha/libm-test-ulps: Regenerate.
12373
12374 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12375 Wilco Dijkstra <wilco.dijkstra@arm.com>
12376
12377 * sysdeps/aarch64/fpu/math_private.h: New file.
12378
12379 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12380
12381 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12382
12383 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12384
12385 [BZ #16275]
12386 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12387 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12389 Intel MPX bound registers before _dl_profile_fixup.
12390 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12391 registers after _dl_profile_fixup. Save and restore bound
12392 registers bnd0/bnd1 when calling _dl_call_pltexit.
12393 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12394 (LR_BND_OFFSET): Likewise.
12395 (LRV_BND0_OFFSET): Likewise.
12396 (LRV_BND1_OFFSET): Likewise.
12397
12398 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12399
12400 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12401 to...
12402 * sysdeps/mach/hurd/i386/tls.h: ... here.
12403 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12404 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12405 fields.
12406
12407 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12408
12409 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12410
12411 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12412
12413 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12414
12415 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12416
12417 [BZ #14770]
12418 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12419 * sysdeps/s390/configure: Regenerate.
12420
12421 [BZ #16824]
12422 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12423 Set round-to-nearest internally to reduce error accumulation.
12424
12425 2014-04-16 Alan Modra <amodra@gmail.com>
12426
12427 [BZ #16740]
12428 [BZ #16619]
12429 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12430 * math/libm-test.inc (frexp_test_data): Add tests.
12431 * NEWS: Update fixed bug list.
12432
12433 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12434
12435 * benchtests/Makefile: Depend on libraries in build directory.
12436 (bench-math): Separate out math tests.
12437 (bench-pthread): Separate out pthread tests.
12438 (bench): Include math and pthread tests.
12439
12440 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12441
12442 [BZ #16831]
12443 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12444 _dl_debug_initialize.
12445
12446 * configure.ac: Remove SELinux header check.
12447 * configure: Regenerate.
12448 * nscd/selinux.c (perms): Array of const char* to permission names.
12449 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12450 default policy. Call string_to_security_class and string_to_av_perm to
12451 translate strings. Enforce default policy and call avs_has_perm with
12452 results of translated strings.
12453
12454 2014-04-13 David S. Miller <davem@davemloft.net>
12455
12456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12457
12458 2014-04-12 Allan McRae <allan@archlinux.org>
12459
12460 [BZ #16838]
12461 * manual/string.texi (Collation Functions): Fix qsort argument
12462 order in example.
12463 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12464
12465 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12466
12467 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12468 Make the test a no-op if there are no exceptions defined.
12469
12470 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12471
12472 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12473 enable-hardcoded-path-in-tests
12474
12475 2014-04-11 Will Newton <will.newton@linaro.org>
12476
12477 * benchtests/Makefile (extra-objs): Add json-lib.o.
12478 (bench-func): Tidy up JSON output.
12479 * benchtests/bench-skeleton.c: Include json-lib.h.
12480 (main): Use JSON library functions to do output of
12481 benchmark results.
12482 * benchtests/bench-timing-type.c (main): Output the
12483 timing type simply, leaving formatting to the user.
12484 * benchtests/json-lib.c: New file.
12485 * benchtests/json-lib.h: Likewise.
12486
12487 2014-04-11 Torvald Riegel <triegel@redhat.com>
12488
12489 [BZ #15215]
12490 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12491 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12492 memory barriers. Add comments.
12493 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12494 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12495 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12496 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12497 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12498 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12499
12500 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12501
12502 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12503 * sysdeps/s390/s390-64/configure.ac: ... this ...
12504 * sysdeps/s390/configure.ac: ... to here.
12505 * sysdeps/s390/s390-32/configure: Delete file.
12506 * sysdeps/s390/s390-64/configure: Delete file.
12507 * sysdeps/s390/configure: Regenerate.
12508
12509 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12510
12511 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12512
12513 2014-04-11 Will Newton <will.newton@linaro.org>
12514
12515 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12516 to zero if it is not defined elsewhere. (mtrim): Test
12517 the value of MALLOC_DEBUG with #if rather than #ifdef.
12518
12519 2014-04-10 Torvald Riegel <triegel@redhat.com>
12520
12521 * benchtests/pthread_once-inputs: New file.
12522 * benchtests/pthread_once-source.c: New file.
12523 * benchtests/README: Update documentation.
12524
12525 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12526 H.J. Lu <hongjiu.lu@intel.com>
12527
12528 [BZ #16275]
12529 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12530 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12531 * sysdeps/x86_64/configure: Regenerated.
12532 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12533 macro.
12534 (REGISTER_SAVE_RAX): Likewise.
12535 (REGISTER_SAVE_RCX): Likewise.
12536 (REGISTER_SAVE_RDX): Likewise.
12537 (REGISTER_SAVE_RSI): Likewise.
12538 (REGISTER_SAVE_RDI): Likewise.
12539 (REGISTER_SAVE_R8): Likewise.
12540 (REGISTER_SAVE_R9): Likewise.
12541 (REGISTER_SAVE_BND0): Likewise.
12542 (REGISTER_SAVE_BND1): Likewise.
12543 (REGISTER_SAVE_BND2): Likewise.
12544 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12545 bound registers when calling _dl_fixup.
12546
12547 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12548
12549 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12550 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12551 of its definition.
12552 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12553 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12554 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12555 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12556 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12557 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12558 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12559
12560 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12561
12562 [BZ #15514]
12563 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12564 pathconf(_PC_NAME_MAX).
12565
12566 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12567
12568 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12569 Remove macro usage.
12570 (__PTHREAD_SPINS): Move definition to ...
12571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12572 (__PTHREAD_SPINS): ... here.
12573 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12574 (__PTHREAD_SPIN): Likewise.
12575 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12576 (__PTHREAD_SPIN): Likewise.
12577 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12578 (__PTHREAD_SPIN): Likewise.
12579 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12580 (__PTHREAD_SPIN): Likewise.
12581 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12582 (__PTHREAD_SPIN): Likewise.
12583 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12584 (__PTHREAD_SPIN): Likewise.
12585 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12586 (__PTHREAD_SPIN): Likewise.
12587 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12588 (__PTHREAD_SPIN): Likewise.
12589 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12590 (__PTHREAD_SPIN): Likewise.
12591 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12592 (__PTHREAD_SPIN): Likewise.
12593 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12594 (__PTHREAD_SPIN): Likewise.
12595 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12596 (__PTHREAD_SPIN): Likewise.
12597
12598 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12599 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12600 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12601 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12602 imply folder.
12603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12604 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12605 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12606 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12607 correct imply path.
12608 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12609 strlen symbol for non multi-arch builds.
12610 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12611 missing hidden_def and weak_alias.
12612
12613 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12614
12615 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12616
12617 2014-04-07 Will Newton <will.newton@linaro.org>
12618
12619 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12620 and contents. [!_LIBC] Remove #ifndef and contents.
12621 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12622 * string/memccpy.c (__memccpy): Use ANSI prototype.
12623 * string/memfrob.c (memfrob): Likewise.
12624 * string/strcoll.c (STRCOLL): Likewise.
12625 * string/strlen.c (strlen): Likewise.
12626 * string/strtok.c (STRTOK): Likewise.
12627 * string/strcat.c: Remove unused #include of memcopy.h.
12628 (strcat): Use ANSI prototype.
12629 * string/strchr.c: Remove unused #include of memcopy.h.
12630 (strchr): Use ANSI prototype.
12631 * string/strcmp.c: Remove unused #include of memcopy.h.
12632 (strcmp): Use ANSI prototype.
12633 * string/strcpy.c: Remove unused #include of memcopy.h.
12634 (strcpy): Use ANSI prototype.
12635
12636 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12637
12638 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12639 * config.make.in (config-extra-cppflags): Set it from
12640 libc_extra_cppflags.
12641 * configure.ac (libc_extra_cflags): Make it accumulate over
12642 configure fragments.
12643 (libc_extra_cppflags): New flag.
12644 * configure. Regenerate.
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12646 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12647 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12649
12650 [BZ #16815]
12651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12652 result for FE_DOWNWARD rounding mode.
12653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12654 Likewise.
12655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12656
12657 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12658
12659 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12660 in function argument name.
12661
12662 2014-04-03 David Svoboda <svoboda@cert.org>
12663
12664 [BZ #5666]
12665 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12666 explicitly.
12667
12668 2014-04-03 Roland McGrath <roland@hack.frob.com>
12669
12670 * elf/dl-unmap-segments.h: New file.
12671 * sysdeps/generic/ldsodefs.h
12672 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12673 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12674 * elf/dl-fptr.c: Likewise.
12675 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12676 * sysdeps/aarch64/tlsdesc.c: Likewise.
12677 * sysdeps/arm/tlsdesc.c: Likewise.
12678 * sysdeps/i386/tlsdesc.c: Likewise.
12679 * sysdeps/tile/dl-runtime.c: Likewise.
12680 * sysdeps/x86_64/tlsdesc.c: Likewise.
12681 * elf/dl-load.h: New file.
12682 * elf/dl-load.c: Include it.
12683 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12684 Macros moved to dl-load.h.
12685 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12686 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12687 Use _dl_unmap_segments in place of __munmap.
12688 Break out segment-mapping loop into ...
12689 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12690
12691 2014-04-03 Will Newton <will.newton@linaro.org>
12692
12693 * elf/dl-lookup.c (do_lookup_x): Remove comment
12694 referring to nested function and move variable
12695 declarations down to before first use.
12696
12697 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12698
12699 [BZ #16799]
12700 [BZ #16800]
12701 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12702 with 0 numerator.
12703 * math/s_catanf.c (__catanf): Likewise.
12704 * math/s_catanh.c (__catanh): Likewise.
12705 * math/s_catanhf.c (__catanhf): Likewise.
12706 * math/s_catanhl.c (__catanhl): Likewise.
12707 * math/s_catanl.c (__catanl): Likewise.
12708 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12709 by positive zero when computing -Inf result.
12710 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12711 (catanh_test): Likewise.
12712 * sysdeps/i386/fpu/libm-test-ulps: Update.
12713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12714
12715 [BZ #16789]
12716 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12717 instead of using underflowing value in computing result.
12718 * math/s_clog10.c (__clog10): Likewise.
12719 * math/s_clog10f.c (__clog10f): Likewise.
12720 * math/s_clog10l.c (__clog10l): Likewise.
12721 * math/s_clogf.c (__clogf): Likewise.
12722 * math/s_clogl.c (__clogl): Likewise.
12723 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12724 (clog10_test): Likewise.
12725 * sysdeps/i386/fpu/libm-test-ulps: Update.
12726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12727
12728 2014-04-02 Alan Modra <amodra@gmail.com>
12729
12730 [BZ #16739]
12731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12732 output when value is near a power of two. Use int64_t for lx and
12733 remove casts. Use decimal rather than hex exponent constants.
12734 Don't use long double multiplication when double will suffice.
12735 * math/libm-test.inc (nextafter_test_data): Add tests.
12736 * NEWS: Add 16739 and 16786 to bug list.
12737
12738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12739
12740 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12741
12742 2014-04-01 Will Newton <will.newton@linaro.org>
12743
12744 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12745 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12746
12747 2014-04-01 Florian Weimer <fweimer@redhat.com>
12748
12749 [BZ #13347]
12750 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12751 * nptl/tst-setuid2.c: New file.
12752 * nptl/Makefile (xtests): Add tst-setuid2.
12753
12754 2014-04-01 Alan Modra <amodra@gmail.com>
12755
12756 [BZ #16786]
12757 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12758
12759 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12760
12761 [BZ #6803]
12762 [BZ #6804]
12763 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12764 set errno as appropriate.
12765 * math/w_scalbf.c (__scalbf): Likewise.
12766 * math/w_scalbl.c (__scalbl): Likewise.
12767 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12768 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12769 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12770 Add more NaN tests.
12771
12772 [BZ #16349]
12773 * math/w_atan2.c: Include <errno.h>.
12774 (__atan2): Set errno for result underflowing to zero.
12775 * math/w_atan2f.c: Include <errno.h>.
12776 (__atan2f): Set errno for result underflowing to zero.
12777 * math/w_atan2l.c: Include <errno.h>.
12778 (__atan2l): Set errno for result underflowing to zero.
12779 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12780 tests.
12781 * math/auto-libm-test-out: Regenerated.
12782
12783 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12784
12785 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12786 Encode instruction correctly in little endian.
12787 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12788 Likewise.
12789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12790 Likewise.
12791 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12792 Likewise.
12793 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12794 Likewise.
12795
12796 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12797
12798 [BZ #9894]
12799 * sysdeps/unix/sysv/linux/kernel-features.h
12800 [__sparc__ && !__arch64__ && !__sparc_v9__]
12801 (__ASSUME_SET_ROBUST_LIST): Do not define.
12802 [__sparc__ && !__arch64__ && !__sparc_v9__]
12803 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12804 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12805 Likewise.
12806 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12807 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12808 (__ASSUME_REQUEUE_PI): Likewise.
12809 (__ASSUME_SET_ROBUST_LIST): Likewise.
12810 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12811 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12812 Undefine.
12813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12814 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12815 Likewise.
12816 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12817 Likewise.
12818 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12819 Likewise.
12820 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12821 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12822 Undefine.
12823 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12824 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12825 Likewise.
12826
12827 [BZ #16648]
12828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12829 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12830 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12831
12832 2014-03-31 Will Newton <will.newton@linaro.org>
12833
12834 * benchtests/Makefile (bench): Add ffs and ffsll to list
12835 of tests.
12836 * benchtests/ffs-inputs: New file.
12837 * benchtests/ffsll-inputs: Likewise.
12838
12839 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12840
12841 [BZ #16770]
12842 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12843 too large before casting to int.
12844 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12845 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12846 * math/libm-test.inc (scalb_test_data): Add more tests.
12847
12848 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12849
12850 * benchtests/Makefile (DETAILED_OPT): New make option.
12851 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12852 set.
12853 * benchtests/bench-skeleton.c: Include stdbool.h.
12854 (main): Store and print timings per input.
12855 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12856 member to each argument value.
12857 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12858 (_print_arg_data): Initialize per-input timing to 0.
12859
12860 * benchtests/Makefile (timing-type): New binary.
12861 (bench-clean): Also remove bench-timing-type.
12862 (bench): New target for timing-type.
12863 (bench-func): Print output in JSON format.
12864 * benchtests/bench-skeleton.c (main): Print output in JSON
12865 format.
12866 * benchtests/bench-timing-type.c: New file.
12867 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12868 (TIMING_PRINT_STATS): Remove.
12869 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12870 name separately.
12871
12872 * benchtests/bench-modf.c: Remove.
12873 * benchtests/modf-inputs: New inputs file.
12874
12875 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12876
12877 [BZ #16362]
12878 * math/s_clog10.c (M_PI_LOG10E): New macro.
12879 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12880 imaginary parts are 0.
12881 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12882 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12883 imaginary parts are 0.
12884 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12885 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12886 imaginary parts are 0.
12887 * math/libm-test.inc (clog10_test_data): Update expected results
12888 for when real and imaginary parts are 0.
12889
12890 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12891
12892 * elf/dl-load.c: Finish conversion of __builtin_expect into
12893 __glibc_{un}likely.
12894
12895 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12896
12897 [BZ #16348]
12898 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12899 1+x for argument with exponent below -67.
12900 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12901 Likewise.
12902 * math/auto-libm-test-in: Add more tests of exp.
12903 * math/auto-libm-test-out: Regenerated.
12904
12905 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12906
12907 [BZ #16759]
12908 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12909 (nscd_getnetgrent): Use it.
12910
12911 [BZ #16760]
12912 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12913 of stpcpy.
12914
12915 2014-03-27 Andi Kleen <ak@linux.intel.com>
12916
12917 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12918 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12919 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12920 (lll_robust_unlock): Remove out of line section. Use cfi
12921 intrinsics.
12922 (LLL_STUB_UNWIND_INFO*): Remove.
12923 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12924 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12925 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12926 (lll_robust_unlock): Remove out of line section. Use cfi
12927 intrinsics.
12928 (LLL_STUB_UNWIND_INFO*): Remove.
12929
12930 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12931
12932 [BZ #16758]
12933 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12934 blank values.
12935
12936 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12937
12938 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12939
12940 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12941
12942 [BZ #16198]
12943 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12944 fnstenv.
12945 * math/test-fenv-preserve.c: New file.
12946 * math/Makefile (tests): Add test-fenv-preserve.
12947
12948 2014-03-26 Will Newton <will.newton@linaro.org>
12949
12950 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12951
12952 2014-03-25 Roland McGrath <roland@hack.frob.com>
12953
12954 * scripts/versionlist.awk: Partition the version sets and emit all
12955 GLIBC_* (sorted) before all others (sorted).
12956
12957 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12958
12959 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12960 GLIBC_2.2.5 version.
12961
12962 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12963
12964 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12965 calls.
12966
12967 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12968 previous change.
12969
12970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12971
12972 2014-03-25 Andreas Schwab <schwab@suse.de>
12973
12974 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12975 label to be used after in6ailist is initialized.
12976
12977 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12978
12979 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12980 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12981
12982 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12983
12984 [BZ #16357]
12985 [BZ #16599]
12986 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12987 min_plus_half.
12988 (fp_formats): Update initializers.
12989 (init_fp_formats): Initialize new field.
12990 (output_for_one_input_case): Allow underflow for results up to
12991 min_plus_half.
12992 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12993 * math/auto-libm-test-in: Don't mark some underflows from asin and
12994 atanh as spurious.
12995 * math/auto-libm-test-out: Regenerated.
12996 * sysdeps/i386/fpu/libm-test-ulps: Update.
12997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12998
12999 2014-03-25 Andreas Schwab <schwab@suse.de>
13000
13001 * libio/Makefile (tst-ftell-partial-wide-ENV)
13002 (tst-ftell-active-handler-ENV): Define.
13003
13004 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13005
13006 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13007
13008 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13009
13010 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13011
13012 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13013
13014 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13015 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13016 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13017
13018 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13019
13020 [BZ #16634]
13021 * elf/dl-load.c (open_verify): Add mode parameter.
13022 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13023 (open_path): Change from boolean 'secure' to complete flag 'mode'
13024 (_dl_map_object): Adjust.
13025 * elf/Makefile (tests): Add tst-dlopen-aout.
13026 * elf/tst-dlopen-aout.c: New test.
13027
13028 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13029
13030 [BZ #16714]
13031 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13032 (struct stat): Rename member pad0 to __glibc_reserved0.
13033
13034 [BZ #16712]
13035 * sysdeps/s390/s390-32/bits/wordsize.h
13036 (__WORDSIZE32_SIZE_ULONG): New define.
13037 * sysdeps/s390/s390-64/bits/wordsize.h
13038 (__WORDSIZE32_SIZE_ULONG): Likewise.
13039 * sysdeps/generic/stdint.h (SIZE_MAX):
13040 Define as UL if __WORDSIZE32_SIZE_ULONG.
13041
13042 [BZ #16713]
13043 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13044 (__glibc_reserved0): New variable.
13045 (sa_flags): Change type to int.
13046
13047 * posix/Makefile (before-compile): Use += before-compile instead
13048 of a :=.
13049
13050 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13051 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13052
13053 2014-03-20 Andreas Schwab <schwab@suse.de>
13054
13055 [BZ #16743]
13056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13057 non-matching result from nscd.
13058
13059 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13060
13061 * scripts/bench.py: Moved to ...
13062 * benchtests/scripts/bench.py: ... here.
13063 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13064
13065 2014-03-24 Andreas Schwab <schwab@suse.de>
13066
13067 [BZ #16002]
13068 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13069 alloca_account and account alloca use for struct in6ailist.
13070
13071 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13072
13073 [BZ #16284]
13074 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13075 rounding mode to recompute results that overflow to infinity or
13076 underflow to zero.
13077 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13078 bug 16284.
13079 * math/auto-libm-test-out: Regenerated.
13080 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13081 (ccosh_test): Likewise.
13082 (csin_test_data): Use plus_oflow.
13083 (csin_test): Use ALL_RM_TEST.
13084 (csinh_test_data): Use plus_oflow.
13085 (csinh_test): Use ALL_RM_TEST.
13086 * sysdeps/i386/fpu/libm-test-ulps: Update.
13087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13088
13089 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13090
13091 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13092 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13093 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13094
13095 [BZ #16731]
13096 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13097 when x - 1 is zero.
13098 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13099 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13100 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13101 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13102 argument is 1.
13103 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13104 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13105 zero.
13106 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13107 * sysdeps/i386/fpu/libm-test-ulps: Update.
13108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13109
13110 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13111
13112 * scripts/bench.pl: Remove file.
13113 * scripts/bench.py: New benchmark script.
13114 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13115 * benchtests/README: Mention python dependency.
13116 * scripts/pylintrc: New file.
13117 * scripts/pylint: New file.
13118
13119 * bits/mathdef.h: Use #ifdef instead of #if.
13120 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13121 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13122 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13123 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13124 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13125 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13126
13127 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13128 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13129
13130 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13132 and strpbrk-ppc64 objects.
13133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13134 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13135 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13136 multiarch strpbrk for POWER7.
13137 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13138 multiarch strpbrk for PPC64.
13139 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13140 ifunc selector.
13141 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13142 strpbrk for POWER7.
13143
13144 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13145
13146 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13147 (atan_test): Likewise.
13148 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13149 (atanh_test): Use ALL_RM_TEST.
13150 (atan2_test_data): Likewise.
13151 (cabs_test): Likewise.
13152 (cacosh_test): Likewise.
13153 (carg_test): Likewise.
13154 (casin_test): Likewise.
13155 (casinh_test): Likewise.
13156 (cbrt_test): Likewise.
13157 (csqrt_test): Likewise.
13158 (erf_test): Likewise.
13159 (erfc_test): Likewise.
13160 (pow10_test): Likewise.
13161 (exp2_test): Likewise.
13162 (hypot_test): Likewise.
13163 (j0_test): Likewise.
13164 (j1_test): Likewise.
13165 (lgamma_test): Likewise.
13166 (gamma_test): Likewise.
13167 (sincos_test): Likewise.
13168 (tanh_test): Likewise.
13169 (y0_test): Likewise.
13170 (y1_test): Likewise.
13171 * sysdeps/i386/fpu/libm-test-ulps: Update.
13172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13173
13174 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13175
13176 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13178 and strcspn-ppc64 objects.
13179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13180 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13181 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13182 multiarch strcspn for POWER7.
13183 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13184 multiarch strcspn for PPC64.
13185 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13186 ifunc selector.
13187 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13188 strcspn for POWER7.
13189
13190 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13191
13192 * math/gen-libm-test.pl (generate_testfile): Expect only function
13193 name as argument to AUTO_TESTS_* and pass results for all rounding
13194 modes to parse_args.
13195 (parse_auto_input): Separate inputs of automatic tests from
13196 outputs before storing in %auto_tests.
13197 * math/libm-test.inc (acos_test_data): Update call to
13198 AUTO_TESTS_f_f.
13199 (acos_test): Use ALL_RM_TEST.
13200 (acos_tonearest_test_data): Remove.
13201 (acos_test_tonearest): Likewise.
13202 (acos_towardzero_test_data): Likewise.
13203 (acos_test_towardzero): Likewise.
13204 (acos_downward_test_data): Likewise.
13205 (acos_test_downward): Likewise.
13206 (acos_upward_test_data): Likewise.
13207 (acos_test_upward): Likewise.
13208 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13209 (asin_test_data): Likewise.
13210 (asin_test): Use ALL_RM_TEST.
13211 (asin_tonearest_test_data): Remove.
13212 (asin_test_tonearest): Likewise.
13213 (asin_towardzero_test_data): Likewise.
13214 (asin_test_towardzero): Likewise.
13215 (asin_downward_test_data): Likewise.
13216 (asin_test_downward): Likewise.
13217 (asin_upward_test_data): Likewise.
13218 (asin_test_upward): Likewise.
13219 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13220 (atan_test_data): Likewise.
13221 (atanh_test_data): Likewise.
13222 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13223 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13224 (carg_test_data): Likewise.
13225 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13226 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13227 (ccosh_test_data): Likewise.
13228 (cexp_test_data): Likewise.
13229 (clog_test_data): Likewise.
13230 (clog10_test_data): Likewise.
13231 (cos_test_data): Update call to AUTO_TESTS_f_f.
13232 (cos_test): Use ALL_RM_TEST.
13233 (cos_tonearest_test_data): Remove.
13234 (cos_test_tonearest): Likewise.
13235 (cos_towardzero_test_data): Likewise.
13236 (cos_test_towardzero): Likewise.
13237 (cos_downward_test_data): Likewise.
13238 (cos_test_downward): Likewise.
13239 (cos_upward_test_data): Likewise.
13240 (cos_test_upward): Likewise.
13241 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13242 (cosh_test): Use ALL_RM_TEST.
13243 (cosh_tonearest_test_data): Remove.
13244 (cosh_test_tonearest): Likewise.
13245 (cosh_towardzero_test_data): Likewise.
13246 (cosh_test_towardzero): Likewise.
13247 (cosh_downward_test_data): Likewise.
13248 (cosh_test_downward): Likewise.
13249 (cosh_upward_test_data): Likewise.
13250 (cosh_test_upward): Likewise.
13251 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13252 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13253 (ctan_test_data): Likewise.
13254 (ctan_test): Use ALL_RM_TEST.
13255 (ctan_tonearest_test_data): Remove.
13256 (ctan_test_tonearest): Likewise.
13257 (ctan_towardzero_test_data): Likewise.
13258 (ctan_test_towardzero): Likewise.
13259 (ctan_downward_test_data): Likewise.
13260 (ctan_test_downward): Likewise.
13261 (ctan_upward_test_data): Likewise.
13262 (ctan_test_upward): Likewise.
13263 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13264 (ctanh_test): Use ALL_RM_TEST.
13265 (ctanh_tonearest_test_data): Remove.
13266 (ctanh_test_tonearest): Likewise.
13267 (ctanh_towardzero_test_data): Likewise.
13268 (ctanh_test_towardzero): Likewise.
13269 (ctanh_downward_test_data): Likewise.
13270 (ctanh_test_downward): Likewise.
13271 (ctanh_upward_test_data): Likewise.
13272 (ctanh_test_upward): Likewise.
13273 (erf_test_data): Update call to AUTO_TESTS_f_f.
13274 (erfc_test_data): Likewise.
13275 (exp_test_data): Likewise.
13276 (exp_test): Use ALL_RM_TEST.
13277 (exp_tonearest_test_data): Remove.
13278 (exp_test_tonearest): Likewise.
13279 (exp_towardzero_test_data): Likewise.
13280 (exp_test_towardzero): Likewise.
13281 (exp_downward_test_data): Likewise.
13282 (exp_test_downward): Likewise.
13283 (exp_upward_test_data): Likewise.
13284 (exp_test_upward): Likewise.
13285 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13286 (exp10_test): Use ALL_RM_TEST.
13287 (exp10_tonearest_test_data): Remove.
13288 (exp10_test_tonearest): Likewise.
13289 (exp10_towardzero_test_data): Likewise.
13290 (exp10_test_towardzero): Likewise.
13291 (exp10_downward_test_data): Likewise.
13292 (exp10_test_downward): Likewise.
13293 (exp10_upward_test_data): Likewise.
13294 (exp10_test_upward): Likewise.
13295 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13296 (expm1_test_data): Likewise.
13297 (expm1_test): Use ALL_RM_TEST.
13298 (expm1_tonearest_test_data): Remove.
13299 (expm1_test_tonearest): Likewise.
13300 (expm1_towardzero_test_data): Likewise.
13301 (expm1_test_towardzero): Likewise.
13302 (expm1_downward_test_data): Likewise.
13303 (expm1_test_downward): Likewise.
13304 (expm1_upward_test_data): Likewise.
13305 (expm1_test_upward): Likewise.
13306 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13307 (fma_test): Use ALL_RM_TEST.
13308 (fma_towardzero_test_data): Remove.
13309 (fma_test_towardzero): Likewise.
13310 (fma_downward_test_data): Likewise.
13311 (fma_test_downward): Likewise.
13312 (fma_upward_test_data): Likewise.
13313 (fma_test_upward): Likewise.
13314 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13315 (j0_test_data): Update call to AUTO_TESTS_f_f.
13316 (j1_test_data): Likewise.
13317 (jn_test_data): Update call to AUTO_TESTS_if_f.
13318 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13319 (log_test_data): Update call to AUTO_TESTS_f_f.
13320 (log10_test_data): Likewise.
13321 (log1p_test_data): Likewise.
13322 (log2_test_data): Likewise.
13323 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13324 (pow_tonearest_test_data): Likewise.
13325 (sin_test_data): Update call to AUTO_TESTS_f_f.
13326 (sin_test): Use ALL_RM_TEST.
13327 (sin_tonearest_test_data): Remove.
13328 (sin_test_tonearest): Likewise.
13329 (sin_towardzero_test_data): Likewise.
13330 (sin_test_towardzero): Likewise.
13331 (sin_downward_test_data): Likewise.
13332 (sin_test_downward): Likewise.
13333 (sin_upward_test_data): Likewise.
13334 (sin_test_upward): Likewise.
13335 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13336 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13337 (sinh_test): Use ALL_RM_TEST.
13338 (sinh_tonearest_test_data): Remove.
13339 (sinh_test_tonearest): Likewise.
13340 (sinh_towardzero_test_data): Likewise.
13341 (sinh_test_towardzero): Likewise.
13342 (sinh_downward_test_data): Likewise.
13343 (sinh_test_downward): Likewise.
13344 (sinh_upward_test_data): Likewise.
13345 (sinh_test_upward): Likewise.
13346 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13347 (sqrt_test): Use ALL_RM_TEST.
13348 (sqrt_tonearest_test_data): Remove.
13349 (sqrt_test_tonearest): Likewise.
13350 (sqrt_towardzero_test_data): Likewise.
13351 (sqrt_test_towardzero): Likewise.
13352 (sqrt_downward_test_data): Likewise.
13353 (sqrt_test_downward): Likewise.
13354 (sqrt_upward_test_data): Likewise.
13355 (sqrt_test_upward): Likewise.
13356 (tan_test_data): Update call to AUTO_TESTS_f_f.
13357 (tan_test): Use ALL_RM_TEST.
13358 (tan_tonearest_test_data): Remove.
13359 (tan_test_tonearest): Likewise.
13360 (tan_towardzero_test_data): Likewise.
13361 (tan_test_towardzero): Likewise.
13362 (tan_downward_test_data): Likewise.
13363 (tan_test_downward): Likewise.
13364 (tan_upward_test_data): Likewise.
13365 (tan_test_upward): Likewise.
13366 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13367 (tgamma_test_data): Likewise.
13368 (y0_test_data): Likewise.
13369 (y1_test_data): Likewise.
13370 (yn_test_data): Update call to AUTO_TESTS_if_f.
13371 (main): Do not call removed functions.
13372
13373 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13374
13375 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13376 (ldexp_test_data): Remove.
13377 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13378 scalbn_test_data.
13379 (scalb_test): Use ALL_RM_TEST.
13380
13381 2014-03-19 Andreas Schwab <schwab@suse.de>
13382
13383 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13384
13385 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13386
13387 [BZ #16649]
13388 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13389 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13390 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13392 (__ASSUME_PREADV): Undefine.
13393 (__ASSUME_PWRITEV): Likewise.
13394
13395 2014-03-18 Roland McGrath <roland@hack.frob.com>
13396
13397 * bits/mman-linux.h: Add comment about non-Linux use.
13398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13399 bits/mman-linux.h resting place.
13400
13401 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13402 * bits/mman-linux.h: ... here.
13403
13404 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13405
13406 * conform/conformtest.pl: Add standard definition when calling C
13407 preprocessor on data files.
13408 (checknamespace): Remove unused variable.
13409
13410 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13411
13412 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13413 minus_oflow, plus_uflow and minus_uflow in expected results.
13414 * math/libm-test.inc (scalbn_test_data): Add more tests of
13415 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13416 minus_uflow.
13417 (scalbn_test): Use ALL_RM_TEST.
13418 (scalbln_test_data): Add more tests of negative arguments. Use
13419 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13420 (scalbln_test): Use ALL_RM_TEST.
13421
13422 2014-03-18 Roland McGrath <roland@hack.frob.com>
13423
13424 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13425
13426 2014-03-18 Will Newton <will.newton@linaro.org>
13427
13428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13429 inaccurate comment.
13430
13431 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13432
13433 * Makerules [!subdir] (check-abi): Exit with error status if a
13434 test failed.
13435
13436 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13437
13438 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13439 for rint. Include results for all rounding modes.
13440 (nearbyint_test): Use ALL_RM_TEST.
13441 (rint_test_data): Include all tests used for nearbyint.
13442
13443 2014-03-17 Will Newton <will.newton@linaro.org>
13444
13445 * nptl/sysdeps/pthread/pthread.h: Revert previous
13446 change.
13447
13448 * sysdeps/generic/ldsodefs.h: Revert previous
13449 change.
13450
13451 * libio/genops.c: Revert previous change.
13452 * libio/libioP.h: Likewise.
13453 * stdio-common/vfprintf.c: Likewise.
13454
13455 * sysdeps/generic/math_private.h: Revert previous
13456 change.
13457
13458 * sysdeps/generic/math_private.h: Check whether
13459 HAVE_RM_CTX is defined with #ifdef rather
13460 than #if.
13461
13462 * argp/argp-fmtstream.h: Check whether
13463 __STRICT_ANSI__ is defined with #ifdef rather
13464 than #if.
13465 * argp/argp.h: Likewise.
13466
13467 * libio/genops.c: Check whether
13468 _IO_JUMPS_OFFSET is defined with #ifdef rather
13469 than #if.
13470 * libio/libioP.h: Likewise.
13471 * stdio-common/vfprintf.c: Likewise.
13472
13473 * sysdeps/generic/ldsodefs.h: Check whether
13474 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13475 than #if.
13476
13477 * nptl/sysdeps/pthread/pthread.h: Check
13478 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13479 its value.
13480
13481 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13482
13483 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13484 setting O_APPEND.
13485 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13486 test case.
13487
13488 [BZ #16680]
13489 * libio/fileops.c (_IO_file_open): Seek to end of file but
13490 don't cache the offset.
13491 (get_file_offset): Remove function.
13492 (do_ftell): Use cached offset when available.
13493 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13494 don't cache the offset.
13495 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13496 case.
13497 (do_one_test): Call it.
13498 (do_ftell_test): Fix up expected old offset for a+ mode.
13499 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13500 available.
13501
13502 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13503 up test status with function return status.
13504 (do_write_test): Likewise.
13505 (do_append_test): Likewise.
13506
13507 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13508 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13509 Remove.
13510
13511 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13512
13513 * math/gen-libm-test.pl (parse_args): Handle results specified for
13514 each rounding mode separately.
13515 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13516 tests and results from lrint_tonearest_test_data,
13517 lrint_towardzero_test_data, lrint_downward_test_data and
13518 lrint_upward_test_data.
13519 (lrint_test): Use ALL_RM_TEST.
13520 (lrint_tonearest_test_data): Remove.
13521 (lrint_test_tonearest): Likewise.
13522 (lrint_towardzero_test_data): Likewise.
13523 (lrint_test_towardzero): Likewise.
13524 (lrint_downward_test_data): Likewise.
13525 (lrint_test_downward): Likewise.
13526 (lrint_upward_test_data): Likewise.
13527 (lrint_test_upward): Likewise.
13528 (llrint_test_data): Merge in per-rounding-mode tests and results
13529 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13530 llrint_downward_test_data and llrint_upward_test_data.
13531 (llrint_test): Use ALL_RM_TEST.
13532 (llrint_tonearest_test_data): Remove.
13533 (llrint_test_tonearest): Likewise.
13534 (llrint_towardzero_test_data): Likewise.
13535 (llrint_test_towardzero): Likewise.
13536 (llrint_downward_test_data): Likewise.
13537 (llrint_test_downward): Likewise.
13538 (llrint_upward_test_data): Likewise.
13539 (llrint_test_upward): Likewise.
13540 (rint_test_data): Merge in per-rounding-mode tests and results
13541 from rint_tonearest_test_data, rint_towardzero_test_data,
13542 rint_downward_test_data and rint_upward_test_data. Add
13543 per-rounding-mode results for tests not in those arrays.
13544 (rint_test): Use ALL_RM_TEST.
13545 (rint_tonearest_test_data): Remove.
13546 (rint_test_tonearest): Likewise.
13547 (rint_towardzero_test_data): Likewise.
13548 (rint_test_towardzero): Likewise.
13549 (rint_downward_test_data): Likewise.
13550 (rint_test_downward): Likewise.
13551 (rint_upward_test_data): Likewise.
13552 (rint_test_upward): Likewise.
13553 (main): Don't call removed functions.
13554
13555 2014-03-14 Roland McGrath <roland@hack.frob.com>
13556
13557 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13558 "Compiled on ..." crapola. It is anti-useful.
13559
13560 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13561
13562 * scripts/evaluate-test.sh: Handle fourth argument to determine
13563 whether test run should stop on failure.
13564 * Makeconfig (stop-on-test-failure): New variable.
13565 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13566 $(stop-on-test-failure).
13567 * Makefile (tests): Give a summary of results from testing and
13568 exit with failure status if they include an ERROR or FAIL.
13569 (xtests): Likewise.
13570 * manual/install.texi (Configuring and compiling): Mention
13571 stop-on-test-failure=y.
13572 * INSTALL: Regenerated.
13573
13574 2014-03-14 Roland McGrath <roland@hack.frob.com>
13575
13576 * scripts/versionlist.awk: New file.
13577 * Makerules [$(build-shared) = yes]
13578 (postclean-generated): Add Versions.def, not Versions.def.v and
13579 Versions.def.v.i.
13580 ($(common-objpfx)Versions.def.v.i): Target removed.
13581 ($(common-objpfx)Versions.def): New target.
13582 ($(common-objpfx)Versions.all): Depend on that rather that
13583 $(common-objpfx)Versions.def.v.
13584 * Versions.def: File removed.
13585
13586 * Makeconfig (+gccwarn): Add -Wundef.
13587 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13588 a dl-sysdep.h breaking its contract.
13589 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13590 * include/stackinfo.h: New file.
13591 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13592 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13593 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13594 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13595 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13596 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13597 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13598 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13599 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13600 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13601 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13602 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13603 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13604 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13605 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13606
13607 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13608
13609 [BZ #16707]
13610 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13611 implementation.
13612 * math/libm-test.inc (round_test_data): Add more tests.
13613
13614 [BZ #16706]
13615 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13616 implementation.
13617 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13618
13619 [BZ #16701]
13620 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13621 implementation.
13622 * math/libm-test.inc (ceil_test_data): Add more tests.
13623
13624 * math/libm-test.inc (trunc_test_data): Add more tests related to
13625 BZ#16414.
13626
13627 2014-03-14 Roland McGrath <roland@hack.frob.com>
13628
13629 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13630 with #if rather than #ifdef.
13631 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13632
13633 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13634
13635 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13636 first. Disable AVX-512 GCC support if assembler doesn't support
13637 it.
13638 * sysdeps/x86_64/configure: Regenerated.
13639
13640 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13641
13642 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13643 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13644 (__old_pthread_attr_setstack): Likewise.
13645 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13646 [!_STACK_GROWS_DOWN]: Likewise.
13647
13648 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13649
13650 * config.make.in (have-bash2): Delete.
13651 * configure.ac (libc_cv_have_bash2): Delete.
13652 * configure: Regenerate.
13653 * elf/Makefile (common-ldd-rewrite): Rename to ...
13654 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13655 (sh-ldd-rewrite): Delete.
13656 (bash-ldd-rewrite): Delete.
13657 (have-bash2): Delete checks.
13658 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13659 ldd-rewrite.
13660
13661 * config.make.in (have-ksh): Delete.
13662 (KSH): Delete.
13663 * configure.ac (libc_cv_have_ksh): Delete.
13664 * configure: Regenerate.
13665
13666 * elf/Makefile: Delete $(have-ksh) check.
13667 ($(objpfx)sotruss): Change KSH to BASH.
13668 * elf/sotruss.ksh: Rename to ...
13669 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13670 function style to match POSIX. Drop ksh vim mode setting.
13671
13672 * manual/time.texi (Specifying the Time Zone with TZ): Change
13673 Tuesday to Thursday.
13674
13675 * debug/tst-longjmp_chk2.c: Update header comment.
13676 (stackoverflow_handler): Add comment. Call assert on pass value.
13677
13678 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13679
13680 [BZ #16194]
13681 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13682 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13683 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13684 (La_x86_64_vector): Add zmm.
13685 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13686 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13687 ($(objpfx)tst-audit10): New target.
13688 ($(objpfx)tst-audit10.out): Likewise.
13689 (tst-audit10-ENV): New.
13690 (AVX512-CFLAGS): Likewise.
13691 (CFLAGS-tst-audit10.c): Likewise.
13692 (CFLAGS-tst-auditmod10a.c): Likewise.
13693 (CFLAGS-tst-auditmod10b.c): Likewise.
13694 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13695 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13696 * sysdeps/x86_64/configure: Regenerated.
13697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13698 AVX-512 zmm register support.
13699 (_dl_x86_64_save_sse): Likewise.
13700 (_dl_x86_64_restore_sse): Likewise.
13701 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13702 size vector registers.
13703 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13704 (ZMM_SIZE): Likewise.
13705 * sysdeps/x86_64/tst-audit10.c: New file.
13706 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13707 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13708
13709 2014-03-13 Roland McGrath <roland@hack.frob.com>
13710
13711 * configure.ac (HAVE_EHDR_START): New check.
13712 * configure: Regenerated.
13713 * config.h.in (HAVE_EHDR_START): New #undef.
13714 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13715 assuming the lowest-addressed segment maps the start of the file.
13716
13717 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13718
13719 * INSTALL: Regenerated.
13720
13721 2014-03-13 Will Newton <will.newton@linaro.org>
13722
13723 * manual/setjmp.texi (System V contexts): Improve
13724 clarity and grammar of documentation.
13725
13726 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13727
13728 [BZ #16381]
13729 * elf/Makefile (tests): Add tst-pie2.
13730 (tests-pie): Add tst-pie2.
13731 * elf/tst-pie2.c: New file.
13732 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13733 for ET_EXEC.
13734 * elf/rtld.c (map_doit): Load executable as lt_executable.
13735 (dl_main): Likewise.
13736
13737 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13738
13739 [BZ #16642]
13740 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13741 (__ASSUME_PSELECT): Undefine.
13742
13743 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13744
13745 [BZ #16689]
13746 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13747 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13748 static build.
13749 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13750 selector for static builds.
13751
13752 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13753
13754 [BZ #16695]
13755 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13756 key in the buffer.
13757
13758 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13759
13760 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13761 IFUNC selector for static builds.
13762
13763 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13764
13765 * sysdeps/mips/math_private.h [__mips_hard_float]
13766 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13767 libc_feresetround_mips_ctx.
13768 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13769 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13770 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13771
13772 [BZ #16677]
13773 * math/s_nextafter.c (__nextafter): Do not return value from
13774 overflowing computation.
13775 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13776 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13777 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13778 Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13780 Likewise.
13781 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13782 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13783
13784 2014-03-11 Roland McGrath <roland@hack.frob.com>
13785
13786 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13787 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13788 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13789 the new mov targetting sp.
13790
13791 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13792
13793 [BZ #16683]
13794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13795 Define it for static builds as well.
13796 (NO_BZERO_IMPL): Likewise.
13797
13798 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13799
13800 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13801 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13802 multiarch strspn for PPC64.
13803 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13804 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13806 (__libc_ifunc_impl_list): Likewise.
13807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13808 multiarch optimizations
13809 * string/strspn.c (strspn): Using macro to redefine symbol name.
13810
13811 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13812 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13813
13814 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13815 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13816 multiarch strncat for PPC64.
13817 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13818 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13820 (__libc_ifunc_impl_list): Likewise.
13821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13822 multiarch optimizations
13823
13824 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13825
13826 [BZ #16639]
13827 * nscd/nscd.service: Make service type forking.
13828
13829 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13830
13831 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13832 sign in non default rounding modes.
13833 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13834
13835 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13836
13837 * math/libm-test.inc (ALL_RM_TEST): New macro.
13838 (ceil_test): Use ALL_RM_TEST.
13839 (cimag_test): Likewise.
13840 (conj_test): Likewise.
13841 (copysign_test): Likewise.
13842 (cproj_test): Likewise.
13843 (creal_test): Likewise.
13844 (fabs_test): Likewise.
13845 (floor_test): Likewise.
13846 (fmax_test): Likewise.
13847 (fmin_test): Likewise.
13848 (fmod_test): Likewise.
13849 (fpclassify_test): Likewise.
13850 (frexp_test): Likewise.
13851 (ilogb_test): Likewise.
13852 (isfinite_test): Likewise.
13853 (finite_test): Likewise.
13854 (isgreater_test): Likewise.
13855 (isgreaterequal_test): Likewise.
13856 (isinf_test): Likewise.
13857 (isless_test): Likewise.
13858 (islessequal_test): Likewise.
13859 (islessgreater_test): Likewise.
13860 (isnan_test): Likewise.
13861 (isnormal_test): Likewise.
13862 (issignaling_test): Likewise.
13863 (isunordered_test): Likewise.
13864 (logb_test): Likewise.
13865 (logb_downward_test_data): Remove.
13866 (logb_test_downward): Likewise.
13867 (lround_test): Use ALL_RM_TEST.
13868 (llround_test): Likewise.
13869 (modf_test): Likewise.
13870 (nexttoward_test): Likewise.
13871 (remainder_test): Likewise.
13872 (drem_test): Likewise.
13873 (remainder_tonearest_test_data): Likewise.
13874 (remainder_test_tonearest): Likewise.
13875 (drem_test_tonearest): Likewise.
13876 (remainder_towardzero_test_data): Likewise.
13877 (remainder_test_towardzero): Likewise.
13878 (drem_test_towardzero): Likewise.
13879 (remainder_downward_test_data): Likewise.
13880 (remainder_test_downward): Likewise.
13881 (drem_test_downward): Likewise.
13882 (remainder_upward_test_data): Likewise.
13883 (remainder_test_upward): Likewise.
13884 (drem_test_upward): Likewise.
13885 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13886 (round_test): Use ALL_RM_TEST.
13887 (signbit_test): Likewise.
13888 (trunc_test): Likewise.
13889 (significand_test): Likewise.
13890 (main): Don't call removed functions.
13891
13892 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13893
13894 [BZ #16674]
13895 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13896 || __USE_XOPEN2K8].
13897 (ILL_ILLOPN): Likewise.
13898 (ILL_ILLADR): Likewise.
13899 (ILL_ILLTRP): Likewise.
13900 (ILL_PRVOPC): Likewise.
13901 (ILL_PRVREG): Likewise.
13902 (ILL_COPROC): Likewise.
13903 (ILL_BADSTK): Likewise.
13904 (FPE_INTDIV): Likewise.
13905 (FPE_INTOVF): Likewise.
13906 (FPE_FLTDIV): Likewise.
13907 (FPE_FLTOVF): Likewise.
13908 (FPE_FLTUND): Likewise.
13909 (FPE_FLTRES): Likewise.
13910 (FPE_FLTINV): Likewise.
13911 (FPE_FLTSUB): Likewise.
13912 (SEGV_MAPERR): Likewise.
13913 (SEGV_ACCERR): Likewise.
13914 (BUS_ADRALN): Likewise.
13915 (BUS_ADRERR): Likewise.
13916 (BUS_OBJERR): Likewise.
13917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13918 (TRAP_TRACE): Likewise.
13919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13920 __USE_XOPEN2K8].
13921 (CLD_KILLED): Likewise.
13922 (CLD_DUMPED): Likewise.
13923 (CLD_TRAPPED): Likewise.
13924 (CLD_STOPPED): Likewise.
13925 (CLD_CONTINUED): Likewise.
13926 (POLL_IN): Likewise.
13927 (POLL_OUT): Likewise.
13928 (POLL_MSG): Likewise.
13929 (POLL_ERR): Likewise.
13930 (POLL_PRI): Likewise.
13931 (POLL_HUP): Likewise.
13932 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13933 Likewise.
13934 (ILL_ILLOPN): Likewise.
13935 (ILL_ILLADR): Likewise.
13936 (ILL_ILLTRP): Likewise.
13937 (ILL_PRVOPC): Likewise.
13938 (ILL_PRVREG): Likewise.
13939 (ILL_COPROC): Likewise.
13940 (ILL_BADSTK): Likewise.
13941 (FPE_INTDIV): Likewise.
13942 (FPE_INTOVF): Likewise.
13943 (FPE_FLTDIV): Likewise.
13944 (FPE_FLTOVF): Likewise.
13945 (FPE_FLTUND): Likewise.
13946 (FPE_FLTRES): Likewise.
13947 (FPE_FLTINV): Likewise.
13948 (FPE_FLTSUB): Likewise.
13949 (SEGV_MAPERR): Likewise.
13950 (SEGV_ACCERR): Likewise.
13951 (BUS_ADRALN): Likewise.
13952 (BUS_ADRERR): Likewise.
13953 (BUS_OBJERR): Likewise.
13954 (BUS_MCEERR_AR): Likewise.
13955 (BUS_MCEERR_AO): Likewise.
13956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13957 (TRAP_TRACE): Likewise.
13958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13959 __USE_XOPEN2K8].
13960 (CLD_KILLED): Likewise.
13961 (CLD_DUMPED): Likewise.
13962 (CLD_TRAPPED): Likewise.
13963 (CLD_STOPPED): Likewise.
13964 (CLD_CONTINUED): Likewise.
13965 (POLL_IN): Likewise.
13966 (POLL_OUT): Likewise.
13967 (POLL_MSG): Likewise.
13968 (POLL_ERR): Likewise.
13969 (POLL_PRI): Likewise.
13970 (POLL_HUP): Likewise.
13971 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13972 (ILL_ILLOPN): Likewise.
13973 (ILL_ILLADR): Likewise.
13974 (ILL_ILLTRP): Likewise.
13975 (ILL_PRVOPC): Likewise.
13976 (ILL_PRVREG): Likewise.
13977 (ILL_COPROC): Likewise.
13978 (ILL_BADSTK): Likewise.
13979 (FPE_INTDIV): Likewise.
13980 (FPE_INTOVF): Likewise.
13981 (FPE_FLTDIV): Likewise.
13982 (FPE_FLTOVF): Likewise.
13983 (FPE_FLTUND): Likewise.
13984 (FPE_FLTRES): Likewise.
13985 (FPE_FLTINV): Likewise.
13986 (FPE_FLTSUB): Likewise.
13987 (SEGV_MAPERR): Likewise.
13988 (SEGV_ACCERR): Likewise.
13989 (BUS_ADRALN): Likewise.
13990 (BUS_ADRERR): Likewise.
13991 (BUS_OBJERR): Likewise.
13992 (BUS_MCEERR_AR): Likewise.
13993 (BUS_MCEERR_AO): Likewise.
13994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13995 (TRAP_TRACE): Likewise.
13996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13997 __USE_XOPEN2K8].
13998 (CLD_KILLED): Likewise.
13999 (CLD_DUMPED): Likewise.
14000 (CLD_TRAPPED): Likewise.
14001 (CLD_STOPPED): Likewise.
14002 (CLD_CONTINUED): Likewise.
14003 (POLL_IN): Likewise.
14004 (POLL_OUT): Likewise.
14005 (POLL_MSG): Likewise.
14006 (POLL_ERR): Likewise.
14007 (POLL_PRI): Likewise.
14008 (POLL_HUP): Likewise.
14009 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14010 Likewise.
14011 (ILL_ILLOPN): Likewise.
14012 (ILL_ILLADR): Likewise.
14013 (ILL_ILLTRP): Likewise.
14014 (ILL_PRVOPC): Likewise.
14015 (ILL_PRVREG): Likewise.
14016 (ILL_COPROC): Likewise.
14017 (ILL_BADSTK): Likewise.
14018 (ILL_BADIADDR): Likewise.
14019 (ILL_BREAK): Likewise.
14020 (FPE_INTDIV): Likewise.
14021 (FPE_INTOVF): Likewise.
14022 (FPE_FLTDIV): Likewise.
14023 (FPE_FLTOVF): Likewise.
14024 (FPE_FLTUND): Likewise.
14025 (FPE_FLTRES): Likewise.
14026 (FPE_FLTINV): Likewise.
14027 (FPE_FLTSUB): Likewise.
14028 (FPE_DECOVF): Likewise.
14029 (FPE_DECDIV): Likewise.
14030 (FPE_DECERR): Likewise.
14031 (FPE_INVASC): Likewise.
14032 (FPE_INVDEC): Likewise.
14033 (SEGV_MAPERR): Likewise.
14034 (SEGV_ACCERR): Likewise.
14035 (SEGV_PSTKOVF): Likewise.
14036 (BUS_ADRALN): Likewise.
14037 (BUS_ADRERR): Likewise.
14038 (BUS_OBJERR): Likewise.
14039 (BUS_MCEERR_AR): Likewise.
14040 (BUS_MCEERR_AO): Likewise.
14041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14042 (TRAP_TRACE): Likewise.
14043 (TRAP_BRANCH): Likewise.
14044 (TRAP_HWBKPT): Likewise.
14045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14046 __USE_XOPEN2K8].
14047 (CLD_KILLED): Likewise.
14048 (CLD_DUMPED): Likewise.
14049 (CLD_TRAPPED): Likewise.
14050 (CLD_STOPPED): Likewise.
14051 (CLD_CONTINUED): Likewise.
14052 (POLL_IN): Likewise.
14053 (POLL_OUT): Likewise.
14054 (POLL_MSG): Likewise.
14055 (POLL_ERR): Likewise.
14056 (POLL_PRI): Likewise.
14057 (POLL_HUP): Likewise.
14058 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14059 (ILL_ILLOPN): Likewise.
14060 (ILL_ILLADR): Likewise.
14061 (ILL_ILLTRP): Likewise.
14062 (ILL_PRVOPC): Likewise.
14063 (ILL_PRVREG): Likewise.
14064 (ILL_COPROC): Likewise.
14065 (ILL_BADSTK): Likewise.
14066 (FPE_INTDIV): Likewise.
14067 (FPE_INTOVF): Likewise.
14068 (FPE_FLTDIV): Likewise.
14069 (FPE_FLTOVF): Likewise.
14070 (FPE_FLTUND): Likewise.
14071 (FPE_FLTRES): Likewise.
14072 (FPE_FLTINV): Likewise.
14073 (FPE_FLTSUB): Likewise.
14074 (SEGV_MAPERR): Likewise.
14075 (SEGV_ACCERR): Likewise.
14076 (BUS_ADRALN): Likewise.
14077 (BUS_ADRERR): Likewise.
14078 (BUS_OBJERR): Likewise.
14079 (BUS_MCEERR_AR): Likewise.
14080 (BUS_MCEERR_AO): Likewise.
14081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14082 (TRAP_TRACE): Likewise.
14083 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14084 __USE_XOPEN2K8].
14085 (CLD_KILLED): Likewise.
14086 (CLD_DUMPED): Likewise.
14087 (CLD_TRAPPED): Likewise.
14088 (CLD_STOPPED): Likewise.
14089 (CLD_CONTINUED): Likewise.
14090 (POLL_IN): Likewise.
14091 (POLL_OUT): Likewise.
14092 (POLL_MSG): Likewise.
14093 (POLL_ERR): Likewise.
14094 (POLL_PRI): Likewise.
14095 (POLL_HUP): Likewise.
14096 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14097 (ILL_ILLOPN): Likewise.
14098 (ILL_ILLADR): Likewise.
14099 (ILL_ILLTRP): Likewise.
14100 (ILL_PRVOPC): Likewise.
14101 (ILL_PRVREG): Likewise.
14102 (ILL_COPROC): Likewise.
14103 (ILL_BADSTK): Likewise.
14104 (FPE_INTDIV): Likewise.
14105 (FPE_INTOVF): Likewise.
14106 (FPE_FLTDIV): Likewise.
14107 (FPE_FLTOVF): Likewise.
14108 (FPE_FLTUND): Likewise.
14109 (FPE_FLTRES): Likewise.
14110 (FPE_FLTINV): Likewise.
14111 (FPE_FLTSUB): Likewise.
14112 (SEGV_MAPERR): Likewise.
14113 (SEGV_ACCERR): Likewise.
14114 (BUS_ADRALN): Likewise.
14115 (BUS_ADRERR): Likewise.
14116 (BUS_OBJERR): Likewise.
14117 (BUS_MCEERR_AR): Likewise.
14118 (BUS_MCEERR_AO): Likewise.
14119 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14120 (TRAP_TRACE): Likewise.
14121 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14122 __USE_XOPEN2K8].
14123 (CLD_KILLED): Likewise.
14124 (CLD_DUMPED): Likewise.
14125 (CLD_TRAPPED): Likewise.
14126 (CLD_STOPPED): Likewise.
14127 (CLD_CONTINUED): Likewise.
14128 (POLL_IN): Likewise.
14129 (POLL_OUT): Likewise.
14130 (POLL_MSG): Likewise.
14131 (POLL_ERR): Likewise.
14132 (POLL_PRI): Likewise.
14133 (POLL_HUP): Likewise.
14134 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14135 (ILL_ILLOPN): Likewise.
14136 (ILL_ILLADR): Likewise.
14137 (ILL_ILLTRP): Likewise.
14138 (ILL_PRVOPC): Likewise.
14139 (ILL_PRVREG): Likewise.
14140 (ILL_COPROC): Likewise.
14141 (ILL_BADSTK): Likewise.
14142 (FPE_INTDIV): Likewise.
14143 (FPE_INTOVF): Likewise.
14144 (FPE_FLTDIV): Likewise.
14145 (FPE_FLTOVF): Likewise.
14146 (FPE_FLTUND): Likewise.
14147 (FPE_FLTRES): Likewise.
14148 (FPE_FLTINV): Likewise.
14149 (FPE_FLTSUB): Likewise.
14150 (SEGV_MAPERR): Likewise.
14151 (SEGV_ACCERR): Likewise.
14152 (BUS_ADRALN): Likewise.
14153 (BUS_ADRERR): Likewise.
14154 (BUS_OBJERR): Likewise.
14155 (BUS_MCEERR_AR): Likewise.
14156 (BUS_MCEERR_AO): Likewise.
14157 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14158 (TRAP_TRACE): Likewise.
14159 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14160 __USE_XOPEN2K8].
14161 (CLD_KILLED): Likewise.
14162 (CLD_DUMPED): Likewise.
14163 (CLD_TRAPPED): Likewise.
14164 (CLD_STOPPED): Likewise.
14165 (CLD_CONTINUED): Likewise.
14166 (POLL_IN): Likewise.
14167 (POLL_OUT): Likewise.
14168 (POLL_MSG): Likewise.
14169 (POLL_ERR): Likewise.
14170 (POLL_PRI): Likewise.
14171 (POLL_HUP): Likewise.
14172 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14173 (ILL_ILLOPN): Likewise.
14174 (ILL_ILLADR): Likewise.
14175 (ILL_ILLTRP): Likewise.
14176 (ILL_PRVOPC): Likewise.
14177 (ILL_PRVREG): Likewise.
14178 (ILL_COPROC): Likewise.
14179 (ILL_BADSTK): Likewise.
14180 (ILL_DBLFLT): Likewise.
14181 (ILL_HARDWALL): Likewise.
14182 (FPE_INTDIV): Likewise.
14183 (FPE_INTOVF): Likewise.
14184 (FPE_FLTDIV): Likewise.
14185 (FPE_FLTOVF): Likewise.
14186 (FPE_FLTUND): Likewise.
14187 (FPE_FLTRES): Likewise.
14188 (FPE_FLTINV): Likewise.
14189 (FPE_FLTSUB): Likewise.
14190 (SEGV_MAPERR): Likewise.
14191 (SEGV_ACCERR): Likewise.
14192 (BUS_ADRALN): Likewise.
14193 (BUS_ADRERR): Likewise.
14194 (BUS_OBJERR): Likewise.
14195 (BUS_MCEERR_AR): Likewise.
14196 (BUS_MCEERR_AO): Likewise.
14197 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14198 (TRAP_TRACE): Likewise.
14199 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14200 __USE_XOPEN2K8].
14201 (CLD_KILLED): Likewise.
14202 (CLD_DUMPED): Likewise.
14203 (CLD_TRAPPED): Likewise.
14204 (CLD_STOPPED): Likewise.
14205 (CLD_CONTINUED): Likewise.
14206 (POLL_IN): Likewise.
14207 (POLL_OUT): Likewise.
14208 (POLL_MSG): Likewise.
14209 (POLL_ERR): Likewise.
14210 (POLL_PRI): Likewise.
14211 (POLL_HUP): Likewise.
14212 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14213 (ILL_ILLOPN): Likewise.
14214 (ILL_ILLADR): Likewise.
14215 (ILL_ILLTRP): Likewise.
14216 (ILL_PRVOPC): Likewise.
14217 (ILL_PRVREG): Likewise.
14218 (ILL_COPROC): Likewise.
14219 (ILL_BADSTK): Likewise.
14220 (FPE_INTDIV): Likewise.
14221 (FPE_INTOVF): Likewise.
14222 (FPE_FLTDIV): Likewise.
14223 (FPE_FLTOVF): Likewise.
14224 (FPE_FLTUND): Likewise.
14225 (FPE_FLTRES): Likewise.
14226 (FPE_FLTINV): Likewise.
14227 (FPE_FLTSUB): Likewise.
14228 (SEGV_MAPERR): Likewise.
14229 (SEGV_ACCERR): Likewise.
14230 (BUS_ADRALN): Likewise.
14231 (BUS_ADRERR): Likewise.
14232 (BUS_OBJERR): Likewise.
14233 (BUS_MCEERR_AR): Likewise.
14234 (BUS_MCEERR_AO): Likewise.
14235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14236 (TRAP_TRACE): Likewise.
14237 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14238 __USE_XOPEN2K8].
14239 (CLD_KILLED): Likewise.
14240 (CLD_DUMPED): Likewise.
14241 (CLD_TRAPPED): Likewise.
14242 (CLD_STOPPED): Likewise.
14243 (CLD_CONTINUED): Likewise.
14244 (POLL_IN): Likewise.
14245 (POLL_OUT): Likewise.
14246 (POLL_MSG): Likewise.
14247 (POLL_ERR): Likewise.
14248 (POLL_PRI): Likewise.
14249 (POLL_HUP): Likewise.
14250 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14251 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14252
14253 [BZ #16670]
14254 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14255 before #include of <time.h>.
14256 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14257 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14258 (test-xfail-UNIX98/sched.h/conform): Likewise.
14259
14260 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14261
14262 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14263 error absence of trapping exception support.
14264 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14265
14266 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14267
14268 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14269 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14270 * timezone/Makefile (testdata): Move definition above include of
14271 Rules.
14272 (test-zones): New variable.
14273 (tests-special): Add zone files.
14274 (build-testdata): Use $(evaluate-test).
14275
14276 * elf/Makefile (tests-special): Rename tests to end with .out.
14277 ($(objpfx)noload-mem): Likewise.
14278 ($(objpfx)tst-leaks1-mem): Likewise.
14279 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14280 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14281 $(objpfx)test-iconvconfig.out.
14282 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14283 set -e inside subshell and redirect output to file.
14284 * iconvdata/Makefile (generated): Rename tests to end with .out.
14285 Correct type.
14286 (tests-special): Rename tests to end with .out.
14287 ($(objpfx)mtrace-tst-loading): Likewise.
14288 * intl/Makefile (generated): Likewise.
14289 (tests-special): Likewise.
14290 ($(objpfx)mtrace-tst-gettext): Likewise.
14291 * misc/Makefile (generated): Likewise.
14292 (tests-special): Likewise.
14293 ($(objpfx)tst-error1-mem): Likewise.
14294 * nptl/Makefile (tests-special): Likewise.
14295 ($(objpfx)tst-stack3-mem): Likewise.
14296 (generated): Likewise.
14297 * posix/Makefile (generated): Likewise.
14298 (tests-special): Likewise.
14299 (xtests-special): Likewise.
14300 ($(objpfx)tst-fnmatch-mem): Likewise.
14301 ($(objpfx)bug-regex2-mem): Likewise.
14302 ($(objpfx)bug-regex14-mem): Likewise.
14303 ($(objpfx)bug-regex21-mem): Likewise.
14304 ($(objpfx)bug-regex31-mem): Likewise.
14305 ($(objpfx)tst-vfork3-mem): Likewise.
14306 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14307 ($(objpfx)tst-pcre-mem): Likewise.
14308 ($(objpfx)tst-boost-mem): Likewise.
14309 ($(objpfx)bug-ga2-mem): Likewise.
14310 ($(objpfx)bug-glob2-mem): Likewise.
14311 * resolv/Makefile (generate): Likewise.
14312 (tests-special): Likewise.
14313 (xtests-special): Likewise.
14314 (generated): Likewise.
14315 ($(objpfx)mtrace-tst-leaks): Likewise.
14316 ($(objpfx)mtrace-tst-leaks2): Likewise.
14317
14318 * scripts/merge-test-results.sh: New file.
14319 * Makefile (tests-special-notdir): New variable.
14320 (tests): Run merge-test-results.sh.
14321 (xtests): Likewise.
14322 * Rules (tests-special-notdir): New variable.
14323 (xtests-special-notdir): Likewise.
14324 (tests): Run merge-test-results.sh
14325 (xtests): Likewise.
14326
14327 * Makeconfig (test-xfail-name): New variable.
14328 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14329 compute variable name for expected failures.
14330 * conform/Makefile (conformtest-headers-data): New variable.
14331 (conformtest-standards): Likewise.
14332 (conformtest-headers-ISO): Likewise.
14333 (conformtest-headers-ISO99): Likewise.
14334 (conformtest-headers-ISO11): Likewise.
14335 (conformtest-headers-POSIX): Likewise.
14336 (conformtest-headers-XPG3): Likewise.
14337 (conformtest-headers-XPG4): Likewise.
14338 (conformtest-headers-UNIX98): Likewise.
14339 (conformtest-headers-XOPEN2K): Likewise.
14340 (conformtest-headers-POSIX2008): Likewise.
14341 (conformtest-headers-XOPEN2K8): Likewise.
14342 (conformtest-header-list-base): Likewise.
14343 (conformtest-header-list-tests): Likewise.
14344 (conformtest-header-base): Likewise.
14345 (conformtest-header-tests): Likewise.
14346 (tests-special): Add $(conformtest-header-list-tests). If
14347 [$(fast-check) && !$(cross-compiling)], add
14348 $(conformtest-header-tests) instead of
14349 $(objpfx)run-conformtest.out.
14350 (generated): Add $(conformtest-header-list-base). If
14351 [$(fast-check) && !$(cross-compiling)], add
14352 $(conformtest-header-base). Remove previous setting.
14353 ($(conformtest-header-list-tests)): New target.
14354 (test-xfail-run-conformtest): Remove variable.
14355 ($(objpfx)run-conformtest.out): Remove target.
14356 (test-xfail-ISO11/complex.h/conform): New variable.
14357 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14358 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14359 (test-xfail-XPG3/varargs.h/conform): Likewise.
14360 (test-xfail-XPG4/varargs.h/conform): Likewise.
14361 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14362 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14363 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14364 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14365 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14366 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14367 (test-xfail-XPG3/ftw.h/conform): Likewise.
14368 (test-xfail-XPG3/grp.h/conform): Likewise.
14369 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14370 (test-xfail-XPG3/limits.h/conform): Likewise.
14371 (test-xfail-XPG3/pwd.h/conform): Likewise.
14372 (test-xfail-XPG3/search.h/conform): Likewise.
14373 (test-xfail-XPG3/signal.h/conform): Likewise.
14374 (test-xfail-XPG3/stdio.h/conform): Likewise.
14375 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14376 (test-xfail-XPG3/string.h/conform): Likewise.
14377 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14378 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14379 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14380 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14381 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14382 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14383 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14384 (test-xfail-XPG3/termios.h/conform): Likewise.
14385 (test-xfail-XPG3/time.h/conform): Likewise.
14386 (test-xfail-XPG3/unistd.h/conform): Likewise.
14387 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14388 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14389 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14390 (test-xfail-XPG4/netdb.h/conform): Likewise.
14391 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14392 (test-xfail-XPG4/signal.h/conform): Likewise.
14393 (test-xfail-XPG4/stdio.h/conform): Likewise.
14394 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14395 (test-xfail-XPG4/stropts.h/conform): Likewise.
14396 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14397 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14398 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14399 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14400 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14401 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14402 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14403 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14404 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14405 (test-xfail-XPG4/termios.h/conform): Likewise.
14406 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14407 (test-xfail-XPG4/unistd.h/conform): Likewise.
14408 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14409 (test-xfail-POSIX/sched.h/conform): Likewise.
14410 (test-xfail-POSIX/signal.h/conform): Likewise.
14411 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14412 (test-xfail-POSIX/tar.h/conform): Likewise.
14413 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14414 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14415 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14416 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14417 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14418 (test-xfail-UNIX98/sched.h/conform): Likewise.
14419 (test-xfail-UNIX98/signal.h/conform): Likewise.
14420 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14421 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14422 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14423 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14424 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14425 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14426 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14427 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14428 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14429 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14430 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14431 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14432 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14433 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14434 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14435 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14436 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14437 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14438 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14439 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14440 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14441 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14442 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14443 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14444 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14445 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14446 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14447 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14448 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14449 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14450 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14451 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14452 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14453 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14454 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14455 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14456 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14457 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14458 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14459 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14460 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14461 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14462 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14463 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14464 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14465 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14466 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14467 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14468 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14469 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14470 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14471 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14472 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14473 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14474 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14475 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14476 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14477 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14478 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14479 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14480 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14481 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14482 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14483 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14484 (conformtest-cc-flags): Likewise.
14485 ($(conformtest-header-tests): New target.
14486 * conform/check-header-lists.sh: New file.
14487 * conform/run-conformtest.sh: Remove.
14488
14489 * conform/conformtest.pl: Allow ' and \ in values given for
14490 constants.
14491 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14492 inclusion.
14493 [POSIX] (sys/types.h): Likewise.
14494 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14495 inclusion.
14496 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14497 inclusion.
14498 * conform/data/signal.h-data (SIGIO): Remove expectation.
14499 [XPG3] (SIGBUS): Do not expect.
14500 [POSIX || XPG3] (SIGPOLL): Likewise.
14501 [POSIX || XPG3] (SIGPROF): Likewise.
14502 [POSIX || XPG3] (SIGSYS): Likewise.
14503 [XPG3] (SIGTRAP): Likewise.
14504 [POSIX || XPG3] (SIGURG): Likewise.
14505 [POSIX || XPG3] (SIGVTALRM): Likewise.
14506 [POSIX || XPG3] (SIGXCPU): Likewise.
14507 [POSIX || XPG3] (SIGXFSZ): Likewise.
14508 [POSIX] (SA_SIGINFO): Expect.
14509 [XPG3] (siginfo_t): Do not expect type or contents.
14510 [POSIX] (si_pid): Do not expect element.
14511 [POSIX] (si_uid): Likewise.
14512 [POSIX] (si_addr): Likewise.
14513 [POSIX] (si_status): Likewise.
14514 [POSIX] (si_band): Likewise.
14515 [XPG4] (si_value): Likewise.
14516 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14517 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14518 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14519 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14520 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14521 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14522 [POSIX || XPG3] (ILL_COPROC): Likewise.
14523 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14524 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14525 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14526 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14527 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14528 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14529 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14530 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14531 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14532 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14533 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14534 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14535 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14536 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14537 [POSIX || XPG3] (CLD_EXITED): Likewise.
14538 [POSIX || XPG3] (CLD_KILLED): Likewise.
14539 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14540 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14541 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14542 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14543 [POSIX || XPG3] (POLL_IN): Likewise.
14544 [POSIX || XPG3] (POLL_OUT): Likewise.
14545 [POSIX || XPG3] (POLL_MSG): Likewise.
14546 [POSIX || XPG3] (POLL_ERR): Likewise.
14547 [POSIX || XPG3] (POLL_PRI): Likewise.
14548 [POSIX || XPG3] (POLL_HUP): Likewise.
14549 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14550 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14551 (SIG*): Do not allow.
14552 [XPG3] (si_*): Likewise.
14553 [XPG3] (SI_*): Likewise.
14554 [XPG3 || XPG4] (sigev_*): Likewise.
14555 [XPG3 || XPG4] (SIGEV_*): Likewise.
14556 [XPG3 || XPG4] (sival_*): Likewise.
14557 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14558 [POSIX || XPG3] (BUS_*): Likewise.
14559 [POSIX || XPG3] (CLD_*): Likewise.
14560 [POSIX || XPG3] (FPE_*): Likewise.
14561 [POSIX || XPG3] (ILL_*): Likewise.
14562 [POSIX || XPG3] (POLL_*): Likewise.
14563 [POSIX || XPG3] (SEGV_*): Likewise.
14564 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14565 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14566 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14567 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14568 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14569 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14570 Specify type and value.
14571 (TVERSLEN): Likewise.
14572 (REGTYPE): Likewise.
14573 (AREGTYPE): Likewise.
14574 (LNKTYPE): Likewise.
14575 (SYMTYPE): Likewise.
14576 (CHRTYPE): Likewise.
14577 (BLKTYPE): Likewise.
14578 (DIRTYPE): Likewise.
14579 (FIFOTYPE): Likewise.
14580 (CONTTYPE): Likewise.
14581 (TSUID): Likewise.
14582 (TSGID): Likewise.
14583 (TSVTX): Likewise.
14584 (TUREAD): Likewise.
14585 (TUWRITE): Likewise.
14586 (TUEXEC): Likewise.
14587 (TGREAD): Likewise.
14588 (TGWRITE): Likewise.
14589 (TGEXEC): Likewise.
14590 (TOREAD): Likewise.
14591 (TOWRITE): Likewise.
14592 (TOEXEC): Likewise.
14593 [POSIX] (TSVTX): Expect constant.
14594
14595 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14596
14597 * Makefile (tests): Change dependencies to ....
14598 (tests-special): ... additions to this variable.
14599 (tests): Depend on $(tests-special).
14600 * Makerules (check-abi-list): New variable.
14601 (check-abi): Depend on $(check-abi-list).
14602 [$(subdir) = elf] (tests-special): Add
14603 $(objpfx)check-abi-libc.out.
14604 [$(build-shared) = yes && subdir] (tests-special): Add
14605 $(check-abi-list).
14606 [$(build-shared) = yes && subdir] (tests): Do not depend on
14607 check-abi.
14608 * Rules (tests): Depend on $(tests-special).
14609 (xtests): Depend on $(xtests-special).
14610 * catgets/Makefile (tests): Change dependencies to ....
14611 (tests-special): ... additions to this variable.
14612 * conform/Makefile (tests): Change dependencies to ....
14613 (tests-special): ... additions to this variable.
14614 * elf/Makefile (tests): Change dependencies to ....
14615 (tests-special): ... additions to this variable.
14616 * grp/Makefile (tests): Change dependencies to ....
14617 (tests-special): ... additions to this variable.
14618 * iconv/Makefile (xtests): Change dependencies to ....
14619 (xtests-special): ... additions to this variable.
14620 * iconvdata/Makefile (tests): Change dependencies to ....
14621 (tests-special): ... additions to this variable.
14622 * intl/Makefile (tests): Change dependencies to ....
14623 (tests-special): ... additions to this variable. Also add
14624 $(objpfx)tst-gettext.out.
14625 * io/Makefile (tests): Change dependencies to ....
14626 (tests-special): ... additions to this variable.
14627 * libio/Makefile (tests): Change dependencies to ....
14628 (tests-special): ... additions to this variable.
14629 * malloc/Makefile (tests): Change dependencies to ....
14630 (tests-special): ... additions to this variable.
14631 * misc/Makefile (tests): Change dependencies to ....
14632 (tests-special): ... additions to this variable.
14633 * nptl/Makefile (tests): Change dependencies to ....
14634 (tests-special): ... additions to this variable.
14635 * nptl_db/Makefile (tests): Change dependencies to ....
14636 (tests-special): ... additions to this variable.
14637 * posix/Makefile (tests): Change dependencies to ....
14638 (tests-special): ... additions to this variable.
14639 (xtests): Change dependencies to ....
14640 (xtests-special): ... additions to this variable.
14641 * resolv/Makefile (tests): Change dependencies to ....
14642 (tests-special): ... additions to this variable.
14643 (xtests): Change dependencies to ....
14644 (xtests-special): ... additions to this variable.
14645 * stdio-common/Makefile (tests): Change dependencies to ....
14646 (tests-special): ... additions to this variable.
14647 (do-tst-unbputc): Remove target.
14648 (do-tst-printf): Likewise.
14649 * stdlib/Makefile (tests): Change dependencies to ....
14650 (tests-special): ... additions to this variable.
14651 * string/Makefile (tests): Change dependencies to ....
14652 (tests-special): ... additions to this variable.
14653 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14654 (tests-special): ... additions to this variable.
14655
14656 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14657 whole file.
14658 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14659 whole file.
14660 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14661 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14662
14663 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14664 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14665 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14666 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14667 * conform/data/libgen.h-data [XPG3]: Likewise.
14668 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14669 * conform/data/ndbm.h-data [XPG3]: Likewise.
14670 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14671 * conform/data/netdb.h-data [XPG3]: Likewise.
14672 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14673 * conform/data/poll.h-data [XPG3]: Likewise.
14674 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14675 * conform/data/strings.h-data [XPG3]: Likewise.
14676 * conform/data/stropts.h-data [XPG3]: Likewise.
14677 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14678 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14679 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14680 Likewise.
14681 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14682 * conform/data/sys/time.h-data [XPG3]: Likewise.
14683 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14684 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14685 * conform/data/sys/un.h-data [XPG3]: Likewise.
14686 * conform/data/syslog.h-data [XPG3]: Likewise.
14687 * conform/data/ucontext.h-data [XPG3]: Likewise.
14688 * conform/data/utmpx.h-data [XPG3]: Likewise.
14689 * conform/data/varargs.h-data [UNIX98]: Enable file.
14690
14691 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14692
14693 * math/libm-test.inc (struct test_f_f_data): Move expected results
14694 into structure for each rounding mode.
14695 (struct test_ff_f_data): Likewise.
14696 (struct test_ff_f_data_nexttoward): Likewise.
14697 (struct test_fi_f_data): Likewise.
14698 (struct test_fl_f_data): Likewise.
14699 (struct test_if_f_data): Likewise.
14700 (struct test_fff_f_data): Likewise.
14701 (struct test_c_f_data): Likewise.
14702 (struct test_f_f1_data): Likewise.
14703 (struct test_fF_f1_data): Likewise.
14704 (struct test_ffI_f1_data): Likewise.
14705 (struct test_c_c_data): Likewise.
14706 (struct test_cc_c_data): Likewise.
14707 (struct test_f_i_data): Likewise.
14708 (struct test_ff_i_data): Likewise.
14709 (struct test_f_l_data): Likewise.
14710 (struct test_f_L_data): Likewise.
14711 (struct test_fFF_11_data): Likewise.
14712 (RM_): New macro.
14713 (RM_FE_DOWNWARD): Likewise.
14714 (RM_FE_TONEAREST): Likewise.
14715 (RM_FE_TOWARDZERO): Likewise.
14716 (RM_FE_UPWARD): Likewise.
14717 (RUN_TEST_LOOP_f_f): Update references to expected results.
14718 (RUN_TEST_LOOP_2_f): Likewise.
14719 (RUN_TEST_LOOP_fff_f): Likewise.
14720 (RUN_TEST_LOOP_c_f): Likewise.
14721 (RUN_TEST_LOOP_f_f1): Likewise.
14722 (RUN_TEST_LOOP_fF_f1): Likewise.
14723 (RUN_TEST_LOOP_fI_f1): Likewise.
14724 (RUN_TEST_LOOP_ffI_f1): Likewise.
14725 (RUN_TEST_LOOP_c_c): Likewise.
14726 (RUN_TEST_LOOP_cc_c): Likewise.
14727 (RUN_TEST_LOOP_f_i): Likewise.
14728 (RUN_TEST_LOOP_f_i_tg): Likewise.
14729 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14730 (RUN_TEST_LOOP_f_b): Likewise.
14731 (RUN_TEST_LOOP_f_b_tg): Likewise.
14732 (RUN_TEST_LOOP_f_l): Likewise.
14733 (RUN_TEST_LOOP_f_L): Likewise.
14734 (RUN_TEST_LOOP_fFF_11): Likewise.
14735 * math/gen-libm-test.pl (parse_args): Output four copies of
14736 expected results for each test.
14737
14738 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14739 (__ASSUME_UTIMES): Remove.
14740 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14741 (__ASSUME_UTIMES): Likewise.
14742
14743 * math/gen-auto-libm-tests.c: Update comment on output format.
14744 (output_for_one_input_case): Generate before-rounding and
14745 after-rounding information as conditions on output flags not
14746 floating-point format.
14747 * math/auto-libm-test-out: Regenerated.
14748 * math/gen-libm-test.pl (cond_value): New function.
14749 (or_cond_value): Use cond_value.
14750 (generate_testfile): Handle conditional exceptions.
14751
14752 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14753
14754 * math/libm-test.inc (max_valid_error): New variable.
14755 (init_max_error): Take new argument specifying whether function
14756 results are exactly determined. Set max_valid_error and bound
14757 other variables for errors based on this argument.
14758 (set_max_error): Do not record results above max_valid_error.
14759 (check_float_internal): Only accept errors of up to 0.5ulps if
14760 also at most max_valid_error.
14761 (START): Take new argument EXACT and pass it to init_max_error.
14762 (acos_test): Update call to START.
14763 (acos_test_tonearest): Likewise.
14764 (acos_test_towardzero): Likewise.
14765 (acos_test_downward): Likewise.
14766 (acos_test_upward): Likewise.
14767 (acosh_test): Likewise.
14768 (asin_test): Likewise.
14769 (asin_test_tonearest): Likewise.
14770 (asin_test_towardzero): Likewise.
14771 (asin_test_downward): Likewise.
14772 (asin_test_upward): Likewise.
14773 (asinh_test): Likewise.
14774 (atan_test): Likewise.
14775 (atanh_test): Likewise.
14776 (atan2_test): Likewise.
14777 (cabs_test): Likewise.
14778 (cacos_test): Likewise.
14779 (cacosh_test): Likewise.
14780 (carg_test): Likewise.
14781 (casin_test): Likewise.
14782 (casinh_test): Likewise.
14783 (catan_test): Likewise.
14784 (catanh_test): Likewise.
14785 (cbrt_test): Likewise.
14786 (ccos_test): Likewise.
14787 (ccosh_test): Likewise.
14788 (ceil_test): Likewise.
14789 (cexp_test): Likewise.
14790 (cimag_test): Likewise.
14791 (clog_test): Likewise.
14792 (clog10_test): Likewise.
14793 (conj_test): Likewise.
14794 (copysign_test): Likewise.
14795 (cos_test): Likewise.
14796 (cos_test_tonearest): Likewise.
14797 (cos_test_towardzero): Likewise.
14798 (cos_test_downward): Likewise.
14799 (cos_test_upward): Likewise.
14800 (cosh_test): Likewise.
14801 (cosh_test_tonearest): Likewise.
14802 (cosh_test_towardzero): Likewise.
14803 (cosh_test_downward): Likewise.
14804 (cosh_test_upward): Likewise.
14805 (cpow_test): Likewise.
14806 (cproj_test): Likewise.
14807 (creal_test): Likewise.
14808 (csin_test): Likewise.
14809 (csinh_test): Likewise.
14810 (csqrt_test): Likewise.
14811 (ctan_test): Likewise.
14812 (ctan_test_tonearest): Likewise.
14813 (ctan_test_towardzero): Likewise.
14814 (ctan_test_downward): Likewise.
14815 (ctan_test_upward): Likewise.
14816 (ctanh_test): Likewise.
14817 (ctanh_test_tonearest): Likewise.
14818 (ctanh_test_towardzero): Likewise.
14819 (ctanh_test_downward): Likewise.
14820 (ctanh_test_upward): Likewise.
14821 (erf_test): Likewise.
14822 (erfc_test): Likewise.
14823 (exp_test): Likewise.
14824 (exp_test_tonearest): Likewise.
14825 (exp_test_towardzero): Likewise.
14826 (exp_test_downward): Likewise.
14827 (exp_test_upward): Likewise.
14828 (exp10_test): Likewise.
14829 (exp10_test_tonearest): Likewise.
14830 (exp10_test_towardzero): Likewise.
14831 (exp10_test_downward): Likewise.
14832 (exp10_test_upward): Likewise.
14833 (pow10_test): Likewise.
14834 (exp2_test): Likewise.
14835 (expm1_test): Likewise.
14836 (expm1_test_tonearest): Likewise.
14837 (expm1_test_towardzero): Likewise.
14838 (expm1_test_downward): Likewise.
14839 (expm1_test_upward): Likewise.
14840 (fabs_test): Likewise.
14841 (fdim_test): Likewise.
14842 (floor_test): Likewise.
14843 (fma_test): Likewise.
14844 (fma_test_towardzero): Likewise.
14845 (fma_test_downward): Likewise.
14846 (fma_test_upward): Likewise.
14847 (fmax_test): Likewise.
14848 (fmin_test): Likewise.
14849 (fmod_test): Likewise.
14850 (fpclassify_test): Likewise.
14851 (frexp_test): Likewise.
14852 (hypot_test): Likewise.
14853 (ilogb_test): Likewise.
14854 (isfinite_test): Likewise.
14855 (finite_test): Likewise.
14856 (isgreater_test): Likewise.
14857 (isgreaterequal_test): Likewise.
14858 (isinf_test): Likewise.
14859 (isless_test): Likewise.
14860 (islessequal_test): Likewise.
14861 (islessgreater_test): Likewise.
14862 (isnan_test): Likewise.
14863 (isnormal_test): Likewise.
14864 (issignaling_test): Likewise.
14865 (isunordered_test): Likewise.
14866 (j0_test): Likewise.
14867 (j1_test): Likewise.
14868 (jn_test): Likewise.
14869 (ldexp_test): Likewise.
14870 (lgamma_test): Likewise.
14871 (gamma_test): Likewise.
14872 (lrint_test): Likewise.
14873 (lrint_test_tonearest): Likewise.
14874 (lrint_test_towardzero): Likewise.
14875 (lrint_test_downward): Likewise.
14876 (lrint_test_upward): Likewise.
14877 (llrint_test): Likewise.
14878 (llrint_test_tonearest): Likewise.
14879 (llrint_test_towardzero): Likewise.
14880 (llrint_test_downward): Likewise.
14881 (llrint_test_upward): Likewise.
14882 (log_test): Likewise.
14883 (log10_test): Likewise.
14884 (log1p_test): Likewise.
14885 (log2_test): Likewise.
14886 (logb_test): Likewise.
14887 (logb_test_downward): Likewise.
14888 (lround_test): Likewise.
14889 (llround_test): Likewise.
14890 (modf_test): Likewise.
14891 (nearbyint_test): Likewise.
14892 (nextafter_test): Likewise.
14893 (nexttoward_test): Likewise.
14894 (pow_test): Likewise.
14895 (pow_test_tonearest): Likewise.
14896 (pow_test_towardzero): Likewise.
14897 (pow_test_downward): Likewise.
14898 (pow_test_upward): Likewise.
14899 (remainder_test): Likewise.
14900 (drem_test): Likewise.
14901 (remainder_test_tonearest): Likewise.
14902 (drem_test_tonearest): Likewise.
14903 (remainder_test_towardzero): Likewise.
14904 (drem_test_towardzero): Likewise.
14905 (remainder_test_downward): Likewise.
14906 (drem_test_downward): Likewise.
14907 (remainder_test_upward): Likewise.
14908 (drem_test_upward): Likewise.
14909 (remquo_test): Likewise.
14910 (rint_test): Likewise.
14911 (rint_test_tonearest): Likewise.
14912 (rint_test_towardzero): Likewise.
14913 (rint_test_downward): Likewise.
14914 (rint_test_upward): Likewise.
14915 (round_test): Likewise.
14916 (scalb_test): Likewise.
14917 (scalbn_test): Likewise.
14918 (scalbln_test): Likewise.
14919 (signbit_test): Likewise.
14920 (sin_test): Likewise.
14921 (sin_test_tonearest): Likewise.
14922 (sin_test_towardzero): Likewise.
14923 (sin_test_downward): Likewise.
14924 (sin_test_upward): Likewise.
14925 (sincos_test): Likewise.
14926 (sinh_test): Likewise.
14927 (sinh_test_tonearest): Likewise.
14928 (sinh_test_towardzero): Likewise.
14929 (sinh_test_downward): Likewise.
14930 (sinh_test_upward): Likewise.
14931 (sqrt_test): Likewise.
14932 (sqrt_test_tonearest): Likewise.
14933 (sqrt_test_towardzero): Likewise.
14934 (sqrt_test_downward): Likewise.
14935 (sqrt_test_upward): Likewise.
14936 (tan_test): Likewise.
14937 (tan_test_tonearest): Likewise.
14938 (tan_test_towardzero): Likewise.
14939 (tan_test_downward): Likewise.
14940 (tan_test_upward): Likewise.
14941 (tanh_test): Likewise.
14942 (tgamma_test): Likewise.
14943 (trunc_test): Likewise.
14944 (y0_test): Likewise.
14945 (y1_test): Likewise.
14946 (yn_test): Likewise.
14947 (significand_test): Likewise.
14948
14949 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14950 individual tests in comment.
14951 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14952 (prev_max_error): New variable.
14953 (prev_real_max_error): Likewise.
14954 (prev_imag_max_error): Likewise.
14955 (compare_ulp_data): Don't refer to test names in comment.
14956 (find_test_ulps): Remove function.
14957 (find_function_ulps): Likewise.
14958 (find_complex_function_ulps): Likewise.
14959 (init_max_error): Take function name as argument. Look up ulps
14960 for that function.
14961 (print_ulps): Remove function.
14962 (print_max_error): Use prev_max_error instead of calling
14963 find_function_ulps.
14964 (print_complex_max_error): Use prev_real_max_error and
14965 prev_imag_max_error instead of calling find_complex_function_ulps.
14966 (check_float_internal): Take max_ulp parameter instead of calling
14967 find_test_ulps. Don't call print_ulps.
14968 (check_float): Update call to check_float_internal.
14969 (check_complex): Update calls to check_float_internal.
14970 (START): Pass argument to init_max_error.
14971 * math/gen-libm-test.pl (%results): Don't include "kind"
14972 information.
14973 (parse_ulps): Don't handle ulps of individual tests.
14974 (print_ulps_file): Likewise.
14975 (output_ulps): Likewise.
14976 * math/README.libm-test: Update.
14977 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14978 individual tests.
14979 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14980 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14981 * sysdeps/arm/libm-test-ulps: Likewise.
14982 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14983 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14984 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14985 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14986 * sysdeps/microblaze/libm-test-ulps: Likewise.
14987 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14988 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14990 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14991 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14992 * sysdeps/sh/libm-test-ulps: Likewise.
14993 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14994 * sysdeps/tile/libm-test-ulps: Likewise.
14995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14996
14997 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14998
14999 * math/libm-test.inc (print_complex_max_error): Check separately
15000 whether real and imaginary errors are within allowed range and
15001 pass 0 to print_complex_function_ulps instead of value within
15002 allowed range.
15003
15004 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15005
15006 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15007 formatting.
15008 (get_handles_fopen): Likewise.
15009 (do_write_test): Likewise.
15010
15011 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15012
15013 * libio/fileops.c (do_ftell): Use cached offset when
15014 available.
15015 * libio/iofwide.c (do_ftell_wide): Likewise.
15016 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15017 _IO_file_attach.
15018 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15019
15020 [BZ #16532]
15021 * libio/libioP.h (get_file_offset): New function.
15022 * libio/fileops.c (get_file_offset): Likewise.
15023 (do_ftell): Likewise.
15024 (_IO_new_file_seekoff): Split out ftell logic.
15025 * libio/wfileops.c (do_ftell_wide): Likewise.
15026 (_IO_wfile_seekoff): Split out ftell logic.
15027 * libio/tst-ftell-active-handler.c: New test case.
15028 * libio/Makefile (tests): Add it.
15029
15030 2014-03-03 Roland McGrath <roland@hack.frob.com>
15031
15032 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15033 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15034
15035 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15036
15037 [BZ #16639]
15038 * nscd/connections.c (nscd_init): Call do_exit.
15039 (start_threads): Call do_exit and notify_parent.
15040 (begin_drop_privileges): Call do_exit.
15041 (finish_drop_privileges): Likewise.
15042 * nscd/selinux.c (preserve_capabilities): Likewise.
15043 (install_real_capabilities): Likewise.
15044 (nscd_selinux_enabled): Likewise.
15045 (avc_create_thread): Likewise.
15046 (avc_alloc_lock): Likewise.
15047 (nscd_avc_init): Likewise.
15048 * nscd/nscd.c (parent_fd): New static variable.
15049 (main): Create a pipe between parent and child processes.
15050 Skip closing parent_fd.
15051 (monitor_child): New function.
15052 (do_exit): Likewise.
15053 (notify_parent): Likewise.
15054 * nscd/nscd.h (notify_parent): Likewise.
15055 (do_exit): Likewise.
15056
15057 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15058
15059 * malloc/malloc.c (__libc_calloc): Revert last change.
15060
15061 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15062
15063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15064
15065 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15066
15067 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15069 implementation.
15070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15071 (__libc_ifunc_impl_list): Likewise.
15072 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15073 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15074 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15075 * string/strrchr.c: Define STRRCHR.
15076
15077 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15078
15079 * benchtest/bench-strtok.c (simple_strtok): Delete.
15080 (strtok_string): Use as benchmark.
15081 * string/strtok (STRTOK): New macro.
15082
15083 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15084
15085 * manual/threads.texi: Add header and standard comments to all
15086 functions.
15087
15088 * elf/dl-lookup.c (check_match): New function.
15089 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15090 (do_lookup_x): Remove nested function check_match. Use non-nested
15091 function check_match.
15092
15093 2014-02-28 Roland McGrath <roland@hack.frob.com>
15094
15095 * csu/Makefile (generated, before-compile): Use += rather than =.
15096 * catgets/Makefile (generated, generated-dirs): Likewise.
15097 * debug/Makefile (generated): Likewise.
15098 * dlfcn/Makefile (generated): Likewise.
15099 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15100 * iconvdata/Makefile (before-compile, generated): Likewise.
15101 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15102 * libio/Makefile (generated): Likewise.
15103 * malloc/Makefile (generated): Likewise.
15104 * manual/Makefile (generated, generated-dirs): Likewise.
15105 * misc/Makefile (generated): Likewise.
15106 * posix/Makefile (generated): Likewise.
15107 * resolv/Makefile (generated): Likewise.
15108 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15109 * timezone/Makefile (generated, generated-dirs): Likewise.
15110
15111 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15112
15113 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15114
15115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15116 power8 implementation.
15117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15118 file: POWER8 llround ifunc implementation.
15119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15120 (__lllround): Add POWER8 implementation.
15121 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15122 POWER8 llround implementation.
15123
15124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15125 power8 implementation.
15126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15127 file: POWER8 llrint ifunc implementation.
15128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15129 Add POWER8 implementation.
15130 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15131 POWER8 llrint implementation.
15132
15133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15134 power8 implementation.
15135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15136 file: POWER8 finite ifunc implementation.
15137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15138 Add POWER8 implementation.
15139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15140 Likewise.
15141 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15142 POWER8 finite implementation.
15143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15144
15145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15146 power8 implementation.
15147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15148 file: POWER8 isinf ifunc implementation.
15149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15150 POWER8 implementation.
15151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15152 Likewise.
15153 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15154 isinf implementation.
15155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15156
15157 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15158 (INIT_ARCH): Add hwcap2 initialization.
15159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15160 power8 implementation.
15161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15162 file: POWER8 isnan ifunc implementation.
15163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15164 POWER8 implementation.
15165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15166 Likewise.
15167 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15168 isnan implementation.
15169 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15170
15171 2014-02-27 Joey Ye <joey.ye@arm.com>
15172
15173 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15174 (_FP_NANFRAC_Q): Set to zero.
15175
15176 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15177
15178 [BZ #16623]
15179 * math/auto-libm-test-in: New test inputs.
15180 * math/auto-libm-test-out: Regenerate.
15181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15182 and DA.
15183 (__cos): Likewise.
15184 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15185
15186 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15187
15188 * scripts/evaluate-test.sh: Take new argument indicating whether
15189 failure is expected.
15190 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15191 indicating whether failure is expected.
15192 * conform/Makefile (test-xfail-run-conformtest): New variable.
15193 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15194 level.
15195 * posix/Makefile (test-xfail-annexc): New variable.
15196 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15197
15198 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15199
15200 * argp/Makefile: Include Makeconfig immediately after defining
15201 subdir.
15202 * assert/Makefile: Likewise.
15203 * benchtests/Makefile: Likewise.
15204 * catgets/Makefile: Likewise.
15205 * conform/Makefile: Likewise.
15206 * crypt/Makefile: Likewise.
15207 * csu/Makefile: Likewise.
15208 (all): Remove target.
15209 * ctype/Makefile: Include Makeconfig immediately after defining
15210 subdir.
15211 * debug/Makefile: Likewise.
15212 * dirent/Makefile: Likewise.
15213 * dlfcn/Makefile: Likewise.
15214 * gmon/Makefile: Likewise.
15215 * gnulib/Makefile: Likewise.
15216 * grp/Makefile: Likewise.
15217 * gshadow/Makefile: Likewise.
15218 * hesiod/Makefile: Likewise.
15219 * hurd/Makefile: Likewise.
15220 (all): Remove target.
15221 * iconvdata/Makefile: Include Makeconfig immediately after
15222 defining subdir.
15223 * inet/Makefile: Likewise.
15224 * intl/Makefile: Likewise.
15225 * io/Makefile: Likewise.
15226 * libio/Makefile: Likewise.
15227 (all): Remove target.
15228 * locale/Makefile: Include Makeconfig immediately after defining
15229 subdir.
15230 * login/Makefile: Likewise.
15231 * mach/Makefile: Likewise.
15232 (all): Remove target.
15233 * malloc/Makefile: Include Makeconfig immediately after defining
15234 subdir.
15235 (all): Remove target.
15236 * manual/Makefile: Include Makeconfig immediately after defining
15237 subdir.
15238 * math/Makefile: Likewise.
15239 * misc/Makefile: Likewise.
15240 * nis/Makefile: Likewise.
15241 * nss/Makefile: Likewise.
15242 * po/Makefile: Likewise.
15243 (all): Remove target.
15244 * posix/Makefile: Include Makeconfig immediately after defining
15245 subdir.
15246 * pwd/Makefile: Likewise.
15247 * resolv/Makefile: Likewise.
15248 * resource/Makefile: Likewise.
15249 * rt/Makefile: Likewise.
15250 * setjmp/Makefile: Likewise.
15251 * shadow/Makefile: Likewise.
15252 * signal/Makefile: Likewise.
15253 * socket/Makefile: Likewise.
15254 * soft-fp/Makefile: Likewise.
15255 * stdio-common/Makefile: Likewise.
15256 * stdlib/Makefile: Likewise.
15257 * streams/Makefile: Likewise.
15258 * string/Makefile: Likewise.
15259 * sunrpc/Makefile: Likewise.
15260 (all): Remove target.
15261 * sysvipc/Makefile: Include Makeconfig immediately after defining
15262 subdir.
15263 * termios/Makefile: Likewise.
15264 * time/Makefile: Likewise.
15265 * timezone/Makefile: Likewise.
15266 (all): Remove target.
15267 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15268 subdir.
15269 * wctype/Makefile: Likewise.
15270
15271 2014-02-26 Steve Ellcey <sellcey@mips.com>
15272
15273 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15274 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15275 (libc_feholdexcept_setround_mips): Ditto.
15276 (libc_feholdsetround): New.
15277 (libc_feholdsetroundf): New.
15278 (libc_feholdsetroundl): New.
15279 (libc_feupdateenv_test_mips): New.
15280 (libc_feupdateenv_test): New.
15281 (libc_feupdateenv_testf): New.
15282 (libc_feupdateenv_testl): New.
15283 (libc_feresetround): New.
15284 (libc_feresetroundf): New.
15285 (libc_feresetroundl): New.
15286 (libc_fetestexcept_mips): New.
15287 (libc_fetestexcept): New.
15288 (libc_fetestexceptf): New.
15289 (libc_fetestexceptl): New.
15290 (HAVE_RM_CTX): New.
15291 (libc_feholdexcept_setround_mips_ctx): New.
15292 (libc_feholdexcept_setround_ctx): New.
15293 (libc_feholdexcept_setroundf_ctx): New.
15294 (libc_feholdexcept_setroundl_ctx): New.
15295 (libc_fesetenv_mips_ctx): New.
15296 (libc_fesetenv_ctx): New.
15297 (libc_fesetenv_ctxf): New.
15298 (libc_fesetenv_ctxl): New.
15299 (libc_feupdateenv_mips_ctx): New.
15300 (libc_feupdateenv_ctx): New.
15301 (libc_feupdateenvf_ctx): New.
15302 (libc_feupdateenvl_ctx): New.
15303 (libc_feholdsetround_mips_ctx): New.
15304 (libc_feholdsetround_ctx): New.
15305 (libc_feholdsetroundf_ctx): New.
15306 (libc_feholdsetroundl_ctx): New.
15307 (libc_feresetround_mips_ctx): New.
15308 (libc_feresetround_ctx): New.
15309 (libc_feresetroundf_ctx): New.
15310 (libc_feresetroundl_ctx): New.
15311
15312 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15313
15314 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15315
15316 * manual/ipc.texi: New file.
15317 * manual/Makefile (chapters): Add ipc.
15318 * manual/job.texi: Add "Inter-Process Communication" to next.
15319 * manual/process.texi: Add "Inter-Process Communication" to prev.
15320
15321 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15322
15323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15324
15325 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15326
15327 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15328
15329 * manual/arith.texi: Fix spaces after sentences.
15330 * manual/charset.texi: Likewise.
15331 * manual/errno.texi: Likewise.
15332 * manual/install.texi: Likewise.
15333 * manual/llio.texi: Likewise.
15334 * manual/locale.texi: Likewise.
15335 * manual/maint.texi: Likewise.
15336 * manual/math.texi: Likewise.
15337 * manual/memory.texi: Likewise.
15338 * manual/message.texi: Likewise.
15339 * manual/probes.texi: Likewise.
15340 * manual/resource.texi: Likewise.
15341 * manual/signal.texi: Likewise.
15342 * manual/socket.texi: Likewise.
15343 * manual/stdio.texi: Likewise.
15344 * manual/string.texi: Likewise.
15345 * manual/time.texi: Likewise.
15346 * manual/users.texi: Likewise.
15347
15348 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15349
15350 [BZ #16632]
15351 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15352 _DEFAULT_SOURCE is defined.
15353
15354 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15355 Carlos O'Donell <carlos@redhat.com>
15356
15357 [BZ #16613]
15358 * elf/dl-tls.c (_dl_count_modids): New function.
15359 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15360 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15361 audit library and increment generation counter.
15362 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15363 * elf/tst-audit9.c: New file.
15364 * elf/tst-auditmod9a.c: New file.
15365 * elf/tst-auditmod9b.c: New file.
15366 * elf/Makefile: Add rules to build and run tst-audit9.
15367
15368 2014-02-25 Florian Weimer <fweimer@redhat.com>
15369
15370 [BZ #15347]
15371 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15372
15373 2014-02-25 Will Newton <will.newton@linaro.org>
15374
15375 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15376 (__longjmp): Restore sp and lr before restoring callee
15377 saved registers. Add longjmp and longjmp_target
15378 SystemTap probe point.
15379 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15380 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15381 Define to zero to match jmpbuf layout.
15382 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15383 (__sigsetjmp): Save sp and lr before saving callee
15384 saved registers. Add setjmp SystemTap probe point.
15385
15386 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15387
15388 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15389
15390 2014-02-24 Andreas Schwab <schwab@suse.de>
15391
15392 [BZ #15804]
15393 * elf/pldd.c (wait_for_ptrace_stop): New function.
15394 (main): Call it after attaching.
15395
15396 2014-02-22 Roland McGrath <roland@hack.frob.com>
15397
15398 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15399 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15400 Versions files is now verboten.
15401 * hurd/Versions (libc: GLIBC_2.0):
15402 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15403 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15404 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15405 * mach/Versions: Likewise.
15406
15407 * csu/Versions: Remove unused %include.
15408 * resolv/Versions: Likewise.
15409
15410 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15411
15412 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15413 ($(objpfx)check-local-headers.out): Likewise.
15414 ($(objpfx)begin-end-check.out): Likewise.
15415 * Makerules (check-abi-%.out): Likewise.
15416 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15417 ($(objpfx)test2.cat): Likewise.
15418 ($(objpfx)de/libc.cat): Likewise.
15419 ($(objpfx)test-gencat.out): Likewise.
15420 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15421 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15422 ($(objpfx)noload-mem): Likewise.
15423 ($(objpfx)tst-pathopt.out): Likewise.
15424 ($(objpfx)tst-rtld-load-self.out): Likewise.
15425 ($(objpfx)tst-array1-cmp.out): Likewise.
15426 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15427 ($(objpfx)tst-array2-cmp.out): Likewise.
15428 ($(objpfx)tst-array3-cmp.out): Likewise.
15429 ($(objpfx)tst-array4-cmp.out): Likewise.
15430 ($(objpfx)tst-array5-cmp.out): Likewise.
15431 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15432 ($(objpfx)check-textrel.out): Likewise.
15433 ($(objpfx)check-execstack.out): Likewise.
15434 ($(objpfx)check-localplt.out): Likewise.
15435 ($(objpfx)order2-cmp.out): Likewise.
15436 ($(objpfx)tst-leaks1-mem): Likewise.
15437 ($(objpfx)tst-leaks1-static-mem): Likewise.
15438 ($(objpfx)tst-initorder-cmp.out): Likewise.
15439 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15440 ($(objpfx)tst-unused-dep.out): Likewise.
15441 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15442 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15443 * iconv/Makefile (test-iconvconfig): Likewise.
15444 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15445 ($(objpfx)iconv-test.out): Likewise.
15446 ($(objpfx)tst-tables.out): Likewise.
15447 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15448 ($(objpfx)tst-gettext.out): Likewise.
15449 ($(objpfx)tst-translit.out): Likewise.
15450 ($(objpfx)tst-gettext2.out): Likewise.
15451 ($(objpfx)tst-gettext4.out): Likewise.
15452 ($(objpfx)tst-gettext6.out): Likewise.
15453 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15454 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15455 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15456 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15457 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15458 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15459 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15460 ($(objpfx)wordexp-tst.out): Likewise.
15461 ($(objpfx)annexc.out): Likewise.
15462 ($(objpfx)tst-fnmatch-mem): Likewise.
15463 ($(objpfx)bug-regex2-mem): Likewise.
15464 ($(objpfx)bug-regex14-mem): Likewise.
15465 ($(objpfx)bug-regex21-mem): Likewise.
15466 ($(objpfx)bug-regex31-mem): Likewise.
15467 ($(objpfx)tst-vfork3-mem): Likewise.
15468 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15469 ($(objpfx)tst-pcre-mem): Likewise.
15470 ($(objpfx)tst-boost-mem): Likewise.
15471 ($(objpfx)tst-getconf.out): Likewise.
15472 ($(objpfx)bug-ga2-mem): Likewise.
15473 ($(objpfx)bug-glob2-mem): Likewise.
15474 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15475 ($(objpfx)mtrace-tst-leaks2): Likewise.
15476 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15477 ($(objpfx)tst-printf.out): Likewise.
15478 ($(objpfx)tst-setvbuf1.out): Likewise.
15479 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15480 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15481 ($(objpfx)tst-fmtmsg.out): Likewise.
15482 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15483 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15484
15485 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15486 * bits/sigaction.h [__USE_MISC]: Likewise.
15487 * bits/waitstatus.h: Update #endif comments.
15488 * ctype/ctype.h: Likewise.
15489 * dirent/dirent.h: Likewise.
15490 [__USE_MISC]: Remove redundant conditionals.
15491 * grp/grp.h: Update #endif comments.
15492 [__USE_GNU]: Remove redundant conditionals.
15493 [__USE_MISC]: Likewise.
15494 * inet/netinet/in.h [__USE_GNU]: Likewise.
15495 * io/sys/stat.h [__USE_MISC]: Likewise.
15496 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15497 * libio/bits/stdio.h: Update #endif comments.
15498 [__USE_MISC]: Remove redundant conditionals.
15499 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15500 * libio/stdio.h: Update #endif comments.
15501 [__USE_MISC]: Remove redundant conditionals.
15502 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15503 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15504 * math/math.h: Update #else and #endif comments.
15505 [__USE_MISC]: Remove redundant conditionals.
15506 * misc/sys/uio.h: Update #endif comments.
15507 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15508 * posix/glob.h [__USE_MISC]: Likewise.
15509 * posix/sys/types.h: Update #endif comments.
15510 [__USE_MISC]: Remove redundant conditionals.
15511 * posix/sys/wait.h: Update #endif comments.
15512 [__USE_MISC]: Remove redundant conditionals.
15513 * posix/unistd.h: Update #endif comments.
15514 [__USE_MISC]: Remove redundant conditionals.
15515 * pwd/pwd.h [__USE_GNU]: Likewise.
15516 [__USE_MISC]: Likewise.
15517 * resolv/netdb.h [__USE_GNU]: Likewise.
15518 * signal/signal.h: Update #endif comments.
15519 [__USE_MISC]: Remove redundant conditionals.
15520 * stdlib/stdlib.h: Update #else and #endif comments.
15521 [__USE_MISC]: Remove redundant conditionals.
15522 [__USE_GNU]: Likewise.
15523 * string/bits/string2.h [__USE_MISC]: Likewise.
15524 * string/string.h: Update #endif comments.
15525 [__USE_MISC]: Remove redundant conditionals.
15526 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15527 Likewise.
15528 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15529 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15530 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15531 Likewise.
15532 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15533 Likewise.
15534 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15535 comments.
15536 [__USE_MISC]: Remove redundant conditionals.
15537 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15538 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15539 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15540 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15541 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15542 Likewise.
15543 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15544 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15545 Likewise.
15546 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15547 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15548 Likewise.
15549 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15550 Likewise.
15551 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15552 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15553 Likewise.
15554 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15555 Likewise.
15556 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15557 * sysdeps/x86/bits/string.h: Update #endif comments.
15558 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15559 conditionals.
15560 * time/sys/time.h: Update #endif comments.
15561 * time/time.h: Likewise.
15562 [__USE_MISC]: Remove redundant conditionals.
15563
15564 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15565
15566 [BZ #16600]
15567 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15568
15569 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15570
15571 * Versions.def (librt): Add GLIBC_2.17.
15572
15573 2014-02-21 Adam Conrad <adconrad@0c3.net>
15574
15575 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15576 synonym for _SYS_AUXV_H to allow direct inclusion.
15577 * sysdeps/sparc/bits/hwcap.h: Likewise.
15578 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15579 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15580 * sysdeps/sparc/sysdep.h: Likewise.
15581
15582 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15583
15584 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15585
15586 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15587
15588 * benchtests/bench-strrchr.c: Print length instead of position.
15589
15590 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15591
15592 [BZ #16611]
15593 * sysdeps/unix/sysv/linux/kernel-features.h
15594 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15595 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15596 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15597 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15598 Likewise.
15599 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15600 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15601 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15602 (__ASSUME_SENDMMSG): Define instead of using previous
15603 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15604 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15605 (__ASSUME_SENDMMSG_SYSCALL): Define.
15606 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15607 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15608 Likewise.
15609 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15610 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15611 Likewise.
15612 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15613 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15614 Likewise.
15615 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15616 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15617 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15618 [__ASSUME_SENDMMSG]: Change conditionals to
15619 [__ASSUME_SENDMMSG_SOCKETCALL].
15620 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15621 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15622 Define.
15623 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15624 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15625 Likewise.
15626 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15627 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15628 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15629 [!__ASSUME_SENDMMSG]: Change conditional to
15630 [!__ASSUME_SENDMMSG_SOCKETCALL].
15631 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15632 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15633 Define.
15634
15635 [BZ #16610]
15636 * sysdeps/unix/sysv/linux/kernel-features.h
15637 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15638 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15639 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15640 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15641 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15642 [__i386__ || __sparc__]
15643 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15644 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15645 (__ASSUME_RECVMMSG): Define instead of using previous
15646 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15647 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15648 (__ASSUME_RECVMMSG_SYSCALL): Define.
15649 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15650 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15651 Likewise.
15652 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15653 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15654 Likewise.
15655 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15656 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15657 Likewise.
15658 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15659 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15660 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15661 [__ASSUME_RECVMMSG]: Change condition to
15662 [__ASSUME_RECVMMSG_SOCKETCALL].
15663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15664 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15665 Define.
15666 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15667 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15668 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15669 Likewise.
15670 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15671 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15672 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15673 [!__ASSUME_RECVMMSG]: Change condition to
15674 [!__ASSUME_RECVMMSG_SOCKETCALL].
15675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15676 (__ASSUME_RECVMMSG_SYSCALL): Define.
15677
15678 [BZ #16609]
15679 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15680 __powerpc__ || __s390__ || __sh__ || __sparc__]
15681 (__ASSUME_SOCKETCALL): Define.
15682 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15683 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15684 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15685 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15686 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15687 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15688 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15689 (__ASSUME_ACCEPT4): Define instead of using previous
15690 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15691 __powerpc__ || __sparc__ || __s390__)] condition.
15692 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15693 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15694 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15695 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15696 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15697 [!__ASSUME_ACCEPT4]: Change condition to
15698 [!__ASSUME_ACCEPT4_SOCKETCALL].
15699 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15700 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15701 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15702 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15703 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15704 __ASSUME_ACCEPT4_SYSCALL.
15705 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15706 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15707 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15708 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15709 __ASSUME_ACCEPT4_SYSCALL.
15710 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15711 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15712 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15713 [__ASSUME_ACCEPT4]: Change condition to
15714 [__ASSUME_ACCEPT4_SOCKETCALL].
15715 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15716 (__ASSUME_SOCKETCALL): Define.
15717 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15718 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15719 (__ASSUME_SOCKETCALL): Define.
15720 (__ASSUME_ACCEPT4): Remove.
15721 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15722 Define.
15723 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15724 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15725 Likewise.
15726 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15727 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15728
15729 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15730 macro.
15731 (HWCAP_ARM_LPAE): Likewise.
15732 (HWCAP_ARM_EVTSTRM): Likewise.
15733 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15734 Add vpfd32, lpae and evtstrm.
15735 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15736 Increase to 22.
15737
15738 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15739
15740 * math/auto-libm-test-in: Add tests of clog10.
15741 * math/auto-libm-test-out: Regenerated.
15742 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15743 * sysdeps/i386/fpu/libm-test-ulps: Update.
15744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15745
15746 2014-02-18 Andreas Schwab <schwab@suse.de>
15747
15748 [BZ #16574]
15749 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15750 Store non-zero if the second buffer was newly allocated.
15751 (send_dg): Likewise.
15752 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15753 to send_vc and send_dg.
15754 (res_nsend): Pass NULL for ansp2_malloced.
15755 * resolv/res_query.c (__libc_res_nquery): Add parameter
15756 answerp2_malloced and pass it down to __libc_res_nsend.
15757 (res_nquery): Pass additional NULL to __libc_res_nquery.
15758 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15759 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15760 second answer buffer if answerp2_malloced was set.
15761 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15762 (__libc_res_nquerydomain): Add parameter
15763 answerp2_malloced and pass it down to __libc_res_nquery.
15764 (res_nquerydomain): Pass additional NULL to
15765 __libc_res_nquerydomain.
15766 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15767 additional NULL to __libc_res_nsend and __libc_res_nquery.
15768 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15769 additional NULL to __libc_res_nsearch.
15770 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15771 parameter of __libc_res_nsearch to check for separately allocated
15772 second buffer.
15773 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15774 __libc_res_nquery.
15775 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15776 additional NULL to __libc_res_nquery.
15777 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15778 __libc_res_nsearch.
15779 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15780 * include/resolv.h: Update prototypes of __libc_res_nquery,
15781 __libc_res_nsearch, __libc_res_nsend.
15782
15783 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15784
15785 * math/auto-libm-test-in: Add tests of fma.
15786 * math/auto-libm-test-out: Regenerated.
15787 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15788 (fma_towardzero_test_data): Likewise.
15789 (fma_downward_test_data): Likewise.
15790 (fma_upward_test_data): Likewise.
15791 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15792 mpc_mode.
15793 (rounding_modes): Add values for new field.
15794 (func_calc_method): Add value mpfr_fff_f.
15795 (func_calc_desc): Add mpfr_fff_f union field.
15796 (test_function): Add field exact_args.
15797 (FUNC): Add macro argument EXACT_ARGS.
15798 (FUNC_mpfr_f_f): Update call to FUNC.
15799 (FUNC_mpfr_f_f): Likewise.
15800 (FUNC_mpfr_ff_f): Likewise.
15801 (FUNC_mpfr_if_f): Likewise.
15802 (FUNC_mpc_c_f): Likewise.
15803 (FUNC_mpc_c_c): Likewise.
15804 (test_functions): Add fma. Update calls to FUNC.
15805 (handle_input_arg): Add argument exact_args.
15806 (add_test): Update call to handle_input_arg.
15807 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15808 (output_for_one_input_case): Update call to calc_generic_results.
15809 Recalculate exact zero results in each rounding mode.
15810
15811 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15812 non-negative before setting low bit.
15813 * math/auto-libm-test-in: Mark one asin test possibly having
15814 spurious underflow.
15815 * math/auto-libm-test-out: Regenerated.
15816 * sysdeps/i386/fpu/libm-test-ulps: Update.
15817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15818
15819 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15820
15821 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15822 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15823 ports/sysdeps/unix/sysv/linux/microblaze.
15824 * README: Add missing listing for microblaze*-*-linux-gnu.
15825
15826 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15827
15828 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15829 duplicate code
15830
15831 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15832
15833 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15834 * sysdeps/unix/sysv/linux/ia64: Move directory from
15835 ports/sysdeps/unix/sysv/linux/ia64.
15836 * README: Update listing for ia64-*-linux-gnu.
15837
15838 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15839 Joseph Myers <joseph@codesourcery.com>
15840
15841 * Makeconfig (test-name): New variable.
15842 (evaluate-test): Likewise.
15843 * Makerules (do-test-clean): Remove .test-result files.
15844 (common-mostlyclean): Likewise.
15845 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15846 * scripts/evaluate-test.sh: New file.
15847
15848 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15849
15850 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15851 separate $(objpfx)tst-fopenloc-cmp.out and
15852 $(objpfx)tst-fopenloc-mem.out targets.
15853 (tests): Update dependencies.
15854 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15855 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15856 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15857 (tst-rxspencer-no-utf8-ARGS): New variable.
15858 (tst-rxspencer-no-utf8-ENV): Likewise.
15859 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15860 instead of $(objpfx)tst-rxspencer-mem.
15861 ($(objpfx)tst-rxspencer-mem): Change target to
15862 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15863 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15864 * posix/tst-rxspencer-no-utf8.c: New file.
15865
15866 * elf/Makefile ($(objpfx)order.out): Remove rule.
15867 [$(run-built-tests) = yes] (tests): Depend on
15868 $(objpfx)order-cmp.out.
15869 ($(objpfx)order-cmp.out): New rule.
15870 [$(run-built-tests) = yes] (tests): Depend on
15871 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15872 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15873 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15874 $(objpfx)tst-array5-static-cmp.out.
15875 ($(objpfx)tst-array1.out): Remove rule.
15876 ($(objpfx)tst-array1-cmp.out): New rule.
15877 ($(objpfx)tst-array1-static.out): Remove rule.
15878 ($(objpfx)tst-array1-static-cmp.out): New rule.
15879 ($(objpfx)tst-array2.out): Remove rule.
15880 ($(objpfx)tst-array2-cmp.out): New rule.
15881 ($(objpfx)tst-array3.out): Remove rule.
15882 ($(objpfx)tst-array3-cmp.out): New rule.
15883 ($(objpfx)tst-array4.out): Remove rule.
15884 ($(objpfx)tst-array4-cmp.out): New rule.
15885 ($(objpfx)tst-array5.out): Remove rule.
15886 ($(objpfx)tst-array5-cmp.out): New rule.
15887 ($(objpfx)tst-array5-static.out): Remove rule.
15888 ($(objpfx)tst-array5-static-cmp.out): New rule.
15889 [$(run-built-tests) = yes] (tests): Depend on
15890 $(objpfx)order2-cmp.out.
15891 ($(objpfx)order2.out): Remove rule.
15892 ($(objpfx)order2-cmp.out): New rule.
15893 ($(objpfx)tst-initorder.out): Remove rule.
15894 [$(run-built-tests) = yes] (tests): Depend on
15895 $(objpfx)tst-initorder-cmp.out.
15896 ($(objpfx)tst-initorder-cmp.out): New rule.
15897 ($(objpfx)tst-initorder2.out): Remove rule.
15898 [$(run-built-tests) = yes] (tests): Depend on
15899 $(objpfx)tst-initorder2-cmp.out.
15900 ($(objpfx)tst-initorder2-cmp.out): New rule.
15901 [$(run-built-tests) = yes] (tests): Depend on
15902 $(objpfx)tst-unused-dep-cmp.out.
15903 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15904 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15905 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15906 on $(objpfx)tst-setvbuf1-cmp.out.
15907 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15908 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15909 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15910 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15911 ($(objpfx)tst-svc.out): Remove rule.
15912 ($(objpfx)tst-svc-cmp.out): New rule.
15913
15914 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15915
15916 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15917 * ctype/ctype.h [__USE_MISC]: Likewise.
15918 * dirent/dirent.h [__USE_MISC]: Likewise.
15919 * grp/grp.h [__USE_MISC]: Likewise.
15920 * io/fcntl.h [__USE_MISC]: Likewise.
15921 * io/sys/stat.h [__USE_MISC]: Likewise.
15922 * libio/stdio.h [__USE_MISC]: Likewise.
15923 * posix/unistd.h [__USE_MISC]: Likewise.
15924 * pwd/pwd.h [__USE_MISC]: Likewise.
15925 * stdlib.h [__USE_MISC]: Likewise.
15926 * string/bits/string2.h [__USE_MISC]: Likewise.
15927 * string/string.h [__USE_MISC]: Likewise.
15928 * time/time.h [__USE_MISC]: Likewise.
15929
15930 2014-02-13 Andreas Schwab <schwab@suse.de>
15931
15932 [BZ #16574]
15933 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15934 second answer buffer if it was separately allocated.
15935
15936 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15937
15938 * sysdeps/mips/math-tests.h: Include <features.h>.
15939 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15940 (ROUNDING_TESTS_long_double): Do not define.
15941 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15942 (EXCEPTION_TESTS_long_double): Likewise.
15943 * sysdeps/mips/mips64/libm-test-ulps: Update.
15944
15945 * include/features.h (__USE_BSD): Remove macro definitions.
15946 (__USE_SVID): Likewise.
15947 (_BSD_SOURCE): Likewise.
15948 (_SVID_SOURCE): Likewise.
15949 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15950 from definition of _DEFAULT_SOURCE.
15951 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15952 [_DEFAULT_SOURCE].
15953 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15954 * bits/mman.h [__USE_BSD]: Likewise.
15955 * bits/termios.h [__USE_BSD]: Likewise.
15956 * bits/waitstatus.h [__USE_BSD]: Likewise.
15957 * ctype/ctype.h [__USE_SVID]: Likewise.
15958 * dirent/dirent.h [__USE_BSD]: Likewise.
15959 * grp/grp.h [__USE_SVID]: Likewise.
15960 [__USE_BSD]: Likewise.
15961 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15962 * io/fcntl.h [__USE_BSD]: Likewise.
15963 * io/ftw.h [__USE_BSD]: Likewise.
15964 * io/sys/stat.h [__USE_BSD]: Likewise.
15965 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15966 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15967 * libio/stdio.h [__USE_SVID]: Likewise.
15968 [__USE_BSD]: Likewise.
15969 * math/math.h [__USE_SVID]: Likewise.
15970 [__USE_BSD]: Likewise.
15971 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15972 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15973 * misc/search.h [__USE_SVID]: Likewise.
15974 * misc/sys/mman.h [__USE_BSD]: Likewise.
15975 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15976 * misc/sys/uio.h [__USE_BSD]: Likewise.
15977 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15978 * posix/glob.h [__USE_BSD]: Likewise.
15979 * posix/regex.h [__USE_BSD]: Likewise.
15980 * posix/sys/types.h [__USE_BSD]: Likewise.
15981 [__USE_SVID]: Likewise.
15982 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15983 * posix/sys/wait.h [__USE_BSD]: Likewise.
15984 [__USE_SVID]: Likewise.
15985 * posix/unistd.h [__USE_BSD]: Likewise.
15986 [__USE_SVID]: Likewise.
15987 * pwd/pwd.h [__USE_SVID]: Likewise.
15988 * resolv/netdb.h [__USE_BSD]: Likewise.
15989 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15990 * signal/signal.h [__USE_BSD]: Likewise.
15991 [__USE_SVID]: Likewise.
15992 * socket/sys/socket.h [__USE_BSD]: Likewise.
15993 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15994 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15995 [__USE_SVID]: Likewise.
15996 * string/bits/string2.h [__USE_BSD]: Likewise.
15997 [__USE_SVID]: Likewise.
15998 * string/bits/string3.h [__USE_BSD]: Likewise.
15999 * string/endian.h [__USE_BSD]: Likewise.
16000 * string/string.h [__USE_SVID]: Likewise.
16001 [__USE_BSD]: Likewise.
16002 * string/strings.h [__USE_BSD]: Likewise.
16003 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16004 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16005 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16006 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16007 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16008 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16009 Likewise.
16010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16011 Likewise.
16012 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16013 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16014 Likewise.
16015 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16016 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16017 Likewise.
16018 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16019 Likewise.
16020 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16021 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16022 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16023 Likewise.
16024 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16025 Likewise.
16026 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16027 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16028 * termios/termios.h [__USE_BSD]: Likewise.
16029 * time/sys/time.h [__USE_BSD]: Likewise.
16030 * time/time.h [__USE_BSD]: Likewise.
16031 [__USE_SVID]: Likewise.
16032
16033 * Makefile (subdir_targets): Remove subdir_lint.out.
16034
16035 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16036 (do-tst-printf): Likewise.
16037 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16038 $(objpfx)tst-printf.out.
16039
16040 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16041
16042 * Makerules (check-abi-%): Change target to
16043 $(objpfx)check-abi-%.out.
16044 (check-abi target): Update dependencies.
16045 (check-abi-pattern variable): Redirect output of diff to $@.
16046 (check-abi variable): Likewise.
16047 * elf/Makefile (check-abi): Update dependencies.
16048
16049 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16050 unused.
16051 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16052 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16053 subnormal range.
16054 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16055 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16056 value has largest subnormal exponent.
16057 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16058 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16059 * sysdeps/aarch64/soft-fp/sfp-machine.h
16060 (_FP_TININESS_AFTER_ROUNDING): New macro.
16061 * sysdeps/alpha/soft-fp/sfp-machine.h
16062 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16063 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16064 Likewise.
16065 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16066 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16067 * sysdeps/mips/soft-fp/sfp-machine.h
16068 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16069 * sysdeps/powerpc/soft-fp/sfp-machine.h
16070 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16071 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16072 Likewise.
16073 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16074 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16076 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16077 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16078 Likewise.
16079
16080 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16081
16082 [BZ #16545]
16083 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16084 model 1.
16085
16086 2014-02-12 Richard Henderson <rth@redhat.com>
16087
16088 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16089 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16090 * sysdeps/unix/sysv/linux/alpha: Move directory from
16091 ports/sysdeps/unix/sysv/linux/alpha.
16092 * README: Update listing for alpha-*-linux-gnu.
16093
16094 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16095
16096 * include/features.h: Update comment documenting feature test
16097 macros.
16098 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16099 _DEFAULT_SOURCE.
16100 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16101 (_SVID_SOURCE): Likewise.
16102 (_DEFAULT_SOURCE): Update description of default features.
16103 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16104 with _GNU_SOURCE.
16105 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16106 (S_ISVTX): Likewise.
16107 * manual/math.texi (Mathematical Constants): Likewise.
16108 * manual/signal.texi (Interrupted Primitives): Likewise.
16109 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16110 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16111 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16112 Don't refer to _SVID_SOURCE in warning text.
16113
16114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16115
16116 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16117 already defined.
16118 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16119 * sysdeps/mips/dl-lookup.c: Remove.
16120 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16121
16122 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16123
16124 [BZ #16447]
16125 * math/auto-libm-test-in: Add testcase for expl.
16126 * math/auto-libm-test-out: Regenerate.
16127 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16128 calculation of unsafe.
16129 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16130
16131 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16132
16133 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16134 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16135 ports/sysdeps/unix/sysv/linux/aarch64.
16136 * README: Update listing for aarch64*-*-linux-gnu.
16137
16138 2014-02-11 Will Newton <will.newton@linaro.org>
16139
16140 * manual/probes.texi (Mathematical Function Probes): Use
16141 "triggered" instead of "hit".
16142
16143 * manual/probes.texi (Internal Probes): Add documentation
16144 of setjmp, longjmp and longjmp_target probes.
16145
16146 * include/stap-probe.h: Add comment about probe argument
16147 format.
16148
16149 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16150 definition. (tr_where, tr_freehook, tr_mallochook,
16151 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16152
16153 2014-02-11 David S. Miller <davem@davemloft.net>
16154
16155 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16156 processing int_tests.
16157
16158 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16159
16160 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16161 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16162 * sysdeps/unix/sysv/linux/mips: Move directory from
16163 ports/sysdeps/unix/sysv/linux/mips.
16164 * README: Update listing for mips-*-linux-gnu and
16165 mips64-*-linux-gnu.
16166
16167 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16168
16169 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16170 * sysdeps/unix/sysv/linux/m68k: Move directory from
16171 ports/sysdeps/unix/sysv/linux/m68k.
16172 * README: Update listing for m68k-*-linux-gnu.
16173
16174 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16175
16176 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16177 * sysdeps/unix/sysv/linux/generic: Move directory from
16178 ports/sysdeps/unix/sysv/linux/generic.
16179 * sysdeps/unix/sysv/linux/tile: Move directory from
16180 ports/sysdeps/unix/sysv/linux/tile.
16181 * README: Update listing for tile*-*-linux-gnu.
16182
16183 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16184
16185 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16186 __builtin_expect.
16187 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16188 * catgets/open_catalog.c (__open_catalog): Likewise.
16189 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16190 * debug/confstr_chk.c: Likewise.
16191 * debug/fread_chk.c (__fread_chk): Likewise.
16192 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16193 * debug/getgroups_chk.c: Likewise.
16194 * debug/mbsnrtowcs_chk.c: Likewise.
16195 * debug/mbsrtowcs_chk.c: Likewise.
16196 * debug/mbstowcs_chk.c: Likewise.
16197 * debug/memcpy_chk.c: Likewise.
16198 * debug/memmove_chk.c: Likewise.
16199 * debug/mempcpy_chk.c: Likewise.
16200 * debug/memset_chk.c: Likewise.
16201 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16202 * debug/strcat_chk.c (__strcat_chk): Likewise.
16203 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16204 * debug/strncat_chk.c (__strncat_chk): Likewise.
16205 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16206 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16207 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16208 * debug/wcpncpy_chk.c: Likewise.
16209 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16210 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16211 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16212 * debug/wcsncpy_chk.c: Likewise.
16213 * debug/wcsnrtombs_chk.c: Likewise.
16214 * debug/wcsrtombs_chk.c: Likewise.
16215 * debug/wcstombs_chk.c: Likewise.
16216 * debug/wmemcpy_chk.c: Likewise.
16217 * debug/wmemmove_chk.c: Likewise.
16218 * debug/wmempcpy_chk.c: Likewise.
16219 * debug/wmemset_chk.c: Likewise.
16220 * dirent/scandirat.c (SCANDIRAT): Likewise.
16221 * dlfcn/dladdr1.c (dladdr1): Likewise.
16222 * dlfcn/dladdr.c (dladdr): Likewise.
16223 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16224 * dlfcn/dlerror.c (__dlerror): Likewise.
16225 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16226 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16227 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16228 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16229 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16230 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16231 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16232 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16233 Likewise.
16234 * elf/dl-conflict.c: Likewise.
16235 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16236 * elf/dl-dst.h: Likewise.
16237 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16238 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16239 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16240 * elf/dl-init.c (call_init, _dl_init): Likewise.
16241 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16242 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16243 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16244 Likewise.
16245 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16246 Likewise.
16247 * elf/dl-minimal.c (__libc_memalign): Likewise.
16248 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16249 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16250 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16251 * elf/dl-sym.c (do_sym): Likewise.
16252 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16253 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16254 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16255 * elf/dl-writev.h (_dl_writev): Likewise.
16256 * elf/ldconfig.c (search_dir): Likewise.
16257 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16258 (dl_main): Likewise.
16259 * elf/setup-vdso.h (setup_vdso): Likewise.
16260 * grp/compat-initgroups.c (compat_call): Likewise.
16261 * grp/fgetgrent.c (fgetgrent): Likewise.
16262 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16263 * grp/putgrent.c (putgrent): Likewise.
16264 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16265 Likewise.
16266 * hurd/hurdinit.c: Likewise.
16267 * iconvdata/8bit-gap.c (struct): Likewise.
16268 * iconvdata/ansi_x3.110.c : Likewise.
16269 * iconvdata/big5.c : Likewise.
16270 * iconvdata/big5hkscs.c : Likewise.
16271 * iconvdata/cp1255.c: Likewise.
16272 * iconvdata/cp1258.c : Likewise.
16273 * iconvdata/cp932.c : Likewise.
16274 * iconvdata/euc-cn.c: Likewise.
16275 * iconvdata/euc-jisx0213.c : Likewise.
16276 * iconvdata/euc-jp.c: Likewise.
16277 * iconvdata/euc-jp-ms.c : Likewise.
16278 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16279 * iconvdata/gb18030.c : Likewise.
16280 * iconvdata/gbbig5.c (const): Likewise.
16281 * iconvdata/gbgbk.c: Likewise.
16282 * iconvdata/gbk.c : Likewise.
16283 * iconvdata/ibm1364.c : Likewise.
16284 * iconvdata/ibm930.c : Likewise.
16285 * iconvdata/ibm932.c: Likewise.
16286 * iconvdata/ibm933.c : Likewise.
16287 * iconvdata/ibm935.c : Likewise.
16288 * iconvdata/ibm937.c : Likewise.
16289 * iconvdata/ibm939.c : Likewise.
16290 * iconvdata/ibm943.c: Likewise.
16291 * iconvdata/iso_11548-1.c: Likewise.
16292 * iconvdata/iso-2022-cn.c : Likewise.
16293 * iconvdata/iso-2022-cn-ext.c : Likewise.
16294 * iconvdata/iso-2022-jp-3.c: Likewise.
16295 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16296 * iconvdata/iso-2022-kr.c : Likewise.
16297 * iconvdata/iso646.c (gconv_end): Likewise.
16298 * iconvdata/iso_6937-2.c : Likewise.
16299 * iconvdata/iso_6937.c : Likewise.
16300 * iconvdata/iso8859-1.c: Likewise.
16301 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16302 * iconvdata/shift_jisx0213.c : Likewise.
16303 * iconvdata/sjis.c : Likewise.
16304 * iconvdata/t.61.c : Likewise.
16305 * iconvdata/tcvn5712-1.c : Likewise.
16306 * iconvdata/tscii.c: Likewise.
16307 * iconvdata/uhc.c : Likewise.
16308 * iconvdata/unicode.c (gconv_end): Likewise.
16309 * iconvdata/utf-16.c (gconv_end): Likewise.
16310 * iconvdata/utf-32.c (gconv_end): Likewise.
16311 * iconvdata/utf-7.c (base64): Likewise.
16312 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16313 * iconv/gconv_close.c (__gconv_close): Likewise.
16314 * iconv/gconv_open.c (__gconv_open): Likewise.
16315 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16316 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16317 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16318 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16319 (ucs4le_internal_loop_single): Likewise.
16320 * iconv/iconv.c (iconv): Likewise.
16321 * iconv/iconv_close.c: Likewise.
16322 * iconv/loop.c (SINGLE): Likewise.
16323 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16324 * include/atomic.h: Likewise.
16325 * inet/inet6_option.c (option_alloc): Likewise.
16326 * intl/bindtextdom.c (set_binding_values): Likewise.
16327 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16328 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16329 * intl/localealias.c (read_alias_file): Likewise.
16330 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16331 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16332 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16333 * libio/fmemopen.c (fmemopen): Likewise.
16334 * libio/iofgets.c (_IO_fgets): Likewise.
16335 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16336 * libio/iofgetws.c (fgetws): Likewise.
16337 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16338 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16339 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16340 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16341 * locale/findlocale.c (_nl_find_locale): Likewise.
16342 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16343 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16344 Likewise.
16345 * locale/setlocale.c (setlocale): Likewise.
16346 * login/programs/pt_chown.c (main): Likewise.
16347 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16348 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16349 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16350 (mmap, mmap64, mremap, munmap): Likewise.
16351 * math/e_exp2l.c: Likewise.
16352 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16353 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16354 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16355 * math/s_catan.c (__catan): Likewise.
16356 * math/s_catanf.c (__catanf): Likewise.
16357 * math/s_catanh.c (__catanh): Likewise.
16358 * math/s_catanhf.c (__catanhf): Likewise.
16359 * math/s_catanhl.c (__catanhl): Likewise.
16360 * math/s_catanl.c (__catanl): Likewise.
16361 * math/s_ccosh.c (__ccosh): Likewise.
16362 * math/s_ccoshf.c (__ccoshf): Likewise.
16363 * math/s_ccoshl.c (__ccoshl): Likewise.
16364 * math/s_cexp.c (__cexp): Likewise.
16365 * math/s_cexpf.c (__cexpf): Likewise.
16366 * math/s_cexpl.c (__cexpl): Likewise.
16367 * math/s_clog10.c (__clog10): Likewise.
16368 * math/s_clog10f.c (__clog10f): Likewise.
16369 * math/s_clog10l.c (__clog10l): Likewise.
16370 * math/s_clog.c (__clog): Likewise.
16371 * math/s_clogf.c (__clogf): Likewise.
16372 * math/s_clogl.c (__clogl): Likewise.
16373 * math/s_csin.c (__csin): Likewise.
16374 * math/s_csinf.c (__csinf): Likewise.
16375 * math/s_csinh.c (__csinh): Likewise.
16376 * math/s_csinhf.c (__csinhf): Likewise.
16377 * math/s_csinhl.c (__csinhl): Likewise.
16378 * math/s_csinl.c (__csinl): Likewise.
16379 * math/s_csqrt.c (__csqrt): Likewise.
16380 * math/s_csqrtf.c (__csqrtf): Likewise.
16381 * math/s_csqrtl.c (__csqrtl): Likewise.
16382 * math/s_ctan.c (__ctan): Likewise.
16383 * math/s_ctanf.c (__ctanf): Likewise.
16384 * math/s_ctanh.c (__ctanh): Likewise.
16385 * math/s_ctanhf.c (__ctanhf): Likewise.
16386 * math/s_ctanhl.c (__ctanhl): Likewise.
16387 * math/s_ctanl.c (__ctanl): Likewise.
16388 * math/w_pow.c: Likewise.
16389 * math/w_powf.c: Likewise.
16390 * math/w_powl.c: Likewise.
16391 * math/w_scalb.c (sysv_scalb): Likewise.
16392 * math/w_scalbf.c (sysv_scalbf): Likewise.
16393 * math/w_scalbl.c (sysv_scalbl): Likewise.
16394 * misc/error.c (error_tail): Likewise.
16395 * misc/pselect.c (__pselect): Likewise.
16396 * nis/nis_callback.c (__nis_create_callback): Likewise.
16397 * nis/nis_call.c (__nisfind_server): Likewise.
16398 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16399 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16400 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16401 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16402 * nis/nis_lookup.c (nis_lookup): Likewise.
16403 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16404 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16405 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16406 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16407 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16408 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16409 * nis/nss_compat/compat-initgroups.c (add_group)
16410 (internal_getgrent_r): Likewise.
16411 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16412 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16413 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16414 (internal_getspnam_r): Likewise.
16415 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16416 (_nss_nis_getaliasbyname_r): Likewise.
16417 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16418 (_nss_nis_getntohost_r): Likewise.
16419 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16420 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16421 (_nss_nis_getgrgid_r): Likewise.
16422 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16423 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16424 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16425 (_nss_nis_gethostbyname4_r): Likewise.
16426 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16427 (initgroups_netid): Likewise.
16428 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16429 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16430 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16431 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16432 (_nss_nis_getprotobynumber_r): Likewise.
16433 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16434 (_nss_nis_getsecretkey): Likewise.
16435 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16436 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16437 (_nss_nis_getpwuid_r): Likewise.
16438 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16439 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16440 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16441 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16442 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16443 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16444 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16445 Likewise.
16446 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16447 (_nss_nisplus_getntohost_r): Likewise.
16448 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16449 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16450 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16451 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16452 Likewise.
16453 * nis/nss_nisplus/nisplus-initgroups.c
16454 (_nss_nisplus_initgroups_dyn): Likewise.
16455 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16456 (_nss_nisplus_getnetbyaddr_r): Likewise.
16457 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16458 (_nss_nisplus_getprotobynumber_r): Likewise.
16459 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16460 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16461 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16462 Likewise.
16463 * nis/nss_nisplus/nisplus-service.c
16464 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16465 (_nss_nisplus_getservbyport_r): Likewise.
16466 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16467 (_nss_nisplus_getspnam_r): Likewise.
16468 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16469 Likewise.
16470 * nscd/aicache.c (addhstaiX): Likewise.
16471 * nscd/cache.c (cache_search, prune_cache): Likewise.
16472 * nscd/connections.c (register_traced_file, send_ro_fd)
16473 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16474 (main_loop_epoll): Likewise.
16475 * nscd/grpcache.c (addgrbyX): Likewise.
16476 * nscd/hstcache.c (addhstbyX): Likewise.
16477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16478 * nscd/mem.c (gc, mempool_alloc): Likewise.
16479 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16480 (addinnetgrX): Likewise.
16481 * nscd/nscd-client.h (__nscd_acquire_maplock)
16482 (__nscd_drop_map_ref): Likewise.
16483 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16484 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16485 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16486 Likewise.
16487 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16489 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16490 (__nscd_get_map_ref): Likewise.
16491 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16492 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16493 Likewise.
16494 * nscd/pwdcache.c (addpwbyX): Likewise.
16495 * nscd/selinux.c (preserve_capabilities): Likewise.
16496 * nscd/servicescache.c (addservbyX): Likewise.
16497 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16498 * posix/fnmatch.c (fnmatch): Likewise.
16499 * posix/getopt.c (_getopt_internal_r): Likewise.
16500 * posix/glob.c (glob, glob_in_dir): Likewise.
16501 * posix/wordexp.c (exec_comm_child): Likewise.
16502 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16503 (getanswer_r, gaih_getanswer_slice): Likewise.
16504 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16505 * resolv/res_init.c: Likewise.
16506 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16507 * resolv/res_query.c (__libc_res_nquery): Likewise.
16508 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16509 Likewise.
16510 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16511 * stdio-common/perror.c (perror): Likewise.
16512 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16513 * stdio-common/tmpnam.c (tmpnam): Likewise.
16514 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16515 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16516 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16517 Likewise.
16518 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16519 * stdlib/putenv.c (putenv): Likewise.
16520 * stdlib/setenv.c (__add_to_environ): Likewise.
16521 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16522 * stdlib/strtol_l.c (INTERNAL): Likewise.
16523 * string/memmem.c (memmem): Likewise.
16524 * string/strerror.c (strerror): Likewise.
16525 * string/strnlen.c (__strnlen): Likewise.
16526 * string/test-memmem.c (simple_memmem): Likewise.
16527 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16528 * sunrpc/pm_getport.c (__get_socket): Likewise.
16529 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16530 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16531 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16532 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16533 Likewise.
16534 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16535 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16536 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16537 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16538 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16539 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16540 Likewise.
16541 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16542 Likewise.
16543 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16544 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16545 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16546 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16547 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16549 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16550 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16551 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16552 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16553 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16554 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16555 Likewise.
16556 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16557 Likewise.
16558 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16559 Likewise.
16560 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16561 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16562 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16563 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16564 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16565 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16566 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16568 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16569 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16570 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16572 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16573 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16575 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16576 Likewise.
16577 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16578 Likewise.
16579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16580 Likewise.
16581 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16582 Likewise.
16583 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16585 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16586 Likewise.
16587 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16588 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16589 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16590 * sysdeps/posix/sleep.c: Likewise.
16591 * sysdeps/posix/tempname.c: Likewise.
16592 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16593 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16594 Likewise.
16595 * sysdeps/powerpc/powerpc32/dl-machine.h
16596 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16597 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16598 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16599 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16600 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16601 Likewise.
16602 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16603 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16604 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16605 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16606 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16607 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16608 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16609 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16610 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16611 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16613 (elf_machine_lazy_rel): Likewise.
16614 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16615 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16616 (elf_machine_lazy_rel): Likewise.
16617 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16618 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16619 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16620 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16621 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16622 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16623 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16624 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16625 Likewise.
16626 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16627 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16628 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16629 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16630 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16631 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16632 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16633 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16634 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16635 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16636 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16637 Likewise.
16638 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16639 (__posix_fallocate64_l64): Likewise.
16640 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16641 (posix_fallocate): Likewise.
16642 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16643 Likewise.
16644 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16645 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16646 (getifaddrs_internal): Likewise.
16647 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16648 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16649 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16650 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16651 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16652 (__posix_fallocate64_l64): Likewise.
16653 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16654 Likewise.
16655 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16656 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16657 (__get_clockfreq): Likewise.
16658 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16659 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16660 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16662 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16663 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16664 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16665 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16666 Likewise.
16667 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16668 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16669 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16670 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16671 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16672 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16673 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16674 Likewise.
16675 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16676 (posix_fallocate): Likewise.
16677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16678 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16679 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16680 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16681 (elf_machine_rela, elf_machine_rela_relative)
16682 (elf_machine_lazy_rel): Likewise.
16683 * time/asctime.c (asctime_internal): Likewise.
16684 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16685 * time/tzset.c (__tzset_parse_tz): Likewise.
16686 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16687 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16688 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16689 * wcsmbs/wcsmbsload.h: Likewise.
16690
16691 [BZ #15894]
16692 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16693
16694 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16695 (arena_get2): Remove THREAD_STATS conditionals.
16696 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16697 (__malloc_stats, int): Likewise.
16698
16699 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16700
16701 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16702 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16703
16704 * manual/setjmp.texi: Fix typos/grammar errors.
16705
16706 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16707 Only return early when n is <= 0. Delete unused return statement.
16708
16709 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16710 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16711 * debug/tst-longjmp_chk3.c: New file.
16712
16713 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16714 (test_main): Replace code with set_fortify_handler call.
16715 * debug/test-strcpy_chk.c: Likewise.
16716 * debug/tst-chk1.c: Likewise.
16717 * debug/tst-longjmp_chk.c: Likewise.
16718 * test-skeleton.c: Include fcntl.h & paths.h
16719 (set_fortify_handler): Define.
16720
16721 * debug/tst-longjmp_chk.c: Add header comment and include
16722 ../test-skeleton.c.
16723 (do_test): Mark static.
16724 (TEST_FUNCTION): Define.
16725
16726 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16727 (IP_PMTUDISC_INTERFACE): Likewise.
16728 (IP_MULTICAST_IF): Likewise.
16729 (IP_MULTICAST_TTL): Likewise.
16730 (IP_MULTICAST_LOOP): Likewise.
16731 (IP_ADD_MEMBERSHIP): Likewise.
16732 (IP_DROP_MEMBERSHIP): Likewise.
16733 (IP_UNBLOCK_SOURCE): Likewise.
16734 (IP_BLOCK_SOURCE): Likewise.
16735 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16736 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16737 (IP_MSFILTER): Likewise.
16738 (MCAST_JOIN_GROUP): Likewise.
16739 (MCAST_BLOCK_SOURCE): Likewise.
16740 (MCAST_UNBLOCK_SOURCE): Likewise.
16741 (MCAST_LEAVE_GROUP): Likewise.
16742 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16743 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16744 (MCAST_MSFILTER): Likewise.
16745 (IP_MULTICAST_ALL): Likewise.
16746 (IP_UNICAST_IF): Likewise.
16747
16748 * timezone/Makefile: Delete $(have-ksh) check.
16749 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16750 * timezone/tzselect.ksh: Add +x mode bits.
16751
16752 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16753 (ANON_INODE_FS_MAGIC): Likewise.
16754 (BDEVFS_MAGIC): Likewise.
16755 (BINFMTFS_MAGIC): Likewise.
16756 (BTRFS_TEST_MAGIC): Likewise.
16757 (CRAMFS_MAGIC_WEND): Likewise.
16758 (DEBUGFS_MAGIC): Likewise.
16759 (ECRYPTFS_SUPER_MAGIC): Likewise.
16760 (EXT3_SUPER_MAGIC): Likewise.
16761 (EXT4_SUPER_MAGIC): Likewise.
16762 (FUTEXFS_SUPER_MAGIC): Likewise.
16763 (HOSTFS_SUPER_MAGIC): Likewise.
16764 (HUGETLBFS_MAGIC): Likewise.
16765 (MINIX3_SUPER_MAGIC): Likewise.
16766 (MTD_INODE_FS_MAGIC): Likewise.
16767 (NILFS_SUPER_MAGIC): Likewise.
16768 (OPENPROM_SUPER_MAGIC): Likewise.
16769 (PIPEFS_MAGIC): Likewise.
16770 (PSTOREFS_MAGIC): Likewise.
16771 (QNX6_SUPER_MAGIC): Likewise.
16772 (RAMFS_MAGIC): Likewise.
16773 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16774 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16775 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16776 (SECURITYFS_MAGIC): Likewise.
16777 (SELINUX_MAGIC): Likewise.
16778 (SMACK_MAGIC): Likewise.
16779 (SOCKFS_MAGIC): Likewise.
16780 (SQUASHFS_MAGIC): Likewise.
16781 (STACK_END_MAGIC): Likewise.
16782 (TMPFS_MAGIC): Likewise.
16783 (USBDEVICE_SUPER_MAGIC): Likewise.
16784 (V9FS_MAGIC): Likewise.
16785 (XENFS_SUPER_MAGIC): Likewise.
16786 (CRAMFS_MAGIC): Fix typo in comment.
16787 (EXT2_SUPER_MAGIC): Update comment.
16788 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16789
16790 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16791
16792 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16793 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16794 * sysdeps/unix/sysv/linux/arm: Move directory from
16795 ports/sysdeps/unix/sysv/linux/arm.
16796 * README: Update listing for arm-*-linux-gnueabi.
16797
16798 * README: Remove mention of am33.
16799
16800 2014-02-07 Roland McGrath <roland@hack.frob.com>
16801
16802 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16803 than the comma operator, to avoid "rhs of comma has no effect"
16804 compiler warnings.
16805 (__sigfillset, __sigandset, __sigorset): Likewise.
16806 * include/signal.h (__sigemptyset): Likewise.
16807 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16808
16809 2014-02-07 Allan McRae <allan@archlinux.org>
16810
16811 * version.h (RELEASE): Set to "development".
16812 (VERSION): Set to "2.19.90"
16813 * NEWS: Add 2.20 section.
16814
16815 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16816
16817 [BZ #16529]
16818 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16819
16820 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16821
16822 * manual/contrib.texi: Update entry for Carlos O'Donell,
16823 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16824
16825 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16826
16827 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16828
16829 * sysdeps/unix/sysv/linux/kernel-features.h
16830 [__LINUX_KERNEL_VERSION >= 0x020621]
16831 (__ASSUME_PROC_PID_TASK_COMM): Define.
16832
16833 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16834
16835 [BZ #16398]
16836 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16837 conversion when destination buffer does not have enough space.
16838 * libio/tst-ftell-partial-wide.c: New test case.
16839 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16840
16841 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16842 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16843 Leonard and Allan McRae.
16844
16845 2014-02-04 David S. Miller <davem@davemloft.net>
16846
16847 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16848 32-bit.
16849
16850 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16851
16852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16853 New file
16854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16855 New file
16856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16857 New file.
16858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16859 New file.
16860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16861 New file.
16862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16863 New file.
16864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16865 New file.
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16867 New file.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16869 New file.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16871 New file.
16872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16873 New file.
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16875 New file.
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16877 New file.
16878
16879 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16880
16881 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16882 * shlib-versions: Likewise.
16883
16884 2014-02-04 Roland McGrath <roland@hack.frob.com>
16885 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16886
16887 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16888 (abilist-pattern): New variable, set to %-le.abilist.
16889
16890 * Makerules (abilist-pattern): New variable.
16891 (vpath): Use $(abilist-pattern) in place of %.abilist.
16892 (check-abi-% pattern rule): Likewise.
16893 (check-abi, update-abi): Likewise.
16894
16895 2014-02-04 Eric Wong <normalperson@yhbt.net>
16896
16897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16898
16899 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16900
16901 * manual/startup.texi: Add next, previous, and top entries for
16902 the `Program Arguments' and `Environment Variables' nodes.
16903
16904 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16905
16906 * manual/macros.texi: Add comments before MTASC-safety macros.
16907
16908 * manual/users.texi: Document MTASC-safety properties.
16909
16910 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16911 (pthread_getspecific, pthread_setspecific): Format with
16912 @deftypefun, and add @safety note.
16913 * manual/signal.texi: Move comments that analyze the above
16914 functions to their home place.
16915
16916 2014-02-03 Allan McRae <allan@archlinux.org>
16917
16918 * po/sl.po: Update Slovenian translation from translation project.
16919
16920 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16921
16922 * manual/time.texi (timegm): Add missing blank after @c.
16923 Reported by Joseph Myers <joseph@codesourcery.com>.
16924
16925 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16926
16927 * manual/check-safety.sh: New.
16928 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16929
16930 * manual/terminal.texi: Document MTASC-safety properties.
16931
16932 * manual/filesys.texi: Document MTASC-safety properties.
16933
16934 * manual/errno.texi: Document MTASC-safety properties.
16935
16936 * manual/intro.texi: Document safety identifiers and
16937 conditionals.
16938
16939 * manual/string.texi (wcstok): Fix prototype.
16940 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16941
16942 * manual/time.texi: Document MTASC-safety properties.
16943
16944 * manual/string.texi: Document MTASC-safety properties.
16945
16946 * manual/threads.texi: Document MTASC-safety properties.
16947
16948 * manual/stdio.texi: Document MTASC-safety properties.
16949
16950 * manual/syslog.texi: Document MTASC-safety properties.
16951
16952 * manual/sysinfo.texi: Document MTASC-safety properties.
16953
16954 * manual/startup.texi: Document MTASC-safety properties.
16955
16956 * manual/socket.texi: Document MTASC-safety properties.
16957
16958 * manual/signal.texi: Document MTASC-safety properties.
16959
16960 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16961
16962 * manual/setjmp.texi: Document MTASC-safety properties.
16963
16964 * manual/search.texi: Document MTASC-safety properties.
16965
16966 * manual/resource.texi: Document MTASC-safety properties.
16967
16968 * manual/process.texi: Document MTASC-safety properties.
16969
16970 * manual/platform.texi: Document MTASC-safety properties.
16971
16972 * manual/pipe.texi: Document MTASC-safety properties.
16973
16974 * manual/pattern.texi: Document MTASC-safety properties.
16975
16976 * manual/message.texi: Document MTASC-safety properties.
16977
16978 [BZ #12751]
16979 * manual/memory.texi: Document MTASC-safety properties.
16980
16981 * manual/math.texi: Document MTASC-safety properties.
16982
16983 * manual/locale.texi: Document MTASC-safety properties.
16984
16985 * manual/llio.texi: Document MTASC-safety properties.
16986
16987 * manual/libdl.texi: New.
16988
16989 * manual/lang.texi: Document MTASC-safety properties.
16990
16991 * manual/job.texi: Document MTASC-safety properties.
16992
16993 * manual/getopt.texi: Document MTASC-safety properties.
16994
16995 * manual/ctype.texi: Document MTASC-safety properties.
16996
16997 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16998
16999 [BZ #16046]
17000 * csu/libc-tls.c (static_map): Remove variable.
17001 (__libc_setup_tls): Use main executable's link map for TLS data.
17002 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17003 casing for LM_ID_BASE and GL(dl_nns).
17004 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17005 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17006 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17007 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17008 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17009 member.
17010 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17011 l_phnum members.
17012
17013 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17014
17015 * manual/debug.texi: Document MTASC-safety properties.
17016
17017 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17018
17019 [BZ #16510]
17020 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17021 of __x86_64__ when disabling x87 inline functions.
17022
17023 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17024
17025 * manual/charset.texi: Document MTASC-safety properties.
17026
17027 * manual/crypt.texi: Document MTASC-safety properties.
17028
17029 * manual/conf.texi: Document MTASC-safety properties.
17030
17031 * manual/arith.texi: Document MTASC-safety properties.
17032
17033 * manual/argp.texi: Document MTASC-safety properties.
17034
17035 * manual/macros.texi: Introduce macros to document multi
17036 thread, asynchronous signal and asynchronous cancellation
17037 safety properties.
17038 * manual/intro.texi: Introduce the properties themselves.
17039
17040 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17041
17042 * sysdeps/sh/sh4/Makefile: New file.
17043
17044 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17045
17046 * math/gen-libm-test.pl ($srcdir): New variable.
17047 ($auto_input): Use it.
17048
17049 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17050
17051 [BZ #16506]
17052 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17053 access beyond array bounds when parsing netgroups file.
17054
17055 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17056 the old buffer before realloc.
17057
17058 2014-01-27 Allan McRae <allan@archlinux.org>
17059
17060 * po/fr.po: Update French translation from translation project.
17061
17062 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17063
17064 * sysdeps/sh/libm-test-ulps: Regenerate.
17065
17066 2014-01-24 David S. Miller <davem@davemloft.net>
17067
17068 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17069
17070 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17071
17072 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17073 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17074
17075 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17076
17077 [BZ #16474]
17078 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17079 string pointers after reallocation.
17080
17081 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17082
17083 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17084 __SH4A__ instead of __SH_FPU_ANY__.
17085
17086 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17087
17088 * sysdeps/sh/fpu_control.h: New file.
17089 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17090 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17091 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17092 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17093 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17094 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17095 * sysdeps/sh/sys/ucontext.h: Remove.
17096 * sysdeps/sh/sys: Remove directory.
17097
17098 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17099
17100 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17101 s390/sys/ucontext.h.
17102 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17103 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17104
17105 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 [BZ #15605]
17108 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17109
17110 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17111
17112 [BZ#16431]
17113 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17114 Adjust the vDSO correctly for internal calls.
17115 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17116
17117 2014-01-20 Allan McRae <allan@archlinux.org>
17118
17119 * po/ca.po: Update Catalan translation from translation project.
17120
17121 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17122
17123 * sysdeps/s390/sotruss-lib.c: New file.
17124
17125 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17126
17127 [BZ#16430]
17128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17129 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17130 local calls issues by not having a PLT stub required for IFUNC calls.
17131 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17132
17133 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17134
17135 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17136 * math/test-fpucw-static.c: Likewise.
17137
17138 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17139
17140 [BZ #16453]
17141 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17142
17143 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17144
17145 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17146 implementation for powerpc.
17147
17148 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17149
17150 [BZ #14782]
17151 * sysdeps/posix/system.c (__libc_system): Do not enable
17152 asynchronous cancellation.
17153
17154 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17155
17156 [BZ #16427]
17157 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17158 handling only for numbers special also in the IEEE case.
17159
17160 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17161
17162 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17163
17164 2014-01-11 Allan McRae <allan@archlinux.org>
17165
17166 * po/bg.po: Update Bulgarian translation from translation project.
17167
17168 * po/de.po: Update German translation from translation project.
17169
17170 2014-01-10 Roland McGrath <roland@hack.frob.com>
17171
17172 * sysdeps/generic/gcc-compat.h: New file.
17173
17174 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17175
17176 * benchtests/asin-inputs: Correct slow inputs.
17177 * benchtests/acos-inputs: Likewise.
17178
17179 2014-01-10 Allan McRae <allan@archlinux.org>
17180
17181 * po:sv.po: Update Swedish translation from translation project.
17182
17183 * po/vi.po: Update Vietnamese translation from translation project.
17184
17185 * po/eo.po: Update Esperanto translation from translation project.
17186
17187 * po/cs.po: Update Czech translation from translation project.
17188
17189 * po/nl.po: Update Dutch translation from translation project.
17190
17191 * po/pl.po: Update Polish translation from translation project.
17192
17193 * po/ru.po: Update Russian translation from translation project.
17194
17195 * po/uk.po: Update Ukrainian translation from translation project.
17196
17197 2014-01-08 Brooks Moses <bmoses@google.com>
17198
17199 * elf/dl-load.c: Fix comment typo.
17200
17201 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17202
17203 * po/header.pot: Rename to...
17204 * po/pot.header: ... this.
17205 * po/Makefile: Use pot.header.
17206
17207 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17208 Maxim Kuvyrkov <maxim@kugelworks.com>
17209
17210 [BZ #16394]
17211 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17212 SRC and DEST against LEN.
17213
17214 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17215
17216 [BZ #16414]
17217 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17218 implementation.
17219 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17220
17221 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17222
17223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17224
17225 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17226
17227 [BZ #16408]
17228 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17229 for large positive arguments.
17230
17231 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17232
17233 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17234
17235 * math/auto-libm-test-in: Mark various tests with
17236 xfail-rounding:ldbl-128ibm.
17237 * math/auto-libm-test-out: Regenerated.
17238
17239 [BZ #16407]
17240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17241 Increase overflow threshold.
17242
17243 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17244
17245 [BZ #14286]
17246 * stdio-common/vfprintf.c: Check for integer overflow.
17247
17248 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17249
17250 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17251 the first argument and return value of __tls_get_addr_internal.
17252
17253 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17254
17255 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17256 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17257
17258 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17259
17260 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17261 * sysdeps/s390/rtld-global-offsets.sym: New file.
17262 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17263 GLIBC_2.19 symbol.
17264 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17265 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17266 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17267 ... this.
17268 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17270 ... this.
17271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17272 Regenerate.
17273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17274 Regenerate.
17275 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17276 halfs of GPRs for high_gprs contexts.
17277 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17278 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17279 field.
17280 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17281 uc_flags field.
17282 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17283 64 bit versions:
17284 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17285 for high GPRs (uc_high_gprs) and for future extensions
17286 (__reserved).
17287 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17288 for future extensions (__reserved).
17289 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17290 64 bit versions:
17291 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17292 SC_HIGHGPRS offset definition.
17293 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17294 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17295
17296 * Versions.def: Add GLIBC_2.19 for libpthread.
17297 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17298 siglongjmp for libpthread with GLIBC_2.19 symver.
17299 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17300 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17301 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17302 * sysdeps/s390/__longjmp.c: New file.
17303 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17304 * sysdeps/s390/longjmp.c: New file.
17305 * sysdeps/s390/setjmp.S: New file.
17306 * sysdeps/s390/sigjmp.S: New file.
17307 * sysdeps/s390/v1-longjmp.c: New file.
17308 * sysdeps/s390/v1-setjmp.h: New file.
17309 * sysdeps/s390/v1-sigjmp.c: New file.
17310 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17311 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17312 GLIBC_2.19 version.
17313 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17314 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17315 versioned symbols for ____longjmp_chk.
17316 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17317 Likewise.
17318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17319 Regenerate.
17320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17321 Regenerate.
17322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17323 Regenerate.
17324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17325 Regenerate.
17326 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17327 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17328 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17329 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17330 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17331 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17332 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17333 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17334 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17335 * sysdeps/s390/rtld-__longjmp.c: New file.
17336 * sysdeps/s390/rtld-setjmp.S: New file.
17337
17338 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17339
17340 [BZ #16400]
17341 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17342 Return -__logl (x) for small positive arguments without evaluating
17343 a polynomial.
17344
17345 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17346
17347 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17348 Rename to ...
17349 (__ptrace_peeksiginfo_args): ... this.
17350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17352 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17353
17354 2014-01-06 Allan McRae <allan@archlinux.org>
17355
17356 * inet/netinet/in.h: Fix typo in comment.
17357
17358 2014-01-05 Andreas Jaeger <aj@suse.de>
17359
17360 * sysdeps/i386/fpu/libm-test-ulps: Update.
17361
17362 2014-01-05 Allan McRae <allan@archlinux.org>
17363
17364 * po/libc.pot: Regenerated.
17365
17366 * malloc/memusagestat.c: Fix gettext call formatting.
17367
17368 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17369
17370 * nscd/nscd.c: Improve usage() output.
17371
17372 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17373
17374 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17375 * sysdeps/unix/sysv/linux/configure: Regenerated.
17376 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17377 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17378
17379 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17380
17381 [BZ #16390]
17382 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17383 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17384
17385 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17386
17387 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17388 extra tokens at end of #undef directive.
17389 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17390 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17391 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17392
17393 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17394
17395 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17396
17397 * math/auto-libm-test-in: Mark various tests with
17398 xfail-rounding:ldbl-128ibm.
17399 * math/auto-libm-test-out: Regenerated.
17400
17401 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17402
17403 [BZ #16386]
17404 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17405 numbers with subnormal high part when calculating exponent.
17406
17407 [BZ #16385]
17408 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17409 fabs.
17410
17411 [BZ #16384]
17412 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17413 M_LN2l.
17414 (__ieee754_acoshl): Use __log1pl not __log1p.
17415
17416 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17417
17418 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17419 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17420 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17421 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17422 (reused_arena, arena_get2): Convert to GNU style.
17423 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17424 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17425 (memalign_check, __malloc_set_state): Likewise.
17426 * malloc/mallocbug.c (main): Likewise.
17427 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17428 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17429 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17430 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17431 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17432 (__posix_memalign, malloc_info): Likewise.
17433 * malloc/malloc.h: Likewise.
17434 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17435 (mallochook, memalignhook, reallochook, mabort): Likewise.
17436 * malloc/mcheck.h: Likewise.
17437 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17438 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17439 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17440 * malloc/morecore.c (__default_morecore): Likewise.
17441 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17442 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17443 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17444 (print_and_abort): Likewise.
17445 * malloc/obstack.h: Likewise.
17446 * malloc/set-freeres.c (__libc_freeres): Likewise.
17447 * malloc/tst-mallocstate.c (main): Likewise.
17448 * malloc/tst-mtrace.c (main): Likewise.
17449 * malloc/tst-realloc.c (do_test): Likewise.
17450
17451 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17452
17453 [BZ #16366]
17454 * nscd/netgroupcache.c (do_notfound): New function.
17455 (addgetnetgrentX): Use it.
17456
17457 [BZ # 16365]
17458 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17459 NSS_STATUS_NOTFOUND.
17460
17461 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17462
17463 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17465
17466 2014-01-01 Allan McRae <allan@archlinux.org>
17467
17468 * scripts/update-copyrights: Update configure input file suffix.
17469
17470 * NEWS: Update copyright year.
17471 * catgets/gencat.c: Likewise.
17472 * csu/version.c: Likewise.
17473 * debug/catchsegv.sh: Likewise.
17474 * debug/pcprofiledump.c: Likewise.
17475 * debug/xtrace.sh: Likewise.
17476 * elf/ldconfig.c: Likewise.
17477 * elf/ldd.bash.in: Likewise.
17478 * elf/pldd.c: Likewise.
17479 * elf/sotruss.ksh: Likewise.
17480 * elf/sprof.c: Likewise.
17481 * iconv/iconv_prog.c: Likewise.
17482 * iconv/iconvconfig.c: Likewise.
17483 * locale/programs/locale.c: Likewise.
17484 * locale/programs/localedef.c: Likewise.
17485 * login/programs/pt_chown.c: Likewise.
17486 * malloc/memusage.sh: Likewise.
17487 * malloc/memusagestat.c: Likewise.
17488 * malloc/mtrace.pl: Likewise.
17489 * manual/libc.texinfo: Likewise.
17490 * nscd/nscd.c: Likewise.
17491 * nss/getent.c: Likewise.
17492 * nss/makedb.c: Likewise.
17493 * posix/getconf.c: Likewise.
17494 * scripts/test-installation.pl: Likewise.
17495
17496 * All files with FSF copyright notices: Update copyright dates
17497 using scripts/update-copyrights.
17498 * intl/plural.c: Regenerated.
17499 * locale/programs/charmap-kw.h: Likewise.
17500 * locale/programs/locfile-kw.h: Likewise.
17501
17502 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17503
17504 * sysdeps/unix/sysv/linux/configure: Regenerated.
17505 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17506 the linux/fanotify.h header.
17507 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17508 HAVE_LINUX_FANOTIFY_H is defined.
17509
17510 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17511
17512 * benchtests/cos-inputs: New inputs.
17513 * benchtests/sin-inputs: Likewise.
17514
17515 * benchtests/atan-inputs: New inputs. Fix name of multiple
17516 precision fallback inputs.
17517
17518 * benchtests/atanh-inputs: New inputs.
17519 * benchtests/tanh-inputs: Likewise.
17520
17521 * benchtests/acosh-inputs: New inputs.
17522 * benchtests/asinh-inputs: Likewise.
17523
17524 * benchtests/cosh-inputs: New inputs.
17525 * benchtests/sinh-inputs: Likewise.
17526
17527 * benchtests/acos-inputs: Add more inputs.
17528 * benchtests/asin-inputs: Likewise.
17529
17530 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17531
17532 [BZ #16375]
17533 * manual/arith.texi: Fix spelling.
17534 * manual/charset.texi: Likewise.
17535 * manual/errno.texi: Likewise.
17536 * manual/filesys.texi: Likewise.
17537 * manual/lang.texi: Likewise.
17538 * manual/llio.texi: Likewise.
17539 * manual/locale.texi: Likewise.
17540 * manual/message.texi: Likewise.
17541 * manual/resource.texi: Likewise.
17542 * manual/search.texi: Likewise.
17543 * manual/setjmp.texi: Likewise.
17544 * manual/stdio.texi: Likewise.
17545 * manual/string.texi: Likewise.
17546 * manual/sysinfo.texi: Likewise.
17547 * manual/time.texi: Likewise.
17548
17549 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17550
17551 * po/sl.po: New file.
17552
17553 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17554
17555 * .gitignore: Add core/.gdbinit/.gdb_history.
17556
17557 2013-12-27 Allan McRae <allan@archlinux.org>
17558
17559 [BZ #16369]
17560 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17561 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17562
17563 2013-12-24 Brooks Moses <bmoses@google.com>
17564
17565 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17566 all compilers that claim C++98 compliance, not just GCC.
17567 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17568 Likewise.
17569
17570 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17571
17572 * NEWS: Restore accidentally deleted bug-fix entries.
17573
17574 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17575 Ondřej Bílka <neleai@seznam.cz>
17576
17577 [BZ #15073]
17578 * malloc/malloc.c (_int_free): Perform sanity check only if we
17579 have_lock.
17580
17581 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17582
17583 [BZ #12986]
17584 * manual/stdio.texi (String Input Conversions): Clarify that character
17585 classes are not supported.
17586
17587 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17588
17589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17590
17591 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17592
17593 [BZ #16337]
17594 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17595 Calculate results for small negative arguments directly rather
17596 than using reflection formula with special underflow handling.
17597
17598 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17599 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17600 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17601 (fchflags): Likewise.
17602 (revoke): Likewise.
17603 (setlogin): Likewise.
17604 (sigaltstack): Likewise.
17605 (wait4): Likewise.
17606 (sigblock): Remove.
17607 (sigsetmask): Likewise.
17608 (wait3): Likewise.
17609 (waitpid): Likewise.
17610 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17611 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17612 file.
17613 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17614 * sysdeps/unix/bsd/Makefile: ... here.
17615 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17616 * sysdeps/unix/bsd/Versions: ... here.
17617 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17618 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17619 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17620 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17621 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17622 * sysdeps/unix/bsd/sigblock.c: ... here.
17623 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17624 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17625 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17626 * sysdeps/unix/bsd/sigvec.c: ... here.
17627 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17628 * sysdeps/unix/bsd/tcdrain.c: ... here.
17629 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17630 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17631 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17632 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17633 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17634 * sysdeps/unix/bsd/wait.c: ... here.
17635 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17636 * sysdeps/unix/bsd/wait3.c: ... here.
17637 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17638 * sysdeps/unix/bsd/waitpid.c: ... here.
17639
17640 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17641
17642 [BZ #16356]
17643 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17644 round-to-nearest for [!USE_AS_EXPM1L].
17645 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17646 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17647 more tests of exp and exp10. Expect some exp10 tests to miss
17648 exceptions or fail in directed rounding modes.
17649 * math/auto-libm-test-out: Regenerated.
17650 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17651 (exp10_test_tonearest): New function.
17652 (exp10_towardzero_test_data): New array.
17653 (exp10_test_towardzero): New function.
17654 (exp10_downward_test_data): New array.
17655 (exp10_test_downward): New function.
17656 (exp10_upward_test_data): New array.
17657 (exp10_test_upward): New function.
17658 (main): Call the new functions.
17659 * sysdeps/i386/fpu/libm-test-ulps: Update.
17660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17661
17662 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17663
17664 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17665 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17666 * math/auto-libm-test-out: Regenerated.
17667 * math/libm-test.inc (acosh_test_data): Add more tests.
17668 (atanh_test_data): Likewise.
17669 (ceil_test_data): Likewise.
17670 (copysign_test_data): Likewise.
17671 * sysdeps/i386/fpu/libm-test-ulps: Update.
17672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17673
17674 * timezone/checktab.awk: Update from tzcode 2013i.
17675 * timezone/private.h: Likewise.
17676 * timezone/scheck.c: Likewise.
17677 * timezone/tzfile.h: Likewise.
17678 * timezone/tzselect.ksh: Likewise.
17679 * timezone/zdump.c: Likewise.
17680 * timezone/zic.c: Likewise.
17681
17682 * math/auto-libm-test-in: Add tests of cpow.
17683 * math/auto-libm-test-out: Regenerated.
17684 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17686 mpc_cc_c.
17687 (func_calc_desc): Add mpc_cc_c union field.
17688 (test_functions): Add cpow.
17689 (special_fill_2pi): New function.
17690 (special_real_inputs): Add 2pi.
17691 (calc_generic_results): Handle mpc_cc_c.
17692 * sysdeps/i386/fpu/libm-test-ulps: Update.
17693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17694
17695 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17696 csqrt, ctan and ctanh.
17697 * math/auto-libm-test-out: Regenerated.
17698 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17699 (TEST_COND_x86): Likewise.
17700 (ccos_test_data): Use AUTO_TESTS_c_c.
17701 (ccosh_test_data): Likewise.
17702 (cexp_test_data): Likewise.
17703 (clog_test_data): Likewise.
17704 (csqrt_test_data): Likewise.
17705 (ctan_test_data): Likewise.
17706 (ctan_tonearest_test_data): Likewise.
17707 (ctan_towardzero_test_data): Likewise.
17708 (ctan_downward_test_data): Likewise.
17709 (ctan_upward_test_data): Likewise.
17710 (ctanh_test_data): Likewise.
17711 (ctanh_tonearest_test_data): Likewise.
17712 (ctanh_towardzero_test_data): Likewise.
17713 (ctanh_downward_test_data): Likewise.
17714 (ctanh_upward_test_data): Likewise.
17715 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17716 mpc_c_c.
17717 (func_calc_desc): Add mpc_c_c union field.
17718 (FUNC_mpc_c_c): New macro.
17719 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17720 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17721 ctanh.
17722 (special_fill_min_subnorm_p120): New function.
17723 (special_real_inputs): Add min_subnorm_p120.
17724 (calc_generic_results): Handle mpc_c_c.
17725 * sysdeps/i386/fpu/libm-test-ulps: Update.
17726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17727
17728 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17729
17730 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17731 (do_sin_slow): New functions.
17732 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17733 (cslow2, csloww1, csloww2): Use the new functions.
17734
17735 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17736 Use M to change sign of result instead of X. Assume X is
17737 positive.
17738 (csloww1): Likewise.
17739 (__sin): Adjust.
17740 (__cos): Adjust.
17741
17742 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17743 arguments A and DA.
17744 (__sin): Adjust.
17745 (__cos): Likewise.
17746
17747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17748 (__cos): Likewise.
17749 (sloww1): Don't adjust sign of DX.
17750 (csloww1): Likewise.
17751 (sloww2): Use X directly and don't adjust sign of DX.
17752 (csloww2): Likewise.
17753
17754 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17755
17756 * math/auto-libm-test-in: Add tests of cabs and carg.
17757 * math/auto-libm-test-out: Regenerated.
17758 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17759 (carg_test_data): Likewise.
17760 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17761 mpc_c_f.
17762 (func_calc_desc): Add mpc_c_f union field.
17763 (test_functions): Add cabs and carg.
17764 (calc_generic_results): Handle mpc_c_f.
17765
17766 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17767 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17768 as a macro and a compat symbol.
17769 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17770 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17771 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17772 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17773 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17774 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17775 not use .hidden.
17776 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17777 Likewise.
17778 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17779 Likewise.
17780 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17781 Likewise.
17782 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17783 Likewise.
17784 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17785 Likewise.
17786 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17787 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17788 from GLIBC_2.3.2.
17789
17790 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17791
17792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17793
17794 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17795
17796 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17797 trailing whitespace removed.
17798 * scripts/config.guess: Update to version 2013-11-29.
17799 * scripts/config.sub: Update to version 2013-10-01.
17800
17801 * math/auto-libm-test-in: Add tests of sincos.
17802 * math/auto-libm-test-out: Regenerated.
17803 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17805 mpfr_f_11.
17806 (func_calc_desc): Add mpfr_f_11 union field.
17807 (test_functions): Add sincos.
17808 (calc_generic_results): Handle mpfr_f_11.
17809 * sysdeps/i386/fpu/libm-test-ulps: Update.
17810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17811
17812 2013-12-19 Andreas Schwab <schwab@suse.de>
17813
17814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17815 CALL_MCOUNT.
17816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17817 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17818 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17819
17820 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17821
17822 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17823 * sysdeps/i386/fpu/libm-test-ulps: Update.
17824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17825
17826 [BZ #16293]
17827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17828 round-to-nearest mode when using frndint.
17829 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17830 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17831 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17832 Likewise.
17833 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17834 sinh test to fail.
17835 * math/auto-libm-test-out: Regenerated.
17836 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17837 (TEST_COND_x86): Likewise.
17838 (expm1_tonearest_test_data): New array.
17839 (expm1_test_tonearest): New function.
17840 (expm1_towardzero_test_data): New array.
17841 (expm1_test_towardzero): New function.
17842 (expm1_downward_test_data): New array.
17843 (expm1_test_downward): New function.
17844 (expm1_upward_test_data): New array.
17845 (expm1_test_upward): New function.
17846 (main): Run the new test functions.
17847 * sysdeps/i386/fpu/libm-test-ulps: Update.
17848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17849
17850 * include/features.h: Update comment documenting feature test
17851 macros. Mention _DEFAULT_SOURCE in comment.
17852 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17853 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17854 _BSD_SOURCE and _SVID_SOURCE.
17855 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17856 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17857 !_SVID_SOURCE]: Likewise.
17858 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17859 (__USE_POSIX_IMPLICITLY): Define.
17860 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17861 (_POSIX_SOURCE): Undefine and redefine.
17862 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17863 (_POSIX_C_SOURCE): Likewise.
17864 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17865 (Feature Test Macros): Update documentation of default features.
17866
17867 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17868
17869 * benchtests/Makefile: Add bench-strtok.
17870 * benchtests/bench-strtok.c: New file: strtok benchtest.
17871
17872 2013-12-19 Allan McRae <allan@archlinux.org>
17873
17874 * manual/install.texi: Suppress menu for plain text output.
17875 * INSTALL: Regenerated.
17876
17877 2013-12-18 Brooks Moses <bmoses@google.com>
17878
17879 [BZ #15846]
17880 * misc/getauxval.c: Include errno.h.
17881 (__getauxval): Set errno to ENOENT if the requested type is not
17882 found.
17883 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17884 don't declare with __attribute_const__.
17885 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17886 * manual/startup.texi: Document that getauxval sets errno.
17887
17888 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17889
17890 * math/auto-libm-test-in: Add tests of jn and yn.
17891 * math/auto-libm-test-out: Regenerated.
17892 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17893 (yn_test_data): Likewise.
17894 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17895 mpfr_if_f.
17896 (func_calc_desc): Add mpfr_if_f union field.
17897 (FUNC_mpfr_if_f): New macro.
17898 (test_functions): Add jn and yn.
17899 (calc_generic_results): Assert type of second input for
17900 mpfr_ff_f. Handle mpfr_if_f.
17901 (output_for_one_input_case): Disable all checking for arguments
17902 fitting floating-point types in case of an integer argument.
17903 * sysdeps/i386/fpu/libm-test-ulps: Update.
17904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17905
17906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17907 Don't expect fegetround reference in libm.so.
17908
17909 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17910
17911 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17912 $(config-cflags-nofma).
17913
17914 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17915
17916 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17917 * math/auto-libm-test-out: Regenerated.
17918
17919 [BZ #16338]
17920 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17921 to determine exponent and adjust argument to have exponent of -1.
17922 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17923 log2.
17924 * math/auto-libm-test-out: Regenerated.
17925 * sysdeps/i386/fpu/libm-test-ulps: Update.
17926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17927
17928 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17929
17930 * manual/probes.texi: Remove cases when per-thread arenas are
17931 disabled.
17932
17933 2013-12-18 Andreas Schwab <schwab@suse.de>
17934
17935 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17936 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17937 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17938 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17939 * sysdeps/i386/i686/multiarch/Makefile: Update.
17940 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17941
17942 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17943
17944 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17945 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17946
17947 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17948
17949 [BZ #15968]
17950 Support TZ transition times < 00:00:00.
17951 This is needed for version-3 tz-format files; it supports time
17952 stamps past 2037 for America/Godthab (the only entry in the tz
17953 database for which this change is relevant).
17954 * manual/time.texi (TZ Variable): Document transition times
17955 from -167:59:59 through -00:00:01.
17956 * time/tzset.c (tz_rule): Time of day is now signed.
17957 (__tzset_parse_tz): Parse negative time of day.
17958
17959 Document TZ transition times >= 25:00:00.
17960 * manual/time.texi (TZ Variable): Document transition times from
17961 25:00:00 through 167:59:59. These are already supported, and this
17962 support will help with version-3 tz-format files.
17963
17964 * manual/time.texi (TZ Variable): Modernize North America example
17965 to reflect current (i.e., 2007-and-later) daylight saving rules.
17966
17967 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17968
17969 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17970
17971 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17972 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17975 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17976 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17977 * sysdeps/unix/bsd/clock.c: Likewise.
17978 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17979 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17980 * sysdeps/unix/bsd/init-posix.c: Likewise.
17981 * sysdeps/unix/bsd/poll.c: Likewise.
17982 * sysdeps/unix/bsd/ptsname.c: Likewise.
17983 * sysdeps/unix/bsd/seekdir.c: Likewise.
17984 * sysdeps/unix/bsd/setegid.c: Likewise.
17985 * sysdeps/unix/bsd/seteuid.c: Likewise.
17986 * sysdeps/unix/bsd/setgid.c: Likewise.
17987 * sysdeps/unix/bsd/setrgid.c: Likewise.
17988 * sysdeps/unix/bsd/setruid.c: Likewise.
17989 * sysdeps/unix/bsd/setsid.c: Likewise.
17990 * sysdeps/unix/bsd/setuid.c: Likewise.
17991 * sysdeps/unix/bsd/sigaction.c: Likewise.
17992 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17993 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17994 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17995 * sysdeps/unix/bsd/telldir.c: Likewise.
17996 * sysdeps/unix/bsd/times.c: Likewise.
17997 * sysdeps/unix/bsd/usleep.c: Likewise.
17998
17999 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18000 ($(objpfx)libbsd-compat.a): Remove rule.
18001
18002 * include/features.h (__FAVOR_BSD): Do not define.
18003 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18004 features conflicting with POSIX.
18005 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18006 (_BSD_SOURCE): Remove description of not being a subset of other
18007 feature test macros.
18008 * manual/job.texi (getpgrp): Do not document BSD version.
18009 (getpgid): Do not document by reference to BSD getpgrp.
18010 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18011 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18012 * signal/signal.h [__FAVOR_BSD]: Likewise.
18013 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18014 instead of making contents conditional on [__FAVOR_BSD].
18015 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18016
18017 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18018
18019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18020
18021 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18022
18023 [BZ #16314]
18024 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18025 values below 2**-450, not 2**-500.
18026 * math/auto-libm-test-in: Don't allow spurious underflow from
18027 hypot.
18028 * math/auto-libm-test-out: Regenerated.
18029
18030 [BZ #16316]
18031 [BZ #16330]
18032 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18033 values of ha and hb and sort them after adjusting subnormal
18034 arguments.
18035 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18036 Likewise.
18037 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18038 values of ea and eb and sort them after adjusting subnormal
18039 arguments.
18040 * math/auto-libm-test-in: Do not expect some hypot tests of
18041 subnormals to fail. Add more hypot tests.
18042 * math/auto-libm-test-out: Regenerated.
18043
18044 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18045
18046 [BZ #13304]
18047 * sysdeps/sh/s_fma.c: New file.
18048 * sysdeps/sh/s_fmaf.c: New file.
18049 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18050 version.
18051 * sysdeps/sh/Implies: Add sh/soft-fp.
18052
18053 2013-12-16 Roland McGrath <roland@hack.frob.com>
18054
18055 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18056 level of indirection to members `objname', `errstring', `malloced'.
18057 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18058 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18059 it as the __longjmp argument (just pass 1 instead).
18060 (_dl_catch_error): Initialize C with argument pointers and address of
18061 volatile local ERRCODE rather than copying values out of C at return.
18062
18063 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18064
18065 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18066 * math/auto-libm-test-out: Regenerated.
18067 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18068 (hypot_test_data): Likewise.
18069 (pow_test_data): Likewise.
18070 (pow_tonearest_test_data): Likewise.
18071 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18072 mpfr_ff_f.
18073 (func_calc_desc): Add mpfr_ff_f union field.
18074 (FUNC_mpfr_ff_f): New macro.
18075 (test_functions): Add atan2, hypot and pow.
18076 (special_fill_min): New function.
18077 (special_fill_minus_min): Likewise.
18078 (special_fill_min_subnorm): Likewise.
18079 (special_fill_minus_min_subnorm): Likewise.
18080 (special_real_inputs): Add min, -min, min_subnorm and
18081 -min_subnorm.
18082 (calc_generic_results): Handle mpfr_ff_f.
18083 * sysdeps/i386/fpu/libm-test-ulps: Update.
18084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18085
18086 2013-12-16 Will Newton <will.newton@linaro.org>
18087
18088 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18089 (Aligned Memory Blocks): Add documentation for aligned_alloc
18090 and suggest it as an alternative to posix_memalign.
18091 (Hooks for Malloc): Document __memalign_hook is also called
18092 for aligned_alloc. (Summary of Malloc): Add summary for
18093 aligned alloc. Document __memalign_hook is also called
18094 for aligned_alloc.
18095
18096 2013-12-16 Will Newton <will.newton@linaro.org>
18097
18098 * manual/memory.texi (Malloc Examples): Clarify default
18099 alignment documentation. Suggest posix_memalign rather
18100 than memalign or valloc.
18101 (Aligned Memory Blocks): Remove suggestion to use memalign
18102 or valloc. Remove obsolete comment about BSD.
18103 Document memalign errno values and mark the function obsolete.
18104 Document posix_memalign returned error codes. Mark valloc
18105 as obsolete. (Hooks for Malloc): __memalign_hook is also
18106 called for posix_memalign and valloc.
18107 (Summary of Malloc): Add posix_memalign to function summary.
18108 __memalign_hook is also called for posix_memalign and valloc.
18109
18110 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18111
18112 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18113 TAYLOR_SIN.
18114 (__sin): Adjust.
18115 (__cos): Likewise.
18116 (sloww): Use mynumber union. Expand ternary operator into
18117 if-else statements.
18118 (cslow): use mynumber union.
18119
18120 2013-12-16 Allan McRae <allan@archlinux.org>
18121
18122 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18123 * configure: Regenerated.
18124
18125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18126
18127 [BZ #14120]
18128 * configure.ac: Added --enable-maintainer-mode. Check for
18129 autoconf when enabled.
18130 * configure: Regenerated.
18131
18132 * nscd/nscd.service: New file.
18133 * nscd/nscd.tmpfiles: New file.
18134
18135 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18136
18137 [BZ #12100]
18138 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18139 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18140 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18141 (strstr): Add __strstr_sse2_unaligned ifunc.
18142 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18143 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18144 (strcasestr): Remove __strcasestr_sse42 ifunc.
18145 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18148
18149 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18150
18151 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18152 * sysdeps/sh/bits/fenv.h: ... here.
18153 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18154
18155 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18156
18157 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18158
18159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18160 hypotf multiarch implementations.
18161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18164 multiarch hypot for PPC64.
18165 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18166 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18168 multiarch hypotf for PPC64.
18169
18170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18171 modff multiarch implementations.
18172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18175 multiarch modf for PPC64.
18176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18179 multiarch modff for PPC64.
18180
18181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18182 and logl multiarch implementations.
18183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18186 multiarch logb for PPC64.
18187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18190 multiarch logb for PPC64.
18191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18194 multiarch logb for PPC64.
18195
18196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18197 isinff multiarch implementation.
18198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18199 file.
18200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18202 multiarch isinf for PPC64.
18203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18204 file.
18205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18206 multiarch isinff for PPC64.
18207
18208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18209 finitef multiarch implementation.
18210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18211 file.
18212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18214 multiarch finite for PPC64.
18215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18216 file.
18217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18218 multiarch finitef for PPC64.
18219
18220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18221 lrint multiarch implementation.
18222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18223 file.
18224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18226 multiarch llrint for PPC64.
18227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18228 multiarch lrint for PPC64.
18229
18230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18231 copysignf multiarch implementation.
18232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18233 file.
18234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18235 file.
18236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18237 multiarch copysign for PPC64.
18238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18239 multiarch copysignf for PPC64.
18240
18241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18242 multiarch implementation.
18243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18244 file.
18245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18246 file.
18247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18248 file.
18249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18250 file.
18251 multiarch llround for PPC64.
18252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18253 multiarch trunc for PPC64.
18254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18255 multiarch truncf for PPC64.
18256
18257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18258 multiarch implementation.
18259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18260 file.
18261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18262 file.
18263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18264 file.
18265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18266 file.
18267 multiarch llround for PPC64.
18268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18269 multiarch round for PPC64.
18270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18271 multiarch roundf for PPC64.
18272
18273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18274 multiarch implementation.
18275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18276 file.
18277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18278 file.
18279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18280 file.
18281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18282 file.
18283 multiarch llround for PPC64.
18284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18285 multiarch floor for PPC64.
18286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18287 multiarch floorf for PPC64.
18288
18289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18290 multiarch implementation.
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18292 file.
18293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18294 file.
18295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18296 file.
18297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18298 file.
18299 multiarch llround for PPC64.
18300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18301 multiarch ceil for PPC64.
18302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18303 multiarch ceilf for PPC64.
18304
18305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18306 multiarch implementation.
18307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18308 file.
18309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18310 file.
18311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18312 file.
18313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18314 multiarch llround for PPC64.
18315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18316 multiarch lround for PPC64.
18317
18318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18319 multiarch implementation.
18320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18323 file.
18324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18327 multiarch isnan for PPC64.
18328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18329 multiarch isnanf for PPC64.
18330
18331 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18332 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18333 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18334 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18335 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18337
18338 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18339 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18342
18343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18344 multiarch implementations.
18345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18346 (__libc_ifunc_impl_list): Likewise.
18347 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18348 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18349 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18350 multiarch stpcpy for PPC64.
18351
18352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18353 multiarch implementations.
18354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18355 (__libc_ifunc_impl_list): Likewise.
18356 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18357 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18358 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18359 multiarch strcpy for PPC64.
18360
18361 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18362 redefine function name.
18363 (_wordcopy_fwd_dest_aligned): Likewise.
18364 (_wordcopy_bwd_aligned): Likewise.
18365 (_wordcopy_bwd_dest_aligned): Likewise.
18366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18367 multiarch implementations.
18368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18369 (__libc_ifunc_impl_list): Likewise.
18370 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18371 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18372 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18373 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18374 multiarch wcscpy for PPC64.
18375
18376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18377 multiarch implementations.
18378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18379 (__libc_ifunc_impl_list): Likewise.
18380 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18381 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18382 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18383 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18384 multiarch wcscpy for PPC64.
18385
18386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18387 multiarch implementations.
18388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18389 (__libc_ifunc_impl_list): Likewise.
18390 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18391 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18392 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18393 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18394 multiarch wcsrchr for PPC64.
18395
18396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18397 multiarch implementations.
18398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18399 (__libc_ifunc_impl_list): Likewise.
18400 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18401 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18402 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18403 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18404 multiarch wcschr for PPC64.
18405
18406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18407 multiarch implementations.
18408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18409 (__libc_ifunc_impl_list): Likewise.
18410 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18411 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18412 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18413 multiarch strchrnul for PPC64.
18414
18415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18416 implementations.
18417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18418 (__libc_ifunc_impl_list): Likewise.
18419 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18420 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18421 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18422 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18423 strchr for PPC64.
18424
18425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18426 implementations.
18427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18428 (__libc_ifunc_impl_list): Likewise.
18429 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18430 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18431 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18432 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18433 strncmp for PPC64.
18434
18435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18436 multiarch implementations.
18437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18438 (__libc_ifunc_impl_list): Likewise.
18439 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18440 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18441 strncasecmp for PPC64.
18442 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18443 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18444 multiarch strncasecmp_l for PPC64.
18445
18446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18447 multiarch implementations.
18448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18449 (__libc_ifunc_impl_list): Likewise.
18450 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18451 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18452 multiarch strcasecmp for PPC64.
18453 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18454 file.
18455 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18456 multiarch strcasecmp_l for PPC64.
18457
18458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18459 implementations.
18460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18461 (__libc_ifunc_impl_list): Likewise.
18462 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18463 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18464 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18465 strnlen for PPC64.
18466
18467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18468 implementations.
18469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18470 (__libc_ifunc_impl_list): Likewise.
18471 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18472 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18473 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18474 strlen for PPC64.
18475
18476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18477 implementations.
18478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18479 (__libc_ifunc_impl_list): Likewise.
18480 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18481 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18482 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18483 rawmemrchr for PPC64.
18484
18485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18486 implementation.
18487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18488 (__libc_ifunc_impl_list): Likewise.
18489 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18490 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18491 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18492 memrchr for PPC64.
18493
18494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18495 implementation.
18496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18497 (__libc_ifunc_impl_list): Likewise.
18498 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18499 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18500 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18501 memchr for PPC64.
18502
18503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18504 implementation.
18505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18506 (__libc_ifunc_impl_list): Likewise.
18507 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18508 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18509 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18510 mempcpy for PPC64.
18511
18512 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18513 avoid cretion of __bzero symbol.
18514 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18515 Likewise.
18516 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18517 Likewise.
18518 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18519 Likewise.
18520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18521 multiarch implementations.
18522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18523 (__libc_ifunc_impl_list): Likewise.
18524 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18525 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18526 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18527 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18528 bzero for PPC32.
18529 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18530 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18531 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18532 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18533 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18534 memset for PPC64.
18535 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18536
18537 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18539 implementations.
18540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18541 (__libc_ifunc_impl_list): Likewise.
18542 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18543 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18544 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18545 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18546 memcmp for PPC64.
18547
18548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18549 multiarch for POWER/PPC64.
18550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18551 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18556 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18557 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18558 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18559 memcpy for PPC64.
18560
18561 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18562 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18563 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18564 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18565 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18566 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18567 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18568 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18569 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18570 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18571 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18572 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18573 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18574 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18575 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18583
18584 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18585
18586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18587
18588 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18589
18590 * benchtests/Makefile (bench): Add exp2 and log2.
18591 (LDLIBS-bench-exp2): Add -lm.
18592 (LDLIBS-bench-log2): Likewise.
18593 * benchtests/exp2-inputs: New inputs file.
18594 * benchtests/log2-inputs: New inputs file.
18595 * benchtests/log-inputs: Add new inputs.
18596 * benchtests/tan-inputs: Likewise.
18597
18598 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18599
18600 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18601 definition...
18602 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18603 (csloww2): ... from here.
18604
18605 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18606 instead of structures.
18607 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18608 (POLYNOMIAL): Likewise.
18609 (TAYLOR_SLOW): Likewise.
18610 (__sin): Likewise.
18611 (__cos): Likewise.
18612 (slow1): Likewise.
18613 (slow2): Likewise.
18614 (sloww): Likewise.
18615 (sloww1); Likewise.
18616 (sloww2): Likewise.
18617 (bsloww1): Likewise.
18618 (bsloww2): Likewise.
18619 (cslow2): Likewise.
18620 (csloww): Likewise.
18621 (csloww1): Likewise.
18622 (csloww2): Likewise.
18623
18624 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18625
18626 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18627 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18628 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18629 * malloc/hooks.c (realloc_check): Likewise.
18630
18631 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18632 * malloc/arena.c: Remove PER_THREAD conditional.
18633 [!PER_THREAD]: Remove code.
18634 (ptmalloc_unlock_all2): Likewise.
18635 (ptmalloc_init): Likewise.
18636 (_int_new_arena): Likewise.
18637 (arena_get2): Likewise.
18638 * malloc/hooks.c (__malloc_get_state): Likewise.
18639 (__malloc_set_state): Likewise.
18640 * malloc/malloc.c: Likewise.
18641 (struct malloc_state): Likewise.
18642 (struct malloc_par): Likewise.
18643 (__libc_realloc): Likewise.
18644 (__libc_mallopt): Likewise.
18645
18646 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18647
18648 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18649
18650 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18651
18652 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18653 macro to a function. Check for zero perturb_byte.
18654 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18655
18656 * malloc/malloc.c: (force_reg): Remove.
18657 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18658 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18659 force_reg by atomic_forced_read.
18660 * malloc/arena.c (ptmalloc_init): Likewise.
18661 * malloc/hooks.c (top_check): Likewise.
18662
18663 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18664
18665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18666
18667 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18668
18669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18670
18671 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18672
18673 * math/auto-libm-test-in: Add tests of lgamma.
18674 * math/auto-libm-test-out: Regenerated.
18675 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18676 (M_LOG_2_SQRT_PIl): Likewise.
18677 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18678 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18679 mpfr_f_f1.
18680 (func_calc_desc): Add mpfr_f_f1 union field.
18681 (ARGS1): New macro.
18682 (ARGS2): Likewise.
18683 (ARGS3): Likewise.
18684 (ARGS4): Likewise.
18685 (RET1): Likewise.
18686 (RET2): Likewise.
18687 (CALC): Likewise.
18688 (FUNC): Likewise.
18689 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18690 (test_functions): Add lgamma.
18691 (calc_generic_results): Handle mpfr_f_f1.
18692 * sysdeps/i386/fpu/libm-test-ulps: Update.
18693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18694
18695 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18696
18697 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18698 __mpn_add_n for PowerPC64/POWER7.
18699 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18700 __mpn_sub_n for PowerPC64/POWER7.
18701
18702 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18703 __mpn_addmul_1 for PowerPC64.
18704 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18705 __mpn_submul_1 for PowerPC64.
18706 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18707 for PowerPC64.
18708 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18709 for PowerPC64.
18710
18711 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18712
18713 [BZ #15089]
18714 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18715
18716 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18717
18718 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18719
18720 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18721 add multiarch folders.
18722 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18723 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18724 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18725 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18726 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18727 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18728 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18729 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18730 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18731 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18732 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18739
18740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18741 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18743 New file.
18744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18745 New file.
18746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18747 multiarch __ieee754_hypot for PowerPC32.
18748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18749 New file.
18750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18751 New file.
18752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18753 multiarch __ieee754_hypotf for PowerPC32.
18754
18755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18756 long_double_symbol only if __logbl is defined.
18757 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18758 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18760 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18762 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18763 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18764 path for implementation.
18765 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18766 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18768 logb, and logbl multiarch implementations for PowerPC32.
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18770 file.
18771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18772 file.
18773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18774 multiarch logb for PowerPC32.
18775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18776 file.
18777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18778 file.
18779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18780 multiarch logbf for PowerPC32.
18781 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18783 file.
18784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18785 multiarch logbl implementation for PowerPC32.
18786
18787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18788 and modff multiarch implementations.
18789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18790 New file.
18791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18792 New file.
18793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18794 multiarch modf for PowerPC32.
18795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18796 New file.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18798 New file.
18799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18800 multiarch modff for PowerPC32.
18801
18802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18803 and lrintf multiarch implementations.
18804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18805 New file.
18806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18807 New file.
18808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18809 multiarch lrint for PowerPC32.
18810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18811 file: multiarch lrintf for PowerPC32.
18812
18813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18814 and lroundf multiarch implementations.
18815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18816 New file.
18817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18818 New file.
18819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18820 New file.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18822 multiarch lround for PowerPC32.
18823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18824 file: multiarch lroundf for PowerPC32.
18825
18826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18827 copysign and copysignf multiarch implementations.
18828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18829 New file.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18831 New file.
18832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18833 file: multiarch copysign for PowerPC32.
18834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18835 file: multiarch copysignf for PowerPC32.
18836
18837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18838 and truncf multiarch implementations.
18839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18840 New file.
18841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18842 file.
18843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18844 multiarch trunc for PowerPC32.
18845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18846 New file.
18847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18848 New file.
18849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18850 multiarch truncf for PowerPC32.
18851
18852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18853 and roundf multiarch implementations.
18854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18855 New file.
18856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18857 file.
18858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18859 multiarch round for PowerPC32.
18860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18861 New file.
18862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18863 New file.
18864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18865 multiarch roundf for PowerPC32.
18866
18867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18868 and floorf multiarch implementations.
18869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18870 New file.
18871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18872 file.
18873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18874 multiarch floor for PowerPC32.
18875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18876 New file.
18877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18878 New file.
18879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18880 multiarch floorf for PowerPC32.
18881
18882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18883 and ceilf multiarch implementations.
18884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18885 New file.
18886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18887 file.
18888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18889 multiarch ceil for PowerPC32.
18890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18891 New file.
18892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18893 file.
18894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18895 multiarch ceilf for PowerPC32.
18896
18897 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18898 is defined.
18899 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18900 FINITEF is defined.
18901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18902 and finitef multiarch implementations.
18903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18904 New file.
18905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18906 file.
18907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18908 multiarch finite for PowerPC32.
18909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18910 New file.
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18912 file: multiarch finitef for PowerPC32.
18913
18914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18915 and isinff multiarch implementations.
18916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18917 file.
18918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18919 file.
18920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18921 multiarch isinf for PowerPC32.
18922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18923 New file.
18924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18925 multiarch isinff for PowerPC32.
18926
18927 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18928 alias when __isnan is defined.
18929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18930 and isnanf multiarch implementations.
18931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18932 file.
18933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18934 file.
18935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18936 file.
18937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18938 file.
18939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18940 multiarch isnan for PowerPC32.
18941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18942 New file.
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18944 New file.
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18946 multiarch isnanf for PowerPC32.
18947
18948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18949 and sqrtf multiarch implementations.
18950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18951 file.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18953 file.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18955 multiarch sqrt for PowerPC32.
18956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18957 file.
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18959 file.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18961 multiarch sqrtf for PowerPC32.
18962
18963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18964 and llroundf multiarch implementations.
18965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18966 New file.
18967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18968 New file.
18969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18970 New file.
18971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18972 file: multiarch llround for PowerPC32.
18973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18974 file: multiarch llroundf for PowerPC32.
18975
18976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18977 multiarch PowerPC32 fpu implementations.
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18979 New file.
18980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18981 New file.
18982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18983 multiarch llrint for PowerPC32.
18984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18985 New file.
18986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18987 New file.
18988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18989 file.
18990
18991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18992
18993 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18994 file.
18995 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18996 file.
18997 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18998 file.
18999 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19000 multiarch wordcopy for PPC32.
19001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19002 wordcopy objects.
19003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19004 (__libc_ifunc_impl_list): Likewise.
19005 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19006 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19008 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19009 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19010 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19011
19012 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19014 file.
19015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19016 file.
19017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19018 file.
19019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19020 multiarch wcscpy for PPC32.
19021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19022 multiarch objects.
19023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19024 (__libc_ifunc_impl_list): Likewise.
19025 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19026 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19027 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19028 sysdeps/powerpc/power6/wcscpy.c.
19029
19030 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19032 file.
19033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19034 file.
19035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19036 file.
19037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19038 multiarch wcsrchr for PPC32.
19039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19040 multiarch objects.
19041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19042 (__libc_ifunc_impl_list): Likewise.
19043 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19044 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19045 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19046 sysdeps/powerpc/power6/wcsrchr.c.
19047
19048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19049 file.
19050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19051 file.
19052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19054 multiarch wcschr for PPc32.
19055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19056 multiarch objects.
19057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19058 (__libc_ifunc_impl_list): Likewise.
19059 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19060 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19061 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19062 sysdeps/powerpc/power6/wcschr.c.
19063
19064 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19065 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19066 file.
19067 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19068 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19069 file: multiarch strchr for PPC32.
19070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19071 multiarch objects.
19072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19073 (__libc_ifunc_impl_list): Likewise.
19074
19075 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19076 name.
19077 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19078 file.
19079 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19080 file.
19081 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19082 multiarch strchrnul for PPC32.
19083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19084 multiarch objects.
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19086 (__libc_ifunc_impl_list): Likewise.
19087
19088 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19089 file.
19090 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19091 multiarch strncasecmp for PPC32.
19092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19093 file.
19094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19095 multiarch strncasecmp_l for PPC32.
19096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19097 strncasecmp multiarch objects.
19098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19099 (__libc_ifunc_impl_list): Likewise.
19100
19101 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19102 file.
19103 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19104 multiarch strncasecmp for PPC32.
19105 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19106 New file.
19107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19108 multiarch strcasecmp_l for PPC32.
19109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19110 multiarch objects.
19111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19112 (__libc_ifunc_impl_list): Likewise.
19113
19114 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19115 file.
19116 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19117 file.
19118 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19119 multiarch strncmp for PPC32.
19120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19121 multiarch objects.
19122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19123 (__libc_ifunc_impl_list): Likewise.
19124
19125 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19126 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19127 file.
19128 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19131 multiarch objects.
19132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19133 (__libc_ifunc_impl_list): Likewise.
19134
19135 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19136 file.
19137 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19138 file.
19139 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19141 multiarch objects.
19142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19143 (__libc_ifunc_impl_list): Likewise.
19144
19145 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19146 file.
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19148 file.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19150 multiarch rawmemchr for PPC32.
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19152 multiarch objects.
19153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19154 (__libc_ifunc_impl_list): Likewise.
19155
19156 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19157 file.
19158 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19159 file.
19160 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19161 file: memrchr multiarch for PPC32.
19162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19163 multiarch objects.
19164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19165 (__libc_ifunc_impl_list): Likewise.
19166
19167 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19168 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19169 file.
19170 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19171 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19172 multiarch memchr for PPC32.
19173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19174 multiarch objects.
19175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19176 (__libc_ifunc_impl_list): Likewise.
19177
19178 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19180 file.
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19182 file.
19183 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19184 file: multiarch mempcpy for PPC32.
19185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19186 multiarch objects.
19187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19188 (__libc_ifunc_impl_list): Likewise.
19189
19190 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19192 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19193 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19194 multiarch bzero for PPC32.
19195 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19196 file.
19197 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19198 file.
19199 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19200 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19201 file: multiarch memset for PPC32.
19202 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19204 memset multiarch objects.
19205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19206 (__libc_ifunc_impl_list): Likewise.
19207
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19209 file.
19210 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19212 memcmp for PPC32.
19213 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19215 multiarch objects.
19216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19217 (__libc_ifunc_impl_list): Likewise.
19218
19219 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19221 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19222 file.
19223 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19224 file.
19225 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19226 file.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19228 multiarch memcpy for PPC32.
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19230 multiarch objects.
19231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19232 (__libc_ifunc_impl_list): Likewise.
19233
19234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19235 support multiarch for POWER/PPC32.
19236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19237 Likewise.
19238 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19240 Implies file to make multiarch folder appers before the fpu and
19241 default folder for power4 configuration.
19242
19243 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19244
19245 * scripts/bench.pl: Append volatile keyword to type.
19246
19247 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19248
19249 * sysdeps/sh/sotruss-lib.c: New file.
19250 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19251
19252 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19253
19254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19255
19256 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19257
19258 [BZ #6810]
19259 * math/w_tgamma.c: Include <errno.h>.
19260 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19261 * math/w_tgammaf.c: Include <errno.h>.
19262 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19263 * math/w_tgammal.c: Include <errno.h>.
19264 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19265 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19266 underflow. Add more tgamma tests.
19267 * math/auto-libm-test-out: Regenerated.
19268 * sysdeps/i386/fpu/libm-test-ulps: Update.
19269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19270
19271 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19272 sin, sinh, tan, tanh, tgamma, y0 and y1.
19273 * math/auto-libm-test-out: Regenerated.
19274 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19275 (TEST_COND_x86): Likewise.
19276 (M_E2l): Remove macro.
19277 (M_E3l): Likewise.
19278 (M_2_SQRT_PIl): Likewise.
19279 (M_SQRT_PIl): Likewise.
19280 (M_1_DIV_El): Likewise.
19281 (log_test_data): Use AUTO_TESTS_f_f.
19282 (log10_test_data): Likewise.
19283 (log1p_test_data): Likewise.
19284 (log2_test_data): Likewise.
19285 (sin_test_data): Likewise.
19286 (sin_tonearest_test_data): Likewise.
19287 (sin_towardzero_test_data): Likewise.
19288 (sin_downward_test_data): Likewise.
19289 (sin_upward_test_data): Likewise.
19290 (sinh_test_data): Likewise.
19291 (sinh_tonearest_test_data): Likewise.
19292 (sinh_towardzero_test_data): Likewise.
19293 (sinh_downward_test_data): Likewise.
19294 (sinh_upward_test_data): Likewise.
19295 (tan_test_data): Likewise.
19296 (tan_tonearest_test_data): Likewise.
19297 (tan_towardzero_test_data): Likewise.
19298 (tan_downward_test_data): Likewise.
19299 (tan_upward_test_data): Likewise.
19300 (tanh_test_data): Likewise.
19301 (tgamma_test_data): Likewise.
19302 (y0_test_data): Likewise.
19303 (y1_test_data): Likewise.
19304 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19305 (special_real_inputs): Add pi/4.
19306 * sysdeps/i386/fpu/libm-test-ulps: Update.
19307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19308
19309 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19310
19311 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19312 "longjmp_target" static probes.
19313 (__longjmp): Rename to __longjmp_symbol.
19314 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19315 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19316 on which longjmp to generate.
19317 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19318 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19319 probe.
19320 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19321 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19322 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19323 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19324 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19325 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19327 __longjmp_symbol based on which __longjmp to generate.
19328 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19329 probe.
19330 (setjmp): Rename to setjmp_symbol.
19331 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19332 (_setjmp): Rename to _setjmp_symbol.
19333 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19334 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19335 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19336 which setjmp to generate.
19337 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19338 "longjmp_target" static probes.
19339
19340 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19341
19342 * benchtests/README: Add note about output arguments.
19343 * benchtests/bench-sincos.c: Remove file.
19344 * benchtests/sincos-inputs: New file.
19345 * scripts/bench.pl: Identify output arguments and define
19346 static variables for them.
19347
19348 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19349
19350 [BZ #15941]
19351 * Makefile (INSTALL): Add install-plain.texi as the primary
19352 dependency.
19353 * manual/install-plain.texi: New file.
19354 * manual/install.texi: Include node directive only for
19355 non-plaintext output.
19356
19357 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19358
19359 * stdlib/longlong.h: Update from GCC.
19360
19361 [BZ #6807]
19362 [BZ #15901]
19363 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19364 * math/w_j0f.c (y0f): Likewise.
19365 * math/w_j0l.c (__y0l): Likewise.
19366 * math/w_j1.c (y1): Likewise.
19367 * math/w_j1f.c (y1f): Likewise.
19368 * math/w_j1l.c (__y1l): Likewise
19369 * math/w_jn.c (yn): Likewise.
19370 * math/w_jnf.c (ynf): Likewise.
19371 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19372 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19373 value for Bessel function domain errors outside _SVID_ mode.
19374 Adjust sign of return value for yn (negative integer, 0).
19375 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19376 by zero in return for negative x and set sign appropriately for
19377 negative n.
19378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19380 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19381 expectations in error cases.
19382 (y1_test_data): Likewise.
19383 (yn_test_data): Likewise.
19384 * sysdeps/i386/fpu/libm-test-ulps: Update.
19385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19386
19387 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19388
19389 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19390 "64" to "64-v1". Add "64-v2".
19391 (abi-64-options): Rename to ...
19392 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19393 (abi-64-condition): Rename to ...
19394 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19395 (abi-64-ld-soname): Rename to ...
19396 (abi-64-v1-ld-soname): ... this.
19397 (abi-64-v2-options): Define.
19398 (abi-64-v2-condition): Likewise.
19399 (abi-64-v2-ld-soname): Likewise.
19400 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19401 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19405
19406 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19407 Alan Modra <amodra@gmail.com>
19408
19409 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19410 New versions for use with the ELFv2 ABI.
19411 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19412 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19413 declaration.
19414 (struct La_ppc64v2_retval): Likewise.
19415 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19416 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19417 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19418 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19419 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19420 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19421 Do not save or restore CR.
19422 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19423 (_dl_profile_resolve): Do no save or restore CR. Support extended
19424 return values for ELFv2 ABI. Fix location of FPR return registers.
19425 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19426 updated values for _CALL_ELF == 2.
19427 (La_regs, La_retval, int_retval): Likewise.
19428
19429 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19430
19431 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19432 (FRAME_MIN_SIZE_PARM): Likewise.
19433 (FRAME_BACKCHAIN): Likewise.
19434 (FRAME_CR_SAVE): Likewise.
19435 (FRAME_LR_SAVE): Likewise.
19436 (FRAME_TOC_SAVE): Likewise.
19437 (FRAME_PARM_SAVE): Likewise.
19438 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19439 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19440 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19441 (call_mcount_parm_offset): New macro.
19442 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19443 (PROF): Use symbolic stack frame offsets.
19444 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19445 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19446 Redefine in terms of FRAME_MIN_SIZE.
19447 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19448 (_dl_profile_resolve): Likewise. Update comment.
19449 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19450 symbols stack frame offsets.
19451 (__sigsetjmp): Likewise.
19452 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19453 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19454 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19455 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19456
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19458 (FRAME_BACKCHAIN): Remove.
19459 (FRAME_CR_SAVE): Likewise.
19460 (FRAME_LR_SAVE): Likewise.
19461 (FRAME_COMPILER_DW): Likewise.
19462 (FRAME_LINKER_DW): Likewise.
19463 (FRAME_TOC_SAVE): Likewise.
19464 (FRAME_PARM_SAVE): Likewise.
19465 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19466 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19467 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19469 (CHECK_SP): Use symbolic stack frame offsets.
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19471 zone" instead of caller's parameter save area for temp storage.
19472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19473 Likewise. Also, use symbolic stack frame offsets.
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19475 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19476 our own stack frame instead of the caller's.
19477 (__socket): Use symbolic stack frame offsets.
19478
19479 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19480 Alan Modra <amodra@gmail.com>
19481
19482 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19483 Define.
19484 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19485 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19486 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19487 New function.
19488 (elf_machine_fixup_plt): Call it.
19489 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19490 reloc arguments.
19491 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19492 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19493 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19494 r2 before calling target.
19495
19496 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19497 Alan Modra <amodra@gmail.com>
19498
19499 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19500 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19501 versions of macros to support ELFv2 ABI.
19502 (LOCALENTRY): New macro.
19503 (ENTRY, EALIGN): Use it.
19504 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19505 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19506 fall through into ENTRY entry point.
19507 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19508 Only define if _CALL_ELF != 2.
19509
19510 (elf_machine_matches_host): Verify ABI version matches.
19511 (RTLD_START): Use LOCALENTRY.
19512 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19513 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19514 (PLT_ENTRY_WORDS): New macro.
19515 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19516 (elf_machine_runtime_setup): Support ELFv2 ABI.
19517 (elf_machine_fixup_plt): Likewise.
19518 (elf_machine_plt_conflict): Likewise.
19519 (resolve_ifunc): Likewise.
19520 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19522 Likewise.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19524 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19526 (makecontext): Support ELFv2 ABI.
19527 * elf/elf.h (EF_PPC64_ABI): Define.
19528
19529 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19530
19531 * sysdeps/powerpc/powerpc64/sysdep.h
19532 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19533 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19534 (ENTRY) [ASSEMBLER]: ... but instead here ...
19535 (EALIGN) [ASSEMBLER]: ... and here.
19536 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19537 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19538 (ENTRY_2) [!ASSEMBLER]: Use it.
19539 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19540 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19541 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19542 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19543 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19545 Use PPC64_LOAD_FUNCPTR.
19546
19547 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19548
19549 2013-12-04 Alan Modra <amodra@gmail.com>
19550
19551 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19552 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19553 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19554 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19555
19556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19557 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19558 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19559 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19560 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19561 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19562
19563 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19564
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19566 (__makecontext): Fix incorrect CFI when backtracing out of
19567 context created via makecontext.
19568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19569 (__setcontext): Fix incorrect CFI during switch to new context.
19570 (__novec_setcontext): Likewise.
19571
19572 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19573
19574 [BZ #4772]
19575 * time/strptime_l.c (__strptime_internal): Allow modifiers
19576 in strptime.
19577 * time/tst-strptime.c (day_tests): Add testcase.
19578
19579 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19580
19581 * scripts/bench.pl: Skip over blank lines.
19582
19583 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19584
19585 [BZ #926]
19586 * manual/time.texi (Calendar Time): Clarify what timezone functions
19587 use.
19588
19589 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19590
19591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19592
19593 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19594
19595 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19596 implementation.
19597 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19598 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19599 * debug/memset_chk.c (__memset_chk): Likewise.
19600 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19601 * debug/strncpy_chk.c: Likewise.
19602
19603 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19604
19605 [BZ #15268]
19606 [BZ #15425]
19607 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19608 (__ieee754_exp): For possibly underflowing results, check size of
19609 result and force underflow exception if required.
19610 * math/auto-libm-test-in: Add more tests of exp.
19611 * math/auto-libm-test-out: Regenerated.
19612 * sysdeps/i386/fpu/libm-test-ulps: Update.
19613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19614
19615 [BZ #16283]
19616 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19617 * math/w_exp2f.c (__exp2f): Likewise.
19618 * math/w_exp2l.c (__exp2l): Likewise.
19619 * math/auto-libm-test-in: Do not allow missing errno on exp2
19620 underflow.
19621 * math/auto-libm-test-out: Regenerated.
19622
19623 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19624
19625 [BZ #16274]
19626 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19627 handle filename validation.
19628 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19629 (do_open): Delete.
19630
19631 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19632
19633 [BZ #6786]
19634 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19635 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19636 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19637 <float.h>.
19638 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19640 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19641 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19642 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19643 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19644 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19645 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19646 Add more erfc tests.
19647 * math/auto-libm-test-out: Regenerated.
19648 * sysdeps/i386/fpu/libm-test-ulps: Update.
19649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19650
19651 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19652 exp2, expm1, j0 and j1.
19653 * math/auto-libm-test-out: Regenerated.
19654 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19655 (erfc_test_data): Likewise.
19656 (exp_test_data): Likewise.
19657 (exp_tonearest_test_data): Likewise.
19658 (exp_towardzero_test_data): Likewise.
19659 (exp_downward_test_data): Likewise.
19660 (exp_upward_test_data): Likewise.
19661 (exp10_test_data): Likewise.
19662 (exp2_test_data): Likewise.
19663 (expm1_test_data): Likewise.
19664 (j0_test_data): Likewise.
19665 (j1_test_data): Likewise.
19666 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19667 (input_flag_type): Add flag_xfail_rounding.
19668 (input_flags): Add xfail-rounding.
19669 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19670 (output_for_one_input_case): Handle flag_xfail_rounding.
19671 * sysdeps/i386/fpu/libm-test-ulps: Update.
19672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19673
19674 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19675
19676 [BZ #16289]
19677 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19678 division by 0.
19679
19680 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19681
19682 [BZ #16195]
19683 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19684 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19685 (STAP_PROBE0): New macro.
19686 (STAP_PROBE1): Likewise.
19687 (STAP_PROBE2): Likewise.
19688 (STAP_PROBE3): Likewise.
19689 (STAP_PROBE4): Likewise.
19690
19691 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19692
19693 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19694
19695 2013-12-02 Steve Ellcey <sellcey@mips.com>
19696
19697 * benchtests/Makefile (bench): Add sqrt.
19698 (LDLIBS-bench-sqrt): New.
19699 * benchtests/sqrt-input: New.
19700
19701 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19702
19703 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19704 (GAIH_EAI): Likewise.
19705 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19706 (gaih_inet): Likewise.
19707 (getaddrinfo): Don't use GAIH_EAI.
19708
19709 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19710 (struct gaih): Remove definition.
19711
19712 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19713
19714 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19715 Use HERRNOP directly.
19716
19717 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19718
19719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19720
19721 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19722
19723 * math/gen-auto-libm-tests.c (test_functions): Add more
19724 single-argument functions.
19725 (special_fill_pi_2): New function.
19726 (special_fill_minus_pi_2): Likewise.
19727 (special_fill_pi_6): Likewise.
19728 (special_fill_minus_pi_6): Likewise.
19729 (special_fill_pi_3): Likewise.
19730 (special_fill_2pi_3): Likewise.
19731 (special_fill_e): Likewise.
19732 (special_fill_1_e): Likewise.
19733 (special_fill_e_minus_1): Likewise.
19734 (special_real_inputs): Add more special inputs.
19735 (output_for_one_input_case): Do not require ERANGE on underflow to
19736 zero if round-to-nearest result does not underflow to zero, unless
19737 exact results required.
19738 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19739 atan, atanh, cbrt, cos and cosh.
19740 * math/auto-libm-test-out: Regenerated.
19741 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19742 (acos_tonearest_test_data): Likewise.
19743 (acos_towardzero_test_data): Likewise.
19744 (acos_downward_test_data): Likewise.
19745 (acos_upward_test_data): Likewise.
19746 (acosh_test_data): Likewise.
19747 (asin_test_data): Likewise.
19748 (asin_tonearest_test_data): Likewise.
19749 (asin_towardzero_test_data): Likewise.
19750 (asin_upward_test_data): Likewise.
19751 (asinh_test_data): Likewise.
19752 (atan_test_data): Likewise.
19753 (atanh_test_data): Likewise.
19754 (cbrt_test_data): Likewise.
19755 (cos_test_data): Likewise.
19756 (cos_tonearest_test_data): Likewise.
19757 (cos_towardzero_test_data): Likewise.
19758 (cos_downward_test_data): Likewise.
19759 (cos_upward_test_data): Likewise.
19760 (cosh_test_data): Likewise.
19761 (cosh_tonearest_test_data): Likewise.
19762 (cosh_towardzero_test_data): Likewise.
19763 (cosh_downward_test_data): Likewise.
19764 (cosh_upward_test_data): Likewise.
19765 * sysdeps/i386/fpu/libm-test-ulps: Update.
19766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19767
19768 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19769
19770 [BZ #6787]
19771 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19772 * math/w_exp10f.c (__exp10f): Likewise.
19773 * math/w_exp10l.c (__exp10l): Likewise.
19774 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19775 errno settings in existing tests.
19776
19777 [BZ #14032]
19778 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19779 precision control set to double precision.
19780 * sysdeps/i386/fpu/w_sqrt.c: New file.
19781 * math/auto-libm-test-in: Add more tests.
19782 * math/auto-libm-test-out: Update.
19783
19784 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19785 (sqrt_test_tonearest): New function.
19786 (sqrt_towardzero_test_data): New variable.
19787 (sqrt_test_towardzero): New function.
19788 (sqrt_downward_test_data): New variable.
19789 (sqrt_test_downward): New function.
19790 (sqrt_upward_test_data): New variable.
19791 (sqrt_test_upward): New function.
19792 (main): Call the new functions.
19793
19794 * math/gen-auto-libm-tests.c: New file.
19795 * math/auto-libm-test-in: Likewise.
19796 * math/auto-libm-test-out: New generated file.
19797 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19798 variables.
19799 (%beautify): Add generated representations of zero.
19800 (top level): Set $auto_input and call parse_auto_input.
19801 (beautify): Remove trailing "f" from hex float constants.
19802 (parse_args): Handle XFAIL_TEST.
19803 (convert_condition): New function.
19804 (or_value): Likewise.
19805 (or_cond_value): Likewise.
19806 (generate_testfile): Handle AUTO_TESTS_* lines.
19807 (parse_auto_input): New function.
19808 * math/libm-test.inc (XFAIL_TEST): New macro.
19809 (ERRNO_UNCHANGED): Update value.
19810 (ERRNO_EDOM): Likewise.
19811 (ERRNO_ERANGE): Likewise.
19812 (IGNORE_RESULT): Likewise.
19813 (TEST_COND_flt_32): New macro.
19814 (TEST_COND_dbl_64): Likewise.
19815 (TEST_COND_ldbl_96_intel): Likewise.
19816 (TEST_COND_ldbl_96_m68k): Likewise.
19817 (TEST_COND_ldbl_128): Likewise.
19818 (TEST_COND_ldbl_128ibm): Likewise.
19819 (TEST_COND_long32): Likewise.
19820 (TEST_COND_long64): Likewise.
19821 (TEST_COND_before_rounding): Likewise.
19822 (TEST_COND_after_rounding): Likewise.
19823 (enable_test): Handle XFAIL_TEST flag.
19824 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19825 with finite results.
19826 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19827 auto-libm-test-out.
19828
19829 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19830 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19831
19832 [BZ #16214]
19833 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19834 __tls_get_addr_internal instead of __tls_get_offset in order to
19835 avoid GOT pointer dependency. Make rtld export
19836 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19837 __tls_get_addr since we are a __tls_get_offset platform.
19838 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19839 GOT pointer being set up before.
19840 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19841
19842 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19843
19844 * manual/math.texi (Errors in Math Functions): Document accuracy
19845 goals.
19846
19847 [BZ #15004]
19848 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19849 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19852 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19853 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19854 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19860 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19863 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19864
19865 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19866 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19867 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19868 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19869 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19870 Likewise.
19871 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19872 Likewise.
19873 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19874 Likewise.
19875 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19876 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19877 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19878 atomic-feupdateenv and flt-rounds.
19879 * sysdeps/powerpc/nofpu/Versions (libc): Add
19880 __atomic_feholdexcept, __atomic_feclearexcept,
19881 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19882 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19883 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19884 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19885 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19886 here.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19888 Update.
19889
19890 * manual/arith.texi (FP Exceptions): Document that exceptions may
19891 not be raised when matherr is used.
19892 (Math Error Reporting): Document overflow in directed rounding
19893 modes. Document that errno may not be set when finite values are
19894 returned on overflow. Document intent to set errno on underflow
19895 only for underflow to zero.
19896
19897 [BZ #16271]
19898 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19899 round-to-nearest then adjust result for other rounding modes.
19900 * include/fenv.h (fegetround): Use libm_hidden_proto.
19901 * math/fegetround.c (fegetround): Use libm_hidden_def.
19902 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19903 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19904 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19905 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19906 Likewise.
19907 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19908 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19909 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19910 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19911
19912 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19913
19914 [BZ #16077]
19915 * nss/Versions (libnss_files): Add
19916 _nss_files_gethostbyname3_r.
19917 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19918 New function.
19919 (HOST_DB_LOOKUP): Remove macro.
19920 (_nss_files_gethostbyname_r): Implement function without the
19921 HOST_DB_LOOKUP macro.
19922 (_nss_files_gethostbyname2_r): Likewise.
19923
19924 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19925
19926 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19927
19928 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19929
19930 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19931 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19932 warning.
19933
19934 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19935
19936 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19937 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19938 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19939 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19940 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19941 __fe_nomask_env_priv and attribute_hidden.
19942 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19943 (libc_feupdateenv_test_ppc): Likewise.
19944 (libc_feresetround_ppc): Likewise.
19945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19946 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19947 compat_symbol macro.
19948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19949 (__fe_nomask_env): Likewise.
19950 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19951
19952 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19953
19954 * string/Makefile: Remove ifunc tests.
19955 * string/test-string.h: Define TEST_IFUNC.
19956 * string/test-bcopy-ifunc.c: Remove.
19957 * string/test-bzero-ifunc.c: Likewise.
19958 * string/test-memccpy-ifunc.c: Likewise.
19959 * string/test-memchr-ifunc.c: Likewise.
19960 * string/test-memcmp-ifunc.c: Likewise.
19961 * string/test-memcpy-ifunc.c: Likewise.
19962 * string/test-memmem-ifunc.c: Likewise.
19963 * string/test-memmove-ifunc.c: Likewise.
19964 * string/test-mempcpy-ifunc.c: Likewise.
19965 * string/test-memrchr-ifunc.c: Likewise.
19966 * string/test-memset-ifunc.c: Likewise.
19967 * string/test-rawmemchr-ifunc.c: Likewise.
19968 * string/test-stpcpy-ifunc.c: Likewise.
19969 * string/test-stpncpy-ifunc.c: Likewise.
19970 * string/test-strcasecmp-ifunc.c: Likewise.
19971 * string/test-strcasestr-ifunc.c: Likewise.
19972 * string/test-strcat-ifunc.c: Likewise.
19973 * string/test-strchr-ifunc.c: Likewise.
19974 * string/test-strchrnul-ifunc.c: Likewise.
19975 * string/test-strcmp-ifunc.c: Likewise.
19976 * string/test-strcpy-ifunc.c: Likewise.
19977 * string/test-strcspn-ifunc.c: Likewise.
19978 * string/test-strlen-ifunc.c: Likewise.
19979 * string/test-strncasecmp-ifunc.c: Likewise.
19980 * string/test-strncat-ifunc.c: Likewise.
19981 * string/test-strncmp-ifunc.c: Likewise.
19982 * string/test-strncpy-ifunc.c: Likewise.
19983 * string/test-strnlen-ifunc.c: Likewise.
19984 * string/test-strpbrk-ifunc.c: Likewise.
19985 * string/test-strrchr-ifunc.c: Likewise.
19986 * string/test-strspn-ifunc.c: Likewise.
19987 * string/test-strstr-ifunc.c: Likewise.
19988
19989 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19990
19991 * benchtests/Makefile: Remove ifunc tests.
19992 * benchtests/bench-string.h: Define TEST_IFUNC.
19993 * benchtests/bench-bcopy-ifunc.c: Remove.
19994 * benchtests/bench-bzero-ifunc.c: Likewise.
19995 * benchtests/bench-memccpy-ifunc.c: Likewise.
19996 * benchtests/bench-memchr-ifunc.c: Likewise.
19997 * benchtests/bench-memcmp-ifunc.c: Likewise.
19998 * benchtests/bench-memcpy-ifunc.c: Likewise.
19999 * benchtests/bench-memmem-ifunc.c: Likewise.
20000 * benchtests/bench-memmove-ifunc.c: Likewise.
20001 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20002 * benchtests/bench-memrchr-ifunc.c: Likewise.
20003 * benchtests/bench-memset-ifunc.c: Likewise.
20004 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20005 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20006 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20007 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20008 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20009 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20010 * benchtests/bench-strcat-ifunc.c: Likewise.
20011 * benchtests/bench-strchr-ifunc.c: Likewise.
20012 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20013 * benchtests/bench-strcmp-ifunc.c: Likewise.
20014 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20015 * benchtests/bench-strcpy-ifunc.c: Likewise.
20016 * benchtests/bench-strcspn-ifunc.c: Likewise.
20017 * benchtests/bench-strlen-ifunc.c: Likewise.
20018 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20019 * benchtests/bench-strncat-ifunc.c: Likewise.
20020 * benchtests/bench-strncmp-ifunc.c: Likewise.
20021 * benchtests/bench-strncpy-ifunc.c: Likewise.
20022 * benchtests/bench-strnlen-ifunc.c: Likewise.
20023 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20024 * benchtests/bench-strrchr-ifunc.c: Likewise.
20025 * benchtests/bench-strsep-ifunc.c: Likewise.
20026 * benchtests/bench-strspn-ifunc.c: Likewise.
20027 * benchtests/bench-strstr-ifunc.c: Likewise.
20028
20029 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20030
20031 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20032
20033 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20034
20035 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20036 * rt/aio.h: Likewise.
20037 * sysdeps/gnu/bits/utmp.h: Likewise.
20038 * sysdeps/gnu/bits/utmpx.h: Likewise.
20039 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20040 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20041 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20042 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20043 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20044 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20045 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20046 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20047 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20048 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20049 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20050 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20051 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20053 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20054 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20055 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20056 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20057 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20058 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20059 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20060 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20061 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20062 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20063 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20065 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20066 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20067 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20068 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20069 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20070 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20071 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20073 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20075 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20076 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20078 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20079 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20080 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20081
20082 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20083
20084 [BZ #16245]
20085 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20086 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20087
20088 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20089
20090 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20091 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20092 Likewise.
20093
20094 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20095
20096 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20097 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20098 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20099 (__fesetround): Remove define.
20100 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20101 rounding and exceptions handling.
20102 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20103 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20104 (__fe_nomask_env): Likewise.
20105 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20106 __fegetround instead of fegetround.
20107 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20108 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20109
20110 2013-11-21 Roland McGrath <roland@hack.frob.com>
20111
20112 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20113 it's there.
20114
20115 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20116
20117 2013-11-21 Meador Inge <meadori@codesourcery.com>
20118
20119 [BZ #11157]
20120 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20121 (encrypt_r): Likewise.
20122 * malloc/obstack.h (obstack_free): Likewise.
20123 * posix/unistd.h (encrypt): Likewise.
20124
20125 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20126
20127 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20128 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20129 DL_CALL_DT_FINI() that call the functions directly.
20130 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20131 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20132 * elf/dl-fini.c: Likewise.
20133
20134 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20135
20136 * malloc/hooks.c (memalign_check): Add alignment rounding.
20137 * malloc/malloc.c (_mid_memalign): New function.
20138 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20139 Implement by calling _mid_memalign.
20140 * manual/probes.texi (Memory Allocation Probes): Remove
20141 memory_valloc_retry and memory_pvalloc_retry.
20142
20143 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20144
20145 * locale/programs/locarchive.c (open_archive): Add const
20146 qualifier to ARCHIVEFNAME and copy default fname to
20147 DEFAULT_FNAME.
20148
20149 [BZ #15601]
20150 * libio/tst-widetext.input: Rename Oriya to Odia.
20151 * locale/iso-639.def: Likewise.
20152
20153 * manual/probes.texi (Mathematical Function Probes): Add
20154 documentation for sin, cos, asin and acos probes.
20155 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20156 (__sin32): Add slowasin probe.
20157 (__cos32): Add slowacos probe.
20158 (__mpsin): Add slowsin probe.
20159 (__mpcos): Add slowcos probe.
20160
20161 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20162
20163 [BZ #15483]
20164 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20165 thread-local __sim_exceptions_thread and global
20166 __sim_exceptions_global.
20167 (__sim_disabled_exceptions): Change to thread-local
20168 __sim_disabled_exceptions_thread and global
20169 __sim_disabled_exceptions_global.
20170 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20171 and global __sim_round_mode_global.
20172 (__simulate_exceptions): Use thread-local floating-point state and
20173 set global state from it as needed.
20174 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20175 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20176 __sim_round_mode_thread.
20177 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20178 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20179 and global __sim_exceptions_global.
20180 (__sim_disabled_exceptions): Change to thread-local
20181 __sim_disabled_exceptions_thread and global
20182 __sim_disabled_exceptions_global.
20183 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20184 and global __sim_round_mode_global.
20185 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20186 (SIM_SET_GLOBAL): Likewise.
20187 * sysdeps/powerpc/soft-fp/sfp-machine.h
20188 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20189 __sim_round_mode_thread.
20190 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20191 __sim_disabled_exceptions_thread.
20192 (__sim_exceptions): Change to __sim_exceptions_thread.
20193 (__sim_disabled_exceptions): Change to
20194 __sim_disabled_exceptions_thread.
20195 (__sim_round_mode): Change to __sim_round_mode_thread.
20196 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20197 thread-local floating-point state and set global state from it as
20198 needed.
20199 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20200 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20201 (__sim_disabled_exceptions): Remove extern declaration.
20202 (feenableexcept): Use thread-local floating-point state and set
20203 global state from it as needed.
20204 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20205 extern declaration.
20206 (__sim_disabled_exceptions): Likewise.
20207 (__sim_round_mode): Likewise.
20208 (__fegetenv): Use thread-local floating-point state.
20209 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20210 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20211 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20212 floating-point state and set global state from it as needed.
20213 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20214 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20215 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20216 Likewise.
20217 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20218 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20219 Likewise.
20220 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20221 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20222 Use __sim_round_mode_thread.
20223 * math/test-fenv-tls.c: New file.
20224 * math/Makefile (tests): Add test-fenv-tls.
20225 ($(objpfx)test-fenv-tls): Depend on
20226 $(common-objpfx)nptl/libpthread.so.
20227
20228 2013-11-19 Andreas Schwab <schwab@suse.de>
20229
20230 * locale/programs/locale.c (show_info): Decode wordarray elements.
20231 * locale/categories.def (LC_MONETARY): Add element for
20232 _NL_MONETARY_CRNCYSTR.
20233 * locale/C-monetary.c (conversion_rate): New variable.
20234 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20235 element.
20236
20237 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20238
20239 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20240 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20241
20242 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20243
20244 * elf/Makefile (tst-auxv): New test.
20245 * elf/tst-auxv.c: New
20246 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20247
20248 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20249
20250 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20251 (hidden_proto): Caller changed.
20252 (hidden_tls_proto): New macro.
20253 (libc_hidden_tls_proto): Likewise.
20254 (rtld_hidden_tls_proto): Likewise.
20255 (libm_hidden_tls_proto): Likewise.
20256 (libresolv_hidden_tls_proto): Likewise.
20257 (librt_hidden_tls_proto): Likewise.
20258 (libdl_hidden_tls_proto): Likewise.
20259 (libnss_files_hidden_tls_proto): Likewise.
20260 (libnsl_hidden_tls_proto): Likewise.
20261 (libnss_nisplus_hidden_tls_proto): Likewise.
20262 (libutil_hidden_tls_proto): Likewise.
20263
20264 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20265
20266 [BZ #10253]
20267 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20268 (decompose_rpath): Defer expansion to fillin_rpath.
20269 (_dl_init_paths): Pass linkmap to fillin_rpath.
20270
20271 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20272
20273 * benchtests/Makefile: Add strsep.
20274 * benchtests/bench-strsep.c: New file: strsep benchtest.
20275 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20276
20277 2013-11-18 Andreas Schwab <schwab@suse.de>
20278
20279 * locale/programs/locale.c (show_info) [case byte]: Check for
20280 '\377' instead of '\177'.
20281 * locale/C-monetary.c (not_available): Always use "\377".
20282 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20283 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20284 detect unavailable sign_posn locale elements.
20285 * locale/localeconv.c (__localeconv): For grouping and
20286 mon_grouping handle "\177" and "\377" like no grouping.
20287 (INT_ELEM): New macro. Use it to set all numeric members.
20288 * locale/programs/ld-monetary.c (monetary_read)
20289 <tok_mon_grouping>: Normalize single -1 to the empty string.
20290 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20291 Likewise.
20292
20293 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20294
20295 [BZ #16055]
20296 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20297 when we match (nil).
20298 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20299
20300 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20301
20302 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20303 (NO_TEST_INLINE): Update value.
20304 (ERRNO_UNCHANGED): Likewise.
20305 (ERRNO_EDOM): Likewise.
20306 (ERRNO_ERANGE): Likewise.
20307 (IGNORE_RESULT): Likewise.
20308 (check_float_internal): Check signs of NaN results if
20309 TEST_NAN_SIGN used.
20310 (check_complex): Pass TEST_NAN_SIGN flag through to second
20311 check_float_internal call.
20312 (copysign_test_data): Add tests with quiet NaNs as second
20313 argument. Use TEST_NAN_SIGN.
20314 (fabs_test_data): Add test of negative quiet NaN argument. Use
20315 TEST_NAN_SIGN.
20316 (signbit_test_data): Add tests of quiet NaN argument.
20317 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20318
20319 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20320 $ignore_result.
20321 (parse_args): Handle function results specified as IGNORE.
20322 * math/libm-test.inc (IGNORE_RESULT): New macro.
20323 (check_float_internal): Do not check numerical result if flag
20324 IGNORE_RESULT set.
20325 (check_complex): Pass through IGNORE_RESULT to second
20326 check_float_internal call.
20327 (check_int): Do not check numerical result if flag IGNORE_RESULT
20328 set.
20329 (check_long): Likewise.
20330 (check_bool): Likewise.
20331 (check_longlong): Likewise.
20332 (lrint_test_data): Add tests of infinite and NaN arguments.
20333 (lrint_tonearest_test_data): Likewise.
20334 (lrint_towardzero_test_data): Likewise.
20335 (lrint_downward_test_data): Likewise.
20336 (lrint_upward_test_data): Likewise.
20337 (llrint_test_data): Likewise.
20338 (llrint_tonearest_test_data): Likewise.
20339 (llrint_towardzero_test_data): Likewise.
20340 (llrint_downward_test_data): Likewise.
20341 (llrint_upward_test_data): Likewise.
20342 (lround_test_data): Likewise.
20343 (llround_test_data): Likewise.
20344
20345 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20346 (ERRNO_UNCHANGED): Update value.
20347 (ERRNO_EDOM): Likewise.
20348 (ERRNO_ERANGE): Likewise.
20349 (NO_TEST_INLINE_FLOAT): New macro.
20350 (NO_TEST_INLINE_DOUBLE): Likewise.
20351 (enable_test): New function.
20352 (RUN_TEST_f_f): Check enable_test before running test.
20353 (RUN_TEST_2_f): Likewise.
20354 (RUN_TEST_fff_f): Likewise.
20355 (RUN_TEST_c_f): Likewise.
20356 (RUN_TEST_f_f1): Likewise.
20357 (RUN_TEST_fF_f1): Likewise.
20358 (RUN_TEST_fI_f1): Likewise.
20359 (RUN_TEST_ffI_f1): Likewise.
20360 (RUN_TEST_c_c): Likewise.
20361 (RUN_TEST_cc_c): Likewise.
20362 (RUN_TEST_f_i): Likewise.
20363 (RUN_TEST_f_i_tg): Likewise.
20364 (RUN_TEST_ff_i_tg): Likewise.
20365 (RUN_TEST_f_b): Likewise.
20366 (RUN_TEST_f_b_tg): Likewise.
20367 (RUN_TEST_f_l): Likewise.
20368 (RUN_TEST_f_L): Likewise.
20369 (RUN_TEST_fFF_11): Likewise.
20370 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20371 conditionals.
20372 (cosh_test_data): Likewise.
20373 (exp_test_data): Likewise.
20374 (expm1_test_data): Likewise.
20375 (hypot_test_data): Likewise.
20376 (pow_test_data): Likewise.
20377 (sinh_test_data): Likewise.
20378 (tanh_test_data): Likewise.
20379 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20380 flags argument.
20381
20382 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20383 tests with quiet NaN input and output.
20384 (acosh_test_data): Likewise.
20385 (asin_test_data): Likewise.
20386 (asinh_test_data): Likewise.
20387 (atan_test_data): Likewise.
20388 (atanh_test_data): Likewise.
20389 (atan2_test_data): Likewise.
20390 (cbrt_test_data): Likewise.
20391 (cos_test_data): Likewise.
20392 (cosh_test_data): Likewise.
20393 (erf_test_data): Likewise.
20394 (erfc_test_data): Likewise.
20395 (exp_test_data): Likewise.
20396 (exp10_test_data): Likewise.
20397 (exp2_test_data): Likewise.
20398 (expm1_test_data): Likewise.
20399 (hypot_test_data): Likewise.
20400 (j0_test_data): Likewise.
20401 (j1_test_data): Likewise.
20402 (jn_test_data): Likewise.
20403 (lgamma_test_data): Likewise.
20404 (log_test_data): Likewise.
20405 (log10_test_data): Likewise.
20406 (log1p_test_data): Likewise.
20407 (log2_test_data): Likewise.
20408 (pow_test_data): Likewise.
20409 (scalb_test_data): Likewise.
20410 (sin_test_data): Likewise.
20411 (sincos_test_data): Likewise.
20412 (sinh_test_data): Likewise.
20413 (tan_test_data): Likewise.
20414 (tanh_test_data): Likewise.
20415 (tgamma_test_data): Likewise.
20416 (y0_test_data): Likewise.
20417 (y1_test_data): Likewise.
20418 (yn_test_data): Likewise.
20419
20420 [BZ #16167]
20421 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20422 argument being NaN and avoid computations with second argument in
20423 that case.
20424 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20425 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20426 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20427
20428 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20429
20430 * locale/iso-639.def: Add Chitwani Tharu (the).
20431
20432 2013-11-14 Andreas Schwab <schwab@suse.de>
20433
20434 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20435 word instead of empty string.
20436
20437 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20438
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20440 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20442 (__fe_nomask_env): Likewise.
20443
20444 2013-11-13 Steve Ellcey <sellcey@mips.com>
20445
20446 * benchtests/bench-timing.h: Include time.h.
20447
20448 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20449
20450 [BZ #15997]
20451 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20452 to 3.4.0 for x32.
20453 * sysdeps/unix/sysv/linux/configure: Regenerated.
20454
20455 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20456
20457 [BZ #16151]
20458 * stdlib/strtod_l.c (round_and_return): Do not consider
20459 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20460 exponent one less than half the least subnormal exponent.
20461 * stdlib/test-strtod-round-data: Add more tests.
20462 * stdlib/tst-strtod-round.c (tests): Regenerated.
20463
20464 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20465
20466 [BZ #14143]
20467 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20468 (__fe_mask_env): Likewise.
20469 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20470 libm_hidden_proto and add function prototype.
20471 (__fe_mask_env): Add function prototype.
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20473 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20475 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20477 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20478
20479 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20480
20481 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20482 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20483
20484 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20485
20486 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20487 of htab_find_slot().
20488
20489 2013-11-11 David S. Miller <davem@davemloft.net>
20490
20491 [BZ #16150]
20492 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20493 symbol in the non-vis3 case in static builds.
20494 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20495 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20496 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20497 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20498
20499 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20500
20501 [BZ #387]
20502 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20503 it is empty.
20504
20505 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20506
20507 * benchtests/Makefile: Add bench-strtod.
20508 * benchtests/bench-strtod.c: New file: strtod benchtest
20509
20510 2013-11-11 Andreas Schwab <schwab@suse.de>
20511
20512 [BZ #16153]
20513 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20514 terminating NUL in key length.
20515
20516 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20517
20518 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20519 Add artificial ODP entry for vDSO symbol for PPC64.
20520 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20521 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20522
20523 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20524
20525 [BZ #15374]
20526 * nss/getent.c (services_keys): Recognize services starting with digit.
20527
20528 2013-11-06 David S. Miller <davem@davemloft.net>
20529
20530 [BZ #15985]
20531 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20532 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20533
20534 2013-11-06 Will Newton <will.newton@linaro.org>
20535
20536 * manual/memory.texi (Malloc Examples): Remove register
20537 keyword from examples.
20538
20539 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20540
20541 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20542
20543 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20544
20545 [BZ #6981]
20546 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20547 depending on [__GCC_IEC_559 > 0].
20548 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20549 depending on [__GCC_IEC_559_COMPLEX > 0].
20550
20551 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20552
20553 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20554 to iso-639.def.
20555
20556 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20557
20558 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20559
20560 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20561
20562 [BZ #16112]
20563 * malloc/malloc (malloc_info): Do not handle first bin as
20564 special case.
20565
20566 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20567
20568 * locale/iso-639.def: Add Central Nahuatl (nhn).
20569
20570 2013-11-01 Bruno Haible <bruno@clisp.org>
20571
20572 [BZ #7003]
20573 * manual/math.texi (BSD Random): Specify range upper bound as
20574 in POSIX.
20575
20576 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20577
20578 * locale/iso-639.def: Add Meadow Mari (mhr).
20579
20580 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20581
20582 [BZ #14752], [BZ #15763]
20583 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20584 Validate name.
20585 * rt/tst_shm.c: Add test for escaping directory.
20586
20587 2013-10-31 Andreas Schwab <schwab@suse.de>
20588
20589 [BZ #15917]
20590 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20591 followed by 'x' as part of digit sequence.
20592 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20593
20594 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20595
20596 [BZ #16037]
20597 * configure.ac: allow GNU Make 4.0 and greater.
20598 * configure: Regenerated.
20599
20600 2013-10-30 Will Newton <will.newton@linaro.org>
20601
20602 [BZ #16038]
20603 * malloc/hooks.c (memalign_check): Limit alignment to the
20604 maximum representable power of two.
20605 * malloc/malloc.c (__libc_memalign): Likewise.
20606 * malloc/tst-memalign.c (do_test): Add test for very
20607 large alignment values.
20608 * malloc/tst-posix_memalign.c (do_test): Likewise.
20609
20610 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20611
20612 [BZ #11087]
20613 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20614 (munmap_chunk): Likewise.
20615 (mremap_chunk): Likewise.
20616
20617 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20618
20619 [BZ #15799]
20620 * stdlib/div.c (div): Remove obsolete code.
20621 * stdlib/ldiv.c (ldiv): Likewise.
20622 * stdlib/lldiv.c (lldiv): Likewise.
20623
20624 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20625
20626 [BZ #16071]
20627 * nss/nss_files/files-XXX.c (get_contents_ret): New
20628 enumerator.
20629 (get_contents): New function.
20630 (internal_getent): Use it. Expand size of LINEBUFLEN.
20631
20632 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20633
20634 * configure.in: Moved to ...
20635 * configure.ac: ... here. Change reference to configure.in
20636 to configure.ac.
20637 * sysdeps/arm/preconfigure.ac: ... here.
20638 configure.in to configure.ac.
20639 * sysdeps/gnu/configure.in: Moved to ...
20640 * sysdeps/gnu/configure.ac: ... here.
20641 * sysdeps/i386/configure.in: Moved to ...
20642 * sysdeps/i386/configure.ac: ... here.
20643 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20644 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20645 * sysdeps/mach/configure.in: Moved to ...
20646 * sysdeps/mach/configure.ac: ... here.
20647 * sysdeps/mach/hurd/configure.in: Moved to ...
20648 * sysdeps/mach/hurd/configure.ac: ... here.
20649 * sysdeps/powerpc/configure.in: Moved to ...
20650 * sysdeps/powerpc/configure.ac: ... here.
20651 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20652 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20653 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20654 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20655 * sysdeps/s390/s390-32/configure.in: Moved to ...
20656 * sysdeps/s390/s390-32/configure.ac: ... here.
20657 * sysdeps/s390/s390-64/configure.in: Moved to ...
20658 * sysdeps/s390/s390-64/configure.ac: ... here.
20659 * sysdeps/sh/configure.in: Moved to ...
20660 * sysdeps/sh/configure.ac: ... here.
20661 * sysdeps/sparc/configure.in: Moved to ...
20662 * sysdeps/sparc/configure.ac: ... here.
20663 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20664 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20665 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20666 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20667 * sysdeps/x86_64/configure.in: Moved to ...
20668 * sysdeps/x86_64/configure.ac: ... here.
20669 * sysdeps/x86_64/preconfigure.in: Moved to ...
20670 * sysdeps/x86_64/preconfigure.ac: ... here.
20671 * aclocal.m4: Change reference to configure.in to configure.ac.
20672 * config.h.in: Likewise.
20673 * manual/install.texi: Likewise.
20674 * manual/maint.texi: Likewise.
20675 * Makefile: Likewise.
20676 * malloc/Makefile: Likewise.
20677 * nscd/Makefile: Likewise.
20678 * Makeconfig: Change reference to configure.in and
20679 preconfigure.in to configure.ac and preconfigure.ac
20680 respectively.
20681 * INSTALL: Regenerated.
20682 * configure: Likewise.
20683 * sysdeps/gnu/configure: Likewise.
20684 * sysdeps/i386/configure: Likewise.
20685 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20686 * sysdeps/mach/configure: Likewise.
20687 * sysdeps/mach/hurd/configure: Likewise.
20688 * sysdeps/powerpc/configure: Likewise.
20689 * sysdeps/powerpc/powerpc32/configure: Likewise.
20690 * sysdeps/powerpc/powerpc64/configure: Likewise.
20691 * sysdeps/s390/s390-32/configure: Likewise.
20692 * sysdeps/s390/s390-64/configure: Likewise.
20693 * sysdeps/sh/configure: Likewise.
20694 * sysdeps/sparc/configure: Likewise.
20695 * sysdeps/unix/sysv/linux/configure: Likewise.
20696 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20697 * sysdeps/x86_64/configure: Likewise.
20698 * sysdeps/x86_64/preconfigure: Likewise.
20699
20700 2013-10-29 Andreas Schwab <schwab@suse.de>
20701
20702 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20703
20704 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20705
20706 * benchtests/pow-inputs: Add new inputs.
20707
20708 * benchtests/exp-inputs: Add new inputs.
20709
20710 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20711 conditional check for return value.
20712 (__cos32): Likewise.
20713
20714 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20715
20716 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20717 to provide a boost for large inputs with word alignment.
20718 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20719 implementation based on optimized PPC64 strcpy.
20720 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20721 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20722 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20723 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20724
20725 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20726
20727 [BZ #2801]
20728 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20729
20730 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20731
20732 [BZ #14876]
20733 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20734 * time/tst-strptime.c (day_tests): Add testcase.
20735
20736 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20737
20738 [BZ #14029]
20739 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20740
20741 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20742
20743 [BZ #16074]
20744 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20745 MAP_FAILED on error.
20746
20747 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20748
20749 [BZ #16072]
20750 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20751 heap for large requests.
20752
20753 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20754
20755 [BZ #9954]
20756 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20757 result if the result has no associated interface.
20758 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20759 interface for all 127.X.Y.Z addresses.
20760
20761 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20762
20763 * locale/iso-639.def: Add Ligurian (lij)
20764
20765 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20766
20767 [BZ #15825]
20768 * sunrpc/rpc_main.c: Document rpcgen -5.
20769
20770 2013-10-19 Michael Stahl <mstahl@redhat.com>
20771
20772 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20773
20774 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20775
20776 [BZ #10278]
20777 * posix/glob.c: Match only directories when trailing slash is present.
20778 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20779 (main): Add testcase.
20780
20781 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20782
20783 [BZ #15670]
20784 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20785
20786 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20787
20788 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20789 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20790 AUTH_DES and cindex for FIPS 140-2.
20791 (DES Encryption): Add cindex FIPS 46-3.
20792
20793 * locale/locarchive.h (struct locarhandle): Add fname.
20794 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20795 if an optional argument was specified to --list-archive,
20796 otherwise NULL.
20797 * locale/programs/locarchive.c (show_archive_content): Take new
20798 argument fname and pass it via ah.fname to open_archive.
20799 * locale/programs/localedef.h: Update decl.
20800 (open_archive): If AH->fname is non-null, open that file
20801 rather than the default file name, and don't ignore ENOENT.
20802 (create_archive): Set AH.fname to NULL.
20803 (delete_locales_from_archive): Likewise.
20804 (add_locales_to_archive): Likewise.
20805 * locale/programs/locfile.c (write_all_categories): Likewise.
20806
20807 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20808 Aldy Hernandez <aldyh@redhat.com>
20809
20810 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20811 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20812 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20813 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20814 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20815 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20816 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20818 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20819 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20820 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20821 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20822 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20823 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20824 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20825 Likewise.
20826 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20827 Likewise.
20828 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20829 Likewise.
20830 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20831 Likewise.
20832 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20833 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20834 Likewise.
20835 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20836 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20837 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20838 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20839 Likewise.
20840 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20841 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20842 * sysdeps/powerpc/preconfigure: Likewise.
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20844 Likewise.
20845 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20846 Replace contents of file by #include of <fenv_libc.h>.
20847 * sysdeps/powerpc/soft-fp/sfp-machine.h
20848 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20849 and <sys/prctl.h>.
20850 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20851 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20853 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20857 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20859 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20860 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20861 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20863 Allow copysignl PLT reference to be missing.
20864
20865 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20866 Joseph Myers <joseph@codesourcery.com
20867
20868 [BZ #15948]
20869 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20870 single character.
20871 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20872
20873 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20874
20875 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20876 * elf/tst-tls1.c: Likewise.
20877 * elf/tst-tls10.h: Likewise.
20878 * elf/tst-tls14.c: Likewise.
20879 * elf/tst-tls2.c: Likewise.
20880 * elf/tst-tls3.c: Likewise.
20881 * elf/tst-tls4.c: Likewise.
20882 * elf/tst-tls5.c: Likewise.
20883 * elf/tst-tls6.c: Likewise.
20884 * elf/tst-tls7.c: Likewise.
20885 * elf/tst-tls8.c: Likewise.
20886 * elf/tst-tls9.c: Likewise.
20887 * elf/tst-tlsmod1.c: Likewise.
20888 * elf/tst-tlsmod13.c: Likewise.
20889 * elf/tst-tlsmod13a.c: Likewise.
20890 * elf/tst-tlsmod14a.c: Likewise.
20891 * elf/tst-tlsmod16a.c: Likewise.
20892 * elf/tst-tlsmod16b.c: Likewise.
20893 * elf/tst-tlsmod2.c: Likewise.
20894 * elf/tst-tlsmod3.c: Likewise.
20895 * elf/tst-tlsmod4.c: Likewise.
20896 * elf/tst-tlsmod5.c: Likewise.
20897 * elf/tst-tlsmod6.c: Likewise.
20898
20899 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20900
20901 [BZ #12486]
20902 * malloc/malloc.c: remove checks for statistics.
20903
20904 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20905
20906 [BZ #15277]
20907 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20908 * inet/tst-network.c: Add testcase.
20909
20910 2013-10-17 Andreas Schwab <schwab@suse.de>
20911
20912 [BZ #15218]
20913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20914 to determine canonical name.
20915
20916 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20917
20918 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20919 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20921 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20923 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20924 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20925 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20926 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20928 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20929 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20930 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20931 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20932 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20942 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20943 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20948 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20961 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20964 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20973 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20975 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20976
20977 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20978
20979 [BZ #16041]
20980 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20981 make result into a quiet NaN.
20982
20983 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20984
20985 * soft-fp/adddf3.c: Fix horizontal whitespace.
20986 * soft-fp/addsf3.c: Likewise.
20987 * soft-fp/addtf3.c: Likewise.
20988 * soft-fp/divdf3.c: Likewise.
20989 * soft-fp/divsf3.c: Likewise.
20990 * soft-fp/divtf3.c: Likewise.
20991 * soft-fp/double.h: Likewise.
20992 * soft-fp/eqdf2.c: Likewise.
20993 * soft-fp/eqsf2.c: Likewise.
20994 * soft-fp/eqtf2.c: Likewise.
20995 * soft-fp/extenddftf2.c: Likewise.
20996 * soft-fp/extended.h: Likewise.
20997 * soft-fp/extendsfdf2.c: Likewise.
20998 * soft-fp/extendsftf2.c: Likewise.
20999 * soft-fp/extendxftf2.c: Likewise.
21000 * soft-fp/fixdfdi.c: Likewise.
21001 * soft-fp/fixdfsi.c: Likewise.
21002 * soft-fp/fixdfti.c: Likewise.
21003 * soft-fp/fixsfdi.c: Likewise.
21004 * soft-fp/fixsfsi.c: Likewise.
21005 * soft-fp/fixsfti.c: Likewise.
21006 * soft-fp/fixtfdi.c: Likewise.
21007 * soft-fp/fixtfsi.c: Likewise.
21008 * soft-fp/fixtfti.c: Likewise.
21009 * soft-fp/fixunsdfdi.c: Likewise.
21010 * soft-fp/fixunsdfsi.c: Likewise.
21011 * soft-fp/fixunsdfti.c: Likewise.
21012 * soft-fp/fixunssfdi.c: Likewise.
21013 * soft-fp/fixunssfsi.c: Likewise.
21014 * soft-fp/fixunssfti.c: Likewise.
21015 * soft-fp/fixunstfdi.c: Likewise.
21016 * soft-fp/fixunstfsi.c: Likewise.
21017 * soft-fp/fixunstfti.c: Likewise.
21018 * soft-fp/floatdidf.c: Likewise.
21019 * soft-fp/floatdisf.c: Likewise.
21020 * soft-fp/floatditf.c: Likewise.
21021 * soft-fp/floatsidf.c: Likewise.
21022 * soft-fp/floatsisf.c: Likewise.
21023 * soft-fp/floatsitf.c: Likewise.
21024 * soft-fp/floattidf.c: Likewise.
21025 * soft-fp/floattisf.c: Likewise.
21026 * soft-fp/floattitf.c: Likewise.
21027 * soft-fp/floatundidf.c: Likewise.
21028 * soft-fp/floatundisf.c: Likewise.
21029 * soft-fp/floatunditf.c: Likewise.
21030 * soft-fp/floatunsidf.c: Likewise.
21031 * soft-fp/floatunsisf.c: Likewise.
21032 * soft-fp/floatunsitf.c: Likewise.
21033 * soft-fp/floatuntidf.c: Likewise.
21034 * soft-fp/floatuntisf.c: Likewise.
21035 * soft-fp/floatuntitf.c: Likewise.
21036 * soft-fp/fmadf4.c: Likewise.
21037 * soft-fp/fmasf4.c: Likewise.
21038 * soft-fp/fmatf4.c: Likewise.
21039 * soft-fp/gedf2.c: Likewise.
21040 * soft-fp/gesf2.c: Likewise.
21041 * soft-fp/getf2.c: Likewise.
21042 * soft-fp/ledf2.c: Likewise.
21043 * soft-fp/lesf2.c: Likewise.
21044 * soft-fp/letf2.c: Likewise.
21045 * soft-fp/muldf3.c: Likewise.
21046 * soft-fp/mulsf3.c: Likewise.
21047 * soft-fp/multf3.c: Likewise.
21048 * soft-fp/negdf2.c: Likewise.
21049 * soft-fp/negsf2.c: Likewise.
21050 * soft-fp/negtf2.c: Likewise.
21051 * soft-fp/op-1.h: Likewise.
21052 * soft-fp/op-2.h: Likewise.
21053 * soft-fp/op-4.h: Likewise.
21054 * soft-fp/op-8.h: Likewise.
21055 * soft-fp/op-common.h: Likewise.
21056 * soft-fp/quad.h: Likewise.
21057 * soft-fp/single.h: Likewise.
21058 * soft-fp/soft-fp.h: Likewise.
21059 * soft-fp/sqrtdf2.c: Likewise.
21060 * soft-fp/sqrtsf2.c: Likewise.
21061 * soft-fp/sqrttf2.c: Likewise.
21062 * soft-fp/subdf3.c: Likewise.
21063 * soft-fp/subsf3.c: Likewise.
21064 * soft-fp/subtf3.c: Likewise.
21065 * soft-fp/truncdfsf2.c: Likewise.
21066 * soft-fp/trunctfdf2.c: Likewise.
21067 * soft-fp/trunctfsf2.c: Likewise.
21068 * soft-fp/trunctfxf2.c: Likewise.
21069 * soft-fp/unorddf2.c: Likewise.
21070 * soft-fp/unordsf2.c: Likewise.
21071 * soft-fp/unordtf2.c: Likewise.
21072
21073 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21074
21075 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21076 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21077
21078 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21079
21080 * elf/dl-libc.c: Clear initfini list after freeing.
21081
21082 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21083
21084 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21085 * soft-fp/addsf3.c: Likewise.
21086 * soft-fp/addtf3.c: Likewise.
21087 * soft-fp/divdf3.c: Likewise.
21088 * soft-fp/divsf3.c: Likewise.
21089 * soft-fp/divtf3.c: Likewise.
21090 * soft-fp/double.h: Likewise.
21091 * soft-fp/eqdf2.c: Likewise.
21092 * soft-fp/eqsf2.c: Likewise.
21093 * soft-fp/eqtf2.c: Likewise.
21094 * soft-fp/extenddftf2.c: Likewise.
21095 * soft-fp/extended.h: Likewise.
21096 * soft-fp/extendsfdf2.c: Likewise.
21097 * soft-fp/extendsftf2.c: Likewise.
21098 * soft-fp/extendxftf2.c: Likewise.
21099 * soft-fp/fixdfdi.c: Likewise.
21100 * soft-fp/fixdfsi.c: Likewise.
21101 * soft-fp/fixdfti.c: Likewise.
21102 * soft-fp/fixsfdi.c: Likewise.
21103 * soft-fp/fixsfsi.c: Likewise.
21104 * soft-fp/fixsfti.c: Likewise.
21105 * soft-fp/fixtfdi.c: Likewise.
21106 * soft-fp/fixtfsi.c: Likewise.
21107 * soft-fp/fixtfti.c: Likewise.
21108 * soft-fp/fixunsdfdi.c: Likewise.
21109 * soft-fp/fixunsdfsi.c: Likewise.
21110 * soft-fp/fixunsdfti.c: Likewise.
21111 * soft-fp/fixunssfdi.c: Likewise.
21112 * soft-fp/fixunssfsi.c: Likewise.
21113 * soft-fp/fixunssfti.c: Likewise.
21114 * soft-fp/fixunstfdi.c: Likewise.
21115 * soft-fp/fixunstfsi.c: Likewise.
21116 * soft-fp/fixunstfti.c: Likewise.
21117 * soft-fp/floatdidf.c: Likewise.
21118 * soft-fp/floatdisf.c: Likewise.
21119 * soft-fp/floatditf.c: Likewise.
21120 * soft-fp/floatsidf.c: Likewise.
21121 * soft-fp/floatsisf.c: Likewise.
21122 * soft-fp/floatsitf.c: Likewise.
21123 * soft-fp/floattidf.c: Likewise.
21124 * soft-fp/floattisf.c: Likewise.
21125 * soft-fp/floattitf.c: Likewise.
21126 * soft-fp/floatundidf.c: Likewise.
21127 * soft-fp/floatundisf.c: Likewise.
21128 * soft-fp/floatunsidf.c: Likewise.
21129 * soft-fp/floatunsisf.c: Likewise.
21130 * soft-fp/floatuntidf.c: Likewise.
21131 * soft-fp/floatuntisf.c: Likewise.
21132 * soft-fp/floatuntitf.c: Likewise.
21133 * soft-fp/fmadf4.c: Likewise.
21134 * soft-fp/fmasf4.c: Likewise.
21135 * soft-fp/fmatf4.c: Likewise.
21136 * soft-fp/gedf2.c: Likewise.
21137 * soft-fp/gesf2.c: Likewise.
21138 * soft-fp/getf2.c: Likewise.
21139 * soft-fp/ledf2.c: Likewise.
21140 * soft-fp/lesf2.c: Likewise.
21141 * soft-fp/letf2.c: Likewise.
21142 * soft-fp/muldf3.c: Likewise.
21143 * soft-fp/mulsf3.c: Likewise.
21144 * soft-fp/multf3.c: Likewise.
21145 * soft-fp/negdf2.c: Likewise.
21146 * soft-fp/negsf2.c: Likewise.
21147 * soft-fp/negtf2.c: Likewise.
21148 * soft-fp/op-1.h: Likewise.
21149 * soft-fp/op-2.h: Likewise.
21150 * soft-fp/op-4.h: Likewise.
21151 * soft-fp/op-8.h: Likewise.
21152 * soft-fp/op-common.h: Likewise.
21153 * soft-fp/quad.h: Likewise.
21154 * soft-fp/single.h: Likewise.
21155 * soft-fp/soft-fp.h: Likewise.
21156 * soft-fp/sqrtdf2.c: Likewise.
21157 * soft-fp/sqrtsf2.c: Likewise.
21158 * soft-fp/sqrttf2.c: Likewise.
21159 * soft-fp/subdf3.c: Likewise.
21160 * soft-fp/subsf3.c: Likewise.
21161 * soft-fp/subtf3.c: Likewise.
21162 * soft-fp/truncdfsf2.c: Likewise.
21163 * soft-fp/trunctfdf2.c: Likewise.
21164 * soft-fp/trunctfsf2.c: Likewise.
21165 * soft-fp/trunctfxf2.c: Likewise.
21166 * soft-fp/unorddf2.c: Likewise.
21167 * soft-fp/unordsf2.c: Likewise.
21168 * soft-fp/unordtf2.c: Likewise.
21169
21170 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21171
21172 [BZ #15672]
21173 * misc/error.c (error_tail): Fix possible buffer overflow.
21174
21175 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21176
21177 [BZ #13028]
21178 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21179 address.
21180
21181 2013-10-14 P. J. McDermott <pj@pehjota.net>
21182
21183 [BZ #832]
21184 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21185 testing pipefail option.
21186
21187 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21188
21189 * soft-fp/double.h: Indent preprocessor directives inside #if.
21190 * soft-fp/extended.h: Likewise.
21191 * soft-fp/op-2.h: Likewise.
21192 * soft-fp/op-4.h: Likewise.
21193 * soft-fp/op-common.h: Likewise.
21194 * soft-fp/quad.h: Likewise.
21195 * soft-fp/single.h: Likewise.
21196 * soft-fp/soft-fp.h: Likewise.
21197
21198 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21199
21200 * iconv/iconv_prog.c: Fix typos.
21201 * stdio-common/psiginfo-data.h: Likewise.
21202
21203 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21204
21205 [BZ #15764]
21206 * locale/setlocale.c: Fix typo.
21207
21208 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21209
21210 [BZ #16036]
21211 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21212 signaling NaN arguments.
21213 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21214 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21215
21216 [BZ #14910]
21217 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21218 unordered operands.
21219 * soft-fp/gesf2.c (__gesf2): Likewise.
21220 * soft-fp/getf2.c (__getf2): Likewise.
21221 * soft-fp/ledf2.c (__ledf2): Likewise.
21222 * soft-fp/lesf2.c (__lesf2): Likewise.
21223 * soft-fp/letf2.c (__letf2): Likewise.
21224
21225 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21226 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21227 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21228 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21229 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21230 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21231 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21232 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21233 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21234 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21235 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21236 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21237 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21238 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21239 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21240 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21241 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21242 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21243 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21244 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21245 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21246 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21247 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21248 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21249 * soft-fp/floattidf.c (__floattidf): Likewise.
21250 * soft-fp/floattisf.c (__floattisf): Likewise.
21251 * soft-fp/floattitf.c (__floattitf): Likewise.
21252 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21253 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21254 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21255 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21256 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21257 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21258 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21259 * soft-fp/gesf2.c (__gesf2): Likewise.
21260 * soft-fp/getf2.c (__getf2): Likewise.
21261 * soft-fp/ledf2.c (__ledf2): Likewise.
21262 * soft-fp/lesf2.c (__lesf2): Likewise.
21263 * soft-fp/letf2.c (__letf2): Likewise.
21264
21265 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21266 Undefine and redefine.
21267 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21268 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21269 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21270 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21271 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21272 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21273 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21274 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21275 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21276 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21277 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21278 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21279 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21280 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21281 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21282
21283 [BZ #16032]
21284 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21285 without decrementing exponent if mantissa >= that for the
21286 denominator, not >.
21287 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21288 denominator, not >. Decrement exponent in < case instead of
21289 incrementing in >= case.
21290 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21291 without decrementing exponent if mantissa >= that for the
21292 denominator, not >.
21293
21294 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21295 computing saturated result for unsigned overflow.
21296
21297 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21298 Jeff Law <law@redhat.com>
21299
21300 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21301 (atan2Mp): Add systemtap probe marker.
21302 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21303 (__ieee754_log): Add systemtap probe marker.
21304 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21305 (atanMp): Add systemtap probe marker.
21306 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21307 (tanMp): Add systemtap probe marker.
21308 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21309 (__slowexp): Add systemtap probe marker.
21310 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21311 (__slowpow): Add systemtap probe marker.
21312 * manual/probes.texi: Document probes.
21313
21314 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21315
21316 [BZ #15362]
21317 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21318 written.
21319 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21320 written.
21321 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21322 written to buffer but not flushed.
21323 * libio/iofwrite_u.c: Likewise.
21324 * libio/iopadn.c: Return bytes returned even if EOF was
21325 encountered.
21326 * libio/iowpadn.c: Likewise.
21327 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21328 if _IO_padn does not write the whole buffer.
21329 [!COMPILE_WPRINTF] (PAD): Likewise.
21330
21331 2013-10-10 David S. Miller <davem@davemloft.net>
21332
21333 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21334 directory block.
21335
21336 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21337
21338 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21339 instead of FSF address.
21340 * soft-fp/fixdfti.c: Likewise.
21341 * soft-fp/fixsfti.c: Likewise.
21342 * soft-fp/fixtfti.c: Likewise.
21343 * soft-fp/fixunsdfti.c: Likewise.
21344 * soft-fp/fixunssfti.c: Likewise.
21345 * soft-fp/fixunstfti.c: Likewise.
21346 * soft-fp/floattidf.c: Likewise.
21347 * soft-fp/floattisf.c: Likewise.
21348 * soft-fp/floattitf.c: Likewise.
21349 * soft-fp/floatuntidf.c: Likewise.
21350 * soft-fp/floatuntisf.c: Likewise.
21351 * soft-fp/floatuntitf.c: Likewise.
21352 * soft-fp/trunctfxf2.c: Likewise.
21353
21354 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21355 * soft-fp/fixdfti.c: Likewise.
21356 * soft-fp/fixsfti.c: Likewise.
21357 * soft-fp/fixtfti.c: Likewise.
21358 * soft-fp/fixunsdfti.c: Likewise.
21359 * soft-fp/fixunssfti.c: Likewise.
21360 * soft-fp/fixunstfti.c: Likewise.
21361 * soft-fp/floattidf.c: Likewise.
21362 * soft-fp/floattisf.c: Likewise.
21363 * soft-fp/floattitf.c: Likewise.
21364 * soft-fp/floatuntidf.c: Likewise.
21365 * soft-fp/floatuntisf.c: Likewise.
21366 * soft-fp/floatuntitf.c: Likewise.
21367 * soft-fp/trunctfxf2.c: Likewise.
21368
21369 2013-10-10 David S. Miller <davem@davemloft.net>
21370
21371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21372
21373 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21374
21375 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21376 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21377 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21378 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21379 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21380 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21381 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21382
21383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21384 for NaNs before doing comparisons on argument.
21385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21386 Likewise.
21387
21388 2013-10-10 Will Newton <will.newton@linaro.org>
21389
21390 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21391 passed to _int_memalign does not overflow.
21392
21393 2013-10-10 Torvald Riegel <triegel@redhat.com>
21394
21395 * scripts/bench.pl: Add include-sources directive.
21396 * benchtests/README: Update documentation.
21397
21398 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21399
21400 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21401 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21402 instead of FP_INIT_ROUNDMODE.
21403 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21404 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21405
21406 [BZ #16034]
21407 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21408 copy class of input value.
21409 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21410 not handle exceptions.
21411 * soft-fp/negsf2.c (__negsf2): Likewise.
21412 * soft-fp/negtf2.c (__negtf2): Likewise.
21413 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21414
21415 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21416
21417 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21418 semicolon. From Linux kernel.
21419
21420 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21421
21422 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21423
21424 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21425
21426 [BZ #156]
21427 * manual/socket.texi: Added statement about buffer
21428 for gethostbyname2_r.
21429
21430 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21431
21432 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21433 Use .p2align directive instead, throughout.
21434 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21435 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21436 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21439 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21440 * sysdeps/x86_64/strchr.S: Likewise.
21441 * sysdeps/x86_64/strrchr.S: Likewise.
21442
21443 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21444
21445 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21446
21447 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21448
21449 * sysdeps/generic/math_private.h (__mpsin1): Remove
21450 declaration.
21451 (__mpcos1): Likewise.
21452 (__mpsin): New argument __range_reduce.
21453 (__mpcos): Likewise.
21454 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21455 (slow): Use __mpsin and __mpcos.
21456 (slow1): Likewise.
21457 (slow2): Likewise.
21458 (sloww): Likewise.
21459 (sloww1): Likewise.
21460 (sloww2): Likewise.
21461 (bsloww): Likewise.
21462 (bsloww1): Likewise.
21463 (bsloww2): Likewise.
21464 (cslow2): Likewise.
21465 (csloww): Likewise.
21466 (csloww1): Likewise.
21467 (csloww2): Likewise.
21468 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21469 range_reduce. Merge in __mpsin1.
21470 (__mpcos): Likewise.
21471 (__mpsin1): Remove.
21472 (__mpcos1): Likewise.
21473
21474 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21475
21476 * locale/loadlocale.c (_nl_intern_locale_data): Use
21477 LOCFILE_ALIGNED_P.
21478 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21479 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21480 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21481 obstack data is appropriately aligned.
21482 (obstack_int32_grow_fast): Likewise.
21483 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21484 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21485 (add_locale_uint32_array): Likewise.
21486
21487 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21488
21489 * benchtests/Makefile: Remove ARGLIST and RET variables.
21490 ($(objpfx)bench-%.c): Pass only function name to the script.
21491 * benchtests/README: Update documentation.
21492 * benchtests/acos-inputs: Add new directives.
21493 * benchtests/acosh-inputs: Likewise.
21494 * benchtests/asin-inputs: Likewise.
21495 * benchtests/asinh-inputs: Likewise.
21496 * benchtests/atan-inputs: Likewise.
21497 * benchtests/atanh-inputs: Likewise.
21498 * benchtests/cos-inputs: Likewise.
21499 * benchtests/cosh-inputs: Likewise.
21500 * benchtests/exp-inputs: Likewise.
21501 * benchtests/log-inputs: Likewise.
21502 * benchtests/pow-inputs: Likewise.
21503 * benchtests/rint-inputs: Likewise.
21504 * benchtests/sin-inputs: Likewise.
21505 * benchtests/sinh-inputs: Likewise.
21506 * benchtests/tan-inputs: Likewise.
21507 * benchtests/tanh-inputs: Likewise.
21508 * scripts/bench.pl: Add support for new directives.
21509
21510 2013-10-07 Alan Modra <amodra@gmail.com>
21511
21512 * README: Fix careless merge.
21513
21514 2013-10-05 Alan Modra <amodra@gmail.com>
21515
21516 * NEWS: Mention powerpc64le support and bugs fixed.
21517 * README: Both big-endian and little-endian powerpc64 supported.
21518
21519 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21520
21521 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21522 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21523 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21524 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21525
21526 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21527
21528 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21529 match prototype.
21530
21531 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21532
21533 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21534 Move -mhard-float appending from
21535 ports/sysdeps/powerpc/powerpc32/Makefile.
21536 [$(with-fp) = yes] (ASFLAGS): Likewise.
21537 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21538 * sysdeps/powerpc/nofpu: Move directory from
21539 ports/sysdeps/powerpc/nofpu.
21540 * sysdeps/powerpc/soft-fp: Move directory from
21541 ports/sysdeps/powerpc/soft-fp.
21542 * sysdeps/powerpc/powerpc32/405: Move directory from
21543 ports/sysdeps/powerpc/powerpc32/405.
21544 * sysdeps/powerpc/powerpc32/440: Move directory from
21545 ports/sysdeps/powerpc/powerpc32/440.
21546 * sysdeps/powerpc/powerpc32/464: Move directory from
21547 ports/sysdeps/powerpc/powerpc32/464.
21548 * sysdeps/powerpc/powerpc32/476: Move directory from
21549 ports/sysdeps/powerpc/powerpc32/476.
21550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21551 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21553 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21555 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21557 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21559 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21560 * README: Update for powerpc-*-linux-gnu software floating point
21561 support in libc.
21562
21563 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21564 case to powerpc/powerpc32*.
21565 * sysdeps/unix/sysv/linux/configure: Regenerated.
21566
21567 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21568 (_FPU_MASK_OM): Define as 0x04.
21569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21571 0x00c10080.
21572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21573 0x0000003c.
21574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21575
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21577 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21578 getcontext_e500.
21579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21580 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21581 setcontext_e500.
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21583 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21584 and setcontext_e500.
21585
21586 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21587
21588 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21589
21590 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21591
21592 * manual/threads.texi (Default Thread Attributes): Fix typo.
21593
21594 2013-10-04 Will Newton <will.newton@linaro.org>
21595
21596 * malloc/Makefile: Add tst-memalign.
21597 * malloc/tst-memalign.c: New file.
21598
21599 * malloc/tst-posix_memalign.c: Add comments.
21600 (do_test): Add comments and call free on all potentially
21601 allocated pointers. Add space after cast.
21602
21603 * malloc/tst-pvalloc.c: Add comments.
21604 (do_test): Add comments and call free on all potentially
21605 allocated pointers. Remove duplicate check for NULL pointer.
21606 Add space after cast.
21607
21608 * malloc/tst-valloc.c: Add comments.
21609 (do_test): Add comments and call free on all potentially
21610 allocated pointers. Remove duplicate check for NULL pointer.
21611 Add space after cast.
21612
21613 2013-10-04 Alan Modra <amodra@gmail.com>
21614
21615 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21616 Use stdint types in rather than __attribute__((mode())).
21617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21618
21619 2013-10-04 Alan Modra <amodra@gmail.com>
21620
21621 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21622 Correct handling of unaligned relocs for little-endian.
21623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21624
21625 2013-10-04 Alan Modra <amodra@gmail.com>
21626
21627 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21628 * configure: Regenerate.
21629 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21630 * shlib-versions: Likewise.
21631
21632 2013-10-04 Alan Modra <amodra@gmail.com>
21633
21634 * string/tester.c (test_memrchr): Increment reported test cycle.
21635
21636 2013-10-04 Alan Modra <amodra@gmail.com>
21637
21638 * string/test-memcpy.c (do_one_test): When reporting errors, print
21639 string address and don't overrun end of string.
21640
21641 2013-10-04 Alan Modra <amodra@gmail.com>
21642
21643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21644 insrdi. Make better use of reg selection to speed exit slightly.
21645 Schedule entry path a little better. Remove useless "are we done"
21646 checks on entry to main loop. Handle wrapping around zero address.
21647 Correct main loop count. Handle single left-over word from main
21648 loop inline rather than by using loop_small. Remove extra word
21649 case in loop_small caused by wrong loop count. Add little-endian
21650 support.
21651 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21653 cache hint.
21654 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21655 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21656 support. Avoid rlwimi.
21657 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21658
21659 2013-10-04 Alan Modra <amodra@gmail.com>
21660
21661 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21662 insrdi. Formatting.
21663 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21664 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21665 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21666 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21667 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21668 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21669
21670 2013-10-04 Alan Modra <amodra@gmail.com>
21671
21672 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21673 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21674 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21675 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21676 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21677 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21678 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21679 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21680 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21681 use of regs. Use power7 mtocrf. Tidy function tails.
21682
21683 2013-10-04 Alan Modra <amodra@gmail.com>
21684
21685 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21686 Formatting. Consistently use rXXX register defines or rN defines.
21687 Use early exit labels that avoid restoring unused non-volatile regs.
21688 Make cr field use more consistent with rWORDn compares. Rename
21689 regs used as shift registers for unaligned loop, using rN defines
21690 for short lifetime/multiple use regs.
21691 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21693 addi 1,1,64 to pop stack frame. Simplify return value code.
21694 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21695
21696 2013-10-04 Alan Modra <amodra@gmail.com>
21697
21698 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21699 support. Correct typos, formatting. Optimize tail. Use insrdi
21700 rather than rlwimi.
21701 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21703 little-endian support. Correct typos.
21704 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21705 rather than rlwimi.
21706 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21707 in loop and entry code to keep "and." results.
21708 (strchr): Add little-endian support. Comment. Move cntlzd
21709 earlier in tail.
21710 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21711
21712 2013-10-04 Alan Modra <amodra@gmail.com>
21713
21714 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21715 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21716 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21717 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21718
21719 2013-10-04 Alan Modra <amodra@gmail.com>
21720
21721 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21722 (rTMP): Define as r11.
21723 (strcmp): Add little-endian support. Optimise tail.
21724 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21725 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21726 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21727 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21729 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21730 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21731
21732 2013-10-04 Alan Modra <amodra@gmail.com>
21733
21734 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21735 little-endian support. Remove unnecessary "are we done" tests.
21736 Handle "s" wrapping around zero and extremely large "size".
21737 Correct main loop count. Handle single left-over word from main
21738 loop inline rather than by using small_loop. Correct comments.
21739 Delete "zero" tail, use "end_max" instead.
21740 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21741
21742 2013-10-04 Alan Modra <amodra@gmail.com>
21743
21744 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21745 support. Don't branch over align.
21746 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21747 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21748 support. Rearrange tmp reg use to suit. Comment.
21749 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21750
21751 2013-10-04 Alan Modra <amodra@gmail.com>
21752
21753 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21754
21755 2013-10-04 Alan Modra <amodra@gmail.com>
21756
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21758 conditional form of branch and link when obtaining pc.
21759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21760
21761 2013-10-04 Alan Modra <amodra@gmail.com>
21762
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21764 HIWORD/LOWORD.
21765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21767
21768 2013-10-04 Alan Modra <amodra@gmail.com>
21769
21770 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21771 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21772 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21773 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21774 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21775 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21776 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21777 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21778 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21779 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21780
21781 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21782 Alistair Popple <alistair@ozlabs.au.ibm.com>
21783 Alan Modra <amodra@gmail.com>
21784
21785 [BZ #15723]
21786 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21787 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21788 _dl_hwcap access for little-endian.
21789 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21790 destroy vmx regs when saving unaligned.
21791 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21792 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21793 destroy vmx regs when saving unaligned.
21794
21795 2013-10-04 Alan Modra <amodra@gmail.com>
21796
21797 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21798 Don't use a union to pack hi/low value.
21799
21800 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21801
21802 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21803 for little-endian.
21804 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21806 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21807 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21808 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21809
21810 2013-10-04 Alan Modra <amodra@gmail.com>
21811
21812 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21813 constants to usual value for .cst8 section, and remove redundant
21814 high address load.
21815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21816 constant for 0x1p52. Load little-endian words of double from
21817 correct stack offsets.
21818
21819 2013-10-04 Alan Modra <amodra@gmail.com>
21820
21821 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21822 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21823 words of double from correct stack offsets.
21824 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21825 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21826 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21827 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21829 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21831 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21832 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21836 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21837 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21838 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21839 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21840 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21841
21842 2013-10-04 Alan Modra <amodra@gmail.com>
21843
21844 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21845 64-bit int/double union.
21846 (_FPU_SETCW): Likewise.
21847 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21848 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21849
21850 2013-10-04 Alan Modra <amodra@gmail.com>
21851
21852 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21853 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21854
21855 2013-10-04 Alan Modra <amodra@gmail.com>
21856
21857 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21858 use vector int constants.
21859 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21860
21861 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21862
21863 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21864 array with long long.
21865 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21866 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21867 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21868 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21869 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21870 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21871 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21872 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21873 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21874 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21875 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21876 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21877 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21878
21879 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21880
21881 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21882 (__signbit): Likewise. Correct for little-endian.
21883 (__signbitl): Call __signbit.
21884 (lrint): Correct for little-endian.
21885 (lrintf): Call lrint.
21886
21887 2013-10-04 Alan Modra <amodra@gmail.com>
21888
21889 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21890 union 32-bit int array member with 64-bit int array.
21891 (t515, tm256): Double rather than long double.
21892 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21893
21894 2013-10-04 Alan Modra <amodra@gmail.com>
21895
21896 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21897 Delete.
21898 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21900 version of math_ldbl.h.
21901
21902 2013-10-04 Alan Modra <amodra@gmail.com>
21903
21904 [BZ #15734], [BZ #15735]
21905 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21906 all uses of ieee875 long double macros and unions. Simplify test
21907 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21908 ldbl_extract_mantissa value for ix,iy exponents. Properly
21909 normalize after ldbl_extract_mantissa, and don't add hidden bit
21910 already handled. Don't treat low word of ieee854 mantissa like
21911 low word of IBM long double and mask off bit when testing for
21912 zero.
21913 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21914 all uses of ieee875 long double macros and unions. Simplify tests
21915 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21916 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21917 two1022, instead use their values. Recognise that tests for large
21918 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21919 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21920 Rewrite all uses of ieee875 long double macros and unions. Simplify
21921 test for 0.0L and nan. Correct negation.
21922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21923 ieee875 long double macros and unions. Correct output for large
21924 magnitude x. Correct absolute value calculation.
21925 (__erfcl): Likewise.
21926 * math/libm-test.inc: Add tests for errors discovered in IBM long
21927 double versions of fmodl, remainderl, erfl and erfcl.
21928
21929 2013-10-04 Alan Modra <amodra@gmail.com>
21930
21931 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21932 all uses of ieee854 long double macros and unions. Simplify tests
21933 for long doubles that are fully specified by the high double.
21934 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21935 Likewise.
21936 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21937 Remove dead code too.
21938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21939 (__ieee754_ynl): Likewise.
21940 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21941 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21943 Remove dead code too.
21944 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21945 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21947 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21948 Simplify.
21949 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21950 Simplify.
21951 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21952 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21953 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21954 Comment on variable precision.
21955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21957 Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21960 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21962 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21963
21964 2013-10-04 Alan Modra <amodra@gmail.com>
21965
21966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21967 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21968 all uses of ieee854 long double macros and unions.
21969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21971 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21972 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21973 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21974 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21975 Likewise.
21976 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21978 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21980 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21981 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21982 Simplify sign and nan test too.
21983 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21985 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21987 Likewise.
21988 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21990 Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21997
21998 2013-10-04 Alan Modra <amodra@gmail.com>
21999
22000 * stdio-common/printf_size.c (__printf_size): Don't use
22001 union ieee854_long_double in fpnum union.
22002 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22003 signbit macro to retrieve sign from long double.
22004 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22005 retrieve sign from long double.
22006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22007 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22008 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22009 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22010 * math/test-misc.c (main): Don't use union ieee854_long_double.
22011
22012 2013-10-04 Alan Modra <amodra@gmail.com>
22013
22014 [BZ #15680]
22015 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22016 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22017 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22018 calculation. Remove unnecessary test for denormal exponent.
22019 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22020 Correct handling of denormals. Avoid undefined shift behaviour.
22021 Correct normalisation of low mantissa when low double is denormal.
22022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22023 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22024 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22025 Correct normalisation of low mantissa. Test for overflow of high
22026 mantissa and normalise.
22027 (ldbl_nearbyint): Use more readable constant for two52.
22028 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22029 (__mpn_construct_long_double): Fix test for overflow of high
22030 mantissa and correct normalisation. Avoid undefined shift.
22031
22032 2013-10-04 Alan Modra <amodra@gmail.com>
22033
22034 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22035 (union ibm_extended_long_double): Define as an array of ieee754_double.
22036 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22037 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22038 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22039 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22040 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22041 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22042 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22043 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22044 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22045 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22046 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22047
22048 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22049
22050 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22051 page size instead of calling getpagesize.
22052
22053 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22054 (LOCFILE_ALIGN_MASK): Likewise.
22055 (LOCFILE_ALIGN_UP): Likewise.
22056 (LOCFILE_ALIGNED_P): Likewise.
22057 * locale/programs/ld-collate.c (collate_output): Use the new
22058 macros instead of __alignof__ (int32_t).
22059 * locale/weight.h (findidx): Likewise.
22060
22061 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22062
22063 [BZ #431]
22064 * manual/string.texi: Fix strncat and wcsncat.
22065
22066 2013-10-03 Brooks Moses <bmoses@google.com>
22067
22068 [BZ #15915]
22069 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22070 * Makerules: ...here, and adjust associated comments.
22071
22072 2013-10-02 Will Newton <will.newton@linaro.org>
22073
22074 * malloc/Makefile: Add tst-pvalloc.
22075 * malloc/tst-pvalloc.c: New file.
22076
22077 2013-10-02 Will Newton <will.newton@linaro.org>
22078
22079 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22080 improve test coverage.
22081
22082 2013-10-02 Will Newton <will.newton@linaro.org>
22083
22084 * malloc/Makefile: Add tst-posix_memalign.
22085 * malloc/tst-posix_memalign.c: New file.
22086
22087 2013-10-01 Eric Blake <eblake@redhat.com>
22088
22089 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22090 Use __THROWNL rather than __THROW on static functions.
22091
22092 2013-09-30 Petr Machata <pmachata@redhat.com>
22093
22094 * elf/elf.h (R_AARCH64_ABS16): New macro.
22095 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22096 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22097 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22098 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22099 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22100 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22101 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22102 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22103 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22104 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22105 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22106 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22107 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22108 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22109 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22110 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22111 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22112 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22113 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22114 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22115 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22116 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22117 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22118 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22119 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22120 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22121 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22122 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22123 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22124 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22125 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22126 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22127 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22128 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22129 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22130 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22131 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22132 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22133 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22134 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22135 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22136 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22137 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22138 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22139 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22140 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22141 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22142 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22143 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22144 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22145 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22146 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22147 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22148 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22149 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22150 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22151 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22152 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22153 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22154 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22155 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22156 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22157 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22158 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22159 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22160 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22161 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22162 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22163 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22164 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22165 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22166 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22167 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22168 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22169 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22170 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22171 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22172 (R_AARCH64_TLSDESC_LDR): Likewise.
22173 (R_AARCH64_TLSDESC_ADD): Likewise.
22174 (R_AARCH64_TLSDESC_CALL): Likewise.
22175
22176 2013-09-30 Andreas Schwab <schwab@suse.de>
22177
22178 [BZ #15048]
22179 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22180 the nss database lookup.
22181 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22183
22184 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22185
22186 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22187
22188 2013-09-28 P. J. McDermott <pj@pehjota.net>
22189
22190 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22191 ${Bash-specific parameter/pattern/string} parameter expansion.
22192 * sysdeps/unix/make-syscalls.sh: Likewise.
22193
22194 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22195
22196 * sysdeps/sh/stackguard-macros.h: New file.
22197
22198 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22199
22200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22202 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22203 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22204 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22205 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22206
22207 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22208
22209 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22210 Fix thread ID register.
22211
22212 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22213
22214 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22215 [POSIX || UNIX98]: Require rather than permitting all symbols from
22216 <time.h>.
22217 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22218 element of struct sched_param.
22219 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22220 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22221 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22222 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22223 constant.
22224
22225 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22226
22227 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22228 argument calculation.
22229
22230 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22231
22232 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22233 Expect macro.
22234 [POSIX] (pthread_attr_t): Do not require type.
22235 [POSIX] (pthread_cond_t): Likewise.
22236 [POSIX] (pthread_condattr_t): Likewise.
22237 [POSIX] (pthread_key_t): Likewise.
22238 [POSIX] (pthread_mutex_t): Likewise.
22239 [POSIX] (pthread_mutexattr_t): Likewise.
22240 [POSIX] (pthread_once_t): Likewise.
22241 [POSIX] (pthread_t): Likewise.
22242 [POSIX-based standards] (pthread_atfork): Expect function.
22243
22244 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22245 Richard Sandiford <richard@codesourcery.com>
22246
22247 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22248 (swap_endianness_p): New extern variable.
22249 (set_big_endian): New inline function.
22250 (maybe_swap_uint32): Likewise.
22251 (maybe_swap_uint32_array): Likewise.
22252 (maybe_swap_uint32_obstack): Likewise.
22253 * locale/programs/locfile.c: Include <stdbool.h>.
22254 (swap_endianness_p): New variable.
22255 (add_locale_uint32): Call maybe_swap_uint32.
22256 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22257 (write_locale_data): Call maybe_swap_uint32_array.
22258 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22259 maybe_swap_uint32.
22260 (obstack_int32_grow_fast): Likewise.
22261 (output_weightwc): Call maybe_swap_uint32_obstack.
22262 (collate_output): Likewise.
22263 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22264 (OPT_LITTLE_ENDIAN): Likewise.
22265 (options): Add --little-endian and --big-endian options.
22266 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22267 * locale/programs/locarchive.c: Include "locfile.h".
22268 (GET): New macro.
22269 (SET): Likewise.
22270 (INC): Likewise.
22271 (create_archive): Use the new macros to access fields of
22272 structures directly mapped from or written to locale archives.
22273 (oldlocrecentcmp): Likewise.
22274 (enlarge_archive): Likewise.
22275 (insert_name): Likewise.
22276 (add_alias): Likewise.
22277 (add_locale): Likewise.
22278 (delete_locales_from_archive): Likewise.
22279 (show_archive_content): Likewise.
22280 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22281 locale data.
22282
22283 2013-09-24 Roland McGrath <roland@hack.frob.com>
22284
22285 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22286 http://www.gnu.org/doc/freemanuals.texi.
22287 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22288
22289 2013-09-24 Will Newton <will.newton@linaro.org>
22290
22291 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22292 macro.
22293
22294 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22295
22296 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22297 unsigned char.
22298
22299 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22300
22301 * manual/threads.texi (POSIX Threads): Fix a typo.
22302
22303 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22304
22305 [BZ #14547]
22306 * string/tst-strcoll-overflow.c: New test case.
22307 * string/Makefile (xtests): Add tst-strcoll-overflow.
22308 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22309 cache if string sizes may cause integer overflow.
22310
22311 [BZ #14547]
22312 * string/strcoll_l.c (coll_seq): New members rule, idx,
22313 save_idx and back_us.
22314 (get_next_seq_nocache): New function.
22315 (do_compare_nocache): New function.
22316 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22317 when malloc fails.
22318
22319 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22320
22321 [BZ #15754]
22322 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22323 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22324 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22325
22326 [BZ #15754]
22327 * elf/Makefile (tests): Add tst-ptrguard1.
22328 (tests-static): Add tst-ptrguard1-static.
22329 (tst-ptrguard1-ARGS): Define.
22330 (tst-ptrguard1-static-ARGS): Define.
22331 * elf/tst-ptrguard1.c: New file.
22332 * elf/tst-ptrguard1-static.c: New file.
22333 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22334 * sysdeps/i386/stackguard-macros.h: Likewise.
22335 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22336 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22337 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22338 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22339 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22340 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22341
22342 2013-09-23 Hector Marco <hecmargi@upv.es>
22343 Ismael Ripoll <iripoll@disca.upv.es>
22344 Carlos O'Donell <carlos@redhat.com>
22345
22346 [BZ #15754]
22347 * sysdeps/generic/stackguard-macros.h: Define
22348 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22349 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22350 Define __pointer_chk_guard_local.
22351 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22352 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22353
22354 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22355
22356 [BZ #15859]
22357 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22358
22359 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22360
22361 * include/string.h (__ffs): Declare as hidden.
22362 * string/ffs.c (__ffs): Define as hidden.
22363 * sysdeps/i386/ffs.c (__ffs): Likewise.
22364 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22365 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22366 * sysdeps/s390/ffs.c (__ffs): Likewise.
22367 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22368
22369 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22370
22371 * NEWS: Mention malloc probes.
22372
22373 * malloc/arena.c (new_heap): New memory_heap_new probe.
22374 (grow_heap): New memory_heap_more probe.
22375 (shrink_heap): New memory_heap_less probe.
22376 (heap_trim): New memory_heap_free probe.
22377 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22378 (systrim): New memory_sbrk_less probe.
22379 * manual/probes.texi: Document them.
22380
22381 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22382 * manual/probes.texi: Document it.
22383
22384 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22385 (__libc_realloc): Add memory_realloc_retry probe.
22386 (__libc_memalign): Add memory_memalign_retry probe.
22387 (__libc_valloc): Add memory_valloc_retry probe.
22388 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22389 (__libc_calloc): Add memory_calloc_retry probe.
22390 * manual/probes.texi: Document them.
22391
22392 * malloc/arena.c (get_free_list): Add probe
22393 memory_arena_reuse_free_list.
22394 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22395 and memory_arena_reuse.
22396 (arena_get2) [!PER_THREAD]: Likewise.
22397 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22398 memory_arena_reuse_realloc.
22399 * manual/probes.texi: Document them.
22400
22401 * malloc/malloc.c (__libc_free): Add
22402 memory_mallopt_free_dyn_thresholds probe.
22403 (__libc_mallopt): Add multiple memory_mallopt probes.
22404 * manual/probes.texi: Document them.
22405
22406 * malloc/malloc.c: Include stap-probe.h.
22407 (__libc_mallopt): Add memory_mallopt probe.
22408 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22409 * manual/probes.texi: New.
22410 * manual/Makefile (chapters): Add probes.
22411 * manual/threads.texi: Set next node.
22412
22413 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22414
22415 [BZ #15963, #13985]
22416 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22417 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22418 Add `Chinese' to `nan' entry name.
22419
22420 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22421
22422 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22423 (POLYNOMIAL): Likewise.
22424 (TAYLOR_SINCOS): Likewise.
22425 (TAYLOR_SLOW): Likewise.
22426 (__sin): Use TAYLOR_SINCOS.
22427 (__cos): Likewise.
22428 (slow): Use TAYLOR_SLOW.
22429 (sloww): Likewise.
22430 (bsloww): Likewise.
22431 (csloww): Likewise.
22432
22433 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22434
22435 * stdlib/strtod_l.c: Fix buffer overrun.
22436
22437 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22438
22439 * benchtests/Makefile (bench): Add sincos.
22440 * benchtests/bench-sincos.c: New file.
22441
22442 * math/libm-test.inc (cos_test_data): New test inputs.
22443 (sin_test_data): Likewise.
22444
22445 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22446 macro.
22447 (__sin): Use it.
22448 (__cos): Likewise.
22449 (slow1): Likewise.
22450 (slow2): Likewise.
22451 (sloww1): Likewise.
22452 (sloww2): Likewise.
22453 (bsloww1): Likewise.
22454 (bsloww2): Likewise.
22455 (cslow2): Likewise.
22456 (csloww1): Likewise.
22457 (csloww2): Likewise.
22458
22459 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22460 function.
22461 (__sin): Use it.
22462 (__cos): Likewise.
22463
22464 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22465 gotos.
22466 (__cos): Likewise.
22467
22468 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22469
22470 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22471 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22472 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22473 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22474 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22475 * elf/cache.c (print_entry): Handle the new cache flags.
22476
22477 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22478 Aldy Hernandez <aldyh@redhat.com>
22479
22480 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22481 Change condition to [_SOFT_FLOAT].
22482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22494 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22497 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22498 declaration.
22499
22500 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22501
22502 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22503 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22504 (__longjmp): Use LOAD_GP to load saved GPRs.
22505 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22506 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22507 (__sigsetjmp): Use SAVE_GP to save GPRs.
22508
22509 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22510 Do not append -msoft-float.
22511 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22512
22513 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22514
22515 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22516
22517 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22518
22519 [BZ #15966]
22520 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22521 (_FPU_GETCW): Use initial "__" on variable and field names but not
22522 on macro parameter name.
22523 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22524 parentheses around reference to macro parameter.
22525
22526 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22527
22528 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22529 prototype.
22530 (ctype_startup): Use uint32_t in cast and sizeof for
22531 ctype->charnames.
22532
22533 2013-09-11 Jia Liu <proljc@gmail.com>
22534
22535 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22536 __daddr_t_defined.
22537 [__FreeBSD__]: Likewise.
22538
22539 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22540
22541 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22542 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22543 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22544 (strchr): Remove __strchr_sse42 ifunc selection.
22545 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22546 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22547
22548 2013-09-11 Will Newton <will.newton@linaro.org>
22549
22550 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22551 parameter to RES. Remove hardcoded 1000 value.
22552 * benchtests/bench-skeleton.c (main): Pass RES parameter
22553 to TIMING_INIT and multiply result by 1000.
22554
22555 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22556
22557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22558
22559 2013-09-11 Andreas Schwab <schwab@suse.de>
22560
22561 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22562 if not defined.
22563 (O_TMPFILE) [__USE_GNU]: Define.
22564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22565 Define.
22566
22567 2013-09-11 Will Newton <will.newton@linaro.org>
22568
22569 [BZ #15857]
22570 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22571 does not overflow.
22572
22573 2013-09-11 Will Newton <will.newton@linaro.org>
22574
22575 [BZ #15856]
22576 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22577 does not overflow.
22578
22579 2013-09-11 Will Newton <will.newton@linaro.org>
22580
22581 [BZ #15855]
22582 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22583 does not overflow.
22584
22585 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22586
22587 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22588 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22592
22593 2013-09-10 Allan McRae <allan@archlinux.org>
22594
22595 [BZ #15748]
22596 * manual/arith.texi (Parsing of Floats): Clarify
22597 cross-reference.
22598
22599 [BZ #15849]
22600 * manual/install.texi (Running make install): Mention
22601 --enable-pt-chown.
22602 * INSTALL: Regenerated.
22603
22604 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22605
22606 * csu/init-first.c (_init): Remove the !SHARED condition around
22607 FPU control word initialization.
22608 * elf/dl-support.c (_dl_fpu_control): New variable.
22609 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22610 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22611 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22612 * math/test-fpucw-static.c: New file.
22613 * math/test-fpucw-ieee.c: New file.
22614 * math/test-fpucw-ieee-static.c: New file.
22615 * math/Makefile (tests): Add `test-fpucw-ieee' and
22616 `$(tests-static)'.
22617 (tests-static): New variable.
22618 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22619 dependency to...
22620 [($(build-shared),yes)]
22621 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22622 ... this.
22623 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22624 New dependency.
22625
22626 2013-09-09 Allan McRae <allan@archlinux.org>
22627
22628 [BZ #15939]
22629 * manual/string.texi (Collation Functions): Fix typo in
22630 strcoll example.
22631 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22632
22633 [BZ #15893]
22634 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22635
22636 [BZ #15892]
22637 * libio/memstream.c (open_memstream): Fix memory leak.
22638 * libio/wmemstream.c (open_wmemstream): Likewise.
22639
22640 [BZ #15895]
22641 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22642
22643 2013-09-09 Will Newton <will.newton@linaro.org>
22644
22645 * malloc/Makefile: Add tst-realloc to tests.
22646 * malloc/tst-realloc.c: New file.
22647
22648 2013-09-09 Allan McRae <allan@archlinux.org>
22649
22650 [BZ #15844]
22651 * COPYING: Update from GNU website to fix FSF address.
22652 * COPYING.LIB: Likewise.
22653
22654 2013-09-06 David S. Miller <davem@davemloft.net>
22655
22656 * po/zh_TW.po: Update Chinese (traditional) translation from
22657 translation project.
22658
22659 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22660 Joseph Myers <joseph@codesourcery.com>
22661
22662 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22663 "localeinfo.h".
22664 (obstack_chunk_alloc): New macro.
22665 (obstack_chunk_free): Likewise.
22666 (record_offset): New function.
22667 (init_locale_data): Likewise.
22668 (align_locale_data): Likewise.
22669 (add_locale_empty): Likewise.
22670 (add_locale_raw_data): Likewise.
22671 (add_locale_raw_obstack): Likewise.
22672 (add_locale_string): Likewise.
22673 (add_locale_wstring): Likewise.
22674 (add_locale_uint32): Likewise.
22675 (add_locale_uint32_array): Likewise.
22676 (add_locale_char): Likewise.
22677 (start_locale_structure): Likewise.
22678 (end_locale_structure): Likewise.
22679 (start_locale_prelude): Likewise.
22680 (end_locale_prelude): Likewise.
22681 (write_locale_data): Take locale_file structure rather than an
22682 iovec.
22683 * locale/programs/locfile.h: Include "obstack.h".
22684 (struct locale_file): Change to store locale file contents instead
22685 of header.
22686 (init_locale_data): New prototype.
22687 (align_locale_data): Likewise.
22688 (add_locale_empty): Likewise.
22689 (add_locale_raw_data): Likewise.
22690 (add_locale_raw_obstack): Likewise.
22691 (add_locale_string): Likewise.
22692 (add_locale_wstring): Likewise.
22693 (add_locale_uint32): Likewise.
22694 (add_locale_uint32_array): Likewise.
22695 (add_locale_char): Likewise.
22696 (start_locale_structure): Likewise.
22697 (end_locale_structure): Likewise.
22698 (start_locale_prelude): Likewise.
22699 (end_locale_prelude): Likewise.
22700 (write_locale_data): Update prototype.
22701 * locale/programs/3level.h (struct TABLE): Remove result field.
22702 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22703 Use new locale_file interface.
22704 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22705 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22706 * locale/programs/ld-address.c (address_output): Use new
22707 locale_file interface.
22708 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22709 NO_ADD_LOCALE.
22710 (collate_finish): Don't call collseq_table_finalize.
22711 (collate_output): Use new locale_file interface.
22712 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22713 in file.
22714 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22715 (TABLE): Move defines earlier in file.
22716 (ELEMENT): Likewise.
22717 (DEFAULT): Likewise.
22718 (wctrans_table_add): Move macro and inline function earlier in
22719 file.
22720 (struct wctype_table): Move type earlier in file.
22721 (add_locale_wctype_table): New static prototype.
22722 (struct locale_ctype_t): Use logical types instead of struct iovec
22723 pointers for members.
22724 (ctype_output): Use new locale_file interface.
22725 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22726 new locale_file interface.
22727 (allocate_arrays): Update for use of new locale_file interface.
22728 * locale/programs/ld-identification.c (identification_output): Use
22729 new locale_file interface.
22730 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22731 * locale/programs/ld-messages.c (messages_output): Likewise.
22732 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22733 * locale/programs/ld-name.c (name_output): Likewise.
22734 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22735 * locale/programs/ld-paper.c (paper_output): Likewise.
22736 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22737 * locale/programs/ld-time.c (time_output): Likewise.
22738
22739 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22740
22741 * benchtests/Makefile: Add memrchr benchmark.
22742 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22743 benchmark as memrchr.
22744 * benchtests/bench-memrchr-ifunc.c: New file.
22745 * benchtests/bench-memrchr.c: New file.
22746
22747 2013-09-06 Will Newton <will.newton@linaro.org>
22748
22749 * benchtests/Makefile (string-bench): Add memcpy.
22750
22751 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22752 Cong Wang <amwang@redhat.com>
22753
22754 [BZ #15850]
22755 * sysdeps/unix/sysv/linux/bits/in.h
22756 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22757 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22758 before __USE_KERNEL_IPV6_DEFS uses.
22759 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22760 IPPROTO_BEETPH.
22761 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22762 sockaddr_in6, or ipv6_mreq.
22763
22764 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22765
22766 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22767 memory access for final bytes in some large inputs.
22768 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22769
22770 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22771
22772 * string/test-memrchr.c: New file.
22773 * string/test-memrchr-ifunc.c: New file.
22774 * string/Makefile: Add new memrchr testcase.
22775
22776 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22777
22778 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22779 fanotify_init returns EPERM.
22780
22781 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22782
22783 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22784 errors.
22785 (top level): Treat second token from macro or constant entries for
22786 allowed headers as allowed.
22787 * include/complex.h: Condition internal declarations on
22788 [!_ISOMAC].
22789 * include/fenv.h: Condition include of <stdbool.h> and internal
22790 declarations on [!_ISOMAC].
22791
22792 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22793
22794 [BZ #15923]
22795 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22796
22797 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22798
22799 * configure.in (--enable-versioning): Remove configure option.
22800 (libc_cv_asm_symver_directive): Remove configure test.
22801 (libc_cv_ld_version_script_option): Likewise.
22802 (VERSIONING): Remove variable and AC_SUBST.
22803 (DO_VERSIONING): Remove AC_DEFINE.
22804 * configure: Regenerated.
22805 * config.h.in (DO_VERSIONING): Remove macro.
22806 * Makerules [$(versioning) = yes]: Change conditionals to
22807 [$(build-shared) = yes].
22808 * config.make.in (versioning): Remove variable.
22809 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22810 [$(build-shared) = yes].
22811 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22812 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22813 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22814 [$(build-shared) = yes].
22815 * extra-lib.mk [$(versioning) = yes]: Likewise.
22816 * hurd/Makefile [$(versioning) = yes]: Likewise.
22817 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22818 [SHARED].
22819 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22820 [SHARED].
22821 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22822 [SHARED && !NO_HIDDEN].
22823 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22824 [SHARED].
22825 [SHARED && DO_VERSIONING]: Likewise..
22826 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22827 [$(build-shared) = yes].
22828 * manual/install.texi (--disable-versioning): Remove
22829 documentation.
22830 * INSTALL: Regenerated.
22831 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22832 to [SHARED].
22833 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22834 [$(build-shared) = yes].
22835 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22836 * sysdeps/i386/i686/multiarch/strstr-c.c
22837 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22838 [SHARED && !NO_HIDDEN].
22839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22840 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22841 * sysdeps/powerpc/powerpc32/dl-machine.c
22842 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22843 * sysdeps/powerpc/powerpc32/sysdep.h
22844 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22845 to [SHARED && PIC && !NO_HIDDEN].
22846 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22847 conditional to [SHARED].
22848
22849 2013-09-04 Will Newton <will.newton@linaro.org>
22850
22851 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22852 * benchtests/bench-string.h: Include bench-timing.h instead
22853 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22854 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22855 call to HP_TIMING_DIFF_INIT.
22856 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22857 instead of hp-timing.h macros.
22858 * benchtests/bench-memchr.c: Likewise.
22859 * benchtests/bench-memcmp.c: Likewise.
22860 * benchtests/bench-memcpy.c: Likewise.
22861 * benchtests/bench-memmem.c: Likewise.
22862 * benchtests/bench-memmove.c: Likewise.
22863 * benchtests/bench-memset.c: Likewise.
22864 * benchtests/bench-rawmemchr.c: Likewise.
22865 * benchtests/bench-strcasecmp.c: Likewise.
22866 * benchtests/bench-strcasestr.c: Likewise.
22867 * benchtests/bench-strcat.c: Likewise.
22868 * benchtests/bench-strchr.c: Likewise.
22869 * benchtests/bench-strcmp.c: Likewise.
22870 * benchtests/bench-strcpy.c: Likewise.
22871 * benchtests/bench-strcpy_chk.c: Likewise.
22872 * benchtests/bench-strlen.c: Likewise.
22873 * benchtests/bench-strncasecmp.c: Likewise.
22874 * benchtests/bench-strncat.c: Likewise.
22875 * benchtests/bench-strncmp.c: Likewise.
22876 * benchtests/bench-strncpy.c: Likewise.
22877 * benchtests/bench-strnlen.c: Likewise.
22878 * benchtests/bench-strpbrk.c: Likewise.
22879 * benchtests/bench-strrchr.c: Likewise.
22880 * benchtests/bench-strspn.c: Likewise.
22881 * benchtests/bench-strstr.c: Likewise.
22882
22883 2013-09-04 Will Newton <will.newton@linaro.org>
22884
22885 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22886
22887 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22888
22889 [BZ #15427]
22890 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22891 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22892 * math/libm-test.inc (lgamma_test_data): Add more tests.
22893 * sysdeps/i386/fpu/libm-test-ulps: Update.
22894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22895
22896 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22897
22898 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22900 Add ifunc.
22901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22902 Add strcmp-sse2-unaligned
22903 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22904
22905 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22906
22907 * Versions.def (libc): Add GLIBC_2.19.
22908
22909 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22910
22911 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22912 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22913
22914 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22915
22916 [BZ #14155]
22917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22918 intermediate calculations in recurrence.
22919 (__ieee754_ynf): Likewise.
22920 * math/libm-test.inc (jn_test_data): Do not allow spurious
22921 underflow exception. Add more tests.
22922 (yn_test_data): Add more tests.
22923 * sysdeps/i386/fpu/libm-test-ulps: Update.
22924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22925
22926 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22927
22928 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22929
22930 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22931
22932 * csu/init-first.c: Fix then/than typos.
22933 * locale/programs/ld-collate.c: Likewise.
22934 * locale/programs/linereader.h: Likewise.
22935 * manual/charset.texi: Likewise.
22936 * manual/filesys.texi: Likewise.
22937 * manual/stdio.texi: Likewise.
22938 * manual/string.texi: Likewise.
22939 * stdlib/fmtmsg.c: Likewise.
22940 * sysdeps/i386/stpncpy.S: Likewise.
22941 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22942 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22943 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22944 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22945
22946 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22947
22948 * elf/dl-open.c: Fix typos.
22949 * iconvdata/gbbig5.c: Likewise.
22950 * iconvdata/iso-2022-jp.c: Likewise.
22951 * iconv/gconv_int.h: Likewise.
22952 * iconv/loop.c: Likewise.
22953 * nis/rpcsvc/nis.h: Likewise.
22954 * resolv/ns_name.c: Likewise.
22955 * stdio-common/vfscanf.c: Likewise.
22956 * streams/stropts.h: Likewise.
22957 * sunrpc/rpc_thread.c: Likewise.
22958 * sysdeps/i386/strpbrk.S: Likewise.
22959 * sysdeps/ieee754/k_standard.c: Likewise.
22960 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22962 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22963 * sysdeps/mach/hurd/profil.c: Likewise.
22964 * sysdeps/s390/dl-procinfo.h: Likewise.
22965 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22966 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22967 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22968 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22969 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22970
22971 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22972
22973 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22975
22976 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22977
22978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22979 aix specific files.
22980 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22981 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22982 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22983 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22984 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22985 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22986 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22987 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22988
22989 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22990 Roland McGrath <roland@hack.frob.com>
22991
22992 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22993 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22994
22995 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22996
22997 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22998 __executable_start symbol instead of _start.
22999
23000 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23001
23002 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23003 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23004 Move macros to...
23005 * sysdeps/gnu/ldsodefs.h: ... this new file.
23006
23007 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23008 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23009 instead of ELFOSABI_LINUX.
23010
23011 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23012 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23013 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23014 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23015 Likewise.
23016 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23017 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23018 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23019 Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23021 (ibm_extended_long_double): Add ieee_nan member.
23022 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23023 (do_test): New function.
23024
23025 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23026 TEST_TRUNC.
23027 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23028 functions, renamed from truncdfsf_test, trunctfsf_test,
23029 trunctfdf_test.
23030 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23031 functions.
23032 (do_test): Run all these.
23033
23034 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23035
23036 * argp/argp-help.c: Fix typos.
23037 * argp/argp-parse.c: Likewise.
23038 * debug/backtracesyms.c: Likewise.
23039 * elf/elf.h: Likewise.
23040 * malloc/malloc.c: Likewise.
23041 * nis/nis_print.c: Likewise.
23042 * resolv/res_comp.c: Likewise.
23043 * stdlib/stdlib.h: Likewise.
23044 * sunrpc/clnt_tcp.c: Likewise.
23045 * sunrpc/clnt_udp.c: Likewise.
23046 * sunrpc/clnt_unix.c: Likewise.
23047 * sysdeps/unix/bsd/ptsname.c: Likewise.
23048 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23049 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23051 Likewise.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23053 Likewise.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23055 Likewise.
23056 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23057
23058 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23059
23060 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23062
23063 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23064
23065 [BZ #15897]
23066 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23067 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23068 ($(objpfx)bug-dl-leaf): New rule.
23069 ($(objpfx)bug-dl-leaf.so): Likewise.
23070 ($(objpfx)bug-dl-leaf.out): Likewise.
23071 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23072 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23073 * dlfcn/bug-dl-leaf.c: New test.
23074 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23075 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23076 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23077 (dlclose): Likewise.
23078 (dlmopen): Likewise.
23079
23080 2013-08-27 Roland McGrath <roland@hack.frob.com>
23081
23082 * include/netdb.h [!_ISOMAC]:
23083 Don't include <tls.h>.
23084 (h_errno, __libc_h_errno): Move declaration and macros out of
23085 [_LIBC_REENTRANT].
23086
23087 * include/resolv.h [_RESOLV_H_]:
23088 Don't include <tls.h>.
23089 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23090 * resolv/res_libc.c: Don't include <tls.h>.
23091 (_res): Use __attribute__ ((nocommon)) in place of
23092 __attribute__ ((section (".bss"))).
23093
23094 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23095 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23096
23097 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23098
23099 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23100 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23101
23102 * resolv/res_mkquery.c: Include <sys/time.h>.
23103
23104 * inet/ifreq.c: Moved to ...
23105 * sysdeps/unix/ifreq.c: ... here.
23106 * inet/ifreq.c: New file, true stub version.
23107
23108 * socket/sa_len.c: New file.
23109 * socket/Makefile (aux): Add it.
23110 * sysdeps/unix/sysv/linux/Makefile
23111 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23112 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23113 and #include <socket/sa_len.c>.
23114 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23115 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23116
23117 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23118 * bits/socket.h: ... here.
23119
23120 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23121 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23122 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23123
23124 2013-08-27 Andreas Schwab <schwab@suse.de>
23125
23126 [BZ #15736]
23127 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23128 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23129 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23130 * string/test-strcasecmp.c (test_main): Run tests in several
23131 locales.
23132 * string/test-strncasecmp.c (test_main): Likewise.
23133
23134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23135 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23136 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23137 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23138 (__strncasecmp_ssse3) [PIC]: Likewise.
23139
23140 2013-08-26 Roland McGrath <roland@hack.frob.com>
23141
23142 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23143
23144 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23145 instead of explicitly declaring xdecrypt.
23146 * nis/nss_nis/nis-publickey.c: Likewise.
23147
23148 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23149
23150 [BZ #15890]
23151 * nscd/aicache.c: Include res_hconf.h.
23152 (addhstaiX): Initialize res_hconf.
23153
23154 2013-08-26 Andreas Schwab <schwab@suse.de>
23155
23156 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23157 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23158
23159 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23160
23161 * nscd/aicache.c (addhstaiX): Fix indentation.
23162
23163 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23164
23165 * configure.ac: Quote $build_pt_chown test.
23166 * configure: Regenerated.
23167
23168 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23169
23170 [BZ #15532]
23171 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23172 * math/s_cexpf.c (__cexpf): Likewise.
23173 * math/s_cexpl.c (__cexpl): Likewise.
23174 * math/libm-test.inc (cexp_test_data): Correct expected return
23175 value for NaN + i0. Add another test.
23176
23177 2013-08-22 David S. Miller <davem@davemloft.net>
23178
23179 * po/ca.po: Update Catalan translation from translation project.
23180 * po/uk.po: Add Ukrainian translations from translation project.
23181
23182 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23183
23184 [BZ #15797]
23185 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23186 is infinite, not alongside NaN test.
23187 * math/s_fdimf.c (__fdimf): Likewise.
23188 * math/s_fdiml.c (__fdiml): Likewise.
23189 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23190 errno is unchanged.
23191
23192 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23193
23194 * argp/argp-help.c: Fix typos.
23195 * crypt/speeds.c: Likewise.
23196 * csu/check_fds.c: Likewise.
23197 * elf/dl-load.c: Likewise.
23198 * elf/dl-open.c: Likewise.
23199 * elf/reldep3.c: Likewise.
23200 * elf/reldep.c: Likewise.
23201 * elf/sprof.c: Likewise.
23202 * iconv/iconv_charmap.c: Likewise.
23203 * iconv/skeleton.c: Likewise.
23204 * iconv/strtab.c: Likewise.
23205 * io/lockf64.c: Likewise.
23206 * libio/libioP.h: Likewise.
23207 * resolv/gai_notify.c: Likewise.
23208 * resolv/ns_name.c: Likewise.
23209 * resolv/ns_samedomain.c: Likewise.
23210 * resolv/res_send.c: Likewise.
23211 * stdlib/random.c: Likewise.
23212 * sunrpc/rpc/xdr.h: Likewise.
23213 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23214 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23215 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23220 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23221 * sysdeps/mach/hurd/check_fds.c: Likewise.
23222 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23223 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23225 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23226 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23227 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23228 * sysdeps/pthread/aio_notify.c: Likewise.
23229 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23230 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23231 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23233 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23234
23235 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23236
23237 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23238 version if bit_Slow_SSE4_2 is set.
23239 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23240 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23241
23242 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23243
23244 [BZ #15867]
23245 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23246 trampoline stack frame information.
23247 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23248 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23249 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23250 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23251 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23252 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23253 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23254 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23255 sa_flags value.
23256 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23257 interrupting a syscall and set with option SA_SIGINFO.
23258
23259 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23260
23261 [BZ #15531]
23262 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23263 argument is infinite.
23264 * math/s_cprojf.c (__cprojf): Likewise.
23265 * math/s_cprojl.c (__cprojl): Likewise.
23266 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23267 * math/libm-test.inc (cproj_test_data): Add more tests.
23268
23269 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23270
23271 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23272 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23273 size. Use __ffs to determine corresponding shift.
23274
23275 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23276 Roland McGrath <roland@hack.frob.com>
23277
23278 * Makefile (INSTALL): Remove trailing blank lines from output of
23279 makeinfo.
23280
23281 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23282
23283 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23284 Align 32 bit compat elf_greg to 8 bytes.
23285
23286 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23287
23288 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23289
23290 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23291
23292 * string/strcoll_l.c (coll_seq): New structure.
23293 (get_next_seq_cached): New function.
23294 (get_next_seq): New function.
23295 (do_compare): New function.
23296 (STRCOLL): Use GNU style definition. Simplify implementation
23297 by using get_next_seq, get_next_seq_cached and do_compare.
23298
23299 2013-08-16 Florian Weimer <fweimer@redhat.com>
23300
23301 [BZ #14699]
23302 CVE-2013-4237
23303 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23304 member.
23305 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23306 member.
23307 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23308 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23309 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23310 conditional.
23311 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23312 GETDENTS_64BIT_ALIGNED.
23313 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23314 * manual/filesys.texi (Reading/Closing Directory): Document
23315 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23316 strongly.
23317 * manual/conf.texi (Limits for Files): Add portability note to
23318 NAME_MAX, PATH_MAX.
23319 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23320
23321 2013-08-13 Andreas Schwab <schwab@suse.de>
23322
23323 [BZ #15749]
23324 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23325 of fabs.
23326 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23327 LDBL_MAX_EXP >= 16384]: Add tests for it.
23328
23329 2013-08-12 David S. Miller <davem@davemloft.net>
23330
23331 * version.h (RELEASE): Set to "development".
23332 (VERSION): Set to "2.18.90".
23333 * NEWS: Add 2.19 section.
23334
23335 2013-08-03 David S. Miller <davem@davemloft.net>
23336
23337 * po/ko.po: Update Korean translation from translation project.
23338
23339 2013-08-01 David S. Miller <davem@davemloft.net>
23340
23341 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23342 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23343 Bilka.
23344
23345 2013-07-30 David S. Miller <davem@davemloft.net>
23346
23347 * po/fr.po: Update French translation from translation project.
23348
23349 2013-07-28 David S. Miller <davem@davemloft.net>
23350
23351 * po/cs.po: Update Czech translation from translation project.
23352
23353 * po/sv.po: Update Swedish translation from translation project.
23354
23355 2013-07-27 David S. Miller <davem@davemloft.net>
23356
23357 * po/eo.po: Update Esperanto translation from translation project.
23358
23359 * po/vi.po: Update Vietnamese translation from translation project.
23360
23361 * po/de.po: Update German translation from translation project.
23362
23363 2013-07-26 David S. Miller <davem@davemloft.net>
23364
23365 * po/bg.po: Update Bulgarian translation from translation project.
23366
23367 * po/nl.po: Update Dutch translation from translation project.
23368 * po/pl.po: Update Polish translation from translation project.
23369 * po/ru.po: Update Russian translation from translation project.
23370
23371 2013-07-24 David S. Miller <davem@davemloft.net>
23372
23373 * po/libc.pot: Update.
23374
23375 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23376
23377 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23378 variable page size.
23379 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23380 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23382
23383 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23384
23385 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23386
23387 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23388 Andreas Schwab <schwab@suse.de>
23389 Roland McGrath <roland@hack.frob.com>
23390 Joseph Myers <joseph@codesourcery.com>
23391 Carlos O'Donell <carlos@redhat.com>
23392
23393 [BZ #15755]
23394 * config.h.in: Define HAVE_PT_CHOWN.
23395 * config.make.in (build-pt-chown): New variable.
23396 * configure.in (--enable-pt_chown): New configure option.
23397 * configure: Regenerate.
23398 * login/Makefile: Include Makeconfig. Build pt_chown only if
23399 build-pt-chown is enabled.
23400 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23401 pt_chown to fix pty ownership.
23402 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23403 CLOSE_ALL_FDS.
23404 * manual/install.texi (Configuring and compiling): Mention
23405 --enable-pt_chown. Add @findex for grantpt.
23406 * INSTALL: Regenerate.
23407
23408 2013-07-20 David S. Miller <davem@davemloft.net>
23409
23410 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23411 difference between 32-bit and 64-bit.
23412
23413 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23414
23415 [BZ #15711]
23416 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23417 Avoid system header dependency with -ffreestanding.
23418 ($(objpfx)bits/syscall%d): Likewise.
23419
23420 2013-07-13 David S. Miller <davem@davemloft.net>
23421
23422 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23423 underflows from atanl/atan2l due to bug 15319.
23424 (casinh_test_data): Likewise.
23425
23426 2013-07-07 David S. Miller <davem@davemloft.net>
23427
23428 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23429
23430 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23431
23432 * sysdeps/i386/fpu/libm-test-ulps: Update.
23433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23434
23435 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23436
23437 * configure.in (--enable-lock-elision): Fix message text.
23438 * INSTALL: Regenerate.
23439 * configure: Regenerate.
23440
23441 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23442
23443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23444
23445 2013-07-03 Andreas Jaeger <aj@suse.de>
23446
23447 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23448 define.
23449 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23450 (ptrace_peeksiginfo_args): Add.
23451 (__ptrace_peeksiginfo_flags): Add.
23452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23455
23456 2013-07-03 Allan McRae <allan@archlinux.org>
23457
23458 * sysdeps/i386/fpu/libm-test-ulps: Update.
23459
23460 2013-07-02 David S. Miller <davem@davemloft.net>
23461
23462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23463
23464 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23465
23466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23467
23468 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23469
23470 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23472
23473 2013-07-02 Andi Kleen <ak@linux.intel.com>
23474
23475 * config.h.in (ENABLE_LOCK_ELISION): Add.
23476 * configure.in (--enable-lock-elision): Add option.
23477 * manual/install.texi: Document --enable lock elision.
23478 * configure: Regenerate
23479 * INSTALL: Regenerate.
23480
23481 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23482
23483 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23484 SSE4.2 strcasecmp for libc.a.
23485 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23486
23487 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23488
23489 [BZ #13304]
23490 * soft-fp/op-common.h (_FP_FMA): New macro.
23491 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23492 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23493 (_FP_MUL_MEAT_1_imm): ... here.
23494 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23495 (_FP_MUL_MEAT_1_wide): ... here.
23496 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23497 (_FP_MUL_MEAT_1_hard): ... here.
23498 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23499 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23500 (_FP_MUL_MEAT_2_wide): ... here.
23501 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23502 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23503 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23504 (_FP_MUL_MEAT_2_gmp): ... here.
23505 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23506 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23507 (_FP_MUL_MEAT_4_wide): ... here.
23508 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23509 (_FP_MUL_MEAT_4_gmp): ... here.
23510 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23511 (_FP_WFRACBITS_DW_S): Likewise.
23512 (_FP_WFRACXBITS_DW_S): Likewise.
23513 (_FP_HIGHBIT_DW_S): Likewise.
23514 (FP_FMA_S): Likewise.
23515 (_FP_FRAC_HIGH_DW_S): Likewise.
23516 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23517 (_FP_WFRACBITS_DW_D): Likewise.
23518 (_FP_WFRACXBITS_DW_D): Likewise.
23519 (_FP_HIGHBIT_DW_D): Likewise.
23520 (FP_FMA_D): Likewise.
23521 (_FP_FRAC_HIGH_DW_D): Likewise.
23522 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23523 (_FP_WFRACBITS_DW_E): Likewise.
23524 (_FP_WFRACXBITS_DW_E): Likewise.
23525 (_FP_HIGHBIT_DW_E): Likewise.
23526 (FP_FMA_E): Likewise.
23527 (_FP_FRAC_HIGH_DW_E): Likewise.
23528 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23529 (_FP_WFRACBITS_DW_Q): Likewise.
23530 (_FP_WFRACXBITS_DW_Q): Likewise.
23531 (_FP_HIGHBIT_DW_Q): Likewise.
23532 (FP_FMA_Q): Likewise.
23533 (_FP_FRAC_HIGH_DW_Q): Likewise.
23534 * soft-fp/fmasf4.c: New file.
23535 * soft-fp/fmadf4.c: Likewise.
23536 * soft-fp/fmatf4.c: Likewise.
23537
23538 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23539
23540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23541 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23542 Silvermont.
23543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23544 macro.
23545 (index_Slow_SSE4_2): Likewise.
23546 (index_Prefer_PMINUB_for_stringop): Likewise.
23547 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23548 bit_Slow_SSE4_2 is set.
23549 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23550 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23551
23552 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23553
23554 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23555 rtld_global._dl_hwcap2.
23556 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23557 POWER8.
23558 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23559 POWER8 feature descriptions defined in _dl_hwcap2.
23560 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23561 string handling for POWER8 feature bits.
23562 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23563 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23564 _dl_powerpc_cap_flags.
23565 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23566 * sysdeps/powerpc/rtld-global-offsets.sym
23567 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23568 _dl_hwcap2 in the rtld_global_ro structure.
23569
23570 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23571
23572 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23573 hardware capabilities in support of AT_HWCAP2.
23574 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23575 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23576 GLRO(dl_hwcap2).
23577 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23578 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23579 explicitly the unknown a_type display mechanism is used.
23580 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23581 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23582 struct member.
23583 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23584 to macro prototype for AT_HWCAP2 support.
23585 * sysdeps/i386/dl-procinfo.h: Likewise.
23586 * sysdeps/s390/dl-procinfo.h: Likewise.
23587 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23588 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23589 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23590 return -1 for unknown a_type display fallback.
23591 * sysdeps/sparc/dl-procinfo.h: Likewise.
23592 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23593 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23594
23595 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23596
23597 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23598 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23599
23600 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23601
23602 [BZ #12492]
23603 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23604 mprotect making __stack_prot writable.
23605
23606 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23607 Joseph Myers <joseph@codesourcery.com>
23608
23609 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23610 as being properly aligned.
23611
23612 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23613
23614 * dlfcn/modstatic5.c: New file.
23615 * dlfcn/tststatic5.c: New file.
23616 * dlfcn/Makefile (tests): Add tststatic5.
23617 (tests-static): Likewise.
23618 (modules-names): Add modstatic5.
23619 (tststatic5-ENV): New variable.
23620 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23621
23622 [BZ #15022]
23623 * elf/dl-support.c (_dl_main_map): New variable.
23624 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23625 (_dl_nns, _dl_load_adds): Set to 1.
23626 (_dl_initial_searchlist): Refer to _dl_main_map.
23627 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23628 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23629 call to _dl_get_origin.
23630 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23631 around call_map.
23632 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23633 * dlfcn/modstatic3.c: New file.
23634 * dlfcn/tststatic3.c: New file.
23635 * dlfcn/tststatic4.c: New file.
23636 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23637 (tests-static): Likewise.
23638 (modules-names): Add modstatic3.
23639 (tststatic3-ENV, tststatic4-ENV): New variables.
23640 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23641 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23642
23643 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23644
23645 * configure.in (CC): Require GCC version 4.4 or later.
23646 * configure: Regenerated.
23647 * manual/install.texi (Tools for Compilation): Update GCC version
23648 requirement.
23649 * INSTALL: Regenerated.
23650
23651 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23652
23653 [BZ #15674]
23654 * string/test-memcmp.c (check2): New.
23655 (main): Call check2.
23656
23657 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23658
23659 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23660
23661 [BZ #15022]
23662 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23663 over to...
23664 (dl_open_worker) [!SHARED]: ... here.
23665
23666 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23667
23668 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23669
23670 2013-06-25 Richard Henderson <rth@redhat.com>
23671
23672 * locale/programs/locarchive.c: Include <libc-internal.h>
23673
23674 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23675
23676 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23677 trailing whitespace removed.
23678
23679 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23680
23681 [BZ #10283]
23682 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23683 * locale/programs/locarchive.c: Include libc-mmap.h.
23684 (prepare_address_space): Take two new outputs (the mmap base and len).
23685 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23686 values.
23687 (create_archive): Declare new mmap base and len values for
23688 prepare_address_space, and store the result in ah.
23689 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23690 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23691 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23692 Declare new mmap base and len values for
23693 prepare_address_space, and store the result in new_ah.
23694 (open_archive): Declare new mmap base and len values for
23695 prepare_address_space, and store the result in ah.
23696 (close_archive): If ah->mmap_base is not NULL, use that and
23697 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23698 * sysdeps/generic/libc-mmap.h: New file.
23699
23700 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23701
23702 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23703 (ALIGN_UP): Likewise.
23704 (PTR_ALIGN_DOWN): Likewise.
23705 (PTR_ALIGN_UP): Likewise.
23706
23707 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23708
23709 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23710 entry mapped to PPC_PLATFORM_POWER8.
23711 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23712 POWER8.
23713 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23714 (_dl_string_platform): Add case for exporting platform position for
23715 POWER8.
23716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23717 search path to sysdeps/powerpc/powerpc32/power8 directory.
23718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23719 search path to sysdeps/powerpc/powerpc64/power8 directory.
23720 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23721 power7 directories.
23722 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23723 power7 directories.
23724
23725 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23726
23727 * INSTALL: Regenerate.
23728
23729 * nscd/connections.c (nscd_init): Fix comment.
23730
23731 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23732
23733 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23734
23735 [BZ #15667]
23736 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23737 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23738
23739 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23740
23741 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23742 DL_DST_REQ_STATIC.
23743 (DL_DST_REQ_STATIC): Remove macro.
23744
23745 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23746
23747 [BZ #7006]
23748 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23749 with a shift of 0 bits.
23750
23751 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23752
23753 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23754 $(tststatic-ENV).
23755
23756 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23757
23758 [BZ #15655]
23759 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23760
23761 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23762
23763 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23764 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23765 accepts -fno-tree-loop-distribute-patterns.
23766 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23767 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23768 recursive call.
23769 * string/memset.c (memset): Likewise.
23770 * string/test-memmove.c (simple_memmove): Disable loop transformation
23771 to library calls.
23772 * string/test-memset.c (simple_memset): Likewise.
23773 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23774 * benchtests/bench-memset.c (simple_memset): Likewise.
23775 * configure: Regenerated.
23776
23777 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23778
23779 * math/test-misc.c (main): Ignore fesetround failure when failures
23780 of subsequent rounding tests would be ignored.
23781
23782 [BZ #15654]
23783 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23784 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23785 * math/fegetenv.c (__fegetenv): Return 0.
23786 * math/fegetexcept.c (fegetexcept): Return 0.
23787 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23788 FE_TONEAREST.
23789 * math/feholdexcpt.c (feholdexcept): Return 0.
23790 * math/fesetenv.c (__fesetenv): Return 0.
23791 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23792 argument FE_TONEAREST.
23793 * math/feupdateenv.c (__feupdateenv): Return 0.
23794 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23795
23796 2013-06-18 Roland McGrath <roland@hack.frob.com>
23797
23798 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23799 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23800 ($(objpfx)rtld-%.os rules): Use them.
23801
23802 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23803
23804 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23805 fields.
23806
23807 2013-06-17 Roland McGrath <roland@hack.frob.com>
23808
23809 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23810 length of target pattern, then descending length of dependency pattern.
23811 * configure.in (AWK): Require gawk 3.1.2 or newer.
23812 * manual/install.texi (Tools for Compilation): Say that we do.
23813 * configure: Regenerated.
23814
23815 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23816 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23817 * scripts/sysd-rules.awk: ... this new script.
23818 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23819 than a glob-style pattern.
23820
23821 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23822
23823 * math/test-misc.c (main): Do not treat incorrectly rounded
23824 conversions as failure unless ROUNDING_TESTS passes.
23825
23826 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23827
23828 [BZ #15631]
23829 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23830 restore exception state around main square root computation, then
23831 check for inexactness explicitly.
23832
23833 * math/libm-test.inc (fma_test_data): Add another test.
23834
23835 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23836
23837 * manual/threads.texi (Non-POSIX Extensions): New document
23838 node. Document pthread_getattr_default_np and
23839 pthread_setattr_default_np.
23840
23841 * Versions.def (libpthread): Add GLIBC_2.18.
23842 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23844 Likewise.
23845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23846 Likewise.
23847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23848 Likewise.
23849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23850 Likewise.
23851 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23852 Likewise.
23853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23854 Likewise.
23855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23856 Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23858 Likewise.
23859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23860 Likewise.
23861
23862 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23863
23864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23865 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23866
23867 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23868 H.J. Lu <hjl.tools@gmail.com>
23869
23870 [BZ #15627]
23871 * sysdeps/x86_64/rtld-memset.c: Remove file.
23872 * sysdeps/x86_64/rtld-memset.S: New file.
23873
23874 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23875
23876 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23877 (test_in_one_mode): Take arguments for whether the rounding mode
23878 is supported for each floating-point type.
23879 (do_test): Pass new arguments to test_in_one_mode using
23880 ROUNDING_TESTS.
23881
23882 2013-06-13 Roland McGrath <roland@hack.frob.com>
23883
23884 * posix/tst-waitid.c (do_test): Distinguish different instances of
23885 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23886 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23887 before entering the kernel for waitpid.
23888
23889 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23890
23891 * NEWS: Fix note on clock function precision. Text by Roland
23892 McGrath.
23893
23894 2013-06-13 Roland McGrath <roland@hack.frob.com>
23895
23896 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23897 it into place only when and if the sanity check passes.
23898
23899 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23900
23901 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23902 output for whether conversion result is exact. Take argument
23903 indicating whether type is IBM long double.
23904 (round_for_all): Change need_exact field to ibm_ld.
23905 * stdlib/tst-strtod-round.c (struct exactness): New type.
23906 (struct test): Change bool ld_ok field to struct exactness exact.
23907 (TEST): Update all definitions for change to field.
23908 (tests): Regenerate array contents.
23909 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23910 field value. Check for IBM long double here.
23911 (do_test): Update calls to test_in_one_mode.
23912
23913 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23914
23915 [BZ #12515]
23916 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23917 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23918
23919 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23920
23921 [BZ #15605]
23922 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23923 generated by the compiler on loop optimizations.
23924 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23925 general definitions.
23926
23927 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23928
23929 * math/bug-nextafter.c: Include <math-tests.h>.
23930 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23931 the relevant type.
23932 * math/bug-nexttoward.c: Include <math-tests.h>.
23933 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23934 the relevant type.
23935 * math/test-misc.c: Include <math-tests.h>.
23936 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23937 the relevant type.
23938
23939 2013-06-12 Andreas Jaeger <aj@suse.de>
23940
23941 * po/ia.po: Update Interlingua translation from translation
23942 project.
23943
23944 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23945
23946 * include/fenv.h: Include stdbool.h.
23947 (struct rm_ctx): New structure.
23948 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23949 Define macro.
23950 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23951 (SET_RESTORE_ROUNDF): Likewise.
23952 (SET_RESTORE_ROUNDL): Likewise.
23953 (SET_RESTORE_ROUND_NOEX): Likewise.
23954 (SET_RESTORE_ROUND_NOEXF): Likewise.
23955 (SET_RESTORE_ROUND_NOEXL): Likewise.
23956 (SET_RESTORE_ROUND_53BIT): Likewise.
23957 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23958 (libc_feresetround_noexf_ctx): Likewise.
23959 (libc_feresetround_noexl_ctx): Likewise.
23960 (libc_feholdsetround_53bit_ctx): Likewise.
23961 (libc_feresetround_53bit_ctx): Likewise.
23962 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23963 (libc_feholdexcept_setround_sse_ctx): New function.
23964 (libc_fesetenv_sse_ctx): Likewise.
23965 (libc_feupdateenv_sse_ctx): Likewise.
23966 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23967 (libc_feholdexcept_setround_387_ctx): Likewise.
23968 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23969 (libc_feholdsetround_387_prec_ctx): Likewise.
23970 (libc_feholdsetround_387_ctx): Likewise.
23971 (libc_feholdsetround_387_53bit_ctx): Likewise.
23972 (libc_feholdsetround_sse_ctx): Likewise.
23973 (libc_feresetround_sse_ctx): Likewise.
23974 (libc_feresetround_387_ctx): Likewise.
23975 (libc_feupdateenv_387_ctx): Likewise.
23976 (libc_feholdexcept_setroundf_ctx): Define macro.
23977 (libc_fesetenvf_ctx): Likewise.
23978 (libc_feupdateenvf_ctx): Likewise.
23979 (libc_feholdsetroundf_ctx): Likewise.
23980 (libc_feresetroundf_ctx): Likewise.
23981 (libc_feholdexcept_setround_ctx): Likewise.
23982 (libc_fesetenv_ctx): Likewise.
23983 (libc_feupdateenv_ctx): Likewise.
23984 (libc_feholdsetround_ctx): Likewise.
23985 (libc_feresetround_ctx): Likewise.
23986 (libc_feholdexcept_setroundl_ctx): Likewise.
23987 (libc_feupdateenvl_ctx): Likewise.
23988 (libc_feholdsetroundl_ctx): Likewise.
23989 (libc_feresetroundl_ctx): Likewise.
23990 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23991 (libc_feresetround_53bit_ctx): Likewise.
23992
23993 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23994
23995 * locale/iso-639.def: Convert to UTF-8.
23996
23997 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23998
23999 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24000 (EXCEPTION_TESTS_double): Likewise.
24001 (EXCEPTION_TESTS_long_double): Likewise.
24002 (EXCEPTION_TESTS): Likewise.
24003 * math/libm-test.inc (test_exceptions): Only test exceptions if
24004 EXCEPTION_TESTS (FLOAT).
24005
24006 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24007
24008 * benchtests/Makefile (string-bench): Add strcpy_chk and
24009 stpcpy_chk.
24010 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24011 * benchtests/bench-stpcpy_chk.c: New file.
24012 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24013 * benchtests/bench-strcpy_chk.c: New file.
24014 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24015 code.
24016 (do_test): Likewise.
24017
24018 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24019
24020 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24021 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24022 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24023 with tabs where appropriate.
24024 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24025 dl-procinfo.h.
24026 [PPC_PLATFORM_PPC440]: Likewise.
24027 [PPC_PLATFORM_PPC464]: Likewise.
24028 [PPC_PLATFORM_PPC476]: Likewise.
24029 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24030 ppc464, and ppc476 platform strings merging from ports/
24031 dl-procinfo.h.
24032
24033 2013-06-11 Andreas Schwab <schwab@suse.de>
24034
24035 [BZ #14991]
24036 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24037 (from_ucs4_idx): Regenerate.
24038 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24039 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24040 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24041 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24042 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24043 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24044 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24045 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24046 from FROM_LOOP and TO_LOOP specific macros.
24047 (BODY): Handle combining characters.
24048 * iconvdata/BIG5HKSCS.irreversible: Update.
24049 * iconvdata/BIG5HKSCS.precomposed: New file.
24050 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24051 characters.
24052 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24053
24054 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24055
24056 * include/sys/time.h: Fix indentation and add copyright header.
24057
24058 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24059 (do_test): Likewise.
24060 * string/test-memchr.c (do_one_test): Likewise.
24061 (do_test): Likewise.
24062 * string/test-memcmp.c (do_one_test): Likewise.
24063 (do_test): Likewise.
24064 * string/test-memcpy.c (do_one_test): Likewise.
24065 (do_test): Likewise.
24066 * string/test-memmem.c (do_one_test): Likewise.
24067 (do_test): Likewise.
24068 (do_random_tests): Likewise.
24069 * string/test-memmove.c (do_one_test): Likewise.
24070 (do_test): Likewise.
24071 * string/test-memset.c (do_one_test): Likewise.
24072 (do_test): Likewise.
24073 * string/test-rawmemchr.c (do_one_test): Likewise.
24074 (do_test): Likewise.
24075 * string/test-strcasecmp.c (do_one_test): Likewise.
24076 (do_test): Likewise.
24077 * string/test-strcasestr.c (do_one_test): Likewise.
24078 (do_test): Likewise.
24079 * string/test-strcat.c (do_one_test): Likewise.
24080 (do_test): Likewise.
24081 * string/test-strchr.c (do_one_test): Likewise.
24082 (do_test): Likewise.
24083 * string/test-strcmp.c (do_one_test): Likewise.
24084 (do_test): Likewise.
24085 * string/test-strcpy.c (do_one_test): Likewise.
24086 (do_test): Likewise.
24087 * string/test-string.h: Likewise.
24088 (test_init): Likewise.
24089 * string/test-strlen.c (do_one_test): Likewise.
24090 (do_test): Likewise.
24091 * string/test-strncasecmp.c (do_one_test): Likewise.
24092 (do_test): Likewise.
24093 * string/test-strncat.c (do_one_test): Likewise.
24094 (do_test): Likewise.
24095 * string/test-strncmp.c (do_one_test): Likewise.
24096 (do_test_limit): Likewise.
24097 (do_test): Likewise.
24098 * string/test-strncpy.c (do_one_test): Likewise.
24099 (do_test): Likewise.
24100 * string/test-strnlen.c (do_one_test): Likewise.
24101 (do_test): Likewise.
24102 * string/test-strpbrk.c (do_one_test): Likewise.
24103 (do_test): Likewise.
24104 * string/test-strrchr.c (do_one_test): Likewise.
24105 (do_test): Likewise.
24106 * string/test-strspn.c (do_one_test): Likewise.
24107 (do_test): Likewise.
24108 * string/test-strstr.c (do_one_test): Likewise.
24109 (do_test): Likewise.
24110
24111 * benchtests/Makefile (string-bench): Add string benchmarks.
24112 * benchtests/bench-bcopy-ifunc.c: New file.
24113 * benchtests/bench-bcopy.c: New file.
24114 * benchtests/bench-bzero-ifunc.c: New file.
24115 * benchtests/bench-bzero.c: New file.
24116 * benchtests/bench-memccpy-ifunc.c: New file.
24117 * benchtests/bench-memccpy.c: New file.
24118 * benchtests/bench-memchr-ifunc.c: New file.
24119 * benchtests/bench-memchr.c: New file.
24120 * benchtests/bench-memcmp-ifunc.c: New file.
24121 * benchtests/bench-memcmp.c: New file.
24122 * benchtests/bench-memmem-ifunc.c: New file.
24123 * benchtests/bench-memmem.c: New file.
24124 * benchtests/bench-memmove-ifunc.c: New file.
24125 * benchtests/bench-memmove.c: New file.
24126 * benchtests/bench-mempcpy-ifunc.c: New file.
24127 * benchtests/bench-mempcpy.c: New file.
24128 * benchtests/bench-memset-ifunc.c: New file.
24129 * benchtests/bench-memset.c: New file.
24130 * benchtests/bench-rawmemchr-ifunc.c: New file.
24131 * benchtests/bench-rawmemchr.c: New file.
24132 * benchtests/bench-stpcpy-ifunc.c: New file.
24133 * benchtests/bench-stpcpy.c: New file.
24134 * benchtests/bench-stpncpy-ifunc.c: New file.
24135 * benchtests/bench-stpncpy.c: New file.
24136 * benchtests/bench-strcasecmp-ifunc.c: New file.
24137 * benchtests/bench-strcasecmp.c: New file.
24138 * benchtests/bench-strcasestr-ifunc.c: New file.
24139 * benchtests/bench-strcasestr.c: New file.
24140 * benchtests/bench-strcat-ifunc.c: New file.
24141 * benchtests/bench-strcat.c: New file.
24142 * benchtests/bench-strchr-ifunc.c: New file.
24143 * benchtests/bench-strchr.c: New file.
24144 * benchtests/bench-strchrnul-ifunc.c: New file.
24145 * benchtests/bench-strchrnul.c: New file.
24146 * benchtests/bench-strcmp-ifunc.c: New file.
24147 * benchtests/bench-strcmp.c: New file.
24148 * benchtests/bench-strcpy-ifunc.c: New file.
24149 * benchtests/bench-strcpy.c: New file.
24150 * benchtests/bench-strcspn-ifunc.c: New file.
24151 * benchtests/bench-strcspn.c: New file.
24152 * benchtests/bench-strlen-ifunc.c: New file.
24153 * benchtests/bench-strlen.c: New file.
24154 * benchtests/bench-strncasecmp-ifunc.c: New file.
24155 * benchtests/bench-strncasecmp.c: New file.
24156 * benchtests/bench-strncat-ifunc.c: New file.
24157 * benchtests/bench-strncat.c: New file.
24158 * benchtests/bench-strncmp-ifunc.c: New file.
24159 * benchtests/bench-strncmp.c: New file.
24160 * benchtests/bench-strncpy-ifunc.c: New file.
24161 * benchtests/bench-strncpy.c: New file.
24162 * benchtests/bench-strnlen-ifunc.c: New file.
24163 * benchtests/bench-strnlen.c: New file.
24164 * benchtests/bench-strpbrk-ifunc.c: New file.
24165 * benchtests/bench-strpbrk.c: New file.
24166 * benchtests/bench-strrchr-ifunc.c: New file.
24167 * benchtests/bench-strrchr.c: New file.
24168 * benchtests/bench-strspn-ifunc.c: New file.
24169 * benchtests/bench-strspn.c: New file.
24170 * benchtests/bench-strstr-ifunc.c: New file.
24171 * benchtests/bench-strstr.c: New file.
24172
24173 * benchtests/Makefile: Disable parallel execution of targets.
24174 (string-bench): Add memcpy.
24175 (benchset): New variable to store a list of benchmark sets.
24176 (bench-func): Renamed from bench.
24177 (bench-set): New target.
24178 (bench): Depend on bench-func and bench-set.
24179 * benchtests/README: Add section on benchmark sets.
24180 * benchtests/bench-memcpy-ifunc.c: New file.
24181 * benchtests/bench-memcpy.c: New file.
24182 * benchtests/bench-string.h: New file.
24183
24184 2013-06-11 Andreas Schwab <schwab@suse.de>
24185
24186 [BZ #15577]
24187 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24188 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24189 values in the triple.
24190 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24191 terminator in the group key.
24192
24193 2013-06-11 Andreas Jaeger <aj@suse.de>
24194
24195 * po/zh_TW.po: Update Chinese (traditional) translation from
24196 translation project.
24197
24198 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24199
24200 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24201 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24202 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24204 (clock_getcpuclockid): Likewise.
24205 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24206 Add weak_alias and libc_hidden_def.
24207 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24208 * rt/clock_gettime.c (clock_gettime): Rename to
24209 __clock_gettime. Add weak_alias and libc_hidden_def.
24210 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24211 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24212 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24213 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24214 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24215 Likewise.
24216 * rt/clock_settime.c (clock_settime): Rename to
24217 __clock_settime. Add weak_alias and libc_hidden_def.
24218 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24219
24220 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24221
24222 * mach/err_boot.sub: Remove trailing whitespace.
24223 * mach/err_ipc.sub: Likewise.
24224 * mach/err_mach.sub: Likewise.
24225
24226 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24227 (ROUNDING_TESTS_double): Likewise.
24228 (ROUNDING_TESTS_long_double): Likewise.
24229 (ROUNDING_TESTS): Likewise.
24230 * math/libm-test.inc: Include <math-tests.h>.
24231 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24232 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24233 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24234 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24235
24236 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24237
24238 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24239 of assigning.
24240
24241 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24242
24243 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24244 otherwise empty TRANS lines.
24245 * sysdeps/gnu/errlist.c: Regenerated.
24246
24247 * catgets/gencat.c (error_print): Use (void) in function
24248 definition.
24249 * crypt/crypt_util.c (__init_des): Likewise.
24250 * crypt/speeds.c (Stop): Likewise.
24251 (main): Likewise.
24252 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24253 * inet/ruserpass.c (token): Likewise.
24254 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24255 * intl/localealias.c (extend_alias_table): Likewise.
24256 * intl/plural-exp.c (init_germanic_plural): Likewise.
24257 * libio/fcloseall.c (__fcloseall): Likewise.
24258 * libio/genops.c (_IO_flush_all): Likewise.
24259 (_IO_flush_all_linebuffered): Likewise.
24260 (_IO_cleanup): Likewise.
24261 (_IO_iter_begin): Likewise.
24262 (_IO_iter_end): Likewise.
24263 (_IO_list_lock): Likewise.
24264 (_IO_list_unlock): Likewise.
24265 (_IO_list_resetlock): Likewise.
24266 * libio/getchar.c (getchar): Likewise.
24267 * libio/getchar_u.c (getchar_unlocked): Likewise.
24268 * libio/getwchar.c (getwchar): Likewise.
24269 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24270 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24271 * login/getpt.c (__getpt): Likewise.
24272 * login/tst-utmp.c (main): Likewise.
24273 * malloc/hooks.c (__malloc_check_init): Likewise.
24274 * malloc/malloc.c (__malloc_stats): Likewise.
24275 * malloc/mtrace.c (tr_break): Likewise.
24276 (mtrace): Likewise.
24277 (muntrace): Likewise.
24278 * misc/fstab.c (endfsent): Likewise.
24279 * misc/getclktck.c (__getclktck): Likewise.
24280 * misc/getdtsz.c (__getdtablesize): Likewise.
24281 * misc/gethostid.c (gethostid): Likewise.
24282 * misc/getpagesize.c (__getpagesize): Likewise.
24283 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24284 (__get_nprocs): Likewise.
24285 (__get_phys_pages): Likewise.
24286 (__get_avphys_pages): Likewise.
24287 * misc/getttyent.c (getttyent): Likewise.
24288 (setttyent): Likewise.
24289 (endttyent): Likewise.
24290 * misc/getusershell.c (getusershell): Likewise.
24291 (endusershell): Likewise.
24292 (setusershell): Likewise.
24293 (initshells): Likewise.
24294 * misc/hsearch.c (__hdestroy): Likewise.
24295 * misc/sync.c (sync): Likewise.
24296 * misc/syslog.c (closelog_internal): Likewise.
24297 (closelog): Likewise.
24298 * misc/ttyslot.c (ttyslot): Likewise.
24299 * misc/vhangup.c (vhangup): Likewise.
24300 * posix/fork.c (__fork): Likewise.
24301 * posix/getegid.c (__getegid): Likewise.
24302 * posix/geteuid.c (__geteuid): Likewise.
24303 * posix/getgid.c (__getgid): Likewise.
24304 * posix/getpid.c (__getpid): Likewise.
24305 * posix/getppid.c (__getppid): Likewise.
24306 * posix/getuid.c (__getuid): Likewise.
24307 * posix/pause.c (pause): Likewise.
24308 * posix/setpgrp.c (setpgrp): Likewise.
24309 * posix/setsid.c (__setsid): Likewise.
24310 * posix/test-vfork.c (noop): Likewise.
24311 * resolv/gethnamaddr.c (_endhtent): Likewise.
24312 (_gethtent): Likewise.
24313 (ht_endhostent): Likewise.
24314 (gethostent): Likewise.
24315 (dns_service): Likewise.
24316 * stdlib/drand48.c (drand48): Likewise.
24317 * stdlib/lrand48.c (lrand48): Likewise.
24318 * stdlib/mrand48.c (mrand48): Likewise.
24319 * stdlib/rand.c (rand): Likewise.
24320 * stdlib/random.c (__random): Likewise.
24321 * stdlib/setenv.c (clearenv): Likewise.
24322 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24323 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24324 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24325 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24326 (__get_nprocs): Likewise.
24327 (__get_phys_pages): Likewise.
24328 (__get_avphys_pages): Likewise.
24329 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24330 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24331 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24332 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24333 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24334 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24335 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24336 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24337 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24338 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24339 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24340 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24341 * sysdeps/posix/clock.c (clock): Likewise.
24342 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24343 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24344 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24345 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24346 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24348 (__get_nprocs_conf): Likewise.
24349 (__get_phys_pages): Likewise.
24350 (__get_avphys_pages): Likewise.
24351 * time/clock.c (clock): Likewise.
24352 * time/tzset.c (__tzname_max): Likewise.
24353
24354 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24355
24356 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24357 (__bswap_32): Do not use "register".
24358 * crypt/crypt.c (_ufc_doit_r): Likewise.
24359 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24360 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24361 * gmon/gmon.c (__monstartup): Likewise.
24362 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24363 * hurd/hurdmalloc.c (more_memory): Likewise.
24364 (malloc): Likewise.
24365 (free): Likewise.
24366 (realloc): Likewise.
24367 (malloc_fork_prepare): Likewise.
24368 (malloc_fork_parent): Likewise.
24369 (malloc_fork_child): Likewise.
24370 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24371 (_svcauth_des): Likewise.
24372 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24373 * inet/inet_net.c (inet_network): Likewise.
24374 * inet/inet_netof.c (inet_netof): Likewise.
24375 * inet/rcmd.c (__validuser2_sa): Likewise.
24376 * io/fts.c (fts_open): Likewise.
24377 (fts_load): Likewise.
24378 (fts_close): Likewise.
24379 (fts_read): Likewise.
24380 (fts_children): Likewise.
24381 (fts_build): Likewise.
24382 (fts_stat): Likewise.
24383 (fts_sort): Likewise.
24384 (fts_alloc): Likewise.
24385 (fts_lfree): Likewise.
24386 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24387 (_IO_file_xsgetn): Likewise.
24388 (_IO_file_xsgetn_mmap): Likewise.
24389 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24390 (_IO_cookie_write): Likewise.
24391 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24392 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24393 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24394 * malloc/obstack.c (_obstack_begin): Likewise.
24395 (_obstack_begin_1): Likewise.
24396 (_obstack_newchunk): Likewise.
24397 (_obstack_allocated_p): Likewise.
24398 (obstack_free): Likewise.
24399 (_obstack_memory_used): Likewise.
24400 * misc/getttyent.c (getttynam): Likewise.
24401 (getttyent): Likewise.
24402 (skip): Likewise.
24403 (value): Likewise.
24404 * misc/getusershell.c (initshells): Likewise.
24405 * misc/syslog.c (__vsyslog_chk): Likewise.
24406 * misc/ttyslot.c (ttyslot): Likewise.
24407 * nis/nis_hash.c (__nis_hash): Likewise.
24408 * posix/fnmatch_loop.c (FCT): Likewise.
24409 * posix/getconf.c (print_all): Likewise.
24410 (main): Likewise.
24411 * posix/getopt.c (exchange): Likewise.
24412 * posix/glob.c (globfree): Likewise.
24413 (prefix_array): Likewise.
24414 (__glob_pattern_type): Likewise.
24415 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24416 (NS_GET32): Likewise.
24417 (NS_PUT16): Likewise.
24418 (NS_PUT32): Likewise.
24419 * resolv/gethnamaddr.c (getanswer): Likewise.
24420 (gethostbyname2): Likewise.
24421 (gethostbyaddr): Likewise.
24422 (_gethtent): Likewise.
24423 (_gethtbyname2): Likewise.
24424 (_gethtbyaddr): Likewise.
24425 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24426 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24427 * resolv/res_init.c (__res_vinit): Likewise.
24428 (net_mask): Likewise.
24429 * resolv/res_mkquery.c (outchar): Likewise.
24430 (PRINT): Likewise.
24431 * stdio-common/printf_fp.c (outchar): Likewise.
24432 (PRINT): Likewise.
24433 * stdio-common/printf_fphex.c (outchar): Likewise.
24434 (PRINT): Likewise.
24435 * stdio-common/printf_size.c (outchar): Likewise.
24436 (PRINT): Likewise.
24437 * stdio-common/test_rdwr.c (main): Likewise.
24438 * stdio-common/tfformat.c (matches): Likewise.
24439 * stdio-common/vfprintf.c (outchar): Likewise.
24440 (printf_unknown): Likewise.
24441 (buffered_vfprintf): Likewise.
24442 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24443 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24444 (ReadFile): Likewise.
24445 * stdlib/qsort.c (SWAP): Likewise.
24446 (_quicksort): Likewise.
24447 * stdlib/setenv.c (__add_to_environ): Likewise.
24448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24449 * stdlib/strtol_l.c (__strtol_l): Likewise.
24450 * stdlib/tst-strtod.c (main): Likewise.
24451 * stdlib/tst-strtol.c (main): Likewise.
24452 * stdlib/tst-strtoll.c (main): Likewise.
24453 * string/bits/string2.h (__strcmp_cc): Likewise.
24454 (__strcmp_cg): Likewise.
24455 (__strcspn_c1): Likewise.
24456 (__strcspn_c2): Likewise.
24457 (__strcspn_c3): Likewise.
24458 (__strspn_c1): Likewise.
24459 (__strspn_c2): Likewise.
24460 (__strspn_c3): Likewise.
24461 (__strsep_1c): Likewise.
24462 (__strsep_2c): Likewise.
24463 (__strsep_3c): Likewise.
24464 * string/memccpy.c (__memccpy): Likewise.
24465 * string/stpcpy.c (__stpcpy): Likewise.
24466 * string/strcmp.c (strcmp): Likewise.
24467 * string/strrchr.c (strrchr): Likewise.
24468 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24469 Likewise.
24470 * sysdeps/mach/hurd/getcwd.c
24471 (_hurd_canonicalize_directory_name_internal): Likewise.
24472 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24473 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24474 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24475 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24476 Likewise, in both definitions.
24477 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24478 definitions.
24479 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24480 64] (__bswap_64): Likewise.
24481 * time/test_time.c (main): Likewise.
24482 * time/tzfile.c (__tzfile_read): Likewise.
24483 (__tzfile_compute): Likewise.
24484 * time/tzset.c (__tzset_parse_tz): Likewise.
24485 (tzset_internal): Likewise.
24486 (compute_change): Likewise.
24487 * wcsmbs/wcscat.c (__wcscat): Likewise.
24488 * wcsmbs/wcschr.c (wcschr): Likewise.
24489 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24490 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24491 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24492 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24493 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24494 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24495 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24496 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24497 * wcsmbs/wmemset.c (wmemset): Likewise.
24498
24499 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24500
24501 * scripts/config.guess: Update to version 2013-05-16.
24502 * scripts/config.sub: Update to version 2013-04-24.
24503 * scripts/install-sh: Update to version 2011-11-20.07.
24504 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24505 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24506
24507 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24508
24509 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24510 * elf/sln.c: Likewise.
24511 * hurd/hurd/ioctl.h: Likewise.
24512 * hurd/hurdmalloc.c: Likewise.
24513 * hurd/xattr.c: Likewise.
24514 * include/shlib-compat.h: Likewise.
24515 * inet/ruserpass.c: Likewise.
24516 * libio/iofgets_u.c: Likewise.
24517 * libio/iofgetws_u.c: Likewise.
24518 * locale/programs/ld-identification.c: Likewise.
24519 * locale/programs/ld-time.c: Likewise.
24520 * mach/msg-destroy.c: Likewise.
24521 * nss/nss_files/files-netgrp.c: Likewise.
24522 * resolv/res_data.c: Likewise.
24523 * soft-fp/op-1.h: Likewise.
24524 * soft-fp/op-2.h: Likewise.
24525 * soft-fp/op-4.h: Likewise.
24526 * soft-fp/op-common.h: Likewise.
24527 * stdio-common/printf_fphex.c: Likewise.
24528 * stdlib/strtod_l.c: Likewise.
24529 * sunrpc/rpc/clnt.h: Likewise.
24530 * sysdeps/generic/framestate.c: Likewise.
24531 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24532 * sysdeps/i386/bsd-setjmp.S: Likewise.
24533 * sysdeps/i386/__longjmp.S: Likewise.
24534 * sysdeps/i386/setjmp.S: Likewise.
24535 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24536 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24553 * sysdeps/ieee754/support.c: Likewise.
24554 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24555 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24556 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24557 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24558 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24559 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24560 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24561 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24562 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24563 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24564 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24565 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24566 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24567 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24568 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24569 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24570 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24572
24573 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24574
24575 * posix/transbug.c: Remove executable mode.
24576
24577 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24578
24579 * crypt/speeds.c: Remove trailing whitespace.
24580 * dlfcn/default.c: Likewise.
24581 * elf/ifuncdep2.c: Likewise.
24582 * elf/ifuncmain1.c: Likewise.
24583 * elf/ifuncmain1vis.c: Likewise.
24584 * elf/testobj.h: Likewise.
24585 * elf/tst-stackguard1.c: Likewise.
24586 * gmon/sys/gmon.h: Likewise.
24587 * hurd/hurdmsg.c: Likewise.
24588 * hurd/new-fd.c: Likewise.
24589 * hurd/ports-get.c: Likewise.
24590 * iconvdata/ibm1008_420.c: Likewise.
24591 * inet/tst-getni1.c: Likewise.
24592 * inet/tst-getni2.c: Likewise.
24593 * libio/ioungetc.c: Likewise.
24594 * libio/wfiledoalloc.c: Likewise.
24595 * manual/libm-err-tab.pl: Likewise.
24596 * math/w_dremf.c: Likewise.
24597 * misc/ftruncate.c: Likewise.
24598 * posix/bug-glob2.c: Likewise.
24599 * posix/tst-pcre.c: Likewise.
24600 * posix/wait4.c: Likewise.
24601 * resolv/README: Likewise.
24602 * resolv/res_debug.h: Likewise.
24603 * resolv/tst-inet_ntop.c: Likewise.
24604 * setjmp/bug269-setjmp.c: Likewise.
24605 * soft-fp/extended.h: Likewise.
24606 * soft-fp/op-1.h: Likewise.
24607 * soft-fp/op-2.h: Likewise.
24608 * soft-fp/op-4.h: Likewise.
24609 * soft-fp/op-8.h: Likewise.
24610 * soft-fp/testit.c: Likewise.
24611 * stdio-common/bug16.c: Likewise.
24612 * stdlib/random.c: Likewise.
24613 * sunrpc/rpcsvc/rquota.x: Likewise.
24614 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24615 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24616 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24617 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24618 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24619 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24621 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24622 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24623 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24624 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24643 * sysdeps/ieee754/s_lib_version.c: Likewise.
24644 * sysdeps/mach/hurd/check_fds.c: Likewise.
24645 * sysdeps/mach/hurd/getsockname.c: Likewise.
24646 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24647 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24648 * sysdeps/powerpc/bits/link.h: Likewise.
24649 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24650 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24651 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24652 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24653 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24655 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24656 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24657 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24658 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24659 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24660 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24661 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24662 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24663 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24664 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24665 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24666 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24667 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24668 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24669 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24670 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24671 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24672 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24673 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24674 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24676 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24677 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24678 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24680 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24681 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24682 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24683 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24684 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24685 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24686 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24687 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24688 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24689 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24690 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24691 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24692 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24693 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24694 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24695 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24696 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24697 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24698 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24701 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24702 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24703 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24704 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24705 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24706 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24707 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24708 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24709 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24710 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24711 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24712 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24713 * sysdeps/powerpc/sysdep.h: Likewise.
24714 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24715 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24716 * sysdeps/sh/dl-trampoline.S: Likewise.
24717 * sysdeps/sh/memset.S: Likewise.
24718 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24719 * sysdeps/sh/strlen.S: Likewise.
24720 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24721 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24722 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24723 * sysdeps/sparc/sparc32/rem.S: Likewise.
24724 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24725 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24726 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24727 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24728 * sysdeps/sparc/sparc32/urem.S: Likewise.
24729 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24730 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24731 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24732 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24733 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24734 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24735 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24736 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24737 * sysdeps/unix/bsd/times.c: Likewise.
24738 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24739 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24743 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24744 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24745 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24746 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24747 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24748 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24749 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24750 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24751 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24752 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24753 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24754 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24755 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24756 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24757 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24758 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24759 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24760 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24761 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24762 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24763 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24764 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24765 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24766 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24767 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24768 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24769 * sysdeps/x86_64/strcspn.S: Likewise.
24770
24771 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24772
24773 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24774 generated file. Regenerate properly from gen-translit.pl.
24775 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24776 locale/C-translit.h.
24777
24778 2013-06-05 Andreas Schwab <schwab@suse.de>
24779
24780 [BZ #15100]
24781 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24782 week as 6 instead of -1.
24783 * time/tst-strptime.c (day_tests): Add test case.
24784
24785 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24786
24787 * sysdeps/generic/math_private.h
24788 (libc_feholdexcept_setround_53bit): Replace with
24789 libc_feholdsetround_53bit.
24790 (libc_feupdateenv_53bit): Replace with
24791 libc_feresetround_53bit.
24792 (SET_RESTORE_ROUND_53BIT): Adjust.
24793
24794 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24795
24796 * string/test-strchrnul.c: Add copyright header.
24797
24798 * posix/tst-getaddrinfo4.c: Increase test timeout.
24799
24800 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24801
24802 [BZ #15536]
24803 * math/libm-test.inc (MAX_EXP): Remove
24804 (MIN_EXP): Define.
24805 (ulp): Use MIN_EXP - MANT_DIG.
24806 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24807
24808 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24809
24810 * po/be.po: Revert last change.
24811 * po/zh_CN.po: Likewise.
24812 * po/header.pot: Likewise.
24813
24814 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24815
24816 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24817 link-libc-deps to empty as target-specific variable.
24818 * Makerules (link-libc-args): New variable.
24819 (libc-for-link): Likewise.
24820 (link-libc-deps): Likewise.
24821 (lib%.so): Depend on $(link-libc-deps). Link with
24822 $(link-libc-args).
24823 (build-module): Link with $(link-libc-args).
24824 (build-module-asneeded): Likewise.
24825 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24826 list of objects.
24827 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24828 target-specific variable.
24829 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24830 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24831 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24832 libc.
24833 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24834 libc and ld.so.
24835 ($(objpfx)libpcprofile.so): Likewise.
24836 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24837 libc_nonshared.a.
24838 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24839 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24840 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24841 $(link-libc-deps).
24842 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24843 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24844 * login/Makefile ($(objpfx)libutil.so): Likewise.
24845 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24846 * math/Makefile ($(objpfx)libm.so): Likewise.
24847 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24848 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24849 variable instead of depending directly on libc.
24850 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24851 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24852 $(link-libc-deps).
24853 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24854 libc.
24855 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24856 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24857 ($(objpfx)libanl.so): Likewise.
24858 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24859 ld.so.
24860 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24861 $(link-libc-deps).
24862 * sysdeps/i386/fpu/Makefile: Remove file.
24863 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24864 ($(objpfx)libm.so): Remove dependency on ld.so.
24865
24866 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24867
24868 [BZ # 15553]
24869 * nis/yp_xdr.c (XDRMAXNAME): Define.
24870 (XDRMAXRECORD): Define.
24871 (xdr_domainname): Use XDRMAXNAME.
24872 (xdr_mapname): Likewise.
24873 (xdr_peername): Likewise.
24874 (xdr_keydat): Use XDRMAXRECORD.
24875 (xdr_valdat): Likewise.
24876
24877 2013-05-30 Jeff Law <law@redhat.com>
24878
24879 [BZ #14256]
24880 * manual/errno.texi (ESTALE): Update to account for more than
24881 just NFS file systems.
24882 * sysdeps/gnu/errlist.c: Regenerated.
24883
24884 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24885
24886 [BZ #15465]
24887 * elf/Makefile (tests): Add tst-null-argv.
24888 (modules-names): Add tst-null-argv-lib.
24889 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24890 (tst-null-argv-ENV): Set environment for tst-null-argv.
24891 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24892 (RTLD_PROGNAME): New macro.
24893 * elf/tst-null-argv.c: New test case.
24894 * elf/tst-null-argv-lib.c: Library for test case.
24895 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24896 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24897 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24898 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24899 * elf/dl-init.c (call_init): Likewise.
24900 (_dl_init): Likewise.
24901 * elf/dl-load.c (print_search_path): Likewise.
24902 (_dl_map_object): Likewise.
24903 * elf/dl-lookup.c (do_lookup_x): Likewise.
24904 (add_dependency): Likewise.
24905 (_dl_lookup_symbol_x): Likewise.
24906 (_dl_debug_bindings): Likewise.
24907 * elf/dl-open.c (_dl_show_scope): Likewise.
24908 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24909 * elf/dl-version.c (match_symbol): Likewise.
24910 (_dl_check_map_versions): Likewise.
24911 * elf/rtld.c (dl_main): Likewise.
24912 (print_unresolved): Use RTLD_PROGNAME.
24913 (print_missing_version): Likewise.
24914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24915 (elf_machine_rela): Likewise.
24916 * sysdeps/powerpc/powerpc32/dl-machine.c
24917 (__process_machine_rela): Likewise.
24918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24919 Likewise.
24920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24921 Likewise.
24922 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24923 Likewise.
24924 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24925 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24926 Likewise.
24927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24928 Likewise.
24929 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24930
24931 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24932
24933 * po/be.po: Add descriptive title.
24934 * po/zh_CN.po: Likewise.
24935 * po/header.pot: Likewise.
24936
24937 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24938
24939 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24940 error message.
24941 (enlarge_archive): Likewise.
24942
24943 2013-05-28 Ben North <ben@redfrontdoor.org>
24944
24945 * manual/arith.texi (frexp): It is the magnitude of the return
24946 value which lies in [0.5, 1), not the return value itself.
24947
24948 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24949
24950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24951
24952 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24953
24954 * stdio-common/bug26.c (main): Correct fscanf template.
24955
24956 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24957 declare _dl_skip_args.
24958
24959 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24960 Don't declare.
24961
24962 * manual/platform.texi: Add missing @end deftypefun.
24963
24964 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24965
24966 [BZ #15529]
24967 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24968 bit of mantissa of 2^16382.
24969 * math/libm-test.inc (hypot_test_data): Add more tests.
24970
24971 * math/libm-test.inc: Add drem and pow10 to list of tested
24972 functions.
24973 (pow10_test): New function.
24974 (drem_test): Likewise.
24975 (drem_test_tonearest): Likewise.
24976 (drem_test_towardzero): Likewise.
24977 (drem_test_downward): Likewise.
24978 (drem_test_upward): Likewise.
24979 (main): Call the new functions.
24980
24981 * math/libm-test.inc (finite_test_data): Remove.
24982 (finite_test): Run tests from isfinite_test_data.
24983 (gamma_test_data): Remove.
24984 (gamma_test): Run tests from lgamma_test_data.
24985 * sysdeps/i386/fpu/libm-test-ulps: Update.
24986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24987
24988 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24989
24990 * manual/platform.texi: Add PowerPC PPR function set documentation.
24991 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24992 implementation.
24993
24994 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24995
24996 * math/libm-test.inc (MAX_EXP): Define.
24997 (ULPDIFF): Define.
24998 (ulp): New function.
24999 (check_float_internal): Use ULPDIFF.
25000 (cpow_test): Disable failing test.
25001 (check_ulp): Test ulp() implemetnation.
25002 (main): Call check_ulp before starting tests.
25003
25004 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25005
25006 * math/gen-libm-test.pl (generate_testfile): Do not handle
25007 START_DATA and END_DATA.
25008 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25009 END_DATA.
25010 (acos_tonearest_test_data): Likewise.
25011 (acos_towardzero_test_data): Likewise.
25012 (acos_downward_test_data): Likewise.
25013 (acos_upward_test_data): Likewise.
25014 (acosh_test_data): Likewise.
25015 (asin_test_data): Likewise.
25016 (asin_tonearest_test_data): Likewise.
25017 (asin_towardzero_test_data): Likewise.
25018 (asin_downward_test_data): Likewise.
25019 (asin_upward_test_data): Likewise.
25020 (asinh_test_data): Likewise.
25021 (atan_test_data): Likewise.
25022 (atanh_test_data): Likewise.
25023 (atan2_test_data): Likewise.
25024 (cabs_test_data): Likewise.
25025 (cacos_test_data): Likewise.
25026 (cacosh_test_data): Likewise.
25027 (carg_test_data): Likewise.
25028 (casin_test_data): Likewise.
25029 (casinh_test_data): Likewise.
25030 (catan_test_data): Likewise.
25031 (catanh_test_data): Likewise.
25032 (cbrt_test_data): Likewise.
25033 (ccos_test_data): Likewise.
25034 (ccosh_test_data): Likewise.
25035 (ceil_test_data): Likewise.
25036 (cexp_test_data): Likewise.
25037 (cimag_test_data): Likewise.
25038 (clog_test_data): Likewise.
25039 (clog10_test_data): Likewise.
25040 (conj_test_data): Likewise.
25041 (copysign_test_data): Likewise.
25042 (cos_test_data): Likewise.
25043 (cos_tonearest_test_data): Likewise.
25044 (cos_towardzero_test_data): Likewise.
25045 (cos_downward_test_data): Likewise.
25046 (cos_upward_test_data): Likewise.
25047 (cosh_test_data): Likewise.
25048 (cosh_tonearest_test_data): Likewise.
25049 (cosh_towardzero_test_data): Likewise.
25050 (cosh_downward_test_data): Likewise.
25051 (cosh_upward_test_data): Likewise.
25052 (cpow_test_data): Likewise.
25053 (cproj_test_data): Likewise.
25054 (creal_test_data): Likewise.
25055 (csin_test_data): Likewise.
25056 (csinh_test_data): Likewise.
25057 (csqrt_test_data): Likewise.
25058 (ctan_test_data): Likewise.
25059 (ctan_tonearest_test_data): Likewise.
25060 (ctan_towardzero_test_data): Likewise.
25061 (ctan_downward_test_data): Likewise.
25062 (ctan_upward_test_data): Likewise.
25063 (ctanh_test_data): Likewise.
25064 (ctanh_tonearest_test_data): Likewise.
25065 (ctanh_towardzero_test_data): Likewise.
25066 (ctanh_downward_test_data): Likewise.
25067 (ctanh_upward_test_data): Likewise.
25068 (erf_test_data): Likewise.
25069 (erfc_test_data): Likewise.
25070 (exp_test_data): Likewise.
25071 (exp_tonearest_test_data): Likewise.
25072 (exp_towardzero_test_data): Likewise.
25073 (exp_downward_test_data): Likewise.
25074 (exp_upward_test_data): Likewise.
25075 (exp10_test_data): Likewise.
25076 (exp2_test_data): Likewise.
25077 (expm1_test_data): Likewise.
25078 (fabs_test_data): Likewise.
25079 (fdim_test_data): Likewise.
25080 (finite_test_data): Likewise.
25081 (floor_test_data): Likewise.
25082 (fma_test_data): Likewise.
25083 (fma_towardzero_test_data): Likewise.
25084 (fma_downward_test_data): Likewise.
25085 (fma_upward_test_data): Likewise.
25086 (fmax_test_data): Likewise.
25087 (fmin_test_data): Likewise.
25088 (fmod_test_data): Likewise.
25089 (fpclassify_test_data): Likewise.
25090 (frexp_test_data): Likewise.
25091 (gamma_test_data): Likewise.
25092 (hypot_test_data): Likewise.
25093 (ilogb_test_data): Likewise.
25094 (isfinite_test_data): Likewise.
25095 (isgreater_test_data): Likewise.
25096 (isgreaterequal_test_data): Likewise.
25097 (isinf_test_data): Likewise.
25098 (isless_test_data): Likewise.
25099 (islessequal_test_data): Likewise.
25100 (islessgreater_test_data): Likewise.
25101 (isnan_test_data): Likewise.
25102 (isnormal_test_data): Likewise.
25103 (issignaling_test_data): Likewise.
25104 (isunordered_test_data): Likewise.
25105 (j0_test_data): Likewise.
25106 (j1_test_data): Likewise.
25107 (jn_test_data): Likewise.
25108 (ldexp_test_data): Likewise.
25109 (lgamma_test_data): Likewise.
25110 (lrint_test_data): Likewise.
25111 (lrint_tonearest_test_data): Likewise.
25112 (lrint_towardzero_test_data): Likewise.
25113 (lrint_downward_test_data): Likewise.
25114 (lrint_upward_test_data): Likewise.
25115 (llrint_test_data): Likewise.
25116 (llrint_tonearest_test_data): Likewise.
25117 (llrint_towardzero_test_data): Likewise.
25118 (llrint_downward_test_data): Likewise.
25119 (llrint_upward_test_data): Likewise.
25120 (log_test_data): Likewise.
25121 (log10_test_data): Likewise.
25122 (log1p_test_data): Likewise.
25123 (log2_test_data): Likewise.
25124 (logb_test_data): Likewise.
25125 (logb_downward_test_data): Likewise.
25126 (lround_test_data): Likewise.
25127 (llround_test_data): Likewise.
25128 (modf_test_data): Likewise.
25129 (nearbyint_test_data): Likewise.
25130 (nextafter_test_data): Likewise.
25131 (nexttoward_test_data): Likewise.
25132 (pow_test_data): Likewise.
25133 (pow_tonearest_test_data): Likewise.
25134 (pow_towardzero_test_data): Likewise.
25135 (pow_downward_test_data): Likewise.
25136 (pow_upward_test_data): Likewise.
25137 (remainder_test_data): Likewise.
25138 (remainder_tonearest_test_data): Likewise.
25139 (remainder_towardzero_test_data): Likewise.
25140 (remainder_downward_test_data): Likewise.
25141 (remainder_upward_test_data): Likewise.
25142 (remquo_test_data): Likewise.
25143 (rint_test_data): Likewise.
25144 (rint_tonearest_test_data): Likewise.
25145 (rint_towardzero_test_data): Likewise.
25146 (rint_downward_test_data): Likewise.
25147 (rint_upward_test_data): Likewise.
25148 (round_test_data): Likewise.
25149 (scalb_test_data): Likewise.
25150 (scalbn_test_data): Likewise.
25151 (scalbln_test_data): Likewise.
25152 (signbit_test_data): Likewise.
25153 (sin_test_data): Likewise.
25154 (sin_tonearest_test_data): Likewise.
25155 (sin_towardzero_test_data): Likewise.
25156 (sin_downward_test_data): Likewise.
25157 (sin_upward_test_data): Likewise.
25158 (sincos_test_data): Likewise.
25159 (sinh_test_data): Likewise.
25160 (sinh_tonearest_test_data): Likewise.
25161 (sinh_towardzero_test_data): Likewise.
25162 (sinh_downward_test_data): Likewise.
25163 (sinh_upward_test_data): Likewise.
25164 (sqrt_test_data): Likewise.
25165 (tan_test_data): Likewise.
25166 (tan_tonearest_test_data): Likewise.
25167 (tan_towardzero_test_data): Likewise.
25168 (tan_downward_test_data): Likewise.
25169 (tan_upward_test_data): Likewise.
25170 (tanh_test_data): Likewise.
25171 (tgamma_test_data): Likewise.
25172 (trunc_test_data): Likewise.
25173 (y0_test_data): Likewise.
25174 (y1_test_data): Likewise.
25175 (yn_test_data): Likewise.
25176 (significand_test_data): Likewise.
25177
25178 * math/gen-libm-test.pl (@functions): Remove variable.
25179 (generate_testfile): Don't handle START and END lines.
25180 * math/libm-test.inc (START): New macro.
25181 (END): Likewise.
25182 (END_COMPLEX): Likewise.
25183 (acos_test): Use END macro without arguments.
25184 (acos_test_tonearest): Likewise.
25185 (acos_test_towardzero): Likewise.
25186 (acos_test_downward): Likewise.
25187 (acos_test_upward): Likewise.
25188 (acosh_test): Likewise.
25189 (asin_test): Likewise.
25190 (asin_test_tonearest): Likewise.
25191 (asin_test_towardzero): Likewise.
25192 (asin_test_downward): Likewise.
25193 (asin_test_upward): Likewise.
25194 (asinh_test): Likewise.
25195 (atan_test): Likewise.
25196 (atanh_test): Likewise.
25197 (atan2_test): Likewise.
25198 (cabs_test): Likewise.
25199 (cacos_test): Use END_COMPLEX macro without arguments.
25200 (cacosh_test): Likewise.
25201 (carg_test): Use END macro without arguments.
25202 (casin_test): Use END_COMPLEX macro without arguments.
25203 (casinh_test): Likewise.
25204 (catan_test): Likewise.
25205 (catanh_test): Likewise.
25206 (cbrt_test): Use END macro without arguments.
25207 (ccos_test): Use END_COMPLEX macro without arguments.
25208 (ccosh_test): Likewise.
25209 (ceil_test): Use END macro without arguments.
25210 (cexp_test): Use END_COMPLEX macro without arguments.
25211 (cimag_test): Use END macro without arguments.
25212 (clog_test): Use END_COMPLEX macro without arguments.
25213 (clog10_test): Likewise.
25214 (conj_test): Likewise.
25215 (copysign_test): Use END macro without arguments.
25216 (cos_test): Likewise.
25217 (cos_test_tonearest): Likewise.
25218 (cos_test_towardzero): Likewise.
25219 (cos_test_downward): Likewise.
25220 (cos_test_upward): Likewise.
25221 (cosh_test): Likewise.
25222 (cosh_test_tonearest): Likewise.
25223 (cosh_test_towardzero): Likewise.
25224 (cosh_test_downward): Likewise.
25225 (cosh_test_upward): Likewise.
25226 (cpow_test): Use END_COMPLEX macro without arguments.
25227 (cproj_test): Likewise.
25228 (creal_test): Use END macro without arguments.
25229 (csin_test): Use END_COMPLEX macro without arguments.
25230 (csinh_test): Likewise.
25231 (csqrt_test): Likewise.
25232 (ctan_test): Likewise.
25233 (ctan_test_tonearest): Likewise.
25234 (ctan_test_towardzero): Likewise.
25235 (ctan_test_downward): Likewise.
25236 (ctan_test_upward): Likewise.
25237 (ctanh_test): Likewise.
25238 (ctanh_test_tonearest): Likewise.
25239 (ctanh_test_towardzero): Likewise.
25240 (ctanh_test_downward): Likewise.
25241 (ctanh_test_upward): Likewise.
25242 (erf_test): Use END macro without arguments.
25243 (erfc_test): Likewise.
25244 (exp_test): Likewise.
25245 (exp_test_tonearest): Likewise.
25246 (exp_test_towardzero): Likewise.
25247 (exp_test_downward): Likewise.
25248 (exp_test_upward): Likewise.
25249 (exp10_test): Likewise.
25250 (exp2_test): Likewise.
25251 (expm1_test): Likewise.
25252 (fabs_test): Likewise.
25253 (fdim_test): Likewise.
25254 (finite_test): Likewise.
25255 (floor_test): Likewise.
25256 (fma_test): Likewise.
25257 (fma_test_towardzero): Likewise.
25258 (fma_test_downward): Likewise.
25259 (fma_test_upward): Likewise.
25260 (fmax_test): Likewise.
25261 (fmin_test): Likewise.
25262 (fmod_test): Likewise.
25263 (fpclassify_test): Likewise.
25264 (frexp_test): Likewise.
25265 (gamma_test): Likewise.
25266 (hypot_test): Likewise.
25267 (ilogb_test): Likewise.
25268 (isfinite_test): Likewise.
25269 (isgreater_test): Likewise.
25270 (isgreaterequal_test): Likewise.
25271 (isinf_test): Likewise.
25272 (isless_test): Likewise.
25273 (islessequal_test): Likewise.
25274 (islessgreater_test): Likewise.
25275 (isnan_test): Likewise.
25276 (isnormal_test): Likewise.
25277 (issignaling_test): Likewise.
25278 (isunordered_test): Likewise.
25279 (j0_test): Likewise.
25280 (j1_test): Likewise.
25281 (jn_test): Likewise.
25282 (ldexp_test): Likewise.
25283 (lgamma_test): Likewise.
25284 (lrint_test): Likewise.
25285 (lrint_test_tonearest): Likewise.
25286 (lrint_test_towardzero): Likewise.
25287 (lrint_test_downward): Likewise.
25288 (lrint_test_upward): Likewise.
25289 (llrint_test): Likewise.
25290 (llrint_test_tonearest): Likewise.
25291 (llrint_test_towardzero): Likewise.
25292 (llrint_test_downward): Likewise.
25293 (llrint_test_upward): Likewise.
25294 (log_test): Likewise.
25295 (log10_test): Likewise.
25296 (log1p_test): Likewise.
25297 (log2_test): Likewise.
25298 (logb_test): Likewise.
25299 (logb_test_downward): Likewise.
25300 (lround_test): Likewise.
25301 (llround_test): Likewise.
25302 (modf_test): Likewise.
25303 (nearbyint_test): Likewise.
25304 (nextafter_test): Likewise.
25305 (nexttoward_test): Likewise.
25306 (pow_test): Likewise.
25307 (pow_test_tonearest): Likewise.
25308 (pow_test_towardzero): Likewise.
25309 (pow_test_downward): Likewise.
25310 (pow_test_upward): Likewise.
25311 (remainder_test): Likewise.
25312 (remainder_test_tonearest): Likewise.
25313 (remainder_test_towardzero): Likewise.
25314 (remainder_test_downward): Likewise.
25315 (remainder_test_upward): Likewise.
25316 (remquo_test): Likewise.
25317 (rint_test): Likewise.
25318 (rint_test_tonearest): Likewise.
25319 (rint_test_towardzero): Likewise.
25320 (rint_test_downward): Likewise.
25321 (rint_test_upward): Likewise.
25322 (round_test): Likewise.
25323 (scalb_test): Likewise.
25324 (scalbn_test): Likewise.
25325 (scalbln_test): Likewise.
25326 (signbit_test): Likewise.
25327 (sin_test): Likewise.
25328 (sin_test_tonearest): Likewise.
25329 (sin_test_towardzero): Likewise.
25330 (sin_test_downward): Likewise.
25331 (sin_test_upward): Likewise.
25332 (sincos_test): Likewise.
25333 (sinh_test): Likewise.
25334 (sinh_test_tonearest): Likewise.
25335 (sinh_test_towardzero): Likewise.
25336 (sinh_test_downward): Likewise.
25337 (sinh_test_upward): Likewise.
25338 (sqrt_test): Likewise.
25339 (tan_test): Likewise.
25340 (tan_test_tonearest): Likewise.
25341 (tan_test_towardzero): Likewise.
25342 (tan_test_downward): Likewise.
25343 (tan_test_upward): Likewise.
25344 (tanh_test): Likewise.
25345 (tgamma_test): Likewise.
25346 (trunc_test): Likewise.
25347 (y0_test): Likewise.
25348 (y1_test): Likewise.
25349 (yn_test): Likewise.
25350 (significand_test): Likewise.
25351
25352 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25353
25354 [BZ #15381]
25355 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25356
25357 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25358
25359 [BZ #14894]
25360 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25361 __ppc_mdoio and __ppc_mdoom.
25362 * manual/platform.texi: Document new functions __ppc_yield,
25363 __ppc_mdoio and __ppc_mdoom.
25364
25365 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25366
25367 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25368 (main): Mention "tls" pseudo-hwcap is legacy.
25369 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25370
25371 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25372
25373 * math/gen-libm-test.pl (parse_args): Output only string of
25374 arguments as text for test name, not full call or descriptions of
25375 tests for extra outputs.
25376 (generate_testfile): Do not pass function name to parse_args.
25377 Generate this_func variable from START.
25378 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25379 field to arg_str.
25380 (struct test_ff_f_data): Likewise.
25381 (test_ff_f_data_nexttoward): Likewise.
25382 (struct test_fi_f_data): Likewise.
25383 (struct test_fl_f_data): Likewise.
25384 (struct test_if_f_data): Likewise.
25385 (struct test_fff_f_data): Likewise.
25386 (struct test_c_f_data): Likewise.
25387 (struct test_f_f1_data): Likewise. Remove field extra_name.
25388 (struct test_fF_f1_data): Likewise.
25389 (struct test_ffI_f1_data): Likewise.
25390 (struct test_c_c_data): Rename test_name field to arg_str.
25391 (struct test_cc_c_data): Likewise.
25392 (struct test_f_i_data): Likewise.
25393 (struct test_ff_i_data): Likewise.
25394 (struct test_f_l_data): Likewise.
25395 (struct test_f_L_data): Likewise.
25396 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25397 and extra2_name.
25398 (COMMON_TEST_SETUP): New macro.
25399 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25400 (COMMON_TEST_CLEANUP): Likewise.
25401 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25402 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25403 macros.
25404 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25405 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25406 macros.
25407 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25408 (RUN_TEST_fff_f): Take argument string. Call new setup and
25409 cleanup macros.
25410 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25411 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25412 macros.
25413 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25414 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25415 macros.
25416 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25417 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25418 cleanup macros.
25419 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25420 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25421 cleanup macros.
25422 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25423 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25424 cleanup macros.
25425 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25426 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25427 macros.
25428 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25429 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25430 macros.
25431 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25432 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25433 macros.
25434 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25435 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25436 cleanup macros.
25437 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25438 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25439 cleanup macros.
25440 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25441 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25442 macros.
25443 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25444 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25445 cleanup macros.
25446 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25447 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25448 macros.
25449 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25450 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25451 macros.
25452 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25453 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25454 cleanup macros.
25455 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25456
25457 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25458
25459 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25460 to _sifields.sigfault.
25461 (si_addr_lsb): Define new macro.
25462 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25464 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25465
25466 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25467
25468 [BZ #15441]
25469 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25470 returns -1.
25471 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25472 null return -1.
25473 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25474 loading the domain.
25475
25476 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25477
25478 * math/gen-libm-test.pl (parse_args): Do not include expected
25479 result in test name.
25480 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25481 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25482 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25483 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25484 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25486
25487 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25488
25489 * benchtests/Makefile: Sort function entries.
25490
25491 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25492 tanh, asinh, acosh, atanh.
25493 * benchtests/acos-inputs: New file.
25494 * benchtests/acosh-inputs: New file.
25495 * benchtests/asin-inputs: New file.
25496 * benchtests/asinh-inputs: New file.
25497 * benchtests/atanh-inputs: New file.
25498 * benchtests/cosh-inputs: New file.
25499 * benchtests/log-inputs: New file.
25500 * benchtests/sinh-inputs: New file.
25501 * benchtests/tanh-inputs: New file.
25502
25503 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25504
25505 [BZ #15339]
25506 * posix/tst-getaddrinfo4.c: New test.
25507 * posix/Makefile (tests): Add it.
25508
25509 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25510
25511 [BZ #15339]
25512 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25513 when no services were used.
25514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25515 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25516
25517 2013-05-21 Andreas Schwab <schwab@suse.de>
25518
25519 [BZ #15014]
25520 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25521 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25522 successful.
25523 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25524 redundant variable declarations and reallocation of buffer when
25525 parsing as IPv6 address. Always set NSS status when called from
25526 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25527 buffer too small. Correct computation of needed size.
25528 * nss/Makefile (tests): Add test-digits-dots.
25529 * nss/test-digits-dots.c: New test.
25530
25531 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25532
25533 * benchtests/Makefile: Remove instructions for adding
25534 benchmark tests.
25535 * benchtests/README: New file to explain how to execute and
25536 enhance the benchmark tests.
25537
25538 2013-05-21 Andreas Schwab <schwab@suse.de>
25539
25540 [BZ #15493]
25541 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25542 * setjmp/tst-sigsetjmp.c: New test.
25543
25544 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25545
25546 * sysdeps/x86_64/memset.S (memset): New implementation.
25547 (__bzero): Likewise.
25548 (__memset_tail): New function.
25549
25550 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25551
25552 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25553 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25554 __memcpy_sse2_unaligned ifunc selection.
25555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25556 Add memcpy-sse2-unaligned.S.
25557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25558 Add: __memcpy_sse2_unaligned.
25559
25560 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25561
25562 [BZ #15490]
25563 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25564 math_force_eval before restoring floating-point envrionment.
25565 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25567 Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25569 <math_private.h>.
25570 (__nearbyintl): Use math_force_eval before restoring
25571 floating-point environment.
25572 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25573
25574 * math/gen-libm-test.pl (special_functions): Remove.
25575 (parse_args): Don't handle TEST_extra. Handle functions with no
25576 return value.
25577 * math/libm-test.inc (struct test_sincos_data): Replace with
25578 struct test_fFF_11_data.
25579 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25580 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25581 (sincos_test_data): Change element type to struct
25582 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25583 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25584 RUN_TEST_LOOP_sincos.
25585 * math/README.libm-test: Don't mention special handling of
25586 individual functions.
25587 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25589 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25590 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25591 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25593
25594 * math/gen-libm-test.pl (get_variable): Remove function.
25595 (parse_args): Don't show pointer parameters to call in test
25596 names. Use "extra output N" in test names for extra outputs
25597 rather than naming variables.
25598
25599 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25600
25601 [BZ #15488]
25602 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25603 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25604 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25605 double tests.
25606 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25607 disable.
25608 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25609 check_long_double.
25610
25611 * math/gen-libm-test.pl (@tests): Remove variable.
25612 ($count): Likewise.
25613 (new_test): Remove function.
25614 (show_exceptions): New function.
25615 (special_functions): Use show_exceptions instead of new_test.
25616 (parse_args): Likewise.
25617 (generate_testfile): Pass only function name in generated call to
25618 print_max_error or print_complex_max_error.
25619 (get_ulps): Do not handle complex tests specially.
25620 (output_test): Rename to ...
25621 (get_all_ulps_for_test): ... this. Return a string rather than
25622 printing to a file. Require ulps to be present.
25623 (output_ulps): Generate arrays rather than #defines.
25624 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25625 (struct ulp_data): New type.
25626 (BUILD_COMPLEX_ULP): Remove macro.
25627 (compare_ulp_data): New function.
25628 (find_ulps): Likewise.
25629 (find_test_ulps): Likewise.
25630 (find_function_ulps): Likewise.
25631 (find_complex_function_ulps): Likewise.
25632 (print_max_error): Determine allowed ulps using
25633 find_function_ulps.
25634 (print_complex_max_error): Determine allowed ulps using
25635 find_complex_function_ulps.
25636 (check_float_internal): Determine max ulps using find_test_ulps.
25637 (check_float): Do not take max_ulp parameter. Update call to
25638 check_float_internal.
25639 (check_complex): Likewise.
25640 (check_int): Do not take max_ulp parameter.
25641 (check_long): Likewise.
25642 (check_bool): Likewise.
25643 (check_longlong): Likewise.
25644 (struct test_f_f_data): Remove max_ulp field.
25645 (struct test_ff_f_data): Likewise.
25646 (struct test_ff_f_data_nexttoward): Likewise.
25647 (struct test_fi_f_data): Likewise.
25648 (struct test_fl_f_data): Likewise.
25649 (struct test_if_f_data): Likewise.
25650 (struct test_fff_f_data): Likewise.
25651 (struct test_c_f_data): Likewise.
25652 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25653 (struct test_fF_f1_data): Likewise.
25654 (struct test_ffI_f1_data): Likewise.
25655 (struct test_c_c_data): Remove max_ulp field.
25656 (struct test_cc_c_data): Likewise.
25657 (struct test_f_i_data): Likewise.
25658 (struct test_ff_i_data): Likewise.
25659 (struct test_f_l_data): Likewise.
25660 (struct test_f_L_data): Likewise.
25661 (struct test_sincos_data): Likewise.
25662 (RUN_TEST_f_f): Do not handle ulps.
25663 (RUN_TEST_LOOP_f_f): Likewise.
25664 (RUN_TEST_2_f): Likewise.
25665 (RUN_TEST_LOOP_2_f): Likewise.
25666 (RUN_TEST_fff_f): Likewise.
25667 (RUN_TEST_LOOP_fff_f): Likewise.
25668 (RUN_TEST_c_f): Likewise.
25669 (RUN_TEST_LOOP_c_f): Likewise.
25670 (RUN_TEST_f_f1): Likewise.
25671 (RUN_TEST_LOOP_f_f1): Likewise.
25672 (RUN_TEST_fF_f1): Likewise.
25673 (RUN_TEST_LOOP_fF_f1): Likewise.
25674 (RUN_TEST_fI_f1): Likewise.
25675 (RUN_TEST_LOOP_fI_f1): Likewise.
25676 (RUN_TEST_ffI_f1): Likewise.
25677 (RUN_TEST_LOOP_ffI_f1): Likewise.
25678 (RUN_TEST_c_c): Likewise.
25679 (RUN_TEST_LOOP_c_c): Likewise.
25680 (RUN_TEST_cc_c): Likewise.
25681 (RUN_TEST_LOOP_cc_c): Likewise.
25682 (RUN_TEST_f_i): Likewise.
25683 (RUN_TEST_LOOP_f_i): Likewise.
25684 (RUN_TEST_f_i_tg): Likewise.
25685 (RUN_TEST_LOOP_f_i_tg): Likewise.
25686 (RUN_TEST_ff_i_tg): Likewise.
25687 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25688 (RUN_TEST_f_b): Likewise.
25689 (RUN_TEST_LOOP_f_b): Likewise.
25690 (RUN_TEST_f_b_tg): Likewise.
25691 (RUN_TEST_LOOP_f_b_tg): Likewise.
25692 (RUN_TEST_f_l): Likewise.
25693 (RUN_TEST_LOOP_f_l): Likewise.
25694 (RUN_TEST_f_L): Likewise.
25695 (RUN_TEST_LOOP_f_L): Likewise.
25696 (RUN_TEST_sincos): Likewise.
25697 (RUN_TEST_LOOP_sincos): Likewise.
25698
25699 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25700
25701 [BZ #15480]
25702 [BZ #15485]
25703 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25704 main case of finite arguments, set rounding mode to FE_TONEAREST
25705 and discard exceptions.
25706 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25707 exceptions.
25708 (remainder_tonearest_test_data): New variable.
25709 (remainder_test_tonearest): New function.
25710 (remainder_towardzero_test_data): New variable.
25711 (remainder_test_towardzero): New function.
25712 (remainder_downward_test_data): New variable.
25713 (remainder_test_downward): New function.
25714 (remainder_upward_test_data): New variable.
25715 (remainder_test_upward): New function.
25716 (main): Call the new test functions.
25717
25718 * math/libm-test.inc (struct test_f_f1_data): Remove field
25719 extra_init.
25720 (struct test_fF_f1_data): Likewise.
25721 (struct test_ffI_f1_data): Likewise.
25722 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25723 based on value of EXTRA_EXPECTED.
25724 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25725 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25726 EXTRA_VAR based on value of EXTRA_EXPECTED.
25727 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25728 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25729 EXTRA_VAR based on value of EXTRA_EXPECTED.
25730 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25731 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25732 EXTRA_VAR based on value of EXTRA_EXPECTED.
25733 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25734 * math/gen-libm-test.pl (parse_args): Don't output initializers
25735 for extra output values.
25736
25737 * math/libm-test.inc (check_int): Expect result to be exactly
25738 equal to expected value and do not handle ulps.
25739 (check_long): Likewise.
25740 (check_longlong): Likewise.
25741
25742 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25743 exceptions.
25744 (cimag_test_data): Likewise.
25745 (conj_test_data): Likewise.
25746 (copysign_test_data): Likewise.
25747 (cproj_test_data): Likewise.
25748 (creal_test_data): Likewise.
25749 (fabs_test_data): Likewise.
25750 (fdim_test_data): Likewise.
25751 (finite_test_data): Likewise.
25752 (floor_test_data): Likewise.
25753 (fmax_test_data): Likewise.
25754 (fmin_test_data): Likewise.
25755 (fmod_test_data): Likewise.
25756 (fpclassify_test_data): Likewise.
25757 (frexp_test_data): Likewise.
25758 (ilogb_test_data): Likewise.
25759 (isfinite_test_data): Likewise.
25760 (isgreater_test_data): Likewise.
25761 (isgreaterequal_test_data): Likewise.
25762 (isinf_test_data): Likewise.
25763 (isless_test_data): Likewise.
25764 (islessequal_test_data): Likewise.
25765 (islessgreater_test_data): Likewise.
25766 (isnan_test_data): Likewise.
25767 (isnormal_test_data): Likewise.
25768 (issignaling_test_data): Likewise.
25769 (isunordered_test_data): Likewise.
25770 (ldexp_test_data): Likewise.
25771 (lrint_test_data): Likewise.
25772 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25773 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25774 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25775 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25776 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25777 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25778 test input.
25779 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25780 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25781 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25782 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25783 that test input.
25784 (lrint_downward_test_data): Test for "inexact" exceptions.
25785 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25786 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25787 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25788 test input.
25789 (lrint_upward_test_data): Test for "inexact" exceptions.
25790 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25791 test input.
25792 (llrint_test_data): Test for "inexact" exceptions.
25793 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25794 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25795 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25796 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25797 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25798 (llrint_downward_test_data): Test for "inexact" exceptions.
25799 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25800 (llrint_upward_test_data): Test for "inexact" exceptions.
25801 (logb_test_data): Likewise.
25802 (logb_downward_test_data): Likewise.
25803 (nextafter_test_data): Likewise.
25804 (nexttoward_test_data): Likewise.
25805 (remainder_test_data): Likewise.
25806 (remquo_test_data): Likewise.
25807 (scalbn_test_data): Likewise.
25808 (scalbln_test_data): Likewise.
25809 (signbit_test_data): Likewise.
25810 (sqrt_test_data): Likewise.
25811 (significand_test_data): Likewise.
25812
25813 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25814
25815 [BZ #15424]
25816 * benchtests/bench-modf.c (struct args): Mark arg0 as
25817 volatile.
25818 * scripts/bench.pl: Mark members of struct args as volatile.
25819
25820 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25821
25822 [BZ # 15497]
25823 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25824 negative infinity on POWER6 or lower.
25825 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25826
25827 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25828
25829 [BZ #15442]
25830 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25831 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25832 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25833 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25834 (_FP_SETQNAN): New macro.
25835 (_FP_SETQNAN_SEMIRAW): Likewise.
25836 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25837 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25838 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25839 (FP_EXTEND): Use _FP_FRAC_SNANP.
25840 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25841 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25842 into account.
25843 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25844 New macro.
25845 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25846 Likewise.
25847
25848 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25849
25850 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25851 with DIVIDE_BY_ZERO_EXCEPTION.
25852 (gamma_test_data): Likewise.
25853 (lgamma_test_data): Likewise.
25854 (log_test_data): Likewise.
25855 (log10_test_data): Likewise.
25856 (log2_test_data): Likewise.
25857 (tgamma_test_data): Likewise.
25858
25859 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25860 (acos_test_tonearest): Likewise.
25861 (acos_test_towardzero): Likewise.
25862 (acos_test_downward): Likewise.
25863 (acos_test_upward): Likewise.
25864 (acosh_test): Likewise.
25865 (asin_test): Likewise.
25866 (asin_test_tonearest): Likewise.
25867 (asin_test_towardzero): Likewise.
25868 (asin_test_downward): Likewise.
25869 (asin_test_upward): Likewise.
25870 (asinh_test): Likewise.
25871 (atan_test): Likewise.
25872 (atanh_test): Likewise.
25873 (atan2_test): Likewise.
25874 (cabs_test): Likewise.
25875 (cacos_test): Likewise.
25876 (cacosh_test): Likewise.
25877 (casin_test): Likewise.
25878 (casinh_test): Likewise.
25879 (catan_test): Likewise.
25880 (catanh_test): Likewise.
25881 (cbrt_test): Likewise.
25882 (ccos_test): Likewise.
25883 (ccosh_test): Likewise.
25884 (cexp_test): Likewise.
25885 (clog_test): Likewise.
25886 (clog10_test): Likewise.
25887 (cos_test): Likewise.
25888 (cos_test_tonearest): Likewise.
25889 (cos_test_towardzero): Likewise.
25890 (cos_test_downward): Likewise.
25891 (cos_test_upward): Likewise.
25892 (cosh_test): Likewise.
25893 (cosh_test_tonearest): Likewise.
25894 (cosh_test_towardzero): Likewise.
25895 (cosh_test_downward): Likewise.
25896 (cosh_test_upward): Likewise.
25897 (cpow_test): Likewise.
25898 (csin_test): Likewise.
25899 (csinh_test): Likewise.
25900 (csqrt_test): Likewise.
25901 (ctan_test): Likewise.
25902 (ctan_test_tonearest): Likewise.
25903 (ctan_test_towardzero): Likewise.
25904 (ctan_test_downward): Likewise.
25905 (ctan_test_upward): Likewise.
25906 (ctanh_test): Likewise.
25907 (ctanh_test_tonearest): Likewise.
25908 (ctanh_test_towardzero): Likewise.
25909 (ctanh_test_downward): Likewise.
25910 (ctanh_test_upward): Likewise.
25911 (erf_test): Likewise.
25912 (erfc_test): Likewise.
25913 (exp_test): Likewise.
25914 (exp_test_tonearest): Likewise.
25915 (exp_test_towardzero): Likewise.
25916 (exp_test_downward): Likewise.
25917 (exp_test_upward): Likewise.
25918 (exp10_test): Likewise.
25919 (exp2_test): Likewise.
25920 (expm1_test): Likewise.
25921 (fmod_test): Likewise.
25922 (gamma_test): Likewise.
25923 (hypot_test): Likewise.
25924 (j0_test): Likewise.
25925 (j1_test): Likewise.
25926 (jn_test): Likewise.
25927 (lgamma_test): Likewise.
25928 (log_test): Likewise.
25929 (log10_test): Likewise.
25930 (log1p_test): Likewise.
25931 (log2_test): Likewise.
25932 (logb_test_downward): Likewise.
25933 (pow_test): Likewise.
25934 (pow_test_tonearest): Likewise.
25935 (pow_test_towardzero): Likewise.
25936 (pow_test_downward): Likewise.
25937 (pow_test_upward): Likewise.
25938 (remainder_test): Likewise.
25939 (remquo_test): Likewise.
25940 (sin_test): Likewise.
25941 (sin_test_tonearest): Likewise.
25942 (sin_test_towardzero): Likewise.
25943 (sin_test_downward): Likewise.
25944 (sin_test_upward): Likewise.
25945 (sincos_test): Likewise.
25946 (sinh_test): Likewise.
25947 (sinh_test_tonearest): Likewise.
25948 (sinh_test_towardzero): Likewise.
25949 (sinh_test_downward): Likewise.
25950 (sinh_test_upward): Likewise.
25951 (sqrt_test): Likewise.
25952 (tan_test): Likewise.
25953 (tan_test_tonearest): Likewise.
25954 (tan_test_towardzero): Likewise.
25955 (tan_test_downward): Likewise.
25956 (tan_test_upward): Likewise.
25957 (tanh_test): Likewise.
25958 (tgamma_test): Likewise.
25959 (y0_test): Likewise.
25960 (y1_test): Likewise.
25961 (yn_test): Likewise.
25962
25963 * math/gen-libm-test.pl (adjust_arg): Remove function.
25964 (special_function): Remove argument $in_func. Only handle
25965 generating output for tables of tests, not inside functions.
25966 (parse_args): Likewise.
25967 (generate_testfile): Remove variable $in_func. Update call to
25968 parse_args.
25969 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25970 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25971 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25972 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25973 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25974 (MAX_VALUE_INIT): Rename macro to max_value.
25975 (MIN_VALUE_INIT): Rename macro to min_value.
25976 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25977 (plus_zero): Remove variable.
25978 (minus_zero): Likewise.
25979 (plus_infty): Likewise.
25980 (minus_infty): Likewise.
25981 (qnan_value): Likewise.
25982 (max_value): Likewise.
25983 (min_value): Likewise.
25984 (min_subnorm_value): Likewise.
25985
25986 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25987
25988 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25989 uint64_t or uint32_t usage.
25990 * crypt/sha256-block.c: Likewise.
25991 * crypt/sha256-crypt.c: Likewise.
25992 * crypt/sha256.c: Likewise.
25993 * crypt/sha512-block.c: Likewise.
25994 * crypt/sha512-crypt.c: Likewise.
25995 * crypt/sha512.c: Likewise.
25996 * debug/backtrace-tst.c: Likewise.
25997 * debug/pcprofiledump.c: Likewise.
25998 * elf/cache.c: Likewise.
25999 * elf/dl-cache.c: Likewise.
26000 * elf/dl-misc.c: Likewise.
26001 * elf/dl-profile.c: Likewise.
26002 * elf/dl-support.c: Likewise.
26003 * elf/ldconfig.c: Likewise.
26004 * elf/sprof.c: Likewise.
26005 * iconv/dummy-repertoire.c: Likewise.
26006 * iconv/iconv_charmap.c: Likewise.
26007 * iconv/skeleton.c: Likewise.
26008 * iconvdata/8bit-generic.c: Likewise.
26009 * iconvdata/cp737.h: Likewise.
26010 * iconvdata/cp775.h: Likewise.
26011 * iconvdata/ibm1008.h: Likewise.
26012 * iconvdata/ibm1025.h: Likewise.
26013 * iconvdata/ibm1046.h: Likewise.
26014 * iconvdata/ibm1097.h: Likewise.
26015 * iconvdata/ibm1112.h: Likewise.
26016 * iconvdata/ibm1122.h: Likewise.
26017 * iconvdata/ibm1123.h: Likewise.
26018 * iconvdata/ibm1124.h: Likewise.
26019 * iconvdata/ibm1129.h: Likewise.
26020 * iconvdata/ibm1130.h: Likewise.
26021 * iconvdata/ibm1132.h: Likewise.
26022 * iconvdata/ibm1133.h: Likewise.
26023 * iconvdata/ibm1137.h: Likewise.
26024 * iconvdata/ibm1140.h: Likewise.
26025 * iconvdata/ibm1141.h: Likewise.
26026 * iconvdata/ibm1142.h: Likewise.
26027 * iconvdata/ibm1143.h: Likewise.
26028 * iconvdata/ibm1144.h: Likewise.
26029 * iconvdata/ibm1145.h: Likewise.
26030 * iconvdata/ibm1146.h: Likewise.
26031 * iconvdata/ibm1147.h: Likewise.
26032 * iconvdata/ibm1148.h: Likewise.
26033 * iconvdata/ibm1149.h: Likewise.
26034 * iconvdata/ibm1153.h: Likewise.
26035 * iconvdata/ibm1154.h: Likewise.
26036 * iconvdata/ibm1155.h: Likewise.
26037 * iconvdata/ibm1156.h: Likewise.
26038 * iconvdata/ibm1157.h: Likewise.
26039 * iconvdata/ibm1158.h: Likewise.
26040 * iconvdata/ibm1160.h: Likewise.
26041 * iconvdata/ibm1161.h: Likewise.
26042 * iconvdata/ibm1162.h: Likewise.
26043 * iconvdata/ibm1163.h: Likewise.
26044 * iconvdata/ibm1164.h: Likewise.
26045 * iconvdata/ibm1166.h: Likewise.
26046 * iconvdata/ibm1167.h: Likewise.
26047 * iconvdata/ibm12712.h: Likewise.
26048 * iconvdata/ibm1390.h: Likewise.
26049 * iconvdata/ibm1399.h: Likewise.
26050 * iconvdata/ibm16804.h: Likewise.
26051 * iconvdata/ibm4517.h: Likewise.
26052 * iconvdata/ibm4899.h: Likewise.
26053 * iconvdata/ibm4909.h: Likewise.
26054 * iconvdata/ibm4971.h: Likewise.
26055 * iconvdata/ibm5347.h: Likewise.
26056 * iconvdata/ibm803.h: Likewise.
26057 * iconvdata/ibm856.h: Likewise.
26058 * iconvdata/ibm901.h: Likewise.
26059 * iconvdata/ibm902.h: Likewise.
26060 * iconvdata/ibm9030.h: Likewise.
26061 * iconvdata/ibm9066.h: Likewise.
26062 * iconvdata/ibm921.h: Likewise.
26063 * iconvdata/ibm922.h: Likewise.
26064 * iconvdata/ibm9448.h: Likewise.
26065 * iconvdata/isiri-3342.h: Likewise.
26066 * iconvdata/jis0201.h: Likewise.
26067 * include/link.h: Likewise.
26068 * include/netdb.h: Likewise.
26069 * inet/check_native.c: Likewise.
26070 * inet/check_pf.c: Likewise.
26071 * inet/getipv4sourcefilter.c: Likewise.
26072 * inet/getnameinfo.c: Likewise.
26073 * inet/getsourcefilter.c: Likewise.
26074 * inet/htonl.c: Likewise.
26075 * inet/setipv4sourcefilter.c: Likewise.
26076 * inet/setsourcefilter.c: Likewise.
26077 * inet/test-inet6_opt.c: Likewise.
26078 * inet/tst-network.c: Likewise.
26079 * locale/C-collate.c: Likewise.
26080 * locale/C-ctype.c: Likewise.
26081 * locale/C-time.c: Likewise.
26082 * locale/C-translit.h: Likewise.
26083 * locale/loadarchive.c: Likewise.
26084 * locale/programs/3level.h: Likewise.
26085 * locale/programs/charmap.c: Likewise.
26086 * locale/programs/charmap.h: Likewise.
26087 * locale/programs/ld-address.c: Likewise.
26088 * locale/programs/ld-collate.c: Likewise.
26089 * locale/programs/ld-ctype.c: Likewise.
26090 * locale/programs/ld-identification.c: Likewise.
26091 * locale/programs/ld-measurement.c: Likewise.
26092 * locale/programs/ld-messages.c: Likewise.
26093 * locale/programs/ld-monetary.c: Likewise.
26094 * locale/programs/ld-name.c: Likewise.
26095 * locale/programs/ld-numeric.c: Likewise.
26096 * locale/programs/ld-paper.c: Likewise.
26097 * locale/programs/ld-telephone.c: Likewise.
26098 * locale/programs/ld-time.c: Likewise.
26099 * locale/programs/linereader.c: Likewise.
26100 * locale/programs/locale.c: Likewise.
26101 * locale/programs/locarchive.c: Likewise.
26102 * locale/programs/locfile.h: Likewise.
26103 * locale/programs/repertoire.c: Likewise.
26104 * locale/programs/simple-hash.c: Likewise.
26105 * locale/programs/simple-hash.h: Likewise.
26106 * malloc/memusage.c: Likewise.
26107 * malloc/memusagestat.c: Likewise.
26108 * nis/nis_defaults.c: Likewise.
26109 * nis/nis_hash.c: Likewise.
26110 * nis/nis_print.c: Likewise.
26111 * nis/nis_xdr.c: Likewise.
26112 * nscd/connections.c: Likewise.
26113 * nscd/hstcache.c: Likewise.
26114 * nscd/nscd_gethst_r.c: Likewise.
26115 * nscd/nscd_getserv_r.c: Likewise.
26116 * nscd/nscd_helper.c: Likewise.
26117 * nscd/servicescache.c: Likewise.
26118 * nss/makedb.c: Likewise.
26119 * nss/nss_db/db-XXX.c: Likewise.
26120 * nss/nss_db/db-initgroups.c: Likewise.
26121 * nss/nss_db/db-netgrp.c: Likewise.
26122 * nss/nss_files/files-network.c: Likewise.
26123 * nss/nss_files/files-parse.c: Likewise.
26124 * posix/bug-regex5.c: Likewise.
26125 * posix/fnmatch_loop.c: Likewise.
26126 * posix/regcomp.c: Likewise.
26127 * posix/regexec.c: Likewise.
26128 * posix/tst-rfc3484-2.c: Likewise.
26129 * posix/tst-rfc3484-3.c: Likewise.
26130 * posix/tst-rfc3484.c: Likewise.
26131 * resolv/nss_dns/dns-canon.c: Likewise.
26132 * resolv/nss_dns/dns-network.c: Likewise.
26133 * resolv/res_init.c: Likewise.
26134 * resolv/res_mkquery.c: Likewise.
26135 * resolv/tst-aton.c: Likewise.
26136 * stdlib/cxa_atexit.c: Likewise.
26137 * stdlib/cxa_finalize.c: Likewise.
26138 * stdlib/gen-fpioconst.c: Likewise.
26139 * stdlib/strtol_l.c: Likewise.
26140 * string/tst-endian.c: Likewise.
26141 * sunrpc/auth_des.c: Likewise.
26142 * sunrpc/clnt_udp.c: Likewise.
26143 * sunrpc/rtime.c: Likewise.
26144 * sunrpc/svcauth_des.c: Likewise.
26145 * sunrpc/xdr.c: Likewise.
26146 * sunrpc/xdr_intXX_t.c: Likewise.
26147 * sunrpc/xdr_rec.c: Likewise.
26148 * sysdeps/generic/ldconfig.h: Likewise.
26149 * sysdeps/generic/ldsodefs.h: Likewise.
26150 * sysdeps/generic/memusage.h: Likewise.
26151 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26154 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26161 * sysdeps/posix/getaddrinfo.c: Likewise.
26162 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26163 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26164 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26165 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26166 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26167 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26168 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26169 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26170 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26171 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26172 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26173 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26174 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26175 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26176 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26177 * sysdeps/x86_64/dl-tls.h: Likewise.
26178 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26179 * time/alt_digit.c: Likewise.
26180 * time/era.c: Likewise.
26181 * wcsmbs/tst-c16c32-1.c: Likewise.
26182
26183 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26184
26185 * math/libm-test.inc (struct test_sincos_data): New type.
26186 (RUN_TEST_LOOP_sincos): New macro.
26187 (sincos_test_data): New variable.
26188 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26189
26190 2013-05-16 Richard Henderson <rth@redhat.com>
26191
26192 * math/atest-exp2.c (LIMB64): New macro.
26193 (CONSTSZ): New macro.
26194 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26195 (hexdig): Move ...
26196 (print_mpn_fp): ... to function scope.
26197 (read_mpn_hex): Remove.
26198 (get_log2): Remove.
26199 (exp2_mpn): Use mp_log2.
26200 (main): Use mp_exp1.
26201
26202 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26203
26204 * math/libm-test.inc: Remove comment about not testing "inexact"
26205 exceptions.
26206 (INEXACT_EXCEPTION): New macro.
26207 (NO_INEXACT_EXCEPTION): Likewise.
26208 (INVALID_EXCEPTION_OK): Update value.
26209 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26210 (OVERFLOW_EXCEPTION_OK): Likewise.
26211 (UNDERFLOW_EXCEPTION_OK): Likewise.
26212 (IGNORE_ZERO_INF_SIGN): Likewise.
26213 (ERRNO_UNCHANGED): Likewise.
26214 (ERRNO_EDOM): Likewise.
26215 (ERRNO_ERANGE): Likewise.
26216 (test_exceptions): Handle testing "inexact" exceptions.
26217 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26218 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26219 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26220 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26221 INEXACT_EXCEPTION.
26222 (rint_towardzero_test_data): Likewise.
26223 (rint_downward_test_data): Likewise.
26224 (rint_upward_test_data): Likewise.
26225
26226 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26227 with OVERFLOW_EXCEPTION.
26228 (exp10_test_data): Likewise.
26229 (exp2_test_data): Likewise.
26230 (expm1_test_data): Likewise.
26231 (lgamma_test_data): Likewise.
26232 (pow_test_data): Likewise.
26233 (tgamma_test_data): Likewise.
26234 (yn_test_data): Remove duplicate test of overflow.
26235
26236 * math/libm-test.inc (struct test_cc_c_data): New type.
26237 (RUN_TEST_LOOP_cc_c): New macro.
26238 (cpow_test_data): New variable.
26239 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26240
26241 * math/libm-test.inc (struct test_f_L_data): New type.
26242 (RUN_TEST_LOOP_f_L): New macro.
26243 (llrint_test_data): New variable.
26244 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26245 (llrint_tonearest_test_data): New variable.
26246 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26247 (llrint_towardzero_test_data): New variable.
26248 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26249 (llrint_downward_test_data): New variable.
26250 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26251 (llrint_upward_test_data): New variable.
26252 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26253 (llround_test_data): New variable.
26254 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26255
26256 2013-05-13 Peter Collingbourne <pcc@google.com>
26257
26258 * math/atest-exp2.c (get_log2): Remove const attribute.
26259
26260 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26261
26262 * math/libm-test.inc (struct test_f_l_data): New type.
26263 (RUN_TEST_LOOP_f_l): New macro.
26264 (lrint_test_data): New variable.
26265 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26266 (lrint_tonearest_test_data): New variable.
26267 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26268 (lrint_towardzero_test_data): New variable.
26269 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26270 (lrint_downward_test_data): New variable.
26271 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26272 (lrint_upward_test_data): New variable.
26273 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26274 (lround_test_data): New variable.
26275 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26276
26277 2013-05-15 Peter Collingbourne <pcc@google.com>
26278
26279 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26280 (EXTRACT_WORDS64) Use where appropriate.
26281 (INSERT_WORDS64) Likewise.
26282
26283 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26284 constraints with x constraints.
26285 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26286
26287 * malloc/obstack.c (_obstack_compat): Add initializer.
26288
26289 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26290
26291 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26292 si_trapno and add si_addr_lsb to _sifields.sigfault.
26293 (si_trapno): Remove macro.
26294 (si_addr_lsb): Define new macro.
26295 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26296
26297 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26298
26299 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26300 instead of TEST_f_l.
26301 (llrint_test_tonearest): Likewise.
26302 (llrint_test_towardzero): Likewise.
26303 (llrint_test_downward): Likewise.
26304 (llrint_test_upward): Likewise.
26305 (llround_test): Likewise.
26306
26307 * math/libm-test.inc (struct test_f_i_data): Add comment.
26308 (RUN_TEST_LOOP_f_b): New macro.
26309 (RUN_TEST_LOOP_f_b_tg): Likewise.
26310 (finite_test_data): New variable.
26311 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26312 (isfinite_test_data): New variable.
26313 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26314 (isinf_test_data): New variable.
26315 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26316 (isnan_test_data): New variable.
26317 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26318 (isnormal_test_data): New variable.
26319 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26320 (issignaling_test_data): New variable.
26321 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26322 (signbit_test_data): New variable.
26323 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26324
26325 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26326 with INVALID_EXCEPTION.
26327 (acosh_test_data): Likewise.
26328 (asin_test_data): Likewise.
26329 (atanh_test_data): Likewise.
26330 (fmod_test_data): Likewise.
26331 (log_test_data): Likewise.
26332 (log10_test_data): Likewise.
26333 (log2_test_data): Likewise.
26334 (pow_test_data): Likewise.
26335 (sqrt_test_data): Likewise.
26336 (y0_test_data): Likewise.
26337 (y1_test_data): Likewise.
26338 (yn_test_data): Likewise.
26339
26340 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26341 function contents.
26342
26343 * math/libm-test.inc (struct test_ff_i_data): New type.
26344 (RUN_TEST_LOOP_ff_i_tg): New macro.
26345 (isgreater_test_data): New variable.
26346 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26347 (isgreaterequal_test_data): New variable.
26348 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26349 (isless_test_data): New variable.
26350 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26351 (islessequal_test_data): New variable.
26352 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26353 (islessgreater_test_data): New variable.
26354 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26355 (isunordered_test_data): New variable.
26356 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26357
26358 2013-05-14 David S. Miller <davem@davemloft.net>
26359
26360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26361
26362 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26363
26364 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26365
26366 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26367 extra_test to int.
26368 (struct test_f_i_data): Change type of max_ulp to int.
26369
26370 * math/libm-test.inc (test_ffI_f1_data): New type.
26371 (RUN_TEST_LOOP_ffI_f1): New macro.
26372 (remquo_test_data): New variable.
26373 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26374
26375 * setjmp/tst-setjmp-fp.c: New file.
26376 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26377 (link-libm): New variable.
26378 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26379
26380 * math/libm-test.inc (struct test_f_i_data): New type.
26381 (RUN_TEST_LOOP_f_i): New macro.
26382 (RUN_TEST_LOOP_f_i_tg): Likewise.
26383 (fpclassify_test_data): New variable.
26384 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26385 (ilogb_test_data): New variable.
26386 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26387
26388 * math/libm-test.inc (scalbln_test): Correct function name in END
26389 call.
26390
26391 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26392 (RUN_TEST_LOOP_fI_f1): New macro.
26393 (frexp_test_data): New variable.
26394 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26395
26396 * math/libm-test.inc (struct test_fF_f1_data): New type.
26397 (RUN_TEST_LOOP_fF_f1): New macro.
26398 (modf_test_data): New variable.
26399 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26400
26401 * math/libm-test.inc (struct test_f_f1_data): New type.
26402 (RUN_TEST_LOOP_f_f1): New macro.
26403 (gamma_test_data): New variable.
26404 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26405 (lgamma_test_data): New variable.
26406 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26407
26408 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26409
26410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26411 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26412 (main): Comment "tls" pseudo-hwcap.
26413
26414 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26415
26416 * math/libm-test.inc (struct test_fl_f_data): New type.
26417 (RUN_TEST_LOOP_fl_f): New variable.
26418 (scalbln_test_data): New variable.
26419 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26420
26421 * math/libm-test.inc (struct test_fi_f_data): New type.
26422 (RUN_TEST_LOOP_fi_f): New macro.
26423 (ldexp_test_data): New variable.
26424 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26425 (scalbn_test_data): New variable.
26426 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26427
26428 * math/libm-test.inc (struct test_c_f_data): New type.
26429 (RUN_TEST_LOOP_c_f): New macro.
26430 (cabs_test_data): New variable.
26431 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26432 (carg_test_data): New variable.
26433 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26434 (cimag_test_data): New variable.
26435 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26436 (creal_test_data): New variable.
26437 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26438
26439 * math/libm-test.inc (struct test_if_f_data): New type.
26440 (RUN_TEST_LOOP_if_f): New macro.
26441 (jn_test_data): New variable.
26442 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26443 (yn_test_data): New variable.
26444 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26445
26446 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26447
26448 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26449
26450 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26451 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26452
26453 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26454
26455 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26456 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26457 (bench-deps): Add bench-timing.h.
26458 * benchtests-bench-skeleton.c: Include bench-timing.h.
26459 (main): Use TIMING_* macros instead of clock_gettime.
26460 * benchtests/bench-timing.h: New file.
26461
26462 [BZ #14582]
26463 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26464 Renamed from _LIB_VERSION.
26465 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26466
26467 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26468
26469 * math/libm-test.inc (struct test_fff_f_data): New type.
26470 (RUN_TEST_LOOP_fff_f): New macro.
26471 (fma_test_data): New variable.
26472 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26473 (fma_towardzero_test_data): New variable.
26474 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26475 (fma_downward_test_data): New variable.
26476 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26477 (fma_upward_test_data): New variable.
26478 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26479
26480 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26481 (struct test_c_c_data): New type.
26482 (RUN_TEST_LOOP_c_c): New macro.
26483 (cacos_test_data): New variable.
26484 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26485 (cacosh_test_data): New variable.
26486 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26487 (casin_test_data): New variable.
26488 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26489 (casinh_test_data): New variable.
26490 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26491 (catan_test_data): New variable.
26492 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26493 (catanh_test_data): New variable.
26494 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26495 (ccos_test_data): New variable.
26496 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26497 (ccosh_test_data): New variable.
26498 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26499 (cexp_test_data): New variable.
26500 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26501 (clog_test_data): New variable.
26502 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26503 (clog10_test_data): New variable.
26504 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26505 (conj_test_data): New variable.
26506 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26507 (cproj_test_data): New variable.
26508 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26509 (csin_test_data): New variable.
26510 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26511 (csinh_test_data): New variable.
26512 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26513 (csqrt_test_data): New variable.
26514 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26515 (ctan_test_data): New variable.
26516 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26517 (ctan_tonearest_test_data): New variable.
26518 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26519 (ctan_towardzero_test_data): New variable.
26520 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26521 (ctan_downward_test_data): New variable.
26522 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26523 (ctan_upward_test_data): New variable.
26524 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26525 (ctanh_test_data): New variable.
26526 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26527 (ctanh_tonearest_test_data): New variable.
26528 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26529 (ctanh_towardzero_test_data): New variable.
26530 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26531 (ctanh_downward_test_data): New variable.
26532 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26533 (ctanh_upward_test_data): New variable.
26534 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26535 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26536 of BUILD_COMPLEX.
26537
26538 * math/libm-test.inc (struct test_ff_f_data): New type.
26539 (struct test_ff_f_data_nexttoward): Likewise.
26540 (RUN_TEST_LOOP_2_f): New macro.
26541 (RUN_TEST_LOOP_ff_f): Likewise.
26542 (atan2_test_data): New variable.
26543 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26544 (copysign_test_data): New variable.
26545 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26546 (fdim_test_data): New variable.
26547 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26548 (fmax_test_data): New variable.
26549 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26550 (fmin_test_data): New variable.
26551 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26552 (fmod_test_data): New variable.
26553 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26554 (hypot_test_data): New variable.
26555 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26556 (nextafter_test_data): New variable.
26557 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26558 (nexttoward_test_data): New variable.
26559 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26560 (pow_test_data): New variable.
26561 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26562 (pow_tonearest_test_data): New variable.
26563 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26564 (pow_towardzero_test_data): New variable.
26565 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26566 (pow_downward_test_data): New variable.
26567 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26568 (pow_upward_test_data): New variable.
26569 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26570 (remainder_test_data): New variable.
26571 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26572 (scalb_test_data): New variable.
26573 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26574 * sysdeps/i386/fpu/libm-test-ulps: Update.
26575
26576 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26577
26578 * math/libm-test.inc (fma_test): Use max_value instead of local
26579 variable fltmax.
26580 (nextafter_test): Likewise.
26581
26582 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26583 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26584 (acos_downward_test_data): New variable.
26585 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26586 (acos_upward_test_data): New variable.
26587 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26588 (acosh_test_data): New variable.
26589 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26590 (asin_test_data): New variable.
26591 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26592 (asin_tonearest_test_data): New variable.
26593 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26594 (asin_towardzero_test_data): New variable.
26595 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26596 (asin_downward_test_data): New variable.
26597 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26598 (asin_upward_test_data): New variable.
26599 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26600 (asinh_test_data): New variable.
26601 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26602 (atan_test_data): New variable.
26603 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26604 (atanh_test_data): New variable.
26605 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26606 (cbrt_test_data): New variable.
26607 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26608 (ceil_test_data): New variable.
26609 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26610 (cos_test_data): New variable.
26611 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26612 (cos_tonearest_test_data): New variable.
26613 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26614 (cos_towardzero_test_data): New variable.
26615 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26616 (cos_downward_test_data): New variable.
26617 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26618 (cos_upward_test_data): New variable.
26619 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26620 (cosh_test_data): New variable.
26621 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26622 (cosh_tonearest_test_data): New variable.
26623 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26624 (cosh_towardzero_test_data): New variable.
26625 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26626 (cosh_downward_test_data): New variable.
26627 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26628 (cosh_upward_test_data): New variable.
26629 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26630 (erf_test_data): New variable.
26631 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26632 (erfc_test_data): New variable.
26633 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26634 (exp_test_data): New variable.
26635 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26636 (exp_tonearest_test_data): New variable.
26637 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26638 (exp_towardzero_test_data): New variable.
26639 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26640 (exp_downward_test_data): New variable.
26641 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26642 (exp_upward_test_data): New variable.
26643 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26644 (exp10_test_data): New variable.
26645 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26646 (exp2_test_data): New variable.
26647 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26648 (expm1_test_data): New variable.
26649 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26650 (fabs_test_data): New variable.
26651 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26652 (floor_test_data): New variable.
26653 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26654 (j0_test_data): New variable.
26655 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26656 (j1_test_data): New variable.
26657 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26658 (log_test_data): New variable.
26659 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26660 (log10_test_data): New variable.
26661 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26662 (log1p_test_data): New variable.
26663 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26664 (log2_test_data): New variable.
26665 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26666 (logb_test_data): New variable.
26667 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26668 (logb_downward_test_data): New variable.
26669 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26670 (nearbyint_test_data): New variable.
26671 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26672 (rint_test_data): New variable.
26673 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26674 (rint_tonearest_test_data): New variable.
26675 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26676 (rint_towardzero_test_data): New variable.
26677 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26678 (rint_downward_test_data): New variable.
26679 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26680 (rint_upward_test_data): New variable.
26681 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26682 (round_test_data): New variable.
26683 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26684 (sin_test_data): New variable.
26685 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26686 (sin_tonearest_test_data): New variable.
26687 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26688 (sin_towardzero_test_data): New variable.
26689 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26690 (sin_downward_test_data): New variable.
26691 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26692 (sin_upward_test_data): New variable.
26693 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26694 (sinh_test_data): New variable.
26695 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26696 (sinh_tonearest_test_data): New variable.
26697 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26698 (sinh_towardzero_test_data): New variable.
26699 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26700 (sinh_downward_test_data): New variable.
26701 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26702 (sinh_upward_test_data): New variable.
26703 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26704 (sqrt_test_data): New variable.
26705 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26706 (tan_test_data): New variable.
26707 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26708 (tan_tonearest_test_data): New variable.
26709 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26710 (tan_towardzero_test_data): New variable.
26711 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26712 (tan_downward_test_data): New variable.
26713 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26714 (tan_upward_test_data): New variable.
26715 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26716 (tanh_test_data): New variable.
26717 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26718 (tgamma_test_data): New variable.
26719 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26720 (trunc_test_data): New variable.
26721 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26722 (y0_test_data): New variable.
26723 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26724 (y1_test_data): New variable.
26725 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26726 (significand_test_data): New variable.
26727 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26728
26729 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26730
26731 [BZ #12387]
26732 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26733
26734 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26735
26736 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26737
26738 2013-05-10 Andreas Jaeger <aj@suse.de>
26739
26740 [BZ #15448]
26741 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26742 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26743
26744 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26745
26746 * math/gen-libm-test.pl (adjust_arg): New function.
26747 (special_functions): Handle generating output in both functions
26748 and arrays.
26749 (parse_args): Likewise.
26750 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26751 $in_func argument to parse_args.
26752 * math/libm-test.inc (struct test_f_f_data): New type.
26753 (IF_ROUND_INIT_): New macro.
26754 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26755 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26756 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26757 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26758 (ROUND_RESTORE_): Likewise.
26759 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26760 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26761 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26762 (ROUND_RESTORE_FE_UPWARD): Likewise.
26763 (RUN_TEST_LOOP_f_f): New macro.
26764 (acos_test_data): New variable.
26765 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26766 (acos_tonearest_test_data): New variable.
26767 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26768
26769 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26770
26771 * benchtests/bench-skeleton.c (startup): Fix coding style.
26772
26773 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26774
26775 [BZ #6809]
26776 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26777 negative infinity argument.
26778 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26779 negative infinity argument.
26780 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26781 negative infinity argument.
26782 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26783 domain errors.
26784
26785 2013-05-10 Florian Weimer <fweimer@redhat.com>
26786
26787 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26788 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26789 * iconv/iconv_prog.c (main): Likewise.
26790 * locale/programs/charmap-dir.c (charmap_readdir)
26791 (fopen_uncompressed): Likewise.
26792 * locale/programs/locfile.c (siblings_uncached)
26793 (write_locale_data): Use lstat64 instead of lstat.
26794 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26795 stat.
26796
26797 2013-05-10 Andreas Jaeger <aj@suse.de>
26798
26799 [BZ #15395]
26800 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26801 localization.
26802 Include <locale.h>.
26803
26804 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26805
26806 * elf/dl-close.c (_dl_close_worker): Add comments.
26807
26808 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26809
26810 [BZ #15359]
26811 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26812 high part of pi/2.
26813 (__ieee754_rem_pio2l): Update comments.
26814
26815 [BZ #15429]
26816 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26817 high part of pi/2.
26818 (__ieee754_rem_pio2l): Update comments.
26819
26820 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26821 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26822
26823 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26824 M_PI_4l.
26825
26826 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26827 (M_PI_34_LOG10El): Likewise.
26828 (M_PI2_LOG10El): Likewise.
26829 (M_PI4_LOG10El): Likewise.
26830 (M_PI_LOG10El): Likewise.
26831
26832 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26833
26834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26835
26836 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26837
26838 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26839 (MINUS_ZERO_INIT): Likewise.
26840 (PLUS_INFTY_INIT): Likewise.
26841 (MINUS_INFTY_INIT): Likewise.
26842 (QNAN_VALUE_INIT): Likewise.
26843 (MAX_VALUE_INIT): Likewise.
26844 (MIN_VALUE_INIT): Likewise.
26845 (MIN_SUBNORM_VALUE_INIT): Likewise.
26846 (plus_zero): Initialize with PLUS_ZERO_INIT.
26847 (minus_zero): Initialize with MINUS_ZERO_INIT.
26848 (plus_infty): Initialize with PLUS_INFTY_INIT.
26849 (minus_infty): Initialize with MINUS_INFTY_INIT.
26850 (qnan_value): Initialize with QNAN_VALUE_INIT.
26851 (max_value): Initialize with MAX_VALUE_INIT.
26852 (min_value): Initialize with MIN_VALUE_INIT.
26853 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26854
26855 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26856 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26857 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26858 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26859
26860 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26861 (RUN_TEST_2_f): Likewise.
26862 (RUN_TEST_ff_f): Likewise.
26863 (RUN_TEST_fi_f): Likewise.
26864 (RUN_TEST_fl_f): Likewise.
26865 (RUN_TEST_fff_f): Likewise.
26866 (RUN_TEST_c_f): Likewise.
26867 (RUN_TEST_f_f1): Likewise.
26868 (RUN_TEST_fF_f1): Likewise.
26869 (RUN_TEST_fI_f1): Likewise.
26870 (RUN_TEST_ffI_f1): Likewise.
26871 (RUN_TEST_c_c): Likewise.
26872 (RUN_TEST_cc_c): Likewise.
26873 (RUN_TEST_f_i): Likewise.
26874 (RUN_TEST_f_i_tg): Likewise.
26875 (RUN_TEST_ff_i_tg): Likewise.
26876 (RUN_TEST_f_b): Likewise.
26877 (RUN_TEST_f_b_tg): Likewise.
26878 (RUN_TEST_f_l): Likewise.
26879 (RUN_TEST_f_L): Likewise.
26880 (RUN_TEST_sincos): Likewise.
26881 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26882 whether to show exceptions. Do not include ");\n" in return
26883 value.
26884 (special_functions): Output call to RUN_TEST_sincos instead of
26885 check_float calls. Update calls to new_test.
26886 (parse_args): Output call to single RUN_TEST_* macro instead of
26887 check_* calls and other assignments. Update calls to new_test.
26888
26889 [BZ #2546]
26890 [BZ #2560]
26891 [BZ #5159]
26892 [BZ #15426]
26893 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26894 input to result for tgamma overflow.
26895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26896 (gamma_coeff): New variable.
26897 (NCOEFF): New macro.
26898 (gamma_positive): New function.
26899 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26900 underflow here. Use gamma_positive instead of exp (lgamma) for
26901 other arguments.
26902 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26903 (gamma_coeff): New variable.
26904 (NCOEFF): New macro.
26905 (gammaf_positive): New function.
26906 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26907 underflow here. Use gamma_positive instead of exp (lgamma) for
26908 other arguments.
26909 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26910 (gamma_coeff): New variable.
26911 (NCOEFF): New macro.
26912 (gammal_positive): New function.
26913 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26914 underflow here. Use gamma_positive instead of exp (lgamma) for
26915 other arguments.
26916 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26917 (gamma_coeff): New variable.
26918 (NCOEFF): New macro.
26919 (gammal_positive): New function.
26920 (__ieee754_gammal_r): Handle positive infinity, overflow and
26921 underflow here. Handle NaN the same as positive infinity. Remove
26922 check x < 0xffffffff for negative integers. Use gamma_positive
26923 instead of exp (lgamma) for other arguments.
26924 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26925 (gamma_coeff): New variable.
26926 (NCOEFF): New macro.
26927 (gammal_positive): New function.
26928 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26929 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26930 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26933 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26934 * sysdeps/generic/math_private.h (__gamma_productf): New
26935 prototype.
26936 (__gamma_product): Likewise.
26937 (__gamma_productl): Likewise.
26938 * math/Makefile (libm-calls): Add gamma_product.
26939 * math/libm-test.inc (tgamma_test): Add more tests.
26940 * sysdeps/i386/fpu/libm-test-ulps: Update.
26941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26942
26943 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26944
26945 * benchtests/bench-skeleton.c (main): Preheat CPU.
26946
26947 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26948
26949 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26950
26951 2013-05-07 Roland McGrath <roland@hack.frob.com>
26952
26953 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26954 and _dl_skip_args_internal.
26955
26956 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26957
26958 * manual/message.texi (Message Translation): Talk about users.
26959 Message to key mapping impacts design.
26960
26961 2013-05-06 Roland McGrath <roland@hack.frob.com>
26962
26963 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26964
26965 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26966
26967 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26968 * sysdeps/wordsize-64/glob64.c: ... here.
26969
26970 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26971 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26972 New macros.
26973
26974 * debug/getlogin_r_chk.c: Moved to ...
26975 * login/getlogin_r_chk.c: ... here.
26976 * debug/Makefile (routines): Move getlogin_r_chk to ...
26977 * login/Makefile (routines): ... here.
26978 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26979 * login/Versions (libc: GLIBC_2.4): ... here.
26980
26981 * io/poll.c (__poll): Renamed from poll.
26982 Add libc_hidden_def.
26983 (poll): Define as weak alias.
26984
26985 * debug/ptsname_r_chk.c: Moved to ...
26986 * login/ptsname_r_chk.c: ... here.
26987 * debug/Makefile (routines): Move ptsname_r_chk to ...
26988 * login/Makefile (routines): ... here.
26989 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26990 * login/Versions (libc: GLIBC_2.4): ... here.
26991
26992 * posix/getlogin.c: Moved to ...
26993 * login/getlogin.c: ... here.
26994 * posix/getlogin_r.c: Moved to ...
26995 * login/getlogin_r.c: ... here.
26996 * posix/getlogin_r.c: Moved to ...
26997 * login/getlogin_r.c: ... here.
26998 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26999 * login/Makefile (routines): ... here.
27000 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27001 * login/Versions (libc: GLIBC_2.0): ... here.
27002
27003 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27004 (setrlimit): Define as weak alias.
27005
27006 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27007 Call __ names for open, ftruncate, and close.
27008 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27009 (truncate): Define as weak alias.
27010
27011 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27012
27013 * math/gen-libm-test.pl (parse_args): Initialize x before each
27014 test of frexp, modf and remquo.
27015
27016 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27017 test signgam value.
27018
27019 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27020
27021 [BZ #15418]
27022 [BZ #15419]
27023 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27024 internal tests.
27025 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27026
27027 2013-05-06 Roland McGrath <roland@hack.frob.com>
27028
27029 * elf/dl-writev.h: New file.
27030 * elf/dl-misc.c: Include it.
27031 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27032 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27033
27034 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27035
27036 * math/libm-test.inc (noXFails): Remove variable.
27037 (noXPasses): Likewise.
27038 (BUILD_COMPLEX_INT): Remove macro.
27039 (print_screen): Remove xfail argument.
27040 (print_screen_max_error): Likewise.
27041 (update_stats): Likewise.
27042 (print_max_error): Likewise. Update calls to other affected
27043 functions.
27044 (print_complex_max_error): Likewise.
27045 (test_single_exception): Update calls to print_screen.
27046 (test_single_errno): Likewise.
27047 (check_float_internal): Remove xfail argument. Update calls to
27048 other affected functions.
27049 (check_float): Likewise.
27050 (check_complex): Likewise.
27051 (check_int): Likewise.
27052 (check_long): Likewise.
27053 (check_bool): Likewise.
27054 (check_longlong): Likewise.
27055 (main): Don't print noXFails and noXPasses.
27056 * math/gen-libm-test.pl (top level): Don't mention expected
27057 failure handling in comment.
27058 (new_test): Don't handle expected failures.
27059 (parse_args): Don't mention expected failure handling in comment.
27060 (generate_testfile): Don't handle expected failures.
27061 (parse_ulps): Likewise.
27062 (print_ulps_file): Likewise.
27063 (get_failure): Remove function.
27064 (output_test): Don't handle expected failures.
27065 * make/README.libm-test: Don't mention expected failure handling.
27066
27067 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27068 (minus_zero): Likewise.
27069 (plus_infty): Likewise.
27070 (minus_infty): Likewise.
27071 (qnan_value): Likewise.
27072 (max_value): Likewise.
27073 (min_value): Likewise.
27074 (min_subnorm_value): Likewise.
27075 (initialize): Do not initialize those variables dynamically.
27076
27077 2013-05-03 Roland McGrath <roland@hack.frob.com>
27078
27079 * io/open.c (__open_2): Moved to ...
27080 * io/open_2.c: ... this new file.
27081 * io/open64.c (__open64_2): Moved to ...
27082 * io/open64_2.c: ... this new file.
27083 * io/openat.c (__openat_2): Moved to ...
27084 * io/openat_2.c: ... this new file.
27085 * io/openat64.c (__openat64_2): Moved to ...
27086 * io/openat64_2.c: ... this new file.
27087 * io/Makefile (routines): Add them.
27088 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27089 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27090 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27091 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27092 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27093 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27094 (__openat64): Add hidden_ver.
27095 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27096 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27097
27098 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27099 Separately conditionalize setting of GLRO(dl_sysinfo) so
27100 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27101 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27102
27103 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27104
27105 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27106 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27107 definition.
27108 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27109 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27110 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27111 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27112 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27113
27114 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27115
27116 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27117 test signgam value.
27118
27119 * math/libm-test.inc (hypot_test): Do not use
27120 IGNORE_ZERO_INF_SIGN.
27121
27122 2013-05-03 Andreas Jaeger <aj@suse.de>
27123
27124 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27125 Linux 3.9.
27126 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27127 (PF_MAX): Adjust for VSOCK change.
27128
27129 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27130
27131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27132
27133 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27134
27135 [BZ #15264]
27136 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27137 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27138 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27139
27140 2013-05-02 David S. Miller <davem@davemloft.net>
27141
27142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27143
27144 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27145
27146 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27147
27148 2013-05-01 Roland McGrath <roland@hack.frob.com>
27149
27150 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27151
27152 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27153
27154 [BZ #14952]
27155 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27156 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27157 Use __attribute__ ((__gnu_inline__)).
27158 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27159 Don't use __attribute__ ((__gnu_inline__)).
27160
27161 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27162
27163 [BZ #15423]
27164 * math/s_catan.c (__catan): Handle small real or imaginary part of
27165 input specially to avoid spurious underflow.
27166 * math/s_catanf.c (__catanf): Likewise.
27167 * math/s_catanh.c (__catanh): Likewise.
27168 * math/s_catanhf.c (__catanhf): Likewise.
27169 * math/s_catanhl.c (__catanhl): Likewise.
27170 * math/s_catanl.c (__catanl): Likewise.
27171 * math/libm-test.inc (catan_test): Add more tests.
27172 (catanh_test): Likewise.
27173 * sysdeps/i386/fpu/libm-test-ulps: Update.
27174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27175
27176 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27177
27178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27179
27180 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27181
27182 [BZ #15416]
27183 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27184 accurately for denominator in atan2.
27185 * math/s_catanf.c (__catanf): Likewise.
27186 * math/s_catanh.c (__catanh): Likewise.
27187 * math/s_catanhf.c (__catanhf): Likewise.
27188 * math/s_catanhl.c (__catanhl): Likewise.
27189 * math/s_catanl.c (__catanl): Likewise.
27190 * math/libm-test.inc (catan_test): Add more tests.
27191 (catanh_test): Likewise.
27192 * sysdeps/i386/fpu/libm-test-ulps: Update.
27193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27194
27195 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27196
27197 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27198
27199 * benchtests/Makefile (bench): Remove slow benchmarks.
27200 * benchtests/atan-inputs: Add slow benchmark inputs.
27201 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27202 (BENCH_FUNC): Accept variant offset.
27203 (VARIANT): Define.
27204 * benchtests/bench-skeleton.c (main): Run benchmark for each
27205 variant.
27206 * benchtests/cos-inputs: Add slow benchmark inputs.
27207 * benchtests/exp-inputs: Likewise.
27208 * benchtests/pow-inputs: Likewise.
27209 * benchtests/sin-inputs: Likewise.
27210 * benchtests/slowatan-inputs: Remove.
27211 * benchtests/slowatan.c: Remove.
27212 * benchtests/slowcos-inputs: Remove.
27213 * benchtests/slowcos.c: Remove.
27214 * benchtests/slowexp-inputs: Remove.
27215 * benchtests/slowexp.c: Remove.
27216 * benchtests/slowpow-inputs: Remove.
27217 * benchtests/slowpow.c: Remove.
27218 * benchtests/slowsin-inputs: Remove.
27219 * benchtests/slowsin.c: Remove.
27220 * benchtests/slowtan-inputs: Remove.
27221 * benchtests/slowtan.c: Remove.
27222 * benchtests/tan-inputs: Add slow benchmark inputs.
27223 * scripts/bench.pl: Parse comments and directives.
27224
27225 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27226 in CPPFLAGS.
27227 ($(objpfx)bench-%.c): Remove *-ITER.
27228 * benchtests/bench-modf.c: Remove definition of ITER.
27229 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27230 (main): Loop for DURATION seconds instead of fixed number of
27231 iterations.
27232 * scripts/bench.pl: Don't expect iterations in parameters.
27233
27234 2013-04-29 Roland McGrath <roland@hack.frob.com>
27235
27236 * io/fchdir.c (__fchdir): Renamed from fchdir.
27237 (fchdir): Define as weak alias.
27238
27239 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27240
27241 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27242 (ERRNO_EDOM): Likewise.
27243 (ERRNO_ERANGE): Likewise.
27244 (noErrnoTests): New variable.
27245 (init_max_error): Set errno to 0.
27246 (test_single_errno): New function.
27247 (test_errno): Likewise.
27248 (check_float_internal): Call test_errno. Set errno to 0.
27249 (check_complex): Refer to errno tests in comment.
27250 (check_int): Call test_errno. Set errno to 0.
27251 (check_long): Likewise.
27252 (check_bool): Likewise.
27253 (check_longlong): Likewise.
27254 (cos_test): Use ERRNO_* flags for errno tests instead of
27255 check_int.
27256 (expm1_test): Likewise.
27257 (fmod_test): Likewise.
27258 (ilogb_test): Likewise.
27259 (lgamma_test): Likewise.
27260 (pow_test): Likewise.
27261 (remainder_test): Likewise.
27262 (sin_test): Likewise.
27263 (tan_test): Likewise.
27264 (yn_test): Likewise.
27265 (initialize): Set errno to 0.
27266 (main): Print number of errno tests.
27267 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27268
27269 2013-04-29 Andreas Jaeger <aj@suse.de>
27270
27271 [BZ #15084]
27272 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27273 and RES_USEVC.
27274
27275 [BZ #15085]
27276 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27277 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27278 unimplemented.
27279
27280 [BZ #15380]
27281 * stdlib/random.c (__initstate): Return NULL if
27282 __initstate fails.
27283
27284 [BZ #15086]
27285 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27286 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27287 RES_SNGLKUPREOP.
27288
27289 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27290
27291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27292
27293 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27294
27295 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27296 of individual tests.
27297 (casin_test): Likewise.
27298 (casinh_test): Likewise.
27299
27300 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27301
27302 [BZ #15409]
27303 * math/s_catan.c (__catan): Handle arguments with large real or
27304 imaginary part separately without squaring.
27305 * math/s_catanf.c (__catanf): Likewise.
27306 * math/s_catanh.c (__catanh): Likewise.
27307 * math/s_catanhf.c (__catanhf): Likewise.
27308 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27309 and redefine.
27310 (__catanhl): Handle arguments with large real or imaginary part
27311 separately without squaring.
27312 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27313 and redefine.
27314 (__catanl): Handle arguments with large real or imaginary part
27315 separately without squaring.
27316 * math/libm-test.inc (catan_test): Add more tests.
27317 (catanh_test): Likewise.
27318 * sysdeps/i386/fpu/libm-test-ulps: Update.
27319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27320
27321 2013-04-27 Andreas Jaeger <aj@suse.de>
27322
27323 [BZ #15007]
27324 * stdlib/stdlib.h: Update guards for qecvt.
27325 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27326 <stdlib.h>.
27327
27328 2013-04-27 Allan McRae <allan@archlinux.org>
27329
27330 * sysdeps/i386/fpu/libm-test-ulps: Update.
27331
27332 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27333
27334 [BZ #15406]
27335 * math/s_catan.c: Include <float.h>.
27336 (__catan): Ensure underflow exception occurs for underflowed
27337 result.
27338 * math/s_catanf.c: Include <float.h>.
27339 (__catanf): Ensure underflow exception occurs for underflowed
27340 result.
27341 * math/s_catanh.c: Include <float.h>.
27342 (__catanh): Ensure underflow exception occurs for underflowed
27343 result.
27344 * math/s_catanhf.c: Include <float.h>.
27345 (__catanhf): Ensure underflow exception occurs for underflowed
27346 result.
27347 * math/s_catanhl.c: Include <float.h>.
27348 (__catanhl): Ensure underflow exception occurs for underflowed
27349 result.
27350 * math/s_catanl.c: Include <float.h>.
27351 (__catanl): Ensure underflow exception occurs for underflowed
27352 result.
27353 * math/libm-test.inc (catan_test): Add more tests.
27354 (catanh_test): Likewise.
27355
27356 [BZ #15405]
27357 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27358 underflowed result.
27359 * math/s_ccoshf.c (__ccoshf): Likewise.
27360 * math/s_ccoshl.c (__ccoshl): Likewise.
27361 * math/s_csin.c (__csin): Likewise.
27362 * math/s_csinf.c (__csinf): Likewise.
27363 * math/s_csinh.c (__csinh): Likewise.
27364 * math/s_csinhf.c (__csinhf): Likewise.
27365 * math/s_csinhl.c (__csinhl): Likewise.
27366 * math/s_csinl.c (__csinl): Likewise.
27367 * math/libm-test.inc (ccos_test): Add more tests.
27368 (ccosh_test): Likewise.
27369 (csin_test): Likewise.
27370 (csinh_test): Likewise.
27371
27372 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27373
27374 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27375 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27376 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27377 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27378 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27379 powerpc/power5+/fpu folders.
27380 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27381
27382
27383 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27384
27385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27386
27387 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27388
27389 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27390 additions to variable.
27391 [$(config-machine) = x86_64] (modules-names): Likewise.
27392 ($(objpfx)tst-audit3): Remove dependency.
27393 ($(objpfx)tst-audit3.out): Likewise.
27394 ($(objpfx)tst-audit4): Likewise.
27395 ($(objpfx)tst-audit4.out): Likewise.
27396 ($(objpfx)tst-audit5): Likewise.
27397 ($(objpfx)tst-audit5.out): Likewise.
27398 ($(objpfx)tst-audit6): Likewise.
27399 ($(objpfx)tst-audit6.out): Likewise.
27400 ($(objpfx)tst-audit7): Likewise.
27401 ($(objpfx)tst-audit7.out): Likewise.
27402 (tst-audit3-ENV): Remove variable.
27403 (tst-audit4-ENV): Likewise.
27404 (tst-audit5-ENV): Likewise.
27405 (tst-audit6-ENV): Likewise.
27406 (tst-audit7-ENV): Likewise.
27407 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27408 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27409 addition to variable.
27410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27412 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27413 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27414 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27415 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27416 tst-audit3, tst-audit4 and tst-audit5.
27417 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27418 tst-audit6 and tst-audit7.
27419 [$(subdir) = elf] (modules-names): Add audit modules for those
27420 tests.
27421 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27422 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27423 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27424 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27425 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27426 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27427 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27428 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27429 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27430 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27431 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27432 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27433 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27434 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27435 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27436 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27437 Likewise.
27438 [$(subdir) = elf && $(config-cflags-avx) = yes]
27439 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27440 [$(subdir) = elf && $(config-cflags-avx) = yes]
27441 (CFLAGS-tst-auditmod4a.c): Likewise.
27442 [$(subdir) = elf && $(config-cflags-avx) = yes]
27443 (CFLAGS-tst-auditmod4b.c): Likewise.
27444 [$(subdir) = elf && $(config-cflags-avx) = yes]
27445 (CFLAGS-tst-auditmod6b.c): Likewise.
27446 [$(subdir) = elf && $(config-cflags-avx) = yes]
27447 (CFLAGS-tst-auditmod6c.c): Likewise.
27448 [$(subdir) = elf && $(config-cflags-avx) = yes]
27449 (CFLAGS-tst-auditmod7b.c): Likewise.
27450 * elf/tst-audit3.c: Move to ...
27451 * sysdeps/x86_64/tst-audit3.c: ... here.
27452 * elf/tst-audit4.c: Move to ...
27453 * sysdeps/x86_64/tst-audit4.c: ... here.
27454 * elf/tst-audit5.c: Move to ...
27455 * sysdeps/x86_64/tst-audit5.c: ... here.
27456 * elf/tst-audit6.c: Move to ...
27457 * sysdeps/x86_64/tst-audit6.c: ... here.
27458 * elf/tst-audit7.c: Move to ...
27459 * sysdeps/x86_64/tst-audit7.c: ... here.
27460 * elf/tst-auditmod3a.c: Move to ...
27461 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27462 * elf/tst-auditmod3b.c: Move to ...
27463 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27464 * elf/tst-auditmod4a.c: Move to ...
27465 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27466 * elf/tst-auditmod4b.c: Move to ...
27467 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27468 * elf/tst-auditmod5a.c: Move to ...
27469 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27470 * elf/tst-auditmod5b.c: Move to ...
27471 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27472 * elf/tst-auditmod6a.c: Move to ...
27473 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27474 * elf/tst-auditmod6b.c: Move to ...
27475 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27476 * elf/tst-auditmod6c.c: Move to ...
27477 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27478 * elf/tst-auditmod7a.c: Move to ...
27479 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27480 * elf/tst-auditmod7b.c: Move to ...
27481 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27482
27483 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27484
27485 [BZ #15366]
27486 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27487 define unconditionally.
27488 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27489 define unconditionally.
27490 (INT8_C, INT16_C, etc.): Likewise.
27491
27492 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27493
27494 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27495 __ehdr_start with hidden visibility.
27496
27497 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27498
27499 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27500
27501 * math/libm-test.inc (cos_test): Use accurate hex constants.
27502 (sincost_test): Likewise.
27503
27504 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27505
27506 * math/libm-test.inc (catan_test): Add more tests.
27507 (catanh_test): Likewise.
27508
27509 * math/s_catanf.c (__catanf): Use suffixed floating-point
27510 constants.
27511 * math/s_catanhf.c (__catanhf): Likewise.
27512 * math/s_catanhl.c (__catanhl): Likewise.
27513 * math/s_catanl.c (__catanl): Likewise.
27514
27515 [BZ #15394]
27516 * math/s_catan.c (__catan): Calculate imaginary part of result
27517 with log1p not log unless computing log of number close to 0.
27518 * math/s_catanf.c (__catanf): Likewise.
27519 * math/s_catanl.c (__catanl): Likewise.
27520 * math/s_catanh.c (__catanh): Calculate real part of result with
27521 log1p not log unless computing log of number close to 0.
27522 * math/s_catanhf.c (__catanhf): Likewise.
27523 * math/s_catanhl.c (__catanhl): Likewise.
27524 * math/libm-test.inc (catan_test): Add more tests.
27525 (catanh_test): Likewise.
27526 * sysdeps/i386/fpu/libm-test-ulps: Update.
27527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27528
27529 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27530
27531 * benchtests/Makefile: Mention files in which fast and slow
27532 paths of math functions are implemented.
27533
27534 2013-04-23 Roland McGrath <roland@hack.frob.com>
27535
27536 * sysdeps/posix/timespec_get.c: New file.
27537
27538 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27539
27540 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27541 POWER.
27542 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27543 for POWER.
27544 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27545 powerpc/power5/fpu folders.
27546 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27547 * benchtests/Makefile: Add modf testcase.
27548 * benchtests/bench-modf.c: New file: Benchmark test for mo
27549
27550 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27551
27552 [BZ #14888]
27553 * time/Makefile (tests): Add tst-strptime-whitespace.
27554 * time/strptime_l.c (get_number): Use ISSPACE.
27555 (__strptime_internal): Likewise.
27556 * time/tst-strptime-whitespace.c: New test case.
27557
27558 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27559
27560 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27561 member.
27562 (_nss_files_init): Set it here.
27563
27564 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27565
27566 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27567 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27568 unsigned.
27569
27570 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27571
27572 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27573
27574 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27575
27576 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27577 size just once.
27578
27579 2013-04-21 David S. Miller <davem@davemloft.net>
27580
27581 * po/ru.po: Update Russion translation from translation project.
27582
27583 2013-04-17 Adam Conrad <adconrad@0c3.net>
27584
27585 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27586 and setfsgid.
27587
27588 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27589
27590 * configure.in: Remove i386 configure warning. Remove i386 case.
27591 * configure: Regenerate.
27592 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27593 Add example to error message.
27594 * sysdeps/i386/configure: Regenerate.
27595
27596 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27597
27598 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27599 slowtan.
27600 * benchtests/cos-inputs: New file.
27601 * benchtests/slowcos-inputs: New file.
27602 * benchtests/slowcos.c: New file.
27603 * benchtests/slowtan-inputs: New file.
27604 * benchtests/slowtan.c: New file.
27605 * benchtests/tan-inputs: New file.
27606
27607 2013-04-16 Roland McGrath <roland@hack.frob.com>
27608
27609 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27610 considered kosher.
27611
27612 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27613
27614 * benchtests/Makefile: Include cppflags-iterator.mk to add
27615 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27616
27617 * Makefile.in (bench-clean): New target.
27618 * benchtests/Makefile (bench-clean): Likewise.
27619
27620 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27621
27622 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27623
27624 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27625
27626 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27627
27628 2013-04-15 Andreas Schwab <schwab@suse.de>
27629
27630 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27632 * nscd/pwdcache.c (cache_addpw): Likewise.
27633 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27634 more than recsize.
27635
27636 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27637
27638 * benchtests/Makefile (bench): Write all output to
27639 bench-out.tmp together.
27640
27641 2013-04-15 Andreas Schwab <schwab@suse.de>
27642
27643 * nscd/nscd.c (main): Don't fork again after closing files.
27644
27645 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27646
27647 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27648
27649 * benchtests/Rules (bench-deps): Collect dependencies into a
27650 single variable. Add Makefile to dependencies.
27651 ($(objpfx)bench-%.c): Depend on bench-deps.
27652
27653 2013-04-12 Roland McGrath <roland@hack.frob.com>
27654 Xavier Roche <roche+kml2@exalead.com>
27655
27656 [BZ #15361]
27657 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27658 just that it's a file descriptor.
27659 * manual/llio.texi (Synchronizing AIO Operations): Update description
27660 for EBADF error from aio_fsync.
27661
27662 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27663
27664 * Rules (bench): Move target definition...
27665 * benchtests/Makefile: ... here.
27666
27667 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27668
27669 * math/libm-test.inc (cos_test): Fix PI/2 test.
27670 (sincos_test): Likewise.
27671 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27672 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27673
27674 2013-04-11 Andreas Schwab <schwab@suse.de>
27675
27676 [BZ #13988]
27677 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27678 accept exponent character only when digits were seen.
27679 * stdio-common/Makefile (tests): Add bug26.
27680 * stdio-common/bug26.c: New file.
27681
27682 [BZ #14293]
27683 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27684 non-freeable.
27685
27686 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27687
27688 * Makeconfig (rtld-prefix): Define built linker prefix.
27689 * Rules (run-bench): Use it.
27690 * math/Makefile (run-regen-ulps): Likewise.
27691
27692 * Rules (bench): Remove eval.
27693
27694 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27695 Roland McGrath <roland@hack.frob.com>
27696 Ondrej Bilka <neleai@seznam.cz>
27697
27698 [BZ #15346]
27699 * time/getdate.c: Include ctype.h and alloca.h.
27700 (__getdate_r): Trim leading and trailing spaces of input.
27701 * time/tst-getdate.c (tests): Add tests with leading and
27702 trailing spaces.
27703
27704 2013-04-08 Roland McGrath <roland@hack.frob.com>
27705
27706 [BZ #14280]
27707 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27708 when computing value.
27709
27710 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27711
27712 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27713 Use testrun.sh to run libm tests.
27714
27715 [BZ #15309]
27716 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27717
27718 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27719
27720 [BZ #15264]
27721 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27722
27723 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27724
27725 * Makefile.in (regen-ulps): New target.
27726 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27727 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27728 [ifneq (no,$(PERL)] (regen-ulps): New target.
27729 [ifeq (no,$(PERL)] (regen-ulps): New target.
27730 * math/libm-test.inc (ulps_file_name): Define.
27731 (output_dir): New variable.
27732 (options): Add "output-dir" option.
27733 (parse_opt): Handle 'o' case.
27734 (main): If output_dir is non-NULL use it as a prefix
27735 otherwise use "".
27736 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27737
27738 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27739
27740 [BZ #10060, #10062]
27741 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27742 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27743 fail configure if __sync_val_compare_and_swap is not inlined.
27744 * sysdeps/i386/configure: Regenerate.
27745 * configure.in: Build for i686 when configured for i386.
27746 * configure: Regenerate.
27747 * README: Remove i386 reference.
27748
27749 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27750
27751 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27753
27754 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27755
27756 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27757 (lmsnanval): New variables.
27758 (F): Add conversion tests.
27759 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27760 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27761
27762 * stdio-common/tstdiomisc.c (F): Properly collect individual
27763 tests' results.
27764
27765 [BZ #14686, #15336]
27766 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27767 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27768 Instead, use input NaN values or generate a qNaN by arithmetic
27769 operation. Also fix bugs to comply with the standard.
27770 * math/libm-test.inc (remainder_test): Add more tests.
27771
27772 [BZ #15335, #15342]
27773 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27775 input NaN values or generate a qNaN by arithmetic operation.
27776
27777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27778 unreachable code.
27779
27780 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27781 definitions.
27782
27783 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27784
27785 [BZ #14478]
27786 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27787 underflowed result.
27788 * math/s_cexpf.c (__cexpf): Likewise.
27789 * math/s_cexpl.c (__cexpl): Likewise.
27790 * math/libm-test.inc (cexp_test): Add more tests.
27791
27792 2013-04-03 Andreas Schwab <schwab@suse.de>
27793
27794 [BZ #15330]
27795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27796 order arrays from heap if bigger than alloca cutoff.
27797
27798 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27799
27800 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27801 (SNAN_TESTS_double): Refer to GCC PR56831.
27802 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27803 GCC PR56828.
27804
27805 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27806
27807 * Rules (bench): Move bench.out after the run is complete.
27808
27809 * Rules (bench): Echo currently running benchmark.
27810
27811 * benchtests/Makefile (bench): Add atan and slowatan.
27812 * benchtests/atan-inputs: New file.
27813 * benchtests/slowatan-inputs: New file.
27814 * benchtests/slowatan.c: New file.
27815
27816 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27818 its value.
27819
27820 [BZ #15305]
27821 * sysdeps/unix/sysv/linux/kernel-features.h
27822 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27823 __ASSUME_XFS_RESTRICTED_CHOWN.
27824 * sysdeps/unix/sysv/linux/pathconf.c
27825 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27826 Save and restore errno.
27827
27828 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27829
27830 [BZ #15327]
27831 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27832 arguments using __kernel_casinh.
27833 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27834 arguments using __kernel_casinhf.
27835 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27836 arguments using __kernel_casinhl.
27837 * math/libm-test.inc (cacosh_test): Add more tests.
27838 * sysdeps/i386/fpu/libm-test-ulps: Update.
27839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27840
27841 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27842
27843 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27845
27846 * bench/Makefile (bench): Add sin and slowsin.
27847 * benchtests/sin-inputs: New file.
27848 * benchtests/slowsin-inputs: New file.
27849 * benchtests/slowsin.c: New file.
27850
27851 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27852 (bench): Add slowexp and slowpow.
27853 (exp-ITER): Increase iterations.
27854 (pow-ITER): Likewise.
27855 * benchtests/exp-inputs: Change input.
27856 * benchtests/pow-inputs: Likewise.
27857 * benchtests/slowexp-inputs: New file.
27858 * benchtests/slowexp.c: New file.
27859 * benchtests/slowpow-inputs: New file.
27860 * benchtests/slowpow.c: New file.
27861
27862 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27863
27864 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27865 instructions.
27866 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27867 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27868 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27869 * benchtests/Makefile: Add rint benchtest.
27870 * benchtests/rint-inputs: Input for rint benchtest.
27871
27872 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27873
27874 * Versions.def (libm): Add GLIBC_2.18.
27875 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27876 hidden libm prototypes.
27877 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27878 * math/Makefile (libm-calls): Add s_issignaling.
27879 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27880 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27881 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27882 declaration.
27883 * math/math.h [__USE_GNU] (issignaling): New macro.
27884 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27885 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27887 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27889 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27890 * manual/arith.texi (issignaling): New section.
27891 * manual/libm-err-tab.pl (@all_functions): Update comment.
27892 * math/gen-libm-test.pl (parse_args): Apply special handling for
27893 issignaling.
27894 * math/libm-test.inc (print_float, issignaling_test): New
27895 functions.
27896 (check_float_internal): Add issignaling checks.
27897 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27898 default definition.
27899 * sysdeps/powerpc/math-tests.h: New file.
27900 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27901 tests.
27902 * math/test-snan.c (TEST_FUNC): Likewise.
27903
27904 2013-03-30 David S. Miller <davem@davemloft.net>
27905
27906 * po/de.po: Update from translation team.
27907
27908 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27909
27910 [BZ #10357]
27911 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27912 imaginary part less than 1.0 and real part less than 0.5
27913 specially.
27914 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27915 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27916 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27917 (cacos_test): Add more tests.
27918 (casin_test): Likewise.
27919 (casinh_test): Likewise.
27920 * sysdeps/i386/fpu/libm-test-ulps: Update.
27921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27922
27923 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27924
27925 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27926 ONE with its value.
27927
27928 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27929 (__pow_mp): Replace ONE and MONE with their values.
27930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27932 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27933 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27934 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27935 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27936
27937 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27938
27939 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27940 (__pow_mp): Replace ZERO and MZERO with their values.
27941 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27943 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27945 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27946 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27947 (__sqr): Likewise.
27948
27949 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27950
27951 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27952
27953 2013-03-28 Roland McGrath <roland@hack.frob.com>
27954
27955 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27956 Declare with __attribute__ ((weak)).
27957 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27958 Call __call_tls_dtors only if it's not NULL.
27959
27960 2013-03-28 Roland McGrath <roland@hack.frob.com>
27961
27962 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27963 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27964 magic __ehdr_start linker symbol if it's defined.
27965 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27966 them up here if it was already done.
27967
27968 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27969 (_dl_aux_init): Use const in cast when setting it.
27970 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27971 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27972 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27973
27974 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27975 Declare them here.
27976 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27977 * csu/libc-tls.c: Nor here.
27978 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27979
27980 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27981 (__libc_message): Never call vsyslog.
27982
27983 2013-03-28 Alan Modra <amodra@gmail.com>
27984
27985 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27986 Define as empty.
27987 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27988 Likewise.
27989
27990 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27991
27992 [BZ #15214]
27993 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27994 underflow.
27995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27996
27997 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27998
27999 [BZ #15304]
28000 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28001 Don't add gid passed as argument.
28002
28003 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28004
28005 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28006
28007 [BZ #15307]
28008 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28009 imaginary part between 1.0 and 1.5 and real part less than 0.5
28010 specially.
28011 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28012 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28013 * math/libm-test.inc (cacos_test): Add more tests.
28014 (casin_test): Likewise.
28015 (casinh_test): Likewise.
28016 * sysdeps/i386/fpu/libm-test-ulps: Update.
28017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28018
28019 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28020
28021 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28022 constants.
28023 (norm): Likewise.
28024 (denorm): Likewise.
28025 (__dbl_mp): Likewise.
28026 (add_magnitudes): Likewise.
28027 (sub_magnitudes): Likewise.
28028 (__add): Likewise.
28029 (__sub): Likewise.
28030 (__mul): Likewise.
28031 (__sqr): Likewise.
28032 (__inv): Likewise.
28033 (__dvd): Likewise.
28034
28035 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28036 commented code.
28037 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28038 (__dubcos): Likewise.
28039 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28040 (__ieee754_acos): Likewise.
28041 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28042 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28043 (__exp1): Likewise.
28044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28046 (log1): Likewise.
28047 (my_log2): Likewise.
28048 (checkint): Likewise.
28049 * sysdeps/ieee754/dbl-64/e_remainder.c
28050 (__ieee754_remainder): Likewise.
28051 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28052 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28053 (bsloww): Likewise.
28054 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28055
28056 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28057 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28058 MANTISSA_STORE_T to store computations on mantissa. Use
28059 macros for rounding and division.
28060 (denorm): Likewise.
28061 (__dbl_mp): Likewise.
28062 (add_magnitudes): Likewise.
28063 (sub_magnitudes): Likewise.
28064 (__mul): Likewise.
28065 (__sqr): Likewise.
28066 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28067 powers of two in terms of TWOPOW macro.
28068 (mp_no): Make type of mantissa as MANTISSA_T.
28069 [!RADIXI]: Define RADIXI.
28070 [!TWO52]: Define TWO52.
28071 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28072
28073 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28074
28075 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28076 llroundl symbol when building for PPC32.
28077
28078 2013-03-24 Mark H Weaver <mhw@netris.org>
28079
28080 * manual/arith.texi (Normalization Functions): Fix prototypes for
28081 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28082
28083 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28084
28085 [BZ #13889]
28086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28087 high value to check if expl overflow.
28088 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28089 to check for underflow and overflow.
28090 * math/libm-test.inc: Add exp test.
28091
28092 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28093
28094 [BZ #11120]
28095 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28096 with NOT_IN_libc.
28097
28098 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28099
28100 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28101 symbol.
28102
28103 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28104
28105 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28106 wrap blocks consisting of several statements.
28107
28108 * sysdeps/generic/math-tests.h: New file.
28109 * sysdeps/i386/fpu/math-tests.h: Likewise.
28110 * math/test-snan.c: Include it.
28111 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28112
28113 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28114
28115 [BZ #15285]
28116 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28117 (__ieee754_j0l): Do not improve calculations using cos of twice
28118 input for inputs above LDBL_MAX / 2.0L.
28119 (__ieee754_y0l): Likewise.
28120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28121 (__ieee754_j1l): Do not improve calculations using cos of twice
28122 input for inputs above LDBL_MAX / 2.0L.
28123 (__ieee754_y1l): Likewise.
28124 * math/libm-test.inc (j0_test): Add another test.
28125 (j1_test): Likewise.
28126 (y0_test): Likewise.
28127 (y1_test): Likewise.
28128 * sysdeps/i386/fpu/libm-test-ulps: Update.
28129
28130 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28131
28132 * Rules ($(objpfx)bench-%.c): Include code from a C source
28133 file.
28134
28135 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28136
28137 [BZ #15287]
28138 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28139 imaginary part 1.0 and real part less than 0.5 specially.
28140 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28141 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28142 * math/libm-test.inc (cacos_test): Add more tests.
28143 (casin_test): Likewise.
28144 (casinh_test): Likewise.
28145 * sysdeps/i386/fpu/libm-test-ulps: Update.
28146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28147
28148 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28149
28150 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28151 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28152
28153 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28154
28155 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28156 * config.make.in (config-cflags-sse4): Remove variable.
28157 (config-cflags-avx): Likewise.
28158 (config-cflags-sse2avx): Likewise.
28159 (config-cflags-novzeroupper): Likewise.
28160 (config-asflags-i686): Likewise.
28161 (have-mfma4): Likewise.
28162 (have-as-vis3): Likewise.
28163 (MIG): Likewise.
28164 * configure.in (MIG): Do not AC_SUBST.
28165 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28166 (libc_cv_cc_sse4): Do not AC_SUBST.
28167 (libc_cv_cc_avx): Likewise.
28168 (libc_cv_cc_sse2avx): Likewise.
28169 (libc_cv_cc_novzeroupper): Likewise.
28170 (libc_cv_cc_fma4): Likewise.
28171 (libc_cv_as_i686): Likewise.
28172 (libc_cv_sparc_as_vis3): Likewise.
28173 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28174 LIBC_CONFIG_VAR.
28175 (config-asflags-i686): Likewise.
28176 (config-cflags-avx): Likewise.
28177 (config-cflags-sse2avx): Likewise.
28178 (have-mfma4): Likewise.
28179 (config-cflags-novzeroupper): Likewise.
28180 * sysdeps/mach/configure.in (MIG): Likewise.
28181 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28182 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28183 LIBC_CONFIG_VAR.
28184 (config-cflags-avx): Likewise.
28185 (config-cflags-sse2avx): Likewise.
28186 (have-mfma4): Likewise.
28187 (config-cflags-novzeroupper): Likewise.
28188 * configure: Regenerated.
28189 * sysdeps/i386/configure: Likewise.
28190 * sysdeps/mach/configure: Likewise.
28191 * sysdeps/sparc/configure: Likewise.
28192 * sysdeps/x86_64/configure: Likewise.
28193
28194 2013-03-20 Roland McGrath <roland@hack.frob.com>
28195
28196 [BZ #14812]
28197 * locale/programs/localedef.c (options): Put N_ translation marker
28198 on argument names, not just descriptions.
28199
28200 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28201
28202 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28203
28204 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28205
28206 [BZ #14176]
28207 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28208
28209 2013-03-19 Roland McGrath <roland@hack.frob.com>
28210
28211 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28212 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28213 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28214 [!BEFORE_ABORT] (before_abort): New function.
28215 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28216 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28217 (writev_for_fatal): New function.
28218 (WRITEV_FOR_FATAL): New macro; call that.
28219 (backtrace_and_maps): New function.
28220 (BEFORE_ABORT): New macro; call that.
28221 (struct str_list): Type removed.
28222 (__libc_message, __libc_fatal): Functions removed.
28223 Include <sysdeps/posix/libc_fatal.c> instead.
28224
28225 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28226
28227 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28228 constants.
28229 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28230 double constants.
28231
28232 2013-03-19 Andreas Schwab <schwab@suse.de>
28233
28234 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28235 * sysdeps/gnu/configure: Regenerate.
28236
28237 * configure.in: Substitute libc_cv_rtlddir.
28238 * configure: Regenerate.
28239 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28240 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28241 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28242 * elf/Makefile (install-others, CFLAGS-interp.c)
28243 (ldso_install, common-ldd-rewrite): Likewise.
28244 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28245 $(inst_slibdir)/$(rtld-installed-name).
28246 * scripts/rellns-sh: Add -p option.
28247 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28248 for source.
28249
28250 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28251
28252 * manual/nptl.texi: Renamed to ...
28253 * manual/threads.texi: ... this.
28254 * manual/Makefile (chapters): Update.
28255
28256 2013-03-18 Roland McGrath <roland@hack.frob.com>
28257
28258 [BZ #14812]
28259 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28260 on argument names, not just descriptions.
28261 * malloc/memusagestat.c (options): Likewise.
28262 * nss/getent.c (options): Likewise.
28263
28264 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28265
28266 [BZ #14812]
28267 * iconv/iconv_prog.c (options): Put N_ translation marker
28268 on argument names, not just descriptions.
28269 * iconv/iconvconfig.c (options): Likewise.
28270
28271 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28272
28273 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28274 implementation which is faster on all x86_64 architectures.
28275 Tested on AMD, Intel Nehalem, SNB, IVB.
28276 * sysdeps/x86_64/strnlen.S: Likewise.
28277
28278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28279 Remove all multiarch strlen and strnlen versions.
28280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28281 Remove strlen and strnlen related parts.
28282
28283 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28284 Inline strlen part.
28285 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28286
28287 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28288 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28289 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28290 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28291 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28292 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28293
28294 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28295
28296 * manual/memory.texi (Malloc Tunable Parameters):
28297 Sort parameters alphabetically. Add comments for missing entries.
28298
28299 2013-03-17 David S. Miller <davem@davemloft.net>
28300
28301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28302
28303 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28304
28305 [BZ #15283]
28306 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28307 for arguments at most half maximum finite value.
28308 * math/libm-test.inc (j0_test): Add more tests.
28309 (j1_test): Likewise.
28310 (y0_test): Likewise.
28311 (y1_test): Likewise.
28312 * sysdeps/i386/fpu/libm-test-ulps: Update.
28313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28314
28315 [BZ #14155]
28316 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28317 1 / x and functions P and Q for arguments above 0x1p256L.
28318 (__ieee754_y0l): Likewise.
28319 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28320 (__ieee754_y1l): Likewise.
28321 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28322 (j1_test): Likewise.
28323 (y0_test): Likewise.
28324 (y1_test): Likewise.
28325
28326 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28327
28328 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28329 variable.
28330
28331 2013-03-15 Roland McGrath <roland@hack.frob.com>
28332
28333 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28334 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28335 zero since it's initialized to EXEC_PAGESIZE.
28336
28337 * sysdeps/unix/sysv/linux/ldsodefs.h
28338 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28339 * sysdeps/generic/ldsodefs.h: ... here.
28340
28341 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28342
28343 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28344
28345 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28346 math/test-snan.c.
28347 * math/test-snan.c: Renamed from
28348 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28349 * math/Makefile (tests): Add test-snan.
28350 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28351 test-powerpc-snan.
28352
28353 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28354 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28355 functions.
28356 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28357 __builtin_nan family of functions.
28358 * math/libm-test.inc (initialize): Initialize qnan_value with
28359 __builtin_nan family of functions.
28360 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28361 Remove variables.
28362 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28363 Remove functions.
28364 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28365 storage class. Initialize qNaN_var and sNaN_var with
28366 __builtin_nan and __builtin_nans families of functions,
28367 respectively.
28368
28369 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28370 (sqrt_test): Remove duplicate test with qNaN input.
28371 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28372 (round_test, signbit_test, significand_test): Note missing +/-Inf
28373 as well as qNaN tests.
28374
28375 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28376 qNaN_var. Fix a few strings, too.
28377 * math/libm-test.inc (nan_value): Rename to qnan_value.
28378 * math/gen-libm-test.pl (%beautify): Adjust to that.
28379 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28380 * math/test-misc.c (main): Likewise.
28381 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28382 to __qnan_bytes, and __qnan_union, respectively.
28383 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28384 Likewise.
28385 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28386 and lqnanval, respectively.
28387 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28388 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28389 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28390 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28391
28392 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28393 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28394 doubles.
28395
28396 * math/test-misc.c (main): Fix copy'n'pastos.
28397 * misc/tst-efgcvt.c (special): Likewise.
28398
28399 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28400 Remove declarations.
28401
28402 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28403
28404 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28405 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28406 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28407 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28408
28409 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28410
28411 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28412 macro to return vdso values correctly in IFUNC implementations.
28413 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28414 Optimization by using IFUNC.
28415
28416 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28417 Richard Henderson <rth@redhat.com>
28418 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28419
28420 * Makefile.in (bench): New target.
28421 * NEWS: Mention the benchmark framework.
28422 * Rules (bench): Likewise.
28423 (binaries-bench): Generate binaries for functions to
28424 benchmark.
28425 * benchtests/Makefile: New makefile for benchmark tests.
28426 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28427 programs.
28428 * benchtests/exp-inputs: New input file for EXP function.
28429 * benchtests/pow-inputs: New input file for POW function.
28430 * scripts/bench.pl: New script to generate source files for
28431 benchmark programs.
28432
28433 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28434
28435 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28436 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28437 computations on mantissa. Use macros for rounding and
28438 division.
28439 (denorm): Likewise.
28440 (__dbl_mp): Likewise.
28441 (add_magnitudes): Likewise.
28442 (sub_magnitudes): Likewise.
28443 (__mul): Likewise.
28444 (__sqr): Likewise.
28445 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28446 powers of two in terms of TWOPOW macro.
28447 (mp_no): Make type of mantissa as MANTISSA_T.
28448 [!RADIXI]: Define RADIXI.
28449 [!TWO52]: Define TWO52.
28450 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28451
28452 * manual/nptl.texi (cindex): Modify threads to pthreads.
28453
28454 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28455
28456 * sysdeps/x86_64/preconfigure: Regenerated.
28457
28458 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28459
28460 [BZ #14155]
28461 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28462 0x1p28 and above.
28463 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28464 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28465 0x1p28 and above.
28466 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28467 * math/libm-test.inc (j0_test): Do not allow one spurious
28468 underflow exception.
28469 (y1_test): Likewise.
28470
28471 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28472
28473 * manual/Makefile (chapters): Add nptl.
28474 * manual/debug.texi (Debugging Support): Add link to Threads
28475 chapter.
28476 * manual/nptl.texi: New file.
28477
28478 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28479
28480 2013-03-14 Petr Baudis <pasky@ucw.cz>
28481
28482 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28483 for non-NULL pointer before the memory validity test. Pointed
28484 out by Holger Brunck <holger.brunck@keymile.com>.
28485
28486 2013-03-13 Andreas Schwab <schwab@suse.de>
28487
28488 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28489 instead of .os.
28490
28491 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28492
28493 * timezone/zic.c: Update from tzcode 2013b.
28494
28495 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28496
28497 * manual/install.texi (Configuring and compiling):
28498 Mention i686 and i586.
28499 * INSTALL: Regenerate.
28500
28501 2013-03-12 Roland McGrath <roland@hack.frob.com>
28502
28503 * sysdeps/init_array/elf-init.c: New file.
28504 * csu/elf-init.c
28505 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28506 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28507
28508 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28509 __gmon_start__ as global, but as static with a .preinit_array pointer.
28510 * sysdeps/init_array/gmon-start.c: New file. Use that.
28511 * sysdeps/init_array/crti.S: New file, empty except for comments.
28512 * sysdeps/init_array/crtn.S: Likewise.
28513
28514 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28515
28516 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28517 definining bcopy.
28518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28519 Remove Prefer_SSE_for_memop.
28520 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28521 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28522 HAS_PREFER_SSE_FOR_MEMOP.
28523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28524 memset-x86-64.
28525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28526 Remove bzero, memset ifunc support.
28527 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28528 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28529 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28530 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28531
28532 2013-03-11 Andreas Schwab <schwab@suse.de>
28533
28534 [BZ #15234]
28535 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28536 by SHLIB_COMPAT.
28537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28538 (GLIBC_2.16): Remove pthread_atfork.
28539
28540 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28541
28542 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28543 (ptestcases.h): Likewise.
28544
28545 2013-03-08 Roland McGrath <roland@hack.frob.com>
28546
28547 * Makeconfig ($(common-objpfx)config.status): Depend on
28548 sysdeps/*/preconfigure{,.in} too.
28549
28550 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28551
28552 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28553 (__free_hook): Use void * instead of __malloc_ptr_t.
28554 (__malloc_hook): Likewise.
28555 (__realloc_hook): Likewise.
28556 (__memalign_hook): Likewise.
28557 (__after_morecore_hook): Likewise.
28558 * malloc/arena.c (save_malloc_hook): Likewise.
28559 (save_free_hook): Likewise.
28560 * malloc/hooks.c (malloc_hook_ini): Likewise.
28561 (realloc_hook_ini): Likewise.
28562 (memalign_hook_ini): Likewise.
28563 * malloc/malloc.c (malloc_hook_ini): Likewise.
28564 (realloc_hook_ini): Likewise.
28565 (memalign_hook_ini): Likewise.
28566 (__free_hook): Likewise.
28567 (__malloc_hook): Likewise.
28568 (__realloc_hook): Likewise.
28569 (__memalign_hook): Likewise.
28570 (__libc_malloc): Likewise.
28571 (__libc_free): Likewise.
28572 (__libc_realloc): Likewise.
28573 (__libc_memalign): Likewise.
28574 (__libc_valloc): Likewise.
28575 (__libc_pvalloc): Likewise.
28576 (__libc_calloc): Likewise.
28577 (__posix_memalign): Likewise.
28578 * malloc/morecore.c (__sbrk): Likewise.
28579 (__default_morecore): Likewise.
28580
28581 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28582
28583 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28584 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28585 __malloc_ptrdiff_t.
28586
28587 * malloc/malloc.h (__malloc_size_t): Remove macro.
28588 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28589 __malloc_size_t.
28590 (old_memalign_hook): Likewise.
28591 (old_realloc_hook): Likewise.
28592 (struct hdr): Likewise.
28593 (flood): Likewise.
28594 (mallochook): Likewise.
28595 (memalignhook): Likewise.
28596 (reallochook): Likewise.
28597 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28598 (tr_old_realloc_hook): Likewise.
28599 (tr_old_memalign_hook): Likewise.
28600 (tr_mallochook): Likewise.
28601 (tr_reallochook): Likewise.
28602 (tr_memalignhook): Likewise.
28603
28604 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28605
28606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28607 default_ldbl_pack and using as default implementation.
28608 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28609 implementation.
28610 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28611 redundant definition.
28612 (ldbl_insert_mantissa): Likewise.
28613 (ldbl_canonicalize): Likewise.
28614 (ldbl_nearbyint): Likewise.
28615 (ldbl_pack): Rename to ldbl_pack_ppc.
28616 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28617 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28618 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28619
28620 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28621
28622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28623 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28624 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28625 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28627 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28628 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28629 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28630
28631 2013-03-07 Andreas Jaeger <aj@suse.de>
28632
28633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28634 bits/mman-linux.h.
28635
28636 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28637
28638 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28639 Include mpa.h and declare __MPEXP.
28640 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28641 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28642 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28644 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28645 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28646 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28647
28648 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28649 (__slowpow): Use long double EXPL and LOGL functions to
28650 compute POW.
28651 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28652 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28653 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28654 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28655 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28657
28658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28659 intermediate variable to calculate exponent.
28660 (__sqr): Likewise.
28661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28662 Likewise.
28663 (__sqr): Likewise.
28664
28665 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28666 [!NO__SQR]: Define __sqr.
28667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28668 and NO__SQR. Remove all code except __mul and __sqr. Include
28669 sysdeps/ieee754/dbl-64/mpa.c.
28670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28671
28672 [BZ #12723]
28673 * posix/Makefile (tests): Add tst-pathconf.
28674 * posix/tst-pathconf.c: New test case.
28675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28676 _PC_PIPE_BUF.
28677 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28678
28679 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28680
28681 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28682
28683 2013-03-06 Andreas Jaeger <aj@suse.de>
28684
28685 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28686 definition via __MAP_ANONYMOUS.
28687
28688 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28689 it's not part of Linux headers.
28690
28691 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28692 (MAP_HUGE_MASK): Define.
28693
28694 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28695 Define.
28696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28698 Define.
28699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28700 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28701 Define.
28702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28704 Define.
28705 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28706
28707 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28708 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28709 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28710 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28711 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28712 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28713
28714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28715 Handle f2fs.
28716
28717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28718 Handle f2fs and efivarfs.
28719
28720 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28721 f2fs.
28722
28723 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28724 (EFIVARFS_MAGIC): Add.
28725 (F2FS_LINK_MAX): Add.
28726
28727 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28728
28729 * stdio-common/vfprintf.c: Replace __builtin_expect with
28730 __glibc_unlikely.
28731
28732 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28733
28734 [BZ #13550]
28735 * sysdeps/generic/bp-sym.h: Remove file.
28736 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28737 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28738 <bp-sym.h> and <bp-asm.h>.
28739 (__longjmp): Don't use BP_SYM.
28740 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28741 and <bp-asm.h>.
28742 (memcpy): Don't use BP_SYM.
28743 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28744 <bp-sym.h> and <bp-asm.h>.
28745 (memcpy): Don't use BP_SYM.
28746 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28747 <bp-asm.h>.
28748 (memcpy): Don't use BP_SYM.
28749 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28750 <bp-asm.h>.
28751 (memset): Don't use BP_SYM.
28752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28754 (__bzero): Don't use BP_SYM.
28755 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28756 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28758 <bp-sym.h> and <bp-asm.h>.
28759 (memcmp): Don't use BP_SYM. Remove comment about bounded
28760 pointers.
28761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28762 <bp-sym.h> and <bp-asm.h>.
28763 (memcpy): Don't use BP_SYM.
28764 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28765 <bp-sym.h> and <bp-asm.h>.
28766 (memset): Don't use BP_SYM.
28767 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28768 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28769 (__bzero): Don't use BP_SYM.
28770 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28771 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28772 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28773 <bp-sym.h> and <bp-asm.h>.
28774 (strncmp): Don't use BP_SYM. Remove comment about bounded
28775 pointers.
28776 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28777 <bp-sym.h> and <bp-asm.h>.
28778 (memcpy): Don't use BP_SYM.
28779 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28780 <bp-sym.h> and <bp-asm.h>.
28781 (memset): Don't use BP_SYM.
28782 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28783 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28784 (__bzero): Don't use BP_SYM.
28785 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28786 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28787 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28788 <bp-sym.h> and <bp-asm.h>.
28789 (__memchr): Don't use BP_SYM.
28790 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28791 <bp-sym.h> and <bp-asm.h>.
28792 (memcmp): Don't use BP_SYM. Remove comment about bounded
28793 pointers.
28794 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28795 <bp-sym.h> and <bp-asm.h>.
28796 (memcpy): Don't use BP_SYM.
28797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28798 <bp-sym.h> and <bp-asm.h>.
28799 (__mempcpy): Don't use BP_SYM.
28800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28801 <bp-sym.h> and <bp-asm.h>.
28802 (__memrchr): Don't use BP_SYM.
28803 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28804 <bp-sym.h> and <bp-asm.h>.
28805 (memset): Don't use BP_SYM.
28806 (__bzero): Likewise.
28807 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28808 <bp-sym.h> and <bp-asm.h>.
28809 (__rawmemchr): Don't use BP_SYM.
28810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28811 <bp-sym.h> and <bp-asm.h>.
28812 (__STRCMP): Don't use BP_SYM.
28813 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28814 <bp-sym.h> and <bp-asm.h>.
28815 (strchr): Don't use BP_SYM.
28816 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28817 <bp-sym.h> and <bp-asm.h>.
28818 (__strchrnul): Don't use BP_SYM.
28819 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28820 <bp-sym.h> and <bp-asm.h>.
28821 (strlen): Don't use BP_SYM.
28822 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28823 <bp-sym.h> and <bp-asm.h>.
28824 (strncmp): Don't use BP_SYM. Remove comment about bounded
28825 pointers.
28826 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28827 <bp-sym.h> and <bp-asm.h>.
28828 (__strnlen): Don't use BP_SYM.
28829 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28830 <bp-sym.h> and <bp-asm.h>.
28831 (__GI__setjmp): Don't use BP_SYM.
28832 (_setjmp): Likewise.
28833 (__sigsetjmp): Likewise.
28834 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28835 (L(start_addresses)): Don't use BP_SYM.
28836 (_start): Likewise.
28837 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28838 <bp-asm.h>.
28839 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28840 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28841 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28842 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28843 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28844 <bp-asm.h>.
28845 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28846 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28847 about bounded pointers.
28848 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28849 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28850 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28851 <bp-asm.h>.
28852 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28853 about bounded pointers. Remove GKM FIXME comments.
28854 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28855 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28856 <bp-asm.h>.
28857 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28858 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28859 Remove GKM FIXME comments.
28860 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28861 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28862 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28863 <bp-asm.h>.
28864 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28865 about bounded pointers. Remove GKM FIXME comment.
28866 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28867 and <bp-asm.h>.
28868 (strncmp): Don't use BP_SYM. Remove comment about bounded
28869 pointers.
28870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28871 <bp-sym.h> and <bp-asm.h>.
28872 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28874 <bp-sym.h> and <bp-asm.h>.
28875 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28876 comment.
28877
28878 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28879
28880 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28881 call free(NULL).
28882
28883 2013-03-05 David S. Miller <davem@davemloft.net>
28884
28885 * po/es.po: Update from translation team.
28886
28887 2013-03-05 Andreas Jaeger <aj@suse.de>
28888
28889 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28890 <bits/mman-linux.h>.
28891 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28892 is fine.
28893 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28894 <bits/mman-linux.h> to end of file.
28895 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28896 is fine.
28897 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28898 <bits/mman-linux.h> to end of file.
28899 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28900 is fine.
28901 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28902 <bits/mman-linux.h> to end of file.
28903
28904 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28905 (MCL_CURRENT, MCL_FUTURE): Define here.
28906
28907 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28908
28909 [BZ #15232]
28910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28911 attribute_hidden.
28912 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28913
28914 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28915
28916 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28917 fourth parameter needed for rt_sigprocmask syscall.
28918 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28919 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28920 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28921 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28922 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28923 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28924
28925 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28926
28927 [BZ #13550]
28928 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28929 comment about bounded pointers.
28930 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28931 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28932
28933 2013-03-04 Andreas Jaeger <aj@suse.de>
28934
28935 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28936 common definitions.
28937
28938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28939 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28940 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28941 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28944
28945 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28946
28947 [BZ #15055]
28948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28949 __ieee754_sqrl instead of __sqrl.
28950
28951 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28952
28953 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28954 * sysdeps/powerpc/fpu_control.h: ... here.
28955 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28956 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28957 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28958 * sysdeps/powerpc/bits/mathinline.h: ... here.
28959
28960 2013-03-01 Roland McGrath <roland@hack.frob.com>
28961
28962 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28963 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28964 to just [NEED_DL_SYSINFO_DSO].
28965 * elf/dl-support.c: Likewise.
28966 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28967 * elf/rtld.c (dl_main): Likewise.
28968 * elf/setup-vdso.h (setup_vdso): Likewise.
28969 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28970 * sysdeps/unix/sysv/linux/dl-sysdep.c
28971 (_dl_discover_osversion): Likewise.
28972
28973 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28974
28975 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28976 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28977
28978 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28979
28980 * NEWS: Mention libm performance improvements and non-x86 PI
28981 futex support.
28982
28983 * csu/libc-start.c (__pthread_initialize_minimal): Change
28984 function arguments.
28985 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28986
28987 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28988
28989 [BZ #13550]
28990 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28991 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28992 <bp-sym.h> and <bp-asm.h>.
28993 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28994 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28995 and <bp-asm.h>.
28996 (memcpy): Don't use BP_SYM.
28997 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28998 <bp-asm.h>.
28999 (__mpn_add_n): Don't use BP_SYM.
29000 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29001 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29002 and <bp-asm.h>.
29003 (__mpn_addmul_1): Don't use BP_SYM.
29004 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29005 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29006 <bp-sym.h>.
29007 (_setjmp): Don't use BP_SYM.
29008 (__novmx_setjmp): Likewise.
29009 (__GI__setjmp): Likewise.
29010 (__vmx_setjmp): Likewise.
29011 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29012 <bp-sym.h>.
29013 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29014 (__bzero): Don't use BP_SYM.
29015 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29016 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29017 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29018 <bp-sym.h> and <bp-asm.h>.
29019 (memcpy): Don't use BP_SYM.
29020 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29021 <bp-sym.h> and <bp-asm.h>.
29022 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29023 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29024 <bp-sym.h> and <bp-asm.h>.
29025 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29026 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29027 <bp-asm.h>.
29028 (__mpn_lshift): Don't use BP_SYM.
29029 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29030 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29031 <bp-asm.h>.
29032 (memset): Don't use BP_SYM.
29033 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29034 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29035 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29036 <bp-asm.h>.
29037 (__mpn_mul_1): Don't use BP_SYM.
29038 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29040 <bp-sym.h> and <bp-asm.h>.
29041 (memcmp): Don't use BP_SYM.
29042 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29043 <bp-sym.h> and <bp-asm.h>.
29044 (memcpy): Don't use BP_SYM.
29045 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29046 <bp-sym.h> and <bp-asm.h>.
29047 (memset): Don't use BP_SYM.
29048 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29049 <bp-sym.h> and <bp-asm.h>.
29050 (strncmp): Don't use BP_SYM.
29051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29052 <bp-sym.h> and <bp-asm.h>.
29053 (memcpy): Don't use BP_SYM.
29054 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29055 <bp-sym.h> and <bp-asm.h>.
29056 (memset): Don't use BP_SYM.
29057 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29058 <bp-sym.h> and <bp-asm.h>.
29059 (__memchr): Don't use BP_SYM.
29060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29061 <bp-sym.h> and <bp-asm.h>.
29062 (memcmp): Don't use BP_SYM.
29063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29064 <bp-sym.h> and <bp-asm.h>.
29065 (memcpy): Don't use BP_SYM.
29066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29067 <bp-sym.h> and <bp-asm.h>.
29068 (__mempcpy): Don't use BP_SYM.
29069 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29070 <bp-sym.h> and <bp-asm.h>.
29071 (__memrchr): Don't use BP_SYM.
29072 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29073 <bp-sym.h> and <bp-asm.h>.
29074 (memset): Don't use BP_SYM.
29075 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29076 <bp-sym.h> and <bp-asm.h>.
29077 (__rawmemchr): Don't use BP_SYM.
29078 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29079 <bp-sym.h> and <bp-asm.h>.
29080 (__STRCMP): Don't use BP_SYM.
29081 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29082 <bp-sym.h> and <bp-asm.h>.
29083 (strchr): Don't use BP_SYM.
29084 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29085 <bp-sym.h> and <bp-asm.h>.
29086 (__strchrnul): Don't use BP_SYM.
29087 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29088 <bp-sym.h> and <bp-asm.h>.
29089 (strlen): Don't use BP_SYM.
29090 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29091 <bp-sym.h> and <bp-asm.h>.
29092 (strncmp): Don't use BP_SYM.
29093 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29094 <bp-sym.h> and <bp-asm.h>.
29095 (__strnlen): Don't use BP_SYM.
29096 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29097 <bp-asm.h>.
29098 (__mpn_rshift): Don't use BP_SYM.
29099 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29100 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29101 <bp-sym.h> and <bp-asm.h>.
29102 (__sigsetjmp): Don't use BP_SYM.
29103 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29104 (L(start_addresses)): Don't use BP_SYM.
29105 (_start): Likewise.
29106 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29107 <bp-asm.h>.
29108 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29109 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29110 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29111 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29112 <bp-asm.h>.
29113 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29114 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29115 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29116 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29117 <bp-asm.h>.
29118 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29119 comments.
29120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29121 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29122 <bp-asm.h>.
29123 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29124 FIXME comments.
29125 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29126 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29127 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29128 <bp-asm.h>.
29129 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29130 comment.
29131 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29132 and <bp-asm.h>.
29133 (strncmp): Don't use BP_SYM,
29134 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29135 <bp-asm.h>.
29136 (__mpn_sub_n): Don't use BP_SYM.
29137 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29138 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29139 and <bp-asm.h>.
29140 (__mpn_submul_1): Don't use BP_SYM.
29141 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29143 <bp-sym.h> and <bp-asm.h>.
29144 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29146 <bp-sym.h> and <bp-asm.h>.
29147 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29148 comment.
29149
29150 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29151
29152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29153 Use ZK to minimize writes to Z.
29154 (sub_magnitudes): Simplify code a bit.
29155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29156 Use ZK to minimize writes to Z.
29157 (sub_magnitudes): Simplify code a bit.
29158
29159 2013-02-27 Roland McGrath <roland@hack.frob.com>
29160
29161 * csu/gmon-start.c: Add special exception to license text.
29162
29163 2013-02-27 Richard Henderson <rth@redhat.com>
29164
29165 * scripts/config.guess: Update from config.git.
29166 * scripts/config.sub: Likewise.
29167
29168 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29169
29170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29171
29172 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29173
29174 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29175
29176 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29177
29178 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29179
29180 2013-02-26 Roland McGrath <roland@hack.frob.com>
29181
29182 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29183 [$(build-shared = yes].
29184
29185 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29186
29187 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29188 (__mul): Reduce iterations for calculating mantissa.
29189
29190 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29191 MPTWO.
29192 (__mpranred): Likewise.
29193
29194 [BZ #15160]
29195 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29196 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29197
29198 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29199
29200 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29201 Define __attribute__.
29202
29203 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29204
29205 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29206 unused.
29207 * posix/regex_internal.h (__attribute): Remove.
29208 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29209 (re_string_context_at): Likewise.
29210 (bitset_not): Use __attribute__ and mark function as possibly
29211 unused.
29212 (bitset_merge): Likewise.
29213 (bitset_mask): Likewise.
29214 (re_string_char_size_at): Likewise.
29215 (re_string_wchar_at): Likewise.
29216 (re_string_elem_size_at): Likewise.
29217
29218 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29219
29220 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29221 code.
29222 (cc32): Likewise.
29223
29224 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29225 (__acr): Likewise.
29226 (__cpy): Likewise.
29227 (norm): Likewise.
29228 (denorm): Likewise.
29229 (__dbl_mp): Likewise.
29230 (add_magnitudes): Likewise.
29231 (sub_magnitudes): Likewise.
29232 (__mul): Likewise.
29233 (__inv): Likewise.
29234
29235 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29236 style.
29237
29238 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29239 style.
29240
29241 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29242 code.
29243
29244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29245 up changes with default code.
29246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29247 Likewise.
29248
29249 2013-02-24 Allan McRae <allan@archlinux.org>
29250
29251 * manual/socket.texi (The Internet Namespace): Order menu items
29252 to match that in the file.
29253
29254 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29255 node listing of the info page menu.
29256
29257 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29258
29259 [BZ #13550]
29260 * sysdeps/i386/bp-asm.h: Remove file.
29261 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29262 (PARMS): Do not use macros from bp-asm.h.
29263 (S1): Likewise.
29264 (S2): Likewise.
29265 (SIZE): Likewise.
29266 (__mpn_add_n): Do not use BP_SYM
29267 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29268 "bp-asm.h".
29269 (PARMS): Do not use macros from bp-asm.h.
29270 (S1): Likewise.
29271 (SIZE): Likewise.
29272 (__mpn_addmul_1): Do not use BP_SYM
29273 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29274 "bp-asm.h".
29275 (PARMS): Do not use macros from bp-asm.h.
29276 (SIGMSK): Likewise.
29277 (_setjmp): Likewise. Do not use BP_SYM.
29278 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29279 "bp-asm.h".
29280 (PARMS): Do not use macros from bp-asm.h.
29281 (SIGMSK): Likewise.
29282 (setjmp): Likewise. Do not use BP_SYM.
29283 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29284 "bp-asm.h".
29285 (PARMS): Do not use macros from bp-asm.h.
29286 (__frexp): Do not use BP_SYM.
29287 (frexp): Likewise.
29288 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29289 "bp-asm.h".
29290 (PARMS): Do not use macros from bp-asm.h.
29291 (__frexpf): Do not use BP_SYM.
29292 (frexpf): Likewise.
29293 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29294 "bp-asm.h".
29295 (PARMS): Do not use macros from bp-asm.h.
29296 (__frexpl): Do not use BP_SYM.
29297 (frexpl): Likewise.
29298 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29299 "bp-asm.h".
29300 (PARMS): Do not use macros from bp-asm.h.
29301 (__remquo): Do not use BP_SYM.
29302 (remquo): Likewise.
29303 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29304 "bp-asm.h".
29305 (PARMS): Do not use macros from bp-asm.h.
29306 (__remquof): Do not use BP_SYM.
29307 (remquof): Likewise.
29308 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29309 "bp-asm.h".
29310 (PARMS): Do not use macros from bp-asm.h.
29311 (__remquol): Do not use BP_SYM.
29312 (remquol): Likewise.
29313 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29314 "bp-asm.h".
29315 (PARMS): Do not use macros from bp-asm.h.
29316 (DEST): Likewise.
29317 (SRC): Likewise.
29318 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29319 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29320 "bp-asm.h".
29321 (PARMS): Do not use macros from bp-asm.h.
29322 (strlen): Do not use BP_SYM.
29323 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29324 "bp-asm.h".
29325 (PARMS): Do not use macros from bp-asm.h.
29326 (S1): Likewise.
29327 (S2): Likewise.
29328 (SIZE): Likewise.
29329 (__mpn_add_n): Do not use BP_SYM.
29330 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29331 "bp-asm.h".
29332 (PARMS): Do not use macros from bp-asm.h.
29333 (S1): Likewise.
29334 (SIZE): Likewise.
29335 (__mpn_addmul_1): Do not use BP_SYM.
29336 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29337 weak_alias.
29338 (bzero): Likewise.
29339 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29340 "bp-asm.h".
29341 (PARMS): Do not use macros from bp-asm.h.
29342 (S): Likewise.
29343 (SIZE): Likewise.
29344 (__mpn_lshift): Do not use BP_SYM.
29345 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29346 "bp-asm.h".
29347 (PARMS): Do not use macros from bp-asm.h.
29348 (DEST): Likewise.
29349 (SRC): Likewise.
29350 (LEN): Likewise.
29351 (memcpy): Likewise. Do not use BP_SYM.
29352 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29353 libc_hidden_def and weak_alias.
29354 (mempcpy): Do not use BP_SYM in weak_alias.
29355 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29356 "bp-asm.h".
29357 (PARMS): Do not use macros from bp-asm.h.
29358 (DEST): Likewise.
29359 (LEN): Likewise.
29360 [!BZERO_P] (CHR): Likewise.
29361 (memset): Likewise. Do not use BP_SYM.
29362 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29363 "bp-asm.h".
29364 (PARMS): Do not use macros from bp-asm.h.
29365 (S1): Likewise.
29366 (SIZE): Likewise.
29367 (__mpn_mul_1): Do not use BP_SYM.
29368 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29369 "bp-asm.h".
29370 (PARMS): Do not use macros from bp-asm.h.
29371 (S): Likewise.
29372 (SIZE): Likewise.
29373 (__mpn_rshift): Do not use BP_SYM.
29374 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29375 "bp-asm.h".
29376 (PARMS): Do not use macros from bp-asm.h.
29377 (STR): Likewise.
29378 (CHR): Likewise.
29379 (strchr): Likewise. Do not use BP_SYM.
29380 (index): Do not use BP_SYM in weak_alias.
29381 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29382 "bp-asm.h".
29383 (PARMS): Do not use macros from bp-asm.h.
29384 (DEST): Likewise.
29385 (SRC): Likewise.
29386 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29387 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29388 "bp-asm.h".
29389 (PARMS): Do not use macros from bp-asm.h.
29390 (strlen): Do not use BP_SYM.
29391 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29392 "bp-asm.h".
29393 (PARMS): Do not use macros from bp-asm.h.
29394 (S1): Likewise.
29395 (S2): Likewise.
29396 (SIZE): Likewise.
29397 (__mpn_sub_n): Do not use BP_SYM.
29398 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29399 "bp-asm.h".
29400 (PARMS): Do not use macros from bp-asm.h.
29401 (S1): Likewise.
29402 (SIZE): Likewise.
29403 (__mpn_submul_1): Do not use BP_SYM.
29404 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29405 "bp-asm.h".
29406 (PARMS): Do not use macros from bp-asm.h.
29407 (S1): Likewise.
29408 (S2): Likewise.
29409 (SIZE): Likewise.
29410 (__mpn_add_n): Do not use BP_SYM.
29411 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29412 weak_alias.
29413 (bzero): Likewise.
29414 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29415 "bp-asm.h".
29416 (PARMS): Do not use macros from bp-asm.h.
29417 (BLK2): Likewise.
29418 (LEN): Likewise.
29419 (memcmp): Do not use BP_SYM.
29420 (bcmp): Do not use BP_SYM in weak_alias.
29421 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29422 "bp-asm.h".
29423 (PARMS): Do not use macros from bp-asm.h.
29424 (DEST): Likewise.
29425 (SRC): Likewise.
29426 (LEN): Likewise.
29427 (memcpy): Likewise. Do not use BP_SYM.
29428 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29429 "bp-asm.h".
29430 (PARMS): Do not use macros from bp-asm.h.
29431 (DEST): Likewise.
29432 (SRC): Likewise.
29433 (LEN): Likewise.
29434 (memmove): Likewise. Do not use BP_SYM.
29435 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29436 "bp-asm.h".
29437 (PARMS): Do not use macros from bp-asm.h.
29438 (DEST): Likewise.
29439 (SRC): Likewise.
29440 (LEN): Likewise.
29441 (__mempcpy): Likewise. Do not use BP_SYM.
29442 (mempcpy): Do not use BP_SYM in weak_alias.
29443 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29444 "bp-asm.h".
29445 (PARMS): Do not use macros from bp-asm.h.
29446 (DEST): Likewise.
29447 (LEN): Likewise.
29448 [!BZERO_P] (CHR): Likewise.
29449 (memset): Likewise. Do not use BP_SYM.
29450 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29451 "bp-asm.h".
29452 (PARMS): Do not use macros from bp-asm.h.
29453 (STR2): Likewise.
29454 (strcmp): Do not use BP_SYM.
29455 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29456 "bp-asm.h".
29457 (PARMS): Do not use macros from bp-asm.h.
29458 (STR): Likewise.
29459 (DELIM): Likewise.
29460 [USE_AS_STRTOK_R] (SAVE): Likewise.
29461 (FUNCTION): Likewise. Do not use BP_SYM.
29462 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29463 aliases.
29464 (strtok_r): Likewise.
29465 (__GI___strtok_r): Likewise.
29466 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29467 (PARMS): Do not use macros from bp-asm.h.
29468 (S): Likewise.
29469 (SIZE): Likewise.
29470 (__mpn_lshift): Do not use BP_SYM.
29471 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29472 (PARMS): Do not use macros from bp-asm.h.
29473 (STR): Likewise.
29474 (CHR): Likewise.
29475 (__memchr): Do not use BP_SYM.
29476 (memchr): Do not use BP_SYM in weak_alias.
29477 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29478 (PARMS): Do not use macros from bp-asm.h.
29479 (BLK2): Likewise.
29480 (LEN): Likewise.
29481 (memcmp): Do not use BP_SYM.
29482 (bcmp): Do not use BP_SYM in weak_alias.
29483 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29484 (PARMS): Do not use macros from bp-asm.h.
29485 (S1): Likewise.
29486 (SIZE): Likewise.
29487 (__mpn_mul_1): Do not use BP_SYM.
29488 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29489 "bp-asm.h".
29490 (PARMS): Do not use macros from bp-asm.h.
29491 (STR): Likewise.
29492 (CHR): Likewise.
29493 (__rawmemchr): Do not use BP_SYM.
29494 (rawmemchr): Do not use BP_SYM in weak_alias.
29495 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29496 (PARMS): Do not use macros from bp-asm.h.
29497 (S): Likewise.
29498 (SIZE): Likewise.
29499 (__mpn_rshift): Do not use BP_SYM.
29500 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29501 (PARMS): Do not use macros from bp-asm.h.
29502 (SIGMSK): Likewise.
29503 (__sigsetjmp): Likewise. Do not use BP_SYM.
29504 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29505 (_start): Do not use BP_SYM.
29506 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29507 (PARMS): Do not use macros from bp-asm.h.
29508 (DEST): Likewise.
29509 (SRC): Likewise.
29510 (__stpcpy): Likewise. Do not use BP_SYM.
29511 (stpcpy): Do not use BP_SYM in weak_alias.
29512 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29513 "bp-asm.h".
29514 (PARMS): Do not use macros from bp-asm.h.
29515 (DEST): Likewise.
29516 (SRC): Likewise.
29517 (LEN): Likewise.
29518 (__stpncpy): Likewise. Do not use BP_SYM.
29519 (stpncpy): Do not use BP_SYM in weak_alias.
29520 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29521 (PARMS): Do not use macros from bp-asm.h.
29522 (STR): Likewise.
29523 (CHR): Likewise.
29524 (strchr): Likewise. Do not use BP_SYM.
29525 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29526 "bp-asm.h".
29527 (PARMS): Do not use macros from bp-asm.h.
29528 (STR): Likewise.
29529 (CHR): Likewise.
29530 (__strchrnul): Likewise. Do not use BP_SYM.
29531 (strchrnul): Do not use BP_SYM in weak_alias.
29532 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29533 "bp-asm.h".
29534 (PARMS): Do not use macros from bp-asm.h.
29535 (STOP): Likewise.
29536 (strcspn): Do not use BP_SYM.
29537 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29538 "bp-asm.h".
29539 (PARMS): Do not use macros from bp-asm.h.
29540 (STR): Likewise.
29541 (STOP): Likewise.
29542 (strpbrk): Likewise. Do not use BP_SYM.
29543 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29544 "bp-asm.h".
29545 (PARMS): Do not use macros from bp-asm.h.
29546 (STR): Likewise.
29547 (CHR): Likewise.
29548 (strrchr): Likewise. Do not use BP_SYM.
29549 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29550 (PARMS): Do not use macros from bp-asm.h.
29551 (SKIP): Likewise.
29552 (strspn): Do not use BP_SYM.
29553 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29554 (PARMS): Do not use macros from bp-asm.h.
29555 (STR): Likewise.
29556 (DELIM): Likewise.
29557 (SAVE): Likewise.
29558 (FUNCTION): Likewise. Do not use BP_SYM.
29559 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29560 aliases.
29561 (strtok_r): Likewise.
29562 (__GI___strtok_r): Likewise.
29563 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29564 (PARMS): Do not use macros from bp-asm.h.
29565 (S1): Likewise.
29566 (S2): Likewise.
29567 (SIZE): Likewise.
29568 (__mpn_sub_n): Do not use BP_SYM.
29569 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29570 "bp-asm.h".
29571 (PARMS): Do not use macros from bp-asm.h.
29572 (S1): Likewise.
29573 (SIZE): Likewise.
29574 (__mpn_submul_1): Do not use BP_SYM.
29575 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29576 <bp-sym.h>.
29577 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29578 and <bp-asm.h>.
29579 (PARMS): Do not use macros from bp-asm.h.
29580 (FLAGS): Likewise.
29581 (PTID): Likewise.
29582 (TLS): Likewise.
29583 (CTID): Likewise.
29584 (__clone): Do not use BP_SYM.
29585 (clone): Do not use BP_SYM in weak_alias.
29586 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29587 and <bp-asm.h>.
29588 (PARMS): Do not use macros from bp-asm.h.
29589 (LEN): Likewise.
29590 (__mmap64): Do not use BP_SYM.
29591 (mmap64): Do not use BP_SYM in weak_alias.
29592 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29593 <bp-sym.h> and <bp-asm.h>.
29594 (PARMS): Do not use macros from bp-asm.h.
29595 (__posix_fadvise64_l64): Do not use BP_SYM.
29596 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29597 (PARMS): Do not use macros from bp-asm.h.
29598 (NSOPS): Likewise.
29599 (semtimedop): Do not use BP_SYM.
29600 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29601 and <bp-asm.h>.
29602
29603 2013-02-21 Allan McRae <allan@archlinux.org>
29604
29605 * manual/message.texi (Charset conversion in gettext):
29606 Move @end statement to beginning of line.
29607
29608 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29609
29610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29611 static.
29612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29613 Likewise.
29614
29615 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29616 (denorm): Likewise.
29617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29619
29620 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29621
29622 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29623 tail-call to the resolved function if pltexit isn't needed.
29624
29625 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29626
29627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29628 or Y being zero as being unlikely.
29629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29630 Likewise.
29631
29632 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29633
29634 * manual/nss.texi (System Databases and Name Service Switch):
29635 Remove frobnicate @pxref.
29636
29637 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29638
29639 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29640 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29641
29642 2013-02-20 Petr Machata <pmachata@redhat.com>
29643
29644 * elf/elf.h (R_ARM_TARGET1): New macro.
29645 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29646 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29647 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29648 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29649 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29650 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29651 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29652 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29653 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29654 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29655 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29656 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29657 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29658 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29659 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29660 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29661 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29662 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29663 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29664 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29665 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29666 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29667 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29668 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29669 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29670 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29671 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29672 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29673 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29674 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29675 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29676 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29677 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29678 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29679 (R_ARM_THM_GOT_BREL12): Likewise.
29680 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29681 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29682 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29683 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29684 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29685 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29686 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29687 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29688 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29689
29690 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29691
29692 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29693 __attribute_used__ to __attribute__ ((unused)).
29694
29695 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29696
29697 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29698 powerpc mpa.c.
29699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29700 comment formatting.
29701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29702
29703 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29704
29705 [BZ #13550]
29706 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29707 Remove macro.
29708 (ENTER): Remove both macro definitions.
29709 (LEAVE): Likewise.
29710 (CHECK_BOUNDS_LOW): Likewise.
29711 (CHECK_BOUNDS_HIGH): Likewise.
29712 (CHECK_BOUNDS_BOTH): Likewise.
29713 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29714 (RETURN_BOUNDED_POINTER): Likewise.
29715 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29716 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29717 (POP_ERRNO_LOCATION_RETURN): Likewise.
29718 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29719 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29720 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29721 macros.
29722 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29723 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29724 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29725 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29726 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29727 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29728 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29729 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29730 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29731 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29732 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29733 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29734 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29735 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29736 removed macros.
29737 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29738 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29739 macros.
29740 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29741 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29742 * sysdeps/i386/i586/memset.S (memset): Likewise.
29743 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29744 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29745 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29746 macros.
29747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29748 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29749 Change uses of L(2) to L(out).
29750 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29751 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29752 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29753 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29754 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29755 removed macros.
29756 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29757 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29758 macros.
29759 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29760 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29761 (RETURN): Do not use macro LEAVE.
29762 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29763 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29764 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29765 * sysdeps/i386/i686/memset.S (memset): Likewise.
29766 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29767 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29769 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29770 Likewise.
29771 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29772 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29773 L(1_2) and L(1_3) into L(1).
29774 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29775 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29777 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29778 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29779 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29780 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29781 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29782 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29783 macros.
29784 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29785 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29786 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29787 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29788 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29789 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29790 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29791 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29792 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29793 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29794 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29795 * sysdeps/i386/strspn.S (strspn): Likewise.
29796 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29797 conditional code.
29798 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29799 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29800 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29801 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29802 L(1_3) into L(1_1).
29803 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29804 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29805 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29806 macros.
29807 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29808
29809 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29810
29811 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29812 macro.
29813
29814 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29815
29816 * math/atest-exp.c (exp_mpn): Remove ROUND.
29817 * math/atest-exp2.c (exp_mpn): Likewise.
29818 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29819
29820 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29821 * stdlib/tst-tls-atexit-lib.c: Likewise.
29822 * stdlib/tst-tls-atexit.c: Likewise.
29823
29824 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29825
29826 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29827 and __attribute_alloc_size__.
29828
29829 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29830
29831 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29832 __attribute_alloc_size__.
29833 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29834 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29835
29836 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29837
29838 * include/programs/xmalloc.h: New file.
29839 * catgets/gencat.c: Include it.
29840 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29841 * elf/pldd.c: Likewise.
29842 * iconv/iconv_charmap.c: Likewise.
29843 * iconv/iconvconfig.c: Likewise.
29844 * iconv/strtab.c: Likewise.
29845 * locale/programs/locale.c: Likewise.
29846 * locale/programs/localedef.h: Likewise.
29847 * locale/programs/simple-hash.c: Likewise.
29848 * nscd/nscd.h: Likewise.
29849 * nss/makedb.c: Likewise.
29850 * sysdeps/generic/ldconfig.h: Likewise.
29851
29852 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29853
29854 * Versions.def: Add GLIBC_2.18.
29855 * include/link.h (struct link_map): New member l_tls_dtor_count.
29856 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29857 (__call_tls_dtors): Likewise.
29858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29859 __cxa_thread_atexit_impl.
29860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29861 Likewise.
29862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29863 Likewise.
29864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29865 Likewise.
29866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29867 Likewise.
29868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29870 Likewise.
29871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29872 Likewise.
29873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29875 Likewise.
29876 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29877 (tests): Add test case tst-tls-atexit.
29878 (modules-names): Add shared library for tst-tls-atexit.
29879 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29880 (GLIBC_PRIVATE): Add __call_tls_dtors.
29881 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29882 for libstdc++.
29883 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29884 * stdlib/tst-tls-atexit.c: New test case.
29885 * stdlib/tst-tls-atexit-lib.c: New test case.
29886
29887 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29888
29889 * elf/Versions (ld): Add _dl_find_dso_for_object.
29890 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29891 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29892 (dl_open_worker): Use _dl_find_dso_for_object.
29893 * elf/dl-sym.c (do_sym): Likewise.
29894 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29895
29896 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29897
29898 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29899 Syntactic changes only.
29900 (_dl_runtime_profile): Do a tail-call to the resolved function.
29901
29902 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29903
29904 [BZ #13550]
29905 * sysdeps/x86_64/bp-asm.h: Remove file.
29906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29907 <bp-sym.h> and <bp-asm.h>.
29908 (__clone): Do not use BP_SYM.
29909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29910 <bp-sym.h> and <bp-asm.h>.
29911 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29912 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29913 "bp-asm.h".
29914 (_setjmp): Do not use BP_SYM.
29915 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29916 "bp-asm.h".
29917 (setjmp): Do not use BP_SYM.
29918 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29919 libc_hidden_def.
29920 (mempcpy): Do not use BP_SYM in weak_alias.
29921 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29922 "bp-asm.h".
29923 (strchr): Do not use BP_SYM.
29924 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29925 "bp-asm.h".
29926 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29927 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29928 (_start): Do not use BP_SYM.
29929 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29930 "bp-asm.h".
29931 (strcat): Do not use BP_SYM.
29932 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29933 "bp-asm.h".
29934 (STRCMP): Do not use BP_SYM.
29935 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29936 "bp-asm.h".
29937 (STRCPY): Do not use BP_SYM.
29938 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29939 "bp-asm.h".
29940 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29941 "bp-asm.h".
29942 (FUNCTION): Do not use BP_SYM.
29943 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29944 weak_alias.
29945 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29946
29947 2013-02-17 Andreas Jaeger <aj@suse.de>
29948
29949 * time/Versions: Sort entries.
29950 * string/Versions: Likewise.
29951 * resolv/Versions: Likewise.
29952 * posix/Versions: Likewise.
29953 * iconv/Versions: Likewise.
29954 * elf/Versions: Likewise.
29955 * wcsmbs/Versions: Likewise.
29956
29957 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29958
29959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29960 loop termination condition.
29961
29962 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29963 variable to calculate EZ.
29964 (__sqr): Likewise.
29965
29966 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29967 the lower precision input.
29968
29969 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29970
29971 [BZ #13550]
29972 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29973 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29974 (run-via-rtld-prefix): Do not handle %-bp tests.
29975 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29976 (all-object-suffixes): Remove .ob.
29977 (bppfx): Remove variable.
29978 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29979 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29980 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29981 [$(build-bounded) = yes] (libtype.ob): Likewise.
29982 * Makerules (elide-routines.ob): Remove variable.
29983 (do-tests-clean): Do not handle *-bp.out.
29984 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29985 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29986 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29987 (tests): Do not include $(tests-bp.out).
29988 (xtests): Do not include $(xtests-bp.out).
29989 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29990 [$(build-bounded) = yes] ($(addprefix
29991 $(objpfx),$(binaries-bounded))): Remove rule.
29992 ($(objpfx)%-bp.out): Remove rule.
29993 * config.make.in (build-bounded): Remove variable.
29994 * crypt/Makefile [$(build-bounded) = yes]
29995 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29996 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29997 append to variable.
29998 [$(build-bounded) = yes] (install-lib): Likewise.
29999 [$(build-bounded) = yes] (generated): Likewise.
30000 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30001 Remove rule.
30002 * intl/Makefile [$(build-bounded) = yes]
30003 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30004 * math/Makefile [$(build-bounded) = yes]
30005 ($(tests:%=$(objpfx)%-bp): Likewise.
30006 * misc/Makefile [$(build-bounded) = yes]
30007 ($(objpfx)tst-tsearch-bp): Likewise.
30008 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30009 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30010 Remove dependency.
30011 * string/Makefile (o-objects.ob): Remove variable.
30012 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30013 (CFLAGS-.ob): Remove variable.
30014 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30015 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30016 both definitions of variable.
30017 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30018 (ASFLAGS-.ob): Remove variable.
30019
30020 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30021
30022 [BZ #13550]
30023 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30024 Remove __BOUNDED_POINTERS__ from condition.
30025 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30026 * string/bits/string2.h [!__NO_STRING_INLINES &&
30027 !__BOUNDED_POINTERS__]: Likewise.
30028 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30029 Likewise.
30030 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30031 Remove conditional code.
30032 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30033 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30034 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30035 condition.
30036
30037 [BZ #13550]
30038 * csu/libc-start.c: Do not include <bp-sym.h>.
30039 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30040 * elf/dl-open.c: Do not include <bp-sym.h>.
30041 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30042 * math/fegetenv.c: Do not include <bp-sym.h>.
30043 (fegetenv): Do not use BP_SYM in versioned symbols.
30044 * nptl/sysdeps/pthread/bits/libc-lockP.h
30045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30046 <bp-sym.h>.
30047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30048 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30050 (__pthread_mutex_destroy): Likewise.
30051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30052 (__pthread_mutex_lock): Likewise.
30053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30054 (__pthread_mutex_trylock): Likewise.
30055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30056 (__pthread_mutex_unlock): Likewise.
30057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30058 (__pthread_mutexattr_init): Likewise.
30059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30060 (__pthread_mutexattr_destroy): Likewise.
30061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30062 (__pthread_mutexattr_settype): Likewise.
30063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30064 (__pthread_rwlock_init): Likewise.
30065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30066 (__pthread_rwlock_destroy): Likewise.
30067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30068 (__pthread_rwlock_rdlock): Likewise.
30069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30070 (__pthread_rwlock_tryrdlock): Likewise.
30071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30072 (__pthread_rwlock_wrlock): Likewise.
30073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30074 (__pthread_rwlock_trywrlock): Likewise.
30075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30076 (__pthread_rwlock_unlock): Likewise.
30077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30078 (__pthread_key_create): Likewise.
30079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30080 (__pthread_setspecific): Likewise.
30081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30082 (__pthread_getspecific): Likewise.
30083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30084 Likewise.
30085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30086 (_pthread_cleanup_push_defer): Likewise.
30087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30088 (_pthread_cleanup_pop_restore): Likewise.
30089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30090 (pthread_setcancelstate): Likewise.
30091 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30092 <bp-sym.h>.
30093 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30094 (memchr): Do not use BP_SYM in weak_alias.
30095 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30096 (fegetenv): Do not use BP_SYM in versioned symbols.
30097 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30098 (fesetenv): Do not use BP_SYM in versioned symbols.
30099 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30100 (feupdateenv): Do not use BP_SYM in versioned symbols.
30101 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30102 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30103 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30104 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30105 (open64): Do not use BP_SYM in weak_alias.
30106 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30107 (fegetenv): Do not use BP_SYM in versioned symbols.
30108 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30109 (fesetenv): Do not use BP_SYM in versioned symbols.
30110 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30111 (feupdateenv): Do not use BP_SYM in versioned symbols.
30112 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30113 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30114 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30115 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30116 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30117 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30119 <bp-sym.h>.
30120 (__libc_start_main): Do not use BP_SYM.
30121
30122 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30123
30124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30125 redundant return line.
30126 (norm): Likewise.
30127 (denorm): Likewise.
30128 (dbl_mp): Likewise.
30129 (sub_magnitudes): Likewise.
30130 (__add): Likewise.
30131 (__sub): Likewise.
30132 (__mul): Likewise.
30133 (__inv): Likewise.
30134 (__dvd): Likewise.
30135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30136 (norm): Likewise.
30137 (denorm): Likewise.
30138 (dbl_mp): Likewise.
30139 (sub_magnitudes): Likewise.
30140 (__add): Likewise.
30141 (__sub): Likewise.
30142 (__mul): Likewise.
30143 (__inv): Likewise.
30144 (__dvd): Likewise.
30145
30146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30147 instead of __mul.
30148 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30149 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30150 (cc32): Likewise.
30151
30152 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30153 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30155 of __mul for squares.
30156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30157 function
30158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30159 Likewise.
30160 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30161 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30162
30163 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30164
30165 [BZ #13550]
30166 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30167 code.
30168 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30169 prototype or function definition. Rename ubp_* variables and
30170 parameters. Remove argv definitions conditional on
30171 [__BOUNDED_POINTERS__].
30172 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30173 * elf/dl-runtime.c (_dl_fixup): Likewise.
30174 * include/set-hooks.h (RUN_HOOK): Likewise.
30175 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30176 definition.
30177 * string/strcpy.c (strcpy): Do not use __unbounded.
30178 * sysdeps/generic/frame.h (struct layout): Likewise.
30179 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30180 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30181 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30182 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30183 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30184 (__backtrace): Likewise.
30185 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30186 use __ptrvalue.
30187 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30188 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30189 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30190 Likewise.
30191 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30192 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30193 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30194 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30195 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30196 Do not use __unbounded.
30197 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30198 Rename __unboundedrlimits parameter to rlimits in prototype.
30199 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30200 Do not use __unbounded.
30201 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30202 not use __ptrvalue.
30203 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30204 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30205 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30206 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30207 __ptrvalue or __unbounded.
30208 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30209 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30210 use __unbounded.
30211 (__new_msgctl): Do not use __ptrvalue.
30212 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30213 __unbounded.
30214 (__libc_msgrcv): Do not use __ptrvalue.
30215 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30216 startup_info): Do not use __unbounded.
30217 (__libc_start_main): Likewise. Rename ubp_* variables and
30218 parameters. Remove argv definitions conditional on
30219 [__BOUNDED_POINTERS__].
30220 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30221 __ptrvalue.
30222 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30223 use __unbounded.
30224 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30225 or __ptrvalue.
30226 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30227 use __unbounded.
30228 (__new_shmctl): Do not use __ptrvalue.
30229 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30230 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30231 Likewise.
30232 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30233 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30234 (__libc_sigaction): Likewise.
30235 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30236 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30237 Likewise.
30238 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30239
30240 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30241
30242 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30243
30244 * string/mempcpy.c: Implement by calling memcpy.
30245
30246 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30247
30248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30249
30250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30251 evaluation.
30252
30253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30254 values in the mantissa.
30255
30256 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30257 minimize writes to Z.
30258 (sub_magnitudes): Simplify code a bit.
30259
30260 2013-02-12 Roland McGrath <roland@hack.frob.com>
30261
30262 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30263 from the message. The linker prefixes all warnings with that already.
30264
30265 2013-02-12 Andreas Schwab <schwab@suse.de>
30266
30267 [BZ #15078]
30268 * posix/regexec.c (extend_buffers): Add parameter min_len.
30269 (check_matching): Pass minimum needed length.
30270 (clean_state_log_if_needed): Likewise.
30271 (get_subexp): Likewise.
30272 * posix/Makefile (tests): Add bug-regex34.
30273 (bug-regex34-ENV): Define.
30274 * posix/bug-regex34.c: New file.
30275
30276 [BZ #11561]
30277 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30278 elements compare against the byte sequence of it, not its name.
30279 * posix/Makefile (tests): Add bug-regex35.
30280 (bug-regex35-ENV): Define.
30281 * posix/bug-regex35.c: New file.
30282
30283 2013-02-11 Tom de Vries <tom@codesourcery.com>
30284
30285 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30286 comment.
30287 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30288 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30289 (CHECK_EOL): Add undef.
30290
30291 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30292
30293 * bits/stdlib-bsearch.h: New file.
30294 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30295 * stdlib/stdlib.h: Likewise.
30296
30297 2013-02-11 Roland McGrath <roland@hack.frob.com>
30298
30299 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30300 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30301 declaration.
30302 * manual/search.texi (Array Search Function): Add missing const in
30303 lfind prototype.
30304 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30305 declaration to use rlim_t.
30306 (Basic Scheduling Functions): Remove erroneous const from
30307 sched_getparam prototype. Remove erroneous * from
30308 sched_get_priority_max and sched_get_priority_min prototypes.
30309 (Resource Usage): Fix summary @comment on vtimes to refer to
30310 sys/vtimes.h rather than vtimes.h.
30311 Add missing *s in vtimes prototype.
30312 (Limits on Resources): Fix ulimit prototype to return long int.
30313 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30314 prototypes to use long int rather than double.
30315 (BSD Random): Fix initstate and setstate to use char *, not void *.
30316 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30317 prototype to make second argument 'struct aiocb64 *const[]'.
30318 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30319 (Status of AIO Operations): Remove erroneous const in aio_return and
30320 aio_return64 prototypes.
30321 (Synchronizing I/O): Fix sync prototype to return void.
30322 * manual/startup.texi (Suboptions): Remove an erroneous const in
30323 getsubopt prototype.
30324 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30325 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30326 use size_t rather than int.
30327 (Scanning All Users): Likewise for getpwent_r.
30328 (Setting Groups): Add missing const to setgroups prototype.
30329 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30330 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30331 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30332 'const void *' rather than 'const char *'.
30333 (Host Address Functions): Likewise for inet_ntop.
30334 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30335 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30336 ssize_t for return value.
30337 (Sending Data): Likewise for send, sendto, sendmsg.
30338 (Socket Option Functions): Add a missing const in setsockopt prototype.
30339 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30340 use wchar_t for the argument.
30341 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30342 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30343 take no arguments.
30344 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30345 double/float/long double for second argument.
30346 Fix return types of significand, significandf, significandl.
30347 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30348 argument in fchmod prototype.
30349 (File Owner): Use uid_t and gid_t in fchown prototype.
30350 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30351 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30352 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30353 use 'const struct dirent **' as argument types to CMP function pointer
30354 argument.
30355 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30356 (File Times): Fix summary magic @comment for struct utimbuf and utime
30357 to refer to utime.h, not time.h.
30358 * manual/string.texi (Argz Functions): Add missing const in
30359 argz_extract and argz_next prototypes.
30360 (Finding Tokens in a String): Likewise for basename.
30361 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30362 (Copying and Concatenation): Fix typo in wmemmove prototype.
30363 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30364 (Signal Stack): Remove erroneous const in sigstack prototype.
30365 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30366 prototype.
30367 (Simple Calendar Time): Likewise for stime.
30368 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30369 prototype.
30370 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30371 say sys/sysctl.h instead.
30372 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30373 and vsyslog prototypes.
30374
30375 2013-02-11 Tom de Vries <tom@codesourcery.com>
30376
30377 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30378 Remove.
30379
30380 2013-02-11 Roland McGrath <roland@hack.frob.com>
30381
30382 * misc/sys/mman.h: Fix typo in mremap comment.
30383
30384 2013-02-08 Roland McGrath <roland@hack.frob.com>
30385
30386 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30387 the '\0' terminator.
30388
30389 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30390
30391 [BZ #13550]
30392 * debug/segfault.c: Don't include <bp-checks.h>.
30393 * sysdeps/generic/bp-checks.h: Remove file.
30394 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30395 (__GETDENTS): Don't use CHECK_N.
30396 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30397 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30398 (__getgroups): Don't use CHECK_N.
30399 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30400 (setgroups): Don't use CHECK_N.
30401 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30402 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30403 (__libc_msgrcv): Don't use CHECK_N.
30404 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30405 (__libc_msgsnd): Don't use CHECK_N.
30406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30407 <bp-checks.h>.
30408 (__libc_pread): Don't use CHECK_N.
30409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30410 include <bp-checks.h>.
30411 (__libc_pread64): Don't use CHECK_N.
30412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30413 include <bp-checks.h>.
30414 (__libc_pwrite): Don't use CHECK_N.
30415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30416 include <bp-checks.h>.
30417 (__libc_pwrite64): Don't use CHECK_N.
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30419 <bp-checks.h>.
30420 (__libc_pread): Don't use CHECK_N.
30421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30422 include <bp-checks.h>.
30423 (__libc_pread64): Don't use CHECK_N.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30425 include <bp-checks.h>.
30426 (__libc_pwrite): Don't use CHECK_N.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30428 include <bp-checks.h>.
30429 (__libc_pwrite64): Don't use CHECK_N.
30430 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30431 (do_pread): Don't use CHECK_N.
30432 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30433 (do_pread64): Don't use CHECK_N.
30434 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30435 (do_pwrite): Don't use CHECK_N.
30436 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30437 (do_pwrite64): Don't use CHECK_N.
30438 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30439 (__libc_readv): Don't use CHECK_N.
30440 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30441 (semop): Don't use CHECK_N.
30442 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30443 <bp-checks.h>.
30444 (semtimedop): Don't use CHECK_N.
30445 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30446 (__libc_pread): Don't use CHECK_N.
30447 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30448 <bp-checks.h>.
30449 (__libc_pread64): Don't use CHECK_N.
30450 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30451 <bp-checks.h>.
30452 (__libc_pwrite): Don't use CHECK_N.
30453 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30454 <bp-checks.h>.
30455 (__libc_pwrite64): Don't use CHECK_N.
30456 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30457 <bp-checks.h>.
30458 (__libc_msgrcv): Don't use CHECK_N.
30459 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30460 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30461 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30462 (__libc_writev): Don't use CHECK_N.
30463
30464 2013-02-08 Roland McGrath <roland@hack.frob.com>
30465
30466 * string/strcpy.c: Removed unused variable.
30467
30468 * Makeconfig (+sysdep-includes): Define with := rather than =.
30469 Use an existing include/ subdir of each sysdeps dir before it.
30470
30471 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30472
30473 * nscd/connection.c (register_traced_file): Comment function.
30474 [HAVE_INOTIFY] (union __inev): Define.
30475 [HAVE_INOTIFY] (inotify_check_files): New function.
30476 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30477 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30478 clear_db_cache.
30479 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30480
30481 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30482
30483 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30484 loaded if not already and that a failure is permanent.
30485
30486 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30487
30488 [BZ #15006]
30489 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30490 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30491
30492 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30493
30494 [BZ #13550]
30495 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30496 (CHECK_1_NULL_OK): Likewise.
30497 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30498 (__fxstat): Do not use CHECK_1.
30499 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30500 <bp-checks.h>.
30501 (___fxstat64): Do not use CHECK_1.
30502 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30503 <bp-checks.h>.
30504 (__fxstatat): Do not use CHECK_1.
30505 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30506 <bp-checks.h>.
30507 (__fxstatat64): Do not use CHECK_1.
30508 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30509 <bp-checks.h>.
30510 (__fxstat): Do not use CHECK_1.
30511 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30512 <bp-checks.h>.
30513 (__fxstatat): Do not use CHECK_1.
30514 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30515 <bp-checks.h>.
30516 (__getresgid): Do not use CHECK_1.
30517 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30518 <bp-checks.h>.
30519 (__getresuid): Do not use CHECK_1.
30520 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30521 <bp-checks.h>.
30522 (__lxstat): Do not use CHECK_1.
30523 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30524 <bp-checks.h>.
30525 (__old_msgctl): Do not use CHECK_1.
30526 (__new_msgctl): Likewise.
30527 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30528 <bp-checks.h>.
30529 (__new_setrlimit): Do not use CHECK_1.
30530 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30531 <bp-checks.h>.
30532 (__old_shmctl): Do not use CHECK_1.
30533 (__new_shmctl): Likewise.
30534 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30535 <bp-checks.h>.
30536 (__xstat): Do not use CHECK_1.
30537 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30538 (__lxstat): Do not use CHECK_1.
30539 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30540 <bp-checks.h>.
30541 (___lxstat64): Do not use CHECK_1.
30542 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30543 (__old_msgctl): Do not use CHECK_1.
30544 (__new_msgctl): Likewise.
30545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30546 <bp-checks.h>.
30547 (__gettimeofday): Do not use CHECK_1.
30548 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30549 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30550 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30551 <bp-checks.h>.
30552 (__gettimeofday): Do not use CHECK_1.
30553 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30554 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30555 (__new_shmctl): Do not use CHECK_1.
30556 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30557 <bp-checks.h>.
30558 (do_sigtimedwait): Do not use CHECK_1.
30559 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30560 <bp-checks.h>.
30561 (do_sigwaitinfo): Do not use CHECK_1.
30562 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30563 <bp-checks.h>.
30564 (msgctl): Do not use CHECK_1.
30565 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30566 <bp-checks.h>.
30567 (shmctl): Do not use CHECK_1.
30568 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30569 (ustat): Do not use CHECK_1.
30570 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30571 <bp-checks.h>.
30572 (__fxstat): Do not use CHECK_1.
30573 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30574 <bp-checks.h>.
30575 (__fxstatat): Do not use CHECK_1.
30576 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30577 <bp-checks.h>.
30578 (__lxstat): Do not use CHECK_1.
30579 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30580 <bp-checks.h>.
30581 (__xstat): Do not use CHECK_1.
30582 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30583 (__xstat): Do not use CHECK_1.
30584 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30585 (___xstat64): Do not use CHECK_1.
30586
30587 [BZ #13550]
30588 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30589 definitions.
30590 (CHECK_BOUNDS_HIGH): Likewise.
30591 * string/strcpy.c: Do not include <bp-checks.h>.
30592 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30593
30594 2013-02-07 Roland McGrath <roland@hack.frob.com>
30595
30596 * nscd/nscd-client.h (__nscd_drop_map_ref):
30597 Add __attribute__ ((unused)).
30598 * nis/nss-nisplus.h (niserr2nss): Likewise.
30599
30600 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30601 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30602
30603 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30604 Remove inline keyword.
30605 * include/rounding-mode.h (round_away): Likewise.
30606 * libio/wfileops.c (adjust_wide_data): Likewise.
30607 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30608 (__m128i_strloadu_tolower): Likewise.
30609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30610 (__m128i_strloadu_tolower): Likewise.
30611 * time/mktime.c (ydhms_diff): Likewise.
30612 * locale/elem-hash.h (elem_hash): Likewise.
30613 * locale/setlocale.c (setdata): Likewise.
30614 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30615 (re_string_wchar_at): Likewise.
30616 (bitset_not, bitset_merge, bitset_mask): Likewise.
30617 [!(__GNUC__ > 3)] (inline): Remove macro.
30618 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30619 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30620 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30621 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30622 * string/memcmp.c (memcmp_bytes): Likewise.
30623 * locale/programs/locarchive.c (compute_hashval): Likewise.
30624 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30625 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30626 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30627 * nss/getent.c (print_rpc, print_protocols): Likewise.
30628 (print_passwd, print_group, print_aliases): Likewise.
30629 * nis/nss-nisplus.h (niserr2nss): Likewise.
30630 * nscd/connections.c (restart_p): Likewise.
30631 Change return type to bool.
30632
30633 2013-02-05 Roland McGrath <roland@hack.frob.com>
30634
30635 * Makeconfig (all-Depend-files): Add existing
30636 $(sorted-subdirs:=/Depend) files.
30637 (all-subdirs): Remove nss.
30638 * sysdeps/unix/inet/Subdirs: Add it here instead.
30639 * hesiod/Depend: New file.
30640
30641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30642 instead of calling alloca.
30643
30644 * io/lseek.c (__lseek): Rename to __libc_lseek.
30645 Define __lseek as an alias.
30646
30647 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30648
30649 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30650
30651 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30652 else clause and remove check for non-standard endianness.
30653
30654 2013-02-04 David S. Miller <davem@davemloft.net>
30655
30656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30657
30658 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30659
30660 [BZ #13550]
30661 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30662 (__ubp_memchr): Remove prototype.
30663 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30664 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30665 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30666 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30667 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30668 Remove alias.
30669 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30670 (__ubp_memchr): Likewise.
30671 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30672 (__ubp_memchr): Likewise.
30673 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30674 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30675 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30676 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30677 CHECK_STRING.
30678 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30679 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30680 (__getcwd): Do not use CHECK_STRING.
30681 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30682 <bp-checks.h>.
30683 (__real_chown): Do not use CHECK_STRING.
30684 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30685 <bp-checks.h>.
30686 (fchownat): Do not use CHECK_STRING.
30687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30688 CHECK_STRING.
30689 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30690 <bp-checks.h>.
30691 (__lchown): Do not use CHECK_STRING.
30692 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30693 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30694 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30695 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30697 include <bp-checks.h>.
30698 (truncate64): Do not use CHECK_STRING.
30699 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30700 <bp-checks.h>.
30701 (__real_chown): Do not use CHECK_STRING.
30702 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30703 <bp-checks.h>.
30704 (__lchown): Do not use CHECK_STRING.
30705 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30706 <bp-checks.h>.
30707 (__chown): Do not use CHECK_STRING.
30708 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30709 <bp-checks.h>.
30710 (truncate64): Do not use CHECK_STRING.
30711 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30712 Likewise.
30713 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30714 (__xmknod): Do not use CHECK_STRING.
30715 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30716 <bp-checks.h>.
30717 (__xmknodat): Do not use CHECK_STRING.
30718 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30719 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30720
30721 2013-02-04 Andreas Schwab <schwab@suse.de>
30722
30723 [BZ #14142]
30724 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30725 * include/netdb.h: Likewise for h_errno.
30726 * elf/tst-stackguard1.c: Include <tls.h>.
30727
30728 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30729
30730 * elf/link.h (struct link_map): Extend the l_addr comment.
30731 * include/link.h (struct link_map): Likewise.
30732
30733 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30734
30735 [BZ #13550]
30736 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30737 (BOUNDED_1): Remove macro.
30738 * debug/backtrace.c: Don't include <bp-checks.h>.
30739 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30740 (__backtrace): Likewise.
30741 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30742 <bp-checks.h>.
30743 (__backtrace): Don't use BOUNDED_1.
30744 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30745 <bp-checks.h>.
30746 (__backtrace): Don't use BOUNDED_1.
30747 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30748 (__backtrace): Don't use BOUNDED_1.
30749 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30750 (shmat): Don't use BOUNDED_N.
30751
30752 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30753
30754 [BZ #13550]
30755 * sysdeps/generic/bp-start.h: Remove file.
30756 * csu/libc-start.c: Don't include <bp-start.h>.
30757 (LIBC_START_MAIN): Set up __environ directly instead of using
30758 INIT_ARGV_and_ENVIRON.
30759 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30760 <bp-start.h>.
30761
30762 [BZ #13550]
30763 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30764 definitions.
30765 (CHECK_FCNTL): Likewise.
30766 (CHECK_N_PAGES): Likewise.
30767
30768 [BZ #13550]
30769 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30770 definitions.
30771 (CHECK_SIGSET_NULL_OK): Likewise.
30772 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30773 <bp-checks.h>.
30774 (sigpending): Don't use CHECK_SIGSET.
30775 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30776 <bp-checks.h>.
30777 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30778 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30779 <bp-checks.h>.
30780 (do_sigsuspend): Don't use CHECK_SIGSET.
30781 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30782 use CHECK_SIGSET.
30783 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30784 (do_sigwait): Don't use CHECK_SIGSET.
30785 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30786 use CHECK_SIGSET.
30787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30788 include <bp-checks.h>.
30789 (sigpending): Don't use CHECK_SIGSET.
30790 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30791 include <bp-checks.h>.
30792 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30793 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30794 <bp-checks.h>.
30795 (sigpending): Don't use CHECK_SIGSET.
30796 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30797 <bp-checks.h>.
30798 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30799
30800 [BZ #13550]
30801 * sysdeps/generic/bp-semctl.h: Remove file.
30802 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30803 <bp-checks.h> and <bp-semctl.h>.
30804 (__old_semctl): Don't use CHECK_SEMCTL.
30805 (__new_semctl): Likewise.
30806 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30807 and <bp-semctl.h>.
30808 (__old_semctl): Don't use CHECK_SEMCTL.
30809 (__new_semctl): Likewise.
30810 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30811 <bp-checks.h> and <bp-semctl.h>.
30812 (__old_semctl): Don't use CHECK_SEMCTL.
30813 (__new_semctl): Likewise.
30814 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30815 <bp-checks.h> and <bp-semctl.h>.
30816 (semctl): Don't use CHECK_SEMCTL.
30817
30818 [BZ #13550]
30819 * Makerules (elide-bp-thunks): Remove variable.
30820 (elide-routines.oS): Don't use $(elide-bp-thunks).
30821 (elide-routines.os): Likewise.
30822 (elide-routines.o): Likewise.
30823 (elide-routines.op): Likewise.
30824 (elide-routines.og): Likewise.
30825 (objects): Don't use $(bp-thunks).
30826 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30827 include.
30828 (common-generated): Do not add s-proto-bp.d.
30829 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30830 (int): Likewise.
30831 (typ): Likewise.
30832 Do not generate makefile rules for bounded-pointer thunks.
30833 * sysdeps/generic/bp-thunks.h: Remove file.
30834 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30835 * sysdeps/unix/s-proto-bp.S: Likewise.
30836
30837 [BZ #15062]
30838 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30839 parts of result separately when argument is not close to line from
30840 -i to i and one part of argument is small.
30841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30843 * math/libm-test.inc (cacos_test): Add more tests.
30844 (casin_test): Likewise.
30845 (casinh_test): Likewise.
30846 * sysdeps/i386/fpu/libm-test-ulps: Update.
30847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30848
30849 2013-01-31 David S. Miller <davem@davemloft.net>
30850
30851 * po/de.po: Update from translation team.
30852
30853 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30854
30855 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30856
30857 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30858
30859 * configure.in (_AC_PROG_CC_C89): New definition.
30860 * configure: Regenerate.
30861
30862 * configure.in (AC_PROG_CPP): New definition.
30863 * configure: Regenerate.
30864
30865 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30866
30867 * debug/tst-backtrace.h: New file.
30868 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30869 (ret): Remove variable.
30870 (x): Likewise.
30871 (FAIL): Remove macro.
30872 (NO_INLINE): Likewise.
30873 (fn1): Use match function instead of strstr.
30874 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30875 (ret): Remove variable.
30876 (x): Likewise.
30877 (FAIL): Remove macro.
30878 (NO_INLINE): Likewise.
30879 (fn): Use match function instead of strstr.
30880 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30881 (ret): Remove variable.
30882 (x): Likewise.
30883 (FAIL): Remove macro.
30884 (NO_INLINE): Likewise.
30885 (handle_signal): Use match function instead of strstr.
30886 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30887 (ret): Remove variable.
30888 (x): Likewise.
30889 (FAIL): Remove macro.
30890 (NO_INLINE): Likewise.
30891 (handle_signal): Use match function instead of strstr.
30892
30893 2013-01-23 Roland McGrath <roland@hack.frob.com>
30894
30895 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30896
30897 2013-01-23 David S. Miller <davem@davemloft.net>
30898
30899 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30900 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30901 argument of CAS if possible.
30902 * sysdeps/sparc/sparc64/bits/atomic.h
30903 (__arch_compare_and_exchange_val_32_acq): Likewise.
30904 (__arch_compare_and_exchange_val_64_acq): Likewise.
30905
30906 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30907
30908 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30909 * sysdeps/posix/ulimit.c: ... this.
30910 Include <limits.h>.
30911 * sysdeps/unix/bsd/ulimit.c: Remove file.
30912
30913 2013-01-23 Adam Conrad <adconrad@0c3.net>
30914
30915 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30916 (LDFLAGS-tst-array5): Likewise.
30917
30918 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30919
30920 [BZ #15036]
30921 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30922 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30923 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30924 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30925
30926 2013-01-21 David S. Miller <davem@davemloft.net>
30927
30928 * sysdeps/sparc/backtrace.c: New file.
30929 * sysdeps/sparc/sparc32/backtrace.h: New file.
30930 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30931 * sysdeps/sparc/sparc64/backtrace.h: New file.
30932 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30933 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30934 -funwind-tables.
30935
30936 2013-01-21 Andreas Schwab <schwab@suse.de>
30937
30938 [BZ #15020]
30939 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30940 closed its stdout.
30941
30942 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30943
30944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30945 "mpa2.h".
30946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30947
30948 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30949 Mark Mitchell <mark@codesourcery.com>
30950 Tom de Vries <tom@codesourcery.com>
30951 Paul Pluzhnikov <ppluzhnikov@google.com>
30952
30953 * debug/tst-backtrace2.c: New file.
30954 * debug/tst-backtrace3.c: Likewise.
30955 * debug/tst-backtrace4.c: Likewise.
30956 * debug/tst-backtrace5.c: Likewise.
30957 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30958 (CFLAGS-tst-backtrace3.c): Likewise.
30959 (CFLAGS-tst-backtrace4.c): Likewise.
30960 (CFLAGS-tst-backtrace5.c): Likewise.
30961 (LDFLAGS-tst-backtrace2): Likewise.
30962 (LDFLAGS-tst-backtrace3): Likewise.
30963 (LDFLAGS-tst-backtrace4): Likewise.
30964 (LDFLAGS-tst-backtrace5): Likewise.
30965 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30966 tst-backtrace4 and tst-backtrace5.
30967
30968 2013-01-18 Anton Blanchard <anton@samba.org>
30969 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30970
30971 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30972 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30973 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30974 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30976 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30977 "+r" and remove output regs list as redundant. Add explicit inline
30978 asm to specify register of return val to work around compiler codegen
30979 bug. Remove (int) cast on return value. Add return type parameter to
30980 use in macro so that this macro does not truncate return value for
30981 64-bit values.
30982 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30983 pass to INTERNAL_VSYSCALL_NCS.
30984 (INLINE_VSYSCALL): Add 'long int' as return type to
30985 INTERNAL_VSYSCALL_NCS macro invocation.
30986 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30987 INTERNAL_VSYSCALL_NCS macro invocation.
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30989
30990 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30991
30992 [BZ #14496]
30993 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30994 Fix application of SIMD FP exception mask.
30995
30996 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30997 mp_no from a power of two.
30998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30999 __mpexp_twomm1. Use __pow_mp.
31000
31001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31002 multiplication.
31003
31004 2013-01-17 David S. Miller <davem@davemloft.net>
31005
31006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31007
31008 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31009
31010 [BZ #15023]
31011 * include/complex.h: Condition contents on [!_COMPLEX_H].
31012 (__kernel_casinhf): New prototype.
31013 (__kernel_casinh): Likewise.
31014 (__kernel_casinhl): Likewise.
31015 * math/Makefile (libm_calls): Add k_casinh.
31016 * math/k_casinh.c: New file.
31017 * math/k_casinhf.c: Likewise.
31018 * math/k_casinhl.c: Likewise.
31019 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31020 finite nonzero arguments.
31021 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31022 finite nonzero arguments.
31023 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31024 finite nonzero arguments.
31025 * math/s_casinh.c: Do not include <float.h>.
31026 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31027 * math/s_casinhf.c: Do not include <float.h>.
31028 (__casinhf): Move code for finite nonzero arguments to
31029 k_casinhf.c.
31030 * math/s_casinhl.c: Do not include <float.h>.
31031 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31032 redefine.
31033 (__casinhl): Move code for finite nonzero arguments to
31034 k_casinhl.c.
31035 * math/libm-test.inc (cacos_test): Add more tests.
31036 * sysdeps/i386/fpu/libm-test-ulps: Update.
31037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31038
31039 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31040
31041 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31042 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31043 [!HAVE_MREMAP]: Remove [defined linux] case.
31044 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31045
31046 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31047
31048 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31049
31050 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31051
31052 * elf/elf.h (R_386_SIZE32): New relocation.
31053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31054 R_386_SIZE32.
31055 (elf_machine_rela): Likewise.
31056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31057 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31058
31059 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31060
31061 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31062 (FP_FAST_FMA): Do not define.
31063 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31064 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31065 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31066 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31067 !_SOFT_FLOAT]: Likewise.
31068 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31069 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31070 value.
31071 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31072 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31073 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31074 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31075 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31076 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31077 file.
31078
31079 2013-01-16 Andreas Schwab <schwab@suse.de>
31080
31081 [BZ #14327]
31082 * include/stdlib.h (__mktemp): Add declaration.
31083 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31084 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31085
31086 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31087
31088 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31089 definitions.
31090 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31091 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31092 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31093 definitions here.
31094 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31095 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31096 definitions.
31097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31098 and ONE.
31099 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31100 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31101 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31102 definitions.
31103 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31104 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31105 definitions.
31106 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31107
31108 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31109
31110 2013-01-15 David S. Miller <davem@davemloft.net>
31111
31112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31113 trunc{,f} to libm-sysdep_routes.
31114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31116 file.
31117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31119 file.
31120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31121 file.
31122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31124 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31125 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31126 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31127 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31128 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31129 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31130
31131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31132 nearbyint{,f} to libm-sysdep_routes.
31133 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31135 New file.
31136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31137 file.
31138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31139 New file.
31140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31141 file.
31142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31145 file.
31146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31147 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31148 file.
31149 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31150 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31151 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31152
31153 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31154 libc_feholdexcept and libc_fesetenv.
31155
31156 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31157
31158 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31159
31160 2013-01-14 David S. Miller <davem@davemloft.net>
31161
31162 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31163 (SPARC_ASM_VIS2_IFUNC): Likewise.
31164 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31166 use of 'siam' instruction.
31167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31168 Likewise.
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31170 Likewise.
31171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31172 Likewise.
31173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31178 file.
31179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31180 file.
31181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31182 file.
31183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31184 file.
31185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31190 new VIS2 routines.
31191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31194 Likewise.
31195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31200 routines to libm-sysdep_routines.
31201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31202
31203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31204 fdim/fdimf to libm-sysdep_routines.
31205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31206 file.
31207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31209 file.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31213 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31214 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31215 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31216 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31217
31218 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31219
31220 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31221 to optimize copies.
31222
31223 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31226
31227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31228 local variable MPTWO.
31229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31230 Likewise.
31231
31232 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31233
31234 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31235 GLOB_NOESCAPE.
31236
31237 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31238
31239 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31240
31241 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31242
31243 * manual/pattern.texi (glob_t): Document gl_flags.
31244 (glob64_t): Likewise.
31245
31246 2013-01-11 David S. Miller <davem@davemloft.net>
31247
31248 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31249 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31250 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31251 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31252 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31253 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31254 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31255 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31256 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31257 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31258 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31259 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31260 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31261
31262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31263 sparc V9 rather than using V8 code.
31264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31266
31267 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31268 Move to...
31269 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31270 Here.
31271
31272 2013-01-11 Roland McGrath <roland@hack.frob.com>
31273
31274 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31275 not in the main loop.
31276 * configure: Regenerated.
31277
31278 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31279
31280 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31281 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31282 to just #else.
31283 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31284 [!__GLIBC_HAVE_LONG_LONG] case.
31285 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31286 condition to just #else.
31287 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31288 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31289 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31290 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31291 unconditional.
31292 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31293 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31294 #elif condition to just #else.
31295 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31296 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31297 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31298 #elif condition to just #else.
31299
31300 2013-01-11 Steve Ellcey <sellcey@mips.com>
31301
31302 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31303 (EF_MIPS_ARCH_64): Fix value.
31304 (EF_MIPS_ARCH_32R2): New.
31305 (EF_MIPS_ARCH_64R2): New.
31306
31307 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31308
31309 * Makeconfig (+link-pie-before-libc): New.
31310 (+link-pie-after-libc): Likewise.
31311 (+link-pie-tests): Likewise.
31312 (+link-pie): Rewritten.
31313 (link-before-libc): Remove $(config-LDFLAGS).
31314 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31315 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31316 (config-LDFLAGS): Renamed to ...
31317 (rtld-LDFLAGS): This.
31318 (rtld-tests-LDFLAGS): New macro.
31319 (link-libc-rpath-link): Likewise.
31320 (link-libc-tests-rpath-link): Likewise.
31321 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31322 (link-libc): Prepand $(link-libc-rpath-link).
31323 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31324 (test-program-prefix): New macro.
31325 (test-via-rtld-prefix): Likewise.
31326 (test-program-cmd): Likewise.
31327 (host-test-program-cmd): Likewise.
31328 * Makefile ($(common-objpfx)testrun.sh): Replace
31329 $(run-program-prefix) with $(test-program-prefix).
31330 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31331 $(rtld-LDFLAGS).
31332 ($(common-objpfx)shlib.lds): Likewise.
31333 (build-module-helper): Likewise.
31334 ($(common-objpfx)format.lds): Likewise.
31335 * Rules (binaries-pie-tests): New.
31336 (binaries-pie-notests): Likewise.
31337 (binaries-pie): Rewritten.
31338 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31339 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31340 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31341 (make-test-out): Replace $(host-built-program-cmd) with
31342 $(host-test-program-cmd).
31343 * config.make.in (build-hardcoded-path-in-tests): New variable.
31344 * configure.in (--enable-hardcoded-path-in-tests): New configure
31345 option.
31346 (hardcoded_path_in_tests): New AC_SUBST.
31347 * configure: Regenerated.
31348 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31349 $(built-program-cmd) with $(test-program-cmd).
31350 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31351 (test_program_cmd): This.
31352 * elf/Makefile ($(objpfx)order.out): Run test with
31353 $(test-program-prefix).
31354 ($(objpfx)order2.out): Likewise.
31355 ($(objpfx)tst-initorder.out): Likewise.
31356 ($(objpfx)tst-initorder2.out): Likewise.
31357 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31358 $(test-program-cmd).
31359 ($(objpfx)tst-array1-static.out): Likewise.
31360 ($(objpfx)tst-array2.out): Likewise.
31361 ($(objpfx)tst-array3.out): Likewise.
31362 ($(objpfx)tst-array4.out): Likewise.
31363 ($(objpfx)tst-array5.out): Likewise.
31364 ($(objpfx)tst-array5-static.out): Likewise.
31365 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31366 $(test-program-cmd).
31367 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31368 $(run-program-prefix) with $(test-program-prefix).
31369 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31370 (test_program_prefix): This.
31371 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31372 $(run-program-prefix) with $(test-program-prefix).
31373 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31374 (test_program_prefix): This.
31375 * iconvdata/tst-tables.sh: Likewise.
31376 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31377 $(run-program-prefix) with $(test-program-prefix).
31378 ($(objpfx)tst-translit.out): Likewise.
31379 ($(objpfx)tst-gettext2.out): Likewise.
31380 ($(objpfx)tst-gettext4.out): Likewise.
31381 ($(objpfx)tst-gettext6.out): Likewise.
31382 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31383 (test_program_prefix): This.
31384 * intl/tst-gettext2.sh: Likewise.
31385 * intl/tst-gettext4.sh Likewise.
31386 * intl/tst-gettext6.sh: Likewise.
31387 * intl/tst-translit.sh: Likewise.
31388 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31389 with $(test-program-cmd).
31390 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31391 $(run-program-prefix) with $(test-program-prefix).
31392 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31393 (test_program_prefix): This.
31394 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31395 $(run-program-prefix) with $(test-program-prefix).
31396 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31397 (test_program_prefix): This.
31398 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31399 * posix/Makefile ($(objpfx)globtest.out): Replace
31400 $(run-via-rtld-prefix) and $(test-wrapper) with
31401 $(test-program-prefix) and $(test-via-rtld-prefix).
31402 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31403 $(test-program-prefix).
31404 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31405 $(host-test-program-cmd).
31406 (tst-spawn-ARGS): Likewise.
31407 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31408 $(test-program-prefix).
31409 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31410 (test_via_rtld_prefix): This.
31411 (test_wrapper): Renamed to ...
31412 (test_program_prefix): This.
31413 (run_program_prefix): Replaced by test_program_prefix.
31414 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31415 (test_program_prefix): This.
31416 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31417 with $(host-test-program-cmd).
31418 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31419 $(run-program-prefix) with $(test-program-prefix).
31420 ($(objpfx)tst-printf.out): Likewise.
31421 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31422 $(test-program-cmd).
31423 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31424 (test_program_prefix): This.
31425 * stdio-common/tst-unbputc.sh: Likewise.
31426 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31427 $(run-program-prefix) with $(test-program-prefix).
31428 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31429 (test_program_prefix): This.
31430 * string/Makefile ($(objpfx)tst-svc.out): Replace
31431 $(built-program-cmd) with $(test-program-cmd).
31432
31433 2013-01-11 Andreas Jaeger <aj@suse.de>
31434
31435 [BZ #15003]
31436 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31437 value. Sync with Linux 3.7.
31438
31439 2013-01-10 David S. Miller <davem@davemloft.net>
31440
31441 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31442 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31443 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31444
31445 2013-01-10 Roland McGrath <roland@hack.frob.com>
31446
31447 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31448 never set.
31449 * configure: Regenerated.
31450
31451 2013-01-10 David S. Miller <davem@davemloft.net>
31452
31453 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31454 sparc V9 rather than using V8 code.
31455 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31456 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31457
31458 2013-01-10 Roland McGrath <roland@hack.frob.com>
31459
31460 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31461 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31462 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31463 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31464 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31465 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31466 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31467 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31468 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31469 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31470 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31471 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31472 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31473 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31474 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31475 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31476 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31477 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31478 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31479 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31480 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31481 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31482 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31483 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31484 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31485 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31486 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31487
31488 2013-01-10 David S. Miller <davem@davemloft.net>
31489
31490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31491
31492 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 * posix/Makefile (tests-static): New variable.
31495 (tests): Add $(tests-static).
31496 (tst-exec-static-ARGS): New variable.
31497 (tst-spawn-static-ARGS): Likewise.
31498 * posix/tst-exec-static.c: New file.
31499 * posix/tst-spawn-static.c: Likewise.
31500 * posix/tst-exec.c: Support run directly.
31501 * posix/tst-spawn.c: Likewise.
31502
31503 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31504
31505 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31506 long.
31507 * math/bits/mathcalls.h (llrint): Likewise.
31508 (llround): Likewise.
31509 * stdlib/stdlib.h (struct drand48_data): Likewise.
31510 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31511 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31512 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31513 Likewise.
31514 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31515 Likewise.
31516 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31517 (elf_greg_t): Likewise.
31518 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31519 (__jmp_buf): Likewise.
31520 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31521 definitions.
31522 (llrint): Likewise, for all definitions.
31523 (llrintl): Likewise.
31524
31525 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31526 Remove [__GNUC__] condition.
31527 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31528 condition to just [__USE_ISOC99].
31529 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31530
31531 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31532
31533 [BZ #14200]
31534 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31535 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31536 defined.
31537 (_POSIX_V6_ILP32_OFF32): Likewise.
31538 (_XBS5_ILP32_OFF32): Likewise.
31539 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31540 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31541
31542 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31543
31544 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31545
31546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31547 doubles __mpexp_twomm1. Adjust usage.
31548 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31549 Remove.
31550
31551 2013-01-10 Andreas Schwab <schwab@suse.de>
31552
31553 [BZ #14964]
31554 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31555 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31556
31557 2013-01-09 David S. Miller <davem@davemloft.net>
31558
31559 [BZ #15003]
31560 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31561 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31562 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31563 (TCP_FASTOPEN): Define.
31564 (tcp_repair_opt): New structure.
31565 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31566 enum values.
31567 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31568 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31569 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31570 (tcp_cookie_transactions): New structure.
31571
31572 2013-01-09 Anton Blanchard <anton@samba.org>
31573
31574 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31575 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31577 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31578
31579 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31580
31581 * include/features.h (__USE_ANSI): Remove.
31582
31583 2013-01-09 Roland McGrath <roland@hack.frob.com>
31584
31585 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31586
31587 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31588
31589 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31590
31591 * sysdeps/s390/fpu/libm-test-ulps: Update.
31592
31593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31594
31595 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31596 (__acr): Likewise.
31597 (__cpy): Likewise.
31598 (norm): Likewise.
31599 (denorm): Likewise.
31600 (__mp_dbl): Likewise.
31601 (__dbl_mp): Likewise.
31602 (add_magnitudes): Likewise.
31603 (sub_magnitudes): Likewise.
31604 (__add): Likewise.
31605 (__sub): Likewise.
31606 (__mul): Likewise.
31607 (__inv): Likewise.
31608 (__dvd): Likewise.
31609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31610 (__acr): Likewise.
31611 (__cpy): Likewise.
31612 (norm): Likewise.
31613 (denorm): Likewise.
31614 (__mp_dbl): Likewise.
31615 (__dbl_mp): Likewise.
31616 (add_magnitudes): Likewise.
31617 (sub_magnitudes): Likewise.
31618 (__add): Likewise.
31619 (__sub): Likewise.
31620 (__mul): Likewise.
31621 (__inv): Likewise.
31622 (__dvd): Likewise.
31623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31624 (__acr): Likewise.
31625 (__cpy): Likewise.
31626 (norm): Likewise.
31627 (denorm): Likewise.
31628 (__mp_dbl): Likewise.
31629 (__dbl_mp): Likewise.
31630 (add_magnitudes): Likewise.
31631 (sub_magnitudes): Likewise.
31632 (__add): Likewise.
31633 (__sub): Likewise.
31634 (__mul): Likewise.
31635 (__inv): Likewise.
31636 (__dvd): Likewise.
31637
31638 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31639
31640 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31641 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31642 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31643 2 && __USE_EXTERN_INLINES]: Likewise.
31644
31645 2013-01-08 Andreas Jaeger <aj@suse.de>
31646
31647 [BZ# 14985]
31648 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31649 Remove.
31650 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31651 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31652
31653 2013-01-07 Anton Blanchard <anton@samba.org>
31654
31655 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31656 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31657 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31658 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31659 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31660 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31661 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31662 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31664 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31665 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31666 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31670 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31671 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31672 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31673 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31674 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31676 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31678 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31679 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31680 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31681 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31682 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31684 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31685 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31688 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31689 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31690 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31691 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31692 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31694 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31695 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31697 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31698
31699 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31700
31701 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31702 (__MALLOC_PMT): Likewise.
31703 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31704 [__GNUC__], only on [_LIBC].
31705 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31706 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31707 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31708 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31709 forward declaration.
31710 (realloc_hook_ini): Likewise.
31711 (memalign_hook_ini): Likewise.
31712 (__libc_memalign): Do not use __MALLOC_PMT in variable
31713 declaration.
31714 (__libc_valloc): Likewise.
31715 (__libc_pvalloc): Likewise.
31716 (__libc_calloc): Likewise.
31717 (__posix_memalign): Likewise.
31718
31719 [BZ #14996]
31720 * math/s_casinh.c: Include <float.h>.
31721 (__casinh): Do not do computation with squaring and square root
31722 for large arguments.
31723 * math/s_casinhf.c: Include <float.h>.
31724 (__casinhf): Do not do computation with squaring and square root
31725 for large arguments.
31726 * math/s_casinhl.c: Include <float.h>.
31727 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31728 (__casinhl): Do not do computation with squaring and square root
31729 for large arguments.
31730 * math/libm-test.inc (casin_test): Add more tests.
31731 (casinh_test): Likewise.
31732 * sysdeps/i386/fpu/libm-test-ulps: Update.
31733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31734
31735 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31738 (__x86_64_raw_data_cache_size): Likewise.
31739 (__x86_64_data_cache_size_half): Likewise.
31740 (__x86_64_raw_data_cache_size_half): Likewise.
31741 (__x86_64_shared_cache_size): Likewise.
31742 (__x86_64_raw_shared_cache_size): Likewise.
31743 (__x86_64_shared_cache_size_half): Likewise.
31744 (__x86_64_raw_shared_cache_size_half): Likewise.
31745 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31746 to ...
31747 (__x86_data_cache_size): This.
31748 (__x86_64_raw_data_cache_size): Renamed to ...
31749 (__x86_raw_data_cache_size): This.
31750 (__x86_64_data_cache_size_half): Renamed to ...
31751 (__x86_data_cache_size_half): This.
31752 (__x86_64_raw_data_cache_size_half): Renamed to ...
31753 (__x86_raw_data_cache_size_half): This.
31754 (__x86_64_shared_cache_size): Renamed to ...
31755 (__x86_shared_cache_size): This.
31756 (__x86_64_raw_shared_cache_size): Renamed to ...
31757 (__x86_raw_shared_cache_size): This.
31758 (__x86_64_shared_cache_size_half): Renamed to ...
31759 (__x86_shared_cache_size_half): This.
31760 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31761 (__x86_raw_shared_cache_size_half): This.
31762 * sysdeps/x86_64/memcpy.S: Updated.
31763 * sysdeps/x86_64/memset.S: Likewise.
31764 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31767
31768 2013-01-04 David S. Miller <davem@davemloft.net>
31769
31770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31771
31772 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31773
31774 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31775 1 to avoid redefinition warning.
31776 (__USE_GNU): Don't define.
31777 (init_signaling_nan): Protoize.
31778
31779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31780
31781 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31782
31783 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31785 (__cpymn): Likewise.
31786 (norm): Remove commented code.
31787 (denorm): Likewise.
31788 (__mp_dbl): Likewise.
31789 (__inv): Likewise.
31790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31791 (__cpymn): Likewise.
31792 (norm): Remove commented code.
31793 (denorm): Likewise.
31794 (__mp_dbl): Likewise.
31795 (__inv): Likewise.
31796
31797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31798 mp_no value for 1.0 and 2.0.
31799 (norm): Use RADIXI instead of radixi.d.
31800 (denorm): Likewise.
31801 (__mul): Use 0.0 instead of zero.d.
31802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31803 mp_no value for 1.0 and 2.0.
31804 (norm): Use RADIXI instead of radixi.d.
31805 (denorm): Likewise.
31806 (__mul): Use 0.0 instead of zero.d.
31807
31808 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31809
31810 [BZ #14994]
31811 * math/s_casinh.c (__casinh): Reduce finite argument to first
31812 quadrant then set signs of results at the end.
31813 * math/s_casinhf.c (__casinhf): Likewise.
31814 * math/s_casinhl.c (__casinhl): Likewise.
31815 * math/libm-test.inc (casin_test): Add more tests.
31816 (casinh_test): Likewise.
31817 * sysdeps/i386/fpu/libm-test-ulps: Update.
31818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31819
31820 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31821
31822 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31823
31824 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31825
31826 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31827 declarations.
31828 (denorm): Likewise.
31829 (__mp_dbl): Likewise.
31830 (__inv): Likewise.
31831
31832 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31833 and adjust the header comment.
31834
31835 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31836 variable name from declaration.
31837
31838 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31839
31840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31841 Initialize COMMON_CPUID_INDEX_7 element.
31842 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31843 (CPUID_RTM): Likewise.
31844 (HAS_RTM): Likewise.
31845 (COMMON_CPUID_INDEX_7): New enum.
31846
31847 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31848
31849 [BZ #14981]
31850 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31851 size is zero, record memory as freed.
31852
31853 2013-01-03 Andreas Jaeger <aj@suse.de>
31854
31855 * po/ia.po: Add new Interlingua translation.
31856
31857 2012-01-03 Allan McRae <allan@archlinux.org>
31858
31859 * locale/programs/localedef.c: Fix description of '--posix' flag.
31860
31861 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31862
31863 * NEWS: Update dates in second copyright notice.
31864 * README: Update copyright dates in example.
31865 * manual/libc.texinfo: Update copyright dates.
31866 * scripts/test-installation.pl: Update copyright date in --version
31867 output.
31868
31869 * hurd/ctty-input.c: Fix copyright notice formatting.
31870 * hurd/ctty-output.c: Likewise.
31871 * hurd/dtable.c: Likewise.
31872 * hurd/hurd-raise.c: Likewise.
31873 * hurd/hurdprio.c: Likewise.
31874 * hurd/msgportdemux.c: Likewise.
31875 * misc/sys/file.h: Likewise.
31876 * misc/sys/ioctl.h: Likewise.
31877 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31878 * sysdeps/mach/hurd/chdir.c: Likewise.
31879 * sysdeps/mach/hurd/fchdir.c: Likewise.
31880 * sysdeps/mach/hurd/rename.c: Likewise.
31881 * sysdeps/mach/hurd/rmdir.c: Likewise.
31882 * sysdeps/mach/hurd/seekdir.c: Likewise.
31883 * sysdeps/mach/hurd/setsid.c: Likewise.
31884 * sysdeps/posix/wait3.c: Likewise.
31885
31886 * All files with FSF copyright notices: Update copyright dates
31887 using scripts/update-copyrights.
31888 * intl/plural.c: Regenerated.
31889 * locale/programs/charmap-kw.h: Likewise.
31890 * locale/programs/locfile-kw.h: Likewise.
31891
31892 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31893
31894 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31895 four values.
31896
31897 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31898 calculation loop and add branch prediction.
31899
31900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31901 check access beyond bounds of m1np.
31902
31903 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31904 MPTWO.
31905 (__inv): Remove local variable MPTWO to use the global
31906 constant.
31907 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31908 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31909 variable MPTWO.
31910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31911 MP3HALFS static const.
31912
31913 2013-01-01 David S. Miller <davem@davemloft.net>
31914
31915 * po/ca.po: Update from translation team.
31916
31917 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31918
31919 * scripts/update-copyrights: New file.
31920 * Makeconfig: Reformat copyright notice.
31921 * ctype/ctype.h: Likewise.
31922 * debug/swprintf_chk.c: Likewise.
31923 * elf/dl-cache.c: Likewise.
31924 * elf/dl-debug.c: Likewise.
31925 * elf/dl-object.c: Likewise.
31926 * grp/initgroups.c: Likewise.
31927 * hurd/Makefile: Likewise.
31928 * hurd/hurd/signal.h: Likewise.
31929 * hurd/hurdfault.c: Likewise.
31930 * hurd/hurdioctl.c: Likewise.
31931 * hurd/hurdlookup.c: Likewise.
31932 * hurd/intr-msg.c: Likewise.
31933 * iconv/gconv_open.c: Likewise.
31934 * libio/swprintf.c: Likewise.
31935 * locale/lc-ctype.c: Likewise.
31936 * locale/nl_langinfo.c: Likewise.
31937 * mach/Machrules: Likewise.
31938 * mach/Makefile: Likewise.
31939 * malloc/obstack.h: Likewise.
31940 * manual/Makefile: Likewise.
31941 * manual/tsort.awk: Likewise.
31942 * misc/bits/stab.def: Likewise.
31943 * nis/nis_print_group_entry.c: Likewise.
31944 * nis/nis_table.c: Likewise.
31945 * nis/nss_compat/compat-pwd.c: Likewise.
31946 * nis/nss_compat/compat-spwd.c: Likewise.
31947 * po/Makefile: Likewise.
31948 * posix/fnmatch.c: Likewise.
31949 * posix/regex.h: Likewise.
31950 * resolv/Makefile: Likewise.
31951 * resolv/nss_dns/dns-network.c: Likewise.
31952 * resolv/res_hconf.c: Likewise.
31953 * scripts/gen-sorted.awk: Likewise.
31954 * soft-fp/soft-fp.h: Likewise.
31955 * stdio-common/printf.h: Likewise.
31956 * stdlib/monetary.h: Likewise.
31957 * stdlib/random.c: Likewise.
31958 * stdlib/random_r.c: Likewise.
31959 * sysdeps/generic/Makefile: Likewise.
31960 * sysdeps/gnu/Makefile: Likewise.
31961 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31963 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31979 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31981 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31982 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31984 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31985 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31986 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31988 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31989 * sysdeps/mach/hurd/errnos.awk: Likewise.
31990 * sysdeps/mach/hurd/fork.c: Likewise.
31991 * sysdeps/mach/hurd/getcwd.c: Likewise.
31992 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31993 * sysdeps/mach/hurd/mmap.c: Likewise.
31994 * sysdeps/mach/hurd/utimes.c: Likewise.
31995 * sysdeps/mach/hurd/xmknod.c: Likewise.
31996 * sysdeps/posix/profil.c: Likewise.
31997 * sysdeps/posix/readdir_r.c: Likewise.
31998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31999 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32000 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32001 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32003 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32004 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32005 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32007 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32008 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32009 * sysdeps/pthread/lio_listio.c: Likewise.
32010 * sysdeps/sparc/dl-procinfo.h: Likewise.
32011 * sysdeps/unix/i386/sysdep.S: Likewise.
32012 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32013 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32014 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32015 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32017 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32018 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32019 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32020 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32021 * sysdeps/wordsize-32/divdi3.c: Likewise.
32022 * time/sys/time.h: Likewise.
32023 * wcsmbs/Makefile: Likewise.
32024
32025 2013-01-01 David S. Miller <davem@davemloft.net>
32026
32027 * po/fr.po: Update from translation team.
32028
32029 * catgets/gencat.c: Update copyright year.
32030 * csu/version.c: Likewise.
32031 * debug/catchsegv.sh: Likewise.
32032 * debug/pcprofiledump.c: Likewise.
32033 * debug/xtrace.sh: Likewise.
32034 * elf/ldconfig.c: Likewise.
32035 * elf/ldd.bash.in: Likewise.
32036 * elf/pldd.c: Likewise.
32037 * elf/sotruss.ksh: Likewise.
32038 * elf/sprof.c: Likewise.
32039 * iconv/iconv_prog.c: Likewise.
32040 * iconv/iconvconfig.c: Likewise.
32041 * locale/programs/locale.c: Likewise.
32042 * locale/programs/localedef.c: Likewise.
32043 * login/programs/pt_chown.c: Likewise.
32044 * malloc/memusage.sh: Likewise.
32045 * malloc/memusagestat.c: Likewise.
32046 * malloc/mtrace.pl: Likewise.
32047 * nscd/nscd.c: Likewise.
32048 * nss/getent.c: Likewise.
32049 * nss/makedb.c: Likewise.
32050 * posix/getconf.c: Likewise.
32051
32052 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32053
32054 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32055 numbers.
32056
32057 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32058
32059 * math/bits/mathcalls.h (modf): Use __nonnull.
32060
32061 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32062
32063 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32064 (split): Use macro CN instead of the bare value.
32065 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32066 could be used.
32067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32068 instead of the bare value.
32069 (power1): Likewise.
32070
32071 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32072
32073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32074 __ATAN_TWOM.
32075 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32076
32077 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32078 their values.
32079 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32080 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32081 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32082 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32083
32084 2012-12-28 Andreas Jaeger <aj@suse.de>
32085
32086 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32087 values are from Linux 3.7.
32088
32089 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32090 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32091
32092 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32093
32094 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32095 TRUE case.
32096
32097 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32098 (norm): Likewise.
32099 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32100 variables with preprocessor constants.
32101 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32102 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32103 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32104
32105 2012-12-27 Bruno Haible <bruno@clisp.org>
32106
32107 [BZ #14317]
32108 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32109 only if needed.
32110
32111 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32112
32113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32114 and use variable directly.
32115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32116
32117 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32118 MPONE.
32119 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32121 variable MPONE.
32122 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32124 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32125 include directive. Remove local variable MPONE.
32126 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32128 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32129
32130 2012-12-25 David S. Miller <davem@davemloft.net>
32131
32132 * version.h (RELEASE): Set to "development".
32133 (VERSION): Set to "2.17.90".
32134 * NEWS: Add 2.18 section.
32135
32136 2012-12-21 David S. Miller <davem@davemloft.net>
32137
32138 * po/hr.po: Update from translation team.
32139
32140 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32141
32142 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32143
32144 2012-12-19 Steve Ellcey <sellcey@mips.com>
32145
32146 * NEWS: Mention new memcpy for MIPS.
32147
32148 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32149
32150 * manual/contrib.texi (Contributors): Spelling correction.
32151
32152 2012-12-15 David S. Miller <davem@davemloft.net>
32153
32154 * po/ru.po: Update from translation team.
32155
32156 2012-12-13 David S. Miller <davem@davemloft.net>
32157
32158 * NEWS: Mention IFUNC testsuite enhancements.
32159
32160 * po/pl.po: Update from translation team.
32161 * po/bg.po: Likewise.
32162
32163 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32164 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32165
32166 2012-12-11 David S. Miller <davem@davemloft.net>
32167
32168 * po/sv.po: Update from translation team.
32169
32170 * po/vi.po: Update from translation team.
32171
32172 * po/cs.po: Update from translation team.
32173
32174 * po/de.po: Update from translation team.
32175 * po/eo.po: Likewise.
32176 * po/nl.po: Likewise.
32177
32178 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32179
32180 [BZ #14246]
32181 * manual/argp.texi (Argp Helper Functions): Move node to follow
32182 Argp Parsing State.
32183
32184 [BZ #14872]
32185 * manual/conf.texi (Limits on File System Capacity): Mention if
32186 terminating null is included in the max size.
32187
32188 2012-12-10 Andreas Jaeger <aj@suse.de>
32189
32190 * po/cs.po: Update from translation team.
32191
32192 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32193
32194 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32195 void pointer and cast to uintptr_t.
32196 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32197 path.
32198 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32199 * sysdeps/s390/s390-64/memset.S: Likewise.
32200
32201 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32202
32203 [BZ #14833]
32204 * menual/message.texi (Message Translation): Fix typos.
32205 (Helper programs for gettext): Likewise.
32206
32207 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32208
32209 [BZ #14898]
32210 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32211 Change to -1.
32212
32213 2012-12-07 David S. Miller <davem@davemloft.net>
32214
32215 * po/libc.pot: Update.
32216
32217 2012-12-07 Richard Henderson <rth@redhat.com>
32218
32219 [BZ #10114]
32220 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32221 normal/normal case to before the switch.
32222 (_FP_DIV): Likewise.
32223
32224 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32225 Mike Frysinger <vapier@gentoo.org>
32226
32227 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32228 check for __NR_fadvise64_64.
32229
32230 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32231
32232 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32233 0, not just to plain "0" as a statement.
32234 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32235 with cw.
32236
32237 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32238
32239 * NEWS: Use sourceware.org in Bugzilla URL.
32240
32241 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32242
32243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32244 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32245
32246 * stdio-common/tst-put-error.c (do_test): Add newline to the
32247 padded test to ensure flush.
32248
32249 2012-12-05 Jeff Law <law@redhat.com>
32250
32251 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32252
32253 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32254
32255 * README: Don't refer to ports add-on as distributed separately.
32256 Mention AArch64 in list of systems supported in the ports add-on.
32257
32258 * LICENSES: Add more non-FSF copyright and license notices.
32259
32260 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32261 ((unused)).
32262
32263 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32264
32265 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32266 10000 as width of padded output.
32267
32268 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32269
32270 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32271
32272 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32273 variable LX with __attribute__ ((unused)).
32274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32275 Likewise.
32276 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32279 with __attribute__ ((unused)).
32280
32281 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32282
32283 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32284
32285 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32286
32287 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32288 (CFLAGS-nldbl-acos.c): New variable.
32289 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32290 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32291 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32292 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32293 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32294 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32295 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32296 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32297 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32298 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32299 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32300 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32301 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32302 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32303 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32304 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32305 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32306 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32307 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32308 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32309 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32310 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32311 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32312 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32313 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32314 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32315 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32316 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32317 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32318 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32319 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32320 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32321 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32322 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32323 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32324 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32325 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32326 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32327 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32328 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32329 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32330 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32331 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32332 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32333 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32334 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32335 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32336 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32337 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32338 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32339 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32340 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32341 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32342 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32343 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32344 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32345 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32346 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32347 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32353 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32354 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32355 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32356 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32357 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32358 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32359 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32360 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32361 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32362 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32363 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32364 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32365 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32366 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32367 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32368 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32369 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32370 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32371 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32372 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32373 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32374 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32375 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32376 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32377 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32378 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32379 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32380 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32381 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32382 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32383 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32384 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32385 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32386
32387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32388 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32389
32390 [BZ #14914]
32391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32392 whole low double instead of just low 47 bits when splitting values
32393 into two parts.
32394
32395 2012-12-03 Allan McRae <allan@archlinux.org>
32396
32397 * manual/stdio.texi (Predefined Printf Handlers): Remove
32398 @hsep and @vsep usage.
32399
32400 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32401
32402 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32403 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32404
32405 2012-12-03 Jeff Law <law@redhat.com>
32406
32407 * time/sys/time.h (settimeofday): Do not mark TV argument
32408 as __nonnull.
32409
32410 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32411
32412 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32413 when currently writing and seek to current position when not.
32414 * libio/Makefile (tests): Remove bug-fclose1.
32415 * libio/bug-fclose1.c: Delete.
32416
32417 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32418
32419 * manual/arith.texi (feenableexcept): Fix typo.
32420 (fedisableexcept): Likewise.
32421
32422 2012-11-30 Roland McGrath <roland@hack.frob.com>
32423
32424 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32425 second, differently-typed declaration, rather than a cast.
32426
32427 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32428
32429 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32430 * include/rpc/svc.h: ... here.
32431
32432 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32433
32434 [BZ #13013]
32435 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32436 depending n and resplen2 to catch cases where answer
32437 equals answerp2.
32438
32439 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32440
32441 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32442 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32443
32444 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32445
32446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32447
32448 2012-11-29 Roland McGrath <roland@hack.frob.com>
32449
32450 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32451
32452 2012-11-28 Jeff Law <law@redhat.com>
32453
32454 [BZ #13761]
32455 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32456 dataset_temporary. Track alloca usage into alloca_used.
32457 If dataset is large allocate and release it via malloc/free.
32458
32459 2012-06-04 Florian Weimer <fweimer@redhat.com>
32460
32461 [BZ #14197]
32462 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32463
32464 2012-11-28 David S. Miller <davem@davemloft.net>
32465
32466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32467
32468 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32469
32470 [BZ #14803]
32471 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32472 of pi/2 rounded to nearest to 64 bits.
32473 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32474 nearest to 64 bits.
32475 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32476 bits.
32477
32478 2012-11-28 Jeff Law <law@redhat.com>
32479 Martin Osvald <mosvald@redhat.com>
32480
32481 [BZ #14889]
32482 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32483 * sunrpc/svc.c: Include time.h.
32484 (__svc_accept_failed): New function.
32485 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32486 any reason other than EINTR, call __svc_accept_failed.
32487 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32488 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32489
32490 2012-11-28 Andreas Schwab <schwab@suse.de>
32491
32492 * scripts/abilist.awk: Also handle indirect functions in .opd
32493 section.
32494
32495 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32496
32497 [BZ #13881]
32498 * sysdeps/x86/fpu/powl_helper.c: New file.
32499 * sysdeps/x86/fpu/Makefile: Likewise.
32500 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32501 (p3): New object.
32502 (__ieee754_powl): Use __powl_helper for finite arguments except
32503 integer exponents below 8.
32504 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32505 (p3): New object.
32506 (__ieee754_powl): Use __powl_helper for finite arguments except
32507 integer exponents below 8.
32508 * math/libm-test.inc (pow_test): Add more tests and enable some
32509 previously disabled tests.
32510 * sysdeps/i386/fpu/libm-test-ulps: Update.
32511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32512
32513 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32514 Carlos O'Donell <carlos_odonell@mentor.com>
32515
32516 * nss/makedb.c (is_prime): Assert that input is odd and greater
32517 than 4. Note that fact in a comment too.
32518 (next_prime): Add 4 to input.
32519
32520 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32521
32522 [BZ #11741]
32523 * libio/Makefile (tests): Add test case tst-fwrite-error.
32524 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32525 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32526 * libio/tst-fwrite-error.c: New test case.
32527
32528 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32529
32530 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32531 before casting to void *.
32532 * include/libc-internal.h (__pointer_type): New macro.
32533 (__integer_if_pointer_type_sub): Likewise.
32534 (__integer_if_pointer_type): Likewise.
32535 (cast_to_integer): Likewise.
32536 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32537 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32538 before casting to atomic64_t.
32539 (atomic_exchange_acq): Likewise.
32540 (__arch_exchange_and_add_body): Likewise.
32541 (__arch_add_body): Likewise.
32542 (atomic_add_negative): Likewise.
32543 (atomic_add_zero): Likewise.
32544
32545 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32546
32547 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32548 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32549 (add_fdes): Likewise.
32550 (linear_search_fdes): Likewise.
32551 (binary_search_unencoded_fdes): Likewise.
32552
32553 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32554
32555 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32556
32557 2012-11-24 Adam Conrad <adconrad@0c3.net>
32558
32559 * configure.in: Autodetect C++ header directories.
32560 * configure: Regenerated.
32561
32562 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32563
32564 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32565
32566 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32567
32568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32569
32570 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32571
32572 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32573 LDBL_MANT_DIG == 106]: Disable some tests.
32574 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32575 Likewise.
32576 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32577 Likewise.
32578
32579 [BZ #14871]
32580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32581 input for small inputs. Return +/- pi/2 for large inputs.
32582 * math/libm-test.inc (atan_test): Add more tests.
32583
32584 * sysdeps/generic/unwind-dw2-fde-glibc.c
32585 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32586 __attribute__ ((unused)).
32587
32588 [BZ #14645]
32589 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32590 x * y if x and y are nonzero and z is zero.
32591
32592 [BZ #14811]
32593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32594 nonzero exponents with absolute value below 0x1p-117 to +/-
32595 0x1p-117.
32596
32597 [BZ #14869]
32598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32599 up arguments below 2**-450, not just those below 2**-500.
32600 * math/libm-test.inc (hypot_test): Add another test.
32601
32602 [BZ #14868]
32603 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32604 Return a+b for ratio over 2**120, not 2**60.
32605 * math/libm-test.inc (hypot_test): Add another test.
32606
32607 * math/libm-test.inc (clog_test): Use
32608 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32609 (clog10_test): Likewise.
32610
32611 [BZ #6778]
32612 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32613
32614 2012-11-22 Andreas Schwab <schwab@suse.de>
32615
32616 * sysdeps/i386/fpu/libm-test-ulps: Update.
32617
32618 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32619
32620 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32621 printf output with newline.
32622
32623 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32624
32625 [BZ #14865]
32626 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32627 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32628 -z nodlopen, -z initfirst and -z execstack support.
32629 * configure: Regenerated.
32630
32631 * elf/elf.h (DF_1_NODIRECT): New macro.
32632 (DF_1_IGNMULDEF): Likewise.
32633 (DF_1_NOKSYMS): Likewise.
32634 (DF_1_NOHDR): Likewise.
32635 (DF_1_EDITED): Likewise.
32636 (DF_1_NORELOC): Likewise.
32637 (DF_1_SYMINTPOSE): Likewise.
32638 (DF_1_GLOBAUDIT): Likewise.
32639 (DF_1_SINGLETON): Likewise.
32640 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32641 DT_1_SUPPORTED_MASK bits.
32642 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32643
32644 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32645
32646 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32647
32648 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32649
32650 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32651 macro.
32652
32653 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32654 (sendmmsg): Move declarations...
32655 * socket/sys/socket.h: ... here.
32656 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32657 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32658 include it from...
32659 * socket/recvmmsg.c: ... this new file.
32660 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32661 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32662 definition of __sendmmsg hidden.
32663 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32664 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32665 Move ENOSYS stub into and include it from...
32666 * socket/sendmmsg.c: ... this new file.
32667 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32668 (sysdep_routines): Move recvmmsg and sendmmsg...
32669 * socket/Makefile (routines): ... here.
32670 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32671 (GLIBC_PRIVATE): Add __sendmmsg.
32672 * include/sys/socket.h (__sendmmsg): Add declarations.
32673 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32674 sendmmsg.
32675
32676 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32677
32678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32679 variable I1 with __attribute__ ((unused)).
32680 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32681
32682 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32683
32684 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32685 DUMMY variables with __attribute__ ((unused)).
32686
32687 * bits/byteswap.h: Include <bits/types.h>.
32688 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32689
32690 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32691
32692 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32693 string_t. Do not manually set errno.
32694 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32695 length with __strnlen. Make sure to both set errno and return it on
32696 failure.
32697
32698 2012-11-19 David S. Miller <davem@davemloft.net>
32699
32700 With help from Joseph Myers.
32701 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32702 very large arguments properly.
32703 * math/libm-test.inc (atan_test): New tests.
32704 (atan2_test): New tests.
32705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32707
32708 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32709
32710 [BZ #14856]
32711 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32712 Define to 3.
32713
32714 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32715 [POSIX] (EADDRNOTAVAIL): Likewise.
32716 [POSIX] (EAFNOSUPPORT): Likewise.
32717 [POSIX] (EALREADY): Likewise.
32718 [POSIX] (ECONNABORTED): Likewise.
32719 [POSIX] (ECONNREFUSED): Likewise.
32720 [POSIX] (ECONNRESET): Likewise.
32721 [POSIX] (EDESTADDRREQ): Likewise.
32722 [POSIX] (EDQUOT): Likewise.
32723 [POSIX] (EHOSTUNREACH): Likewise.
32724 [POSIX] (EIDRM): Likewise.
32725 [POSIX] (EISCONN): Likewise.
32726 [POSIX] (ELOOP): Likewise.
32727 [POSIX] (EMULTIHOP): Likewise.
32728 [POSIX] (ENETDOWN): Likewise.
32729 [POSIX] (ENETUNREACH): Likewise.
32730 [POSIX] (ENOBUFS): Likewise.
32731 [POSIX] (ENODATA): Likewise.
32732 [POSIX] (ENOLINK): Likewise.
32733 [POSIX] (ENOMSG): Likewise.
32734 [POSIX] (ENOPROTOOPT): Likewise.
32735 [POSIX] (ENOSR): Likewise.
32736 [POSIX] (ENOSTR): Likewise.
32737 [POSIX] (ENOTCONN): Likewise.
32738 [POSIX] (ENOTSOCK): Likewise.
32739 [POSIX] (EOPNOTSUPP): Likewise.
32740 [POSIX] (EOVERFLOW): Likewise.
32741 [POSIX] (EPROTO): Likewise.
32742 [POSIX] (EPROTONOSUPPORT): Likewise.
32743 [POSIX] (EPROTOTYPE): Likewise.
32744 [POSIX] (ESTALE): Likewise.
32745 [POSIX] (ETIME): Likewise.
32746 [POSIX] (ETXTBSY): Likewise.
32747 [POSIX] (EWOULDBLOCK): Likewise.
32748 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32749 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32750 [POSIX] (SEEK_CUR): Likewise.
32751 [POSIX] (SEEK_END): Likewise.
32752 [POSIX || UNIX98] (mode_t): Do not require.
32753 [POSIX] (off_t): Likewise.
32754 [POSIX] (pid_t): Likewise.
32755 [POSIX] (sys/stat.h): Do not allow header.
32756 [POSIX] (unistd.h): Likewise.
32757 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32758 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32759 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32760 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32761 require.
32762 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32763 sigevent): Specify elements.
32764 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32765 entry.
32766 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32767 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32768
32769 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32770 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32771 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32772 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32773 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32774 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32775 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32776 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32778 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32779 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32780 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32781 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32782 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32783 Likewise.
32784 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32785 Likewise.
32786 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32787 Likewise.
32788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32789 Likewise.
32790 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32791 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32792 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32793 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32794 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32795 Specify lower bound on value.
32796 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32799 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32800 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32801 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32802 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32803 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32804 value.
32805 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32806 as optional.
32807 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32808 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32809 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32810 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32811 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32812 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32813 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32814 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32815 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32822 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32823 entry.
32824 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32825 optional.
32826 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32827 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32828 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32829 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32830 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32831 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32832 Likewise.
32833 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32834 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32835 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32837 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32838 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32840 as optional.
32841 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32842 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32843 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32844 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32845 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32846 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32847 specify as optional.
32848 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32849 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32850 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32851 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32852 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32853 [XPG3] (NL_LANGMAX): Likewise.
32854 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32855 [POSIX || XPG3] (NL_NMAX): Likewise.
32856 [POSIX || XPG3] (NL_SETMAX): Likewise.
32857 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32858 [XPG3] (NZERO): Likewise.
32859 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32860 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32861 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32862 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32863 (REG_ERANGE): Expect.
32864 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32865 optional-constant.
32866 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32867 Use (void) in prototype.
32868 [POSIX] (*_t): Allow.
32869 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32870 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32871 (WRDE_BADVAL): Expect.
32872
32873 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32874 expect.
32875 [XPG3 || XPG4] (O_RSYNC): Likewise.
32876 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32877 Likewise.
32878 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32879 [XPG3 || XPG4] (sigqueue): Likewise.
32880 [XPG3 || XPG4] (sigtimedwait): Likewise.
32881 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32882 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32883 [XPG3 || XPG4] (vsnprintf): Likewise.
32884 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32885 Likewise.
32886 [XPG3 || XPG4] (blksize_t): Likewise.
32887 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32888 Likewise.
32889 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32890 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32891 [XPG3 || XPG4] (struct itimerspec): Likewise.
32892 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32893 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32894 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32895 [XPG3 || XPG4] (clockid_t): Likewise.
32896 [XPG3 || XPG4] (timer_t): Likewise.
32897 [XPG3 || XPG4] (clock_getres): Likewise.
32898 [XPG3 || XPG4] (clock_gettime): Likewise.
32899 [XPG3 || XPG4] (clock_settime): Likewise.
32900 [XPG3 || XPG4] (nanosleep): Likewise.
32901 [XPG3 || XPG4] (timer_create): Likewise.
32902 [XPG3 || XPG4] (timer_delete): Likewise.
32903 [XPG3 || XPG4] (timer_gettime): Likewise.
32904 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32905 [XPG3 || XPG4] (timer_settime): Likewise.
32906 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32907 [XPG3 || XPG4] (getlogin_r): Likewise.
32908 [XPG3 || XPG4] (pread): Likewise.
32909 [XPG3 || XPG4] (pthread_atfork): Likewise.
32910 [XPG3 || XPG4] (pwrite): Likewise.
32911
32912 [BZ #14835]
32913 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32914 <bits/siginfo.h>.
32915
32916 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32917
32918 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32919 finalizing MALLSTREAM.
32920
32921 * sysdeps/mach/hurd/syncfs.c: New file.
32922
32923 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32924
32925 [BZ #14719]
32926 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32927 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32928 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32929 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32930 (_nss_dns_gethostbyname4_r): Likewise.
32931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32932 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32933
32934 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32935
32936 [BZ #13763]
32937 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32938
32939 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32940
32941 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32942 * elf/cache.c (print_entry): Print ",AArch64" for
32943 FLAG_AARCH64_LIB64
32944
32945 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32946 * elf/cache.c (print_entry): Print ",hard-float" for
32947 FLAG_ARM_LIBHF.
32948
32949 2012-11-18 David S. Miller <davem@davemloft.net>
32950
32951 With help from Joseph Myers.
32952 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32953 cutoff to 2**-13.
32954 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32955 cutoff to 2**-25.
32956 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32957 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32958 small.
32959 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32960 * math/libm-test.inc (y0_test): New tests.
32961 (y1_test): New tests.
32962 * sysdeps/i386/fpu/libm-test-ulps: Update.
32963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32965
32966 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32967
32968 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32969 64-bit targets.
32970 * configure: Regenerated.
32971
32972 2012-11-17 David S. Miller <davem@davemloft.net>
32973
32974 [BZ #14811]
32975 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32976 nonzero exponents with absolute value below 0x1p-128 to +/-
32977 0x1p-128.
32978
32979 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32980
32981 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32982
32983 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32984
32985 * posix/getconf-speclist.c: New file.
32986 * posix/posix-envs.def: Likewise.
32987 * posix/confstr.c (START_ENV_GROUP): New macro.
32988 (END_ENV_GROUP): Likewise.
32989 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32990 (KNOWN_PRESENT_ENV_STRING): Likewise.
32991 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32992 (UNKNOWN_ENVIRONMENT): Likewise.
32993 (confstr): Include posix-envs.def instead of handling
32994 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32995 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32996 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32997 (END_ENV_GROUP): Likewise.
32998 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32999 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33000 (UNKNOWN_ENVIRONMENT): Likewise.
33001 (__sysconf): Include posix-envs.def instead of handling associated
33002 cases directly here.
33003 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33004 preprocessing getconf-speclist.c rather than running getconf or
33005 generating empty file.
33006
33007 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33008
33009 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33010
33011 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33012
33013 [BZ #14672]
33014 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33015
33016 2012-11-16 David S. Miller <davem@davemloft.net>
33017
33018 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33019 smaller than LDBL_EPSILON/2.0L, just return xm1.
33020
33021 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * elf/tst-array1.c (init): Set constructor priority to 1000.
33024 (fini): Set destructor priority to 1000.
33025 * elf/tst-array2dep.c: Likewise.
33026
33027 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33028
33029 [BZ #11741]
33030 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33031 (_IO_new_file_xsputn): Also return EOF if none of the input
33032 data was written when overflow failed.
33033 * libio/iopadn.c (_IO_padn): Likewise.
33034 * libio/iowpadn.c (_IO_wpadn): Likewise.
33035 * stdio-common/tst-put-error.c: Add copyright notice.
33036 (do_test): Add case for printing padded string.
33037 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33038 _IO_padn returned error.
33039 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33040 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33041 return EOF.
33042
33043 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33044
33045 * libio/libioP.h: Add comment note that the references to C++
33046 bits are now obsolete.
33047
33048 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33049
33050 * math/libm-test.inc (check_complex): Use asprintf.
33051
33052 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33053
33054 * debug/pcprofiledump.c (print_version): Update copyright year.
33055 * malloc/memusagestat.c (print_version): Likewise.
33056
33057 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33058
33059 [BZ #14831]
33060 * elf/Makefile (tests): Add tst-audit8.
33061 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33062 ($(objpfx)tst-audit8.out): New target.
33063 (tst-audit8-ENV): New variable.
33064 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33065 audit if l_reloc_result is NULL.
33066 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33067 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33068 * elf/tst-audit8.c: New file.
33069
33070 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33071
33072 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33073 * misc/Makefile (CFLAGS-select.c): Define.
33074 * posix/Makefile (CFLAGS-pause.c): Define.
33075
33076 2012-11-13 David S. Miller <davem@davemloft.net>
33077
33078 * crypt/Makefile: Move test targets after toplevel Rules
33079 inclusion. Grab any necessary sysdep routines when linking.
33080 * crypt/md5.c (md5_process_block): Remove define, we will always
33081 name it __md5_process_block.
33082 (md5_finish_ctx): Update md5_process_block call.
33083 (md5_stream): Likewise.
33084 (md5_process_bytes): Likewise.
33085 (md5_process_block): Rename to __md5_process_block and move to ...
33086 * crypt/md5-block.c: ... here.
33087 * crypt/sha256.c (sha256_process_block): Move to ...
33088 * crypt/sha256-block.c: ... here.
33089 * crypt/sha512.c (sha512_process_block): Move to ...
33090 * crypt/sha512-block.c: ... here.
33091 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33092 path.
33093 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33094 * sysdeps/sparc/sparc64/multiarch/Makefile
33095 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33096 crypt subdir.
33097 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33099 multiarch changes.
33100 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33101 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33102 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33103 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33104 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33105 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33106 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33107 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33109 file.
33110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33111 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33112 file.
33113 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33114
33115 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33116
33117 * timezone/tzselect.ksh: Update from tzcode git revision
33118 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33119 * timezone/zdump.c: Likewise.
33120 * timezone/zic.c: Likewise.
33121 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33122 in TZVERSION setting, not $(PKGVERSION).
33123 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33124 REPORT_BUGS_TO settings.
33125
33126 [BZ #14838]
33127 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33128 macro.
33129
33130 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33131
33132 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33133 detection to immediately after _FP_ROUND().
33134 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33135 bits are 0.
33136
33137 2012-11-11 David S. Miller <davem@davemloft.net>
33138
33139 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33140 inttypes.h
33141 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33142 __close rather than their public counterparts.
33143
33144 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33145
33146 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33147 file.
33148 [UNIX98] (sem_timedwait): Do not expect.
33149 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33150 [XPG4 || UNIX98] (sockatmark): Do not expect.
33151 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33152 (clock_getcpuclockid): Do not expect.
33153 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33154 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33155 Do not expect.
33156 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33157 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33158 [UNIX98] (vwscanf): Likewise.
33159 [UNIX98] (vswscanf): Likewise.
33160
33161 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33162
33163 * timezone/version.h: Remove file.
33164 * timezone/README: Do not refer to version.h.
33165 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33166 $(objpfx)version.h.
33167 ($(objpfx)zdump.o): Likewise.
33168 ($(objpfx)version.h): New target.
33169
33170 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33171 2012i.
33172 * timezone/README: Don't mention modification to tzselect.ksh.
33173 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33174 work on unmodified tzselect.ksh. Substitute version numbers in
33175 tzselect.ksh.
33176
33177 * Makefile (format-me): Remove.
33178 (INSTALL): Adjust indentation. Use commands directly instead of
33179 using $(format-me).
33180
33181 * aclocal.m4 (ACX_PKGVERSION): New macro.
33182 (ACX_BUGURL): Likewise.
33183 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33184 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33185 (REPORT_BUGS_TO): Likewise.
33186 * configure: Regenerated.
33187 * config.h.in (PKGVERSION): New macro.
33188 (REPORT_BUGS_TO): Likewise.
33189 * config.make.in (PKGVERSION): New variable.
33190 (PKGVERSION_TEXI): Likewise.
33191 (REPORT_BUGS_TO): Likewise.
33192 (REPORT_BUGS_TEXI): Likewise.
33193 * Makefile (format-me): Use -I$(common-objpfx)manual.
33194 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33195 ($(common-objpfx)manual/%): New target.
33196 (manual/%): Remove target.
33197 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33198 (print_version): Use PKGVERSION.
33199 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33200 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33201 and REPORT_BUGS_TO.
33202 ($(objpfx)xtrace): Likewise.
33203 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33204 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33205 (print_version): Use PKGVERSION.
33206 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33207 (do_version): Use PKGVERSION.
33208 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33209 REPORT_BUGS_TO.
33210 (common-ldd-rewrite): Likewise.
33211 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33212 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33213 (print_version): Use PKGVERSION.
33214 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33215 * elf/pldd.c (argp_program_bug_address): Remove variable.
33216 (more_help): New function.
33217 (argp): Use more_help.
33218 (print_version): Use PKGVERSION.
33219 * elf/sln.c (main): Use PKGVERSION.
33220 (usage): Use REPORT_BUGS_TO.
33221 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33222 (top level): Use PKGVERSION.
33223 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33224 (print_version): Use PKGVERSION.
33225 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33226 (print_version): Use PKGVERSION.
33227 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33228 (print_version): Use PKGVERSION.
33229 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33230 (print_version): Use PKGVERSION.
33231 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33232 (print_version): Use PKGVERSION.
33233 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33234 (print_version): Use PKGVERSION.
33235 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33236 and BUGURL.
33237 ($(objpfx)memusage): Likewise.
33238 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33239 (do_version): Use PKGVERSION.
33240 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33241 (print_version): Use PKGVERSION.
33242 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33243 ($PKGVERSION): New variable.
33244 ($REPORT_BUGS_TO): Likewise.
33245 (usage): Use $REPORT_BUGS_TO.
33246 (top level): Use $PKGVERSION.
33247 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33248 ($(objpfx)pkgvers.texi): New rule.
33249 ($(objpfx)stamp-pkgvers): Likewise.
33250 * manual/install.texi: Include pkgvers.texi.
33251 (--with-pkgversion): Document new configure option.
33252 (--with-bugurl): Likewise.
33253 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33254 than necessarily for this particular distribution. Use
33255 REPORT_BUGS_TO for where to report bugs.
33256 * INSTALL: Regenerated.
33257 * manual/libc.texinfo: Include pkgvers.texi.
33258 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33259 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33260 (print_version): Use PKGVERSION.
33261 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33262 (print_version): Use PKGVERSION.
33263 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33264 (print_version): Use PKGVERSION.
33265 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33266 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33267 macro.
33268 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33269 (print_version): Use PKGVERSION.
33270 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33271 (print_version): Use PKGVERSION.
33272 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33273 and PKGVERSION.
33274
33275 * timezone/checktab.awk: Update from tzcode 2012i.
33276 * timezone/ialloc.c: Likewise.
33277 * timezone/private.h: Likewise.
33278 * timezone/scheck.c: Likewise.
33279 * timezone/tzfile.h: Likewise.
33280 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33281 (TZVERSION): Hardcode tzcode version number.
33282 * timezone/zdump.c: Update from tzcode 2012i.
33283 * timezone/zic.c: Likewise.
33284 * timezone/version.h: New file.
33285 * timezone/README: Describe version.h. Update upstream location.
33286
33287 [BZ #14824]
33288 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33289 (mktemp): Enable declaration.
33290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33294 Likewise.
33295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33296 Likewise.
33297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33298 Likewise.
33299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33300 Likewise.
33301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33302 Likewise.
33303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33304 Likewise.
33305
33306 [BZ #14821]
33307 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33308 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33309 for copies of such integer values.
33310 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33311 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33312
33313 2012-11-09 Andreas Jaeger <aj@suse.de>
33314
33315 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33316 definitions and declarations that are provided by
33317 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33318
33319 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33320
33321 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33322 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33323 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33324 definition.
33325
33326 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33327
33328 * elf/elf.h: Update comment before AArch64 relocations.
33329
33330 2012-11-07 David S. Miller <davem@davemloft.net>
33331
33332 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33333 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33334 (__start_context): Declare.
33335 (__makecontext_ret): Delete.
33336 (__makecontext): Hook up __start_context instead of
33337 __makecontext_ret.
33338 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33339 (sysdep_routines): Add __start_context when in stdlib.
33340
33341 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33342
33343 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33344 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33345 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33346 hardcoded "nm".
33347 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33348 (READELF): New variable. Use it instead of hardcoded "readelf".
33349
33350 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33351
33352 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33353 * sysdeps/x86/Makefile: Here.
33354 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33355 * sysdeps/x86/tst-xmmymm.sh: This.
33356
33357 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33358
33359 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33360 expectations.
33361 [UNIX98] (pthread_barrier_t): Do not expect.
33362 [UNIX98] (pthread_barrierattr_t): Likewise.
33363 [UNIX98] (pthread_spinlock_t): Likewise.
33364 [UNIX98] (pthread_barrier_destroy): Likewise.
33365 [UNIX98] (pthread_barrier_init): Likewise.
33366 [UNIX98] (pthread_barrier_wait): Likewise.
33367 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33368 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33369 [UNIX98] (pthread_barrierattr_init): Likewise.
33370 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33371 [UNIX98] (pthread_getcpuclockid): Likewise.
33372 [UNIX98] (pthread_mutex_timedlock): Likewise.
33373 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33374 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33375 [UNIX98] (pthread_sigmask): Likewise.
33376 [UNIX98] (pthread_spin_destroy): Likewise.
33377 [UNIX98] (pthread_spin_init): Likewise.
33378 [UNIX98] (pthread_spin_lock): Likewise.
33379 [UNIX98] (pthread_spin_trylock): Likewise.
33380 [UNIX98] (pthread_spin_unlock): Likewise.
33381 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33382 Do not expect.
33383 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33384 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33385 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33386 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33387 [XPG3 || XPG4] (pthread_key_t): Likewise.
33388 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33389 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33390 [XPG3 || XPG4] (pthread_once_t): Likewise.
33391 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33392 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33393 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33394 [XPG3 || XPG4] (pthread_t): Likewise.
33395
33396 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33397 not expect.
33398 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33399
33400 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33401 Change function return type to int.
33402
33403 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33404 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33405 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33406 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33407 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33408 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33409 [!POSIX] (posix_madvise): Likewise.
33410 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33411 && !UNIX98].
33412 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33413 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33414 (mode_t): Likewise.
33415 (posix_mem_offset): Likewise.
33416 (posix_typed_mem_get_info): Likewise.
33417 (posix_typed_mem_open): Likewise.
33418
33419 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33420 Change condition to [XOPEN2K8].
33421
33422 * conform/conformtest.pl: Preprocess allow-header data with -x c
33423 instead of from stdin.
33424 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33425 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33426 [C99-based standards] (cerfc): Likewise.
33427 [C99-based standards] (cexp2): Likewise.
33428 [C99-based standards] (cexpm1): Likewise.
33429 [C99-based standards] (clog10): Likewise.
33430 [C99-based standards] (clog1p): Likewise.
33431 [C99-based standards] (clog2): Likewise.
33432 [C99-based standards] (clgamma): Likewise.
33433 [C99-based standards] (ctgamma): Likewise.
33434 [C99-based standards] (cerff): Likewise.
33435 [C99-based standards] (cerfcf): Likewise.
33436 [C99-based standards] (cexp2f): Likewise.
33437 [C99-based standards] (cexpm1f): Likewise.
33438 [C99-based standards] (clog10f): Likewise.
33439 [C99-based standards] (clog1pf): Likewise.
33440 [C99-based standards] (clog2f): Likewise.
33441 [C99-based standards] (clgammaf): Likewise.
33442 [C99-based standards] (ctgammaf): Likewise.
33443 [C99-based standards] (cerfl): Likewise.
33444 [C99-based standards] (cerfcl): Likewise.
33445 [C99-based standards] (cexp2l): Likewise.
33446 [C99-based standards] (cexpm1l): Likewise.
33447 [C99-based standards] (clog10l): Likewise.
33448 [C99-based standards] (clog1pl): Likewise.
33449 [C99-based standards] (clog2l): Likewise.
33450 [C99-based standards] (clgammal): Likewise.
33451 [C99-based standards] (ctgammal): Likewise.
33452 * conform/data/inttypes.h-data [C99-based standards]: Include
33453 stdint.h-data. Remove all expectations for stdint.h contents.
33454 [C99-based standards] (PRI*): Do not allow.
33455 [C99-based standards] (SCN*): Likewise.
33456 [C99-based standards] (*_t): Likewise.
33457 [C99-based-standards] (PRId8): Expect macro.
33458 [C99-based-standards] (PRIi8): Likewise.
33459 [C99-based-standards] (PRIo8): Likewise.
33460 [C99-based-standards] (PRIu8): Likewise.
33461 [C99-based-standards] (PRIx8): Likewise.
33462 [C99-based-standards] (PRIX8): Likewise.
33463 [C99-based-standards] (SCNd8): Likewise.
33464 [C99-based-standards] (SCNi8): Likewise.
33465 [C99-based-standards] (SCNo8): Likewise.
33466 [C99-based-standards] (SCNu8): Likewise.
33467 [C99-based-standards] (SCNx8): Likewise.
33468 [C99-based-standards] (PRIdLEAST8): Likewise.
33469 [C99-based-standards] (PRIiLEAST8): Likewise.
33470 [C99-based-standards] (PRIoLEAST8): Likewise.
33471 [C99-based-standards] (PRIuLEAST8): Likewise.
33472 [C99-based-standards] (PRIxLEAST8): Likewise.
33473 [C99-based-standards] (PRIXLEAST8): Likewise.
33474 [C99-based-standards] (SCNdLEAST8): Likewise.
33475 [C99-based-standards] (SCNiLEAST8): Likewise.
33476 [C99-based-standards] (SCNoLEAST8): Likewise.
33477 [C99-based-standards] (SCNuLEAST8): Likewise.
33478 [C99-based-standards] (SCNxLEAST8): Likewise.
33479 [C99-based-standards] (PRIdFAST8): Likewise.
33480 [C99-based-standards] (PRIiFAST8): Likewise.
33481 [C99-based-standards] (PRIoFAST8): Likewise.
33482 [C99-based-standards] (PRIuFAST8): Likewise.
33483 [C99-based-standards] (PRIxFAST8): Likewise.
33484 [C99-based-standards] (PRIXFAST8): Likewise.
33485 [C99-based-standards] (SCNdFAST8): Likewise.
33486 [C99-based-standards] (SCNiFAST8): Likewise.
33487 [C99-based-standards] (SCNoFAST8): Likewise.
33488 [C99-based-standards] (SCNuFAST8): Likewise.
33489 [C99-based-standards] (SCNxFAST8): Likewise.
33490 [C99-based-standards] (PRId16): Likewise.
33491 [C99-based-standards] (PRIi16): Likewise.
33492 [C99-based-standards] (PRIo16): Likewise.
33493 [C99-based-standards] (PRIu16): Likewise.
33494 [C99-based-standards] (PRIx16): Likewise.
33495 [C99-based-standards] (PRIX16): Likewise.
33496 [C99-based-standards] (SCNd16): Likewise.
33497 [C99-based-standards] (SCNi16): Likewise.
33498 [C99-based-standards] (SCNo16): Likewise.
33499 [C99-based-standards] (SCNu16): Likewise.
33500 [C99-based-standards] (SCNx16): Likewise.
33501 [C99-based-standards] (PRIdLEAST16): Likewise.
33502 [C99-based-standards] (PRIiLEAST16): Likewise.
33503 [C99-based-standards] (PRIoLEAST16): Likewise.
33504 [C99-based-standards] (PRIuLEAST16): Likewise.
33505 [C99-based-standards] (PRIxLEAST16): Likewise.
33506 [C99-based-standards] (PRIXLEAST16): Likewise.
33507 [C99-based-standards] (SCNdLEAST16): Likewise.
33508 [C99-based-standards] (SCNiLEAST16): Likewise.
33509 [C99-based-standards] (SCNoLEAST16): Likewise.
33510 [C99-based-standards] (SCNuLEAST16): Likewise.
33511 [C99-based-standards] (SCNxLEAST16): Likewise.
33512 [C99-based-standards] (PRIdFAST16): Likewise.
33513 [C99-based-standards] (PRIiFAST16): Likewise.
33514 [C99-based-standards] (PRIoFAST16): Likewise.
33515 [C99-based-standards] (PRIuFAST16): Likewise.
33516 [C99-based-standards] (PRIxFAST16): Likewise.
33517 [C99-based-standards] (PRIXFAST16): Likewise.
33518 [C99-based-standards] (SCNdFAST16): Likewise.
33519 [C99-based-standards] (SCNiFAST16): Likewise.
33520 [C99-based-standards] (SCNoFAST16): Likewise.
33521 [C99-based-standards] (SCNuFAST16): Likewise.
33522 [C99-based-standards] (SCNxFAST16): Likewise.
33523 [C99-based-standards] (PRId32): Likewise.
33524 [C99-based-standards] (PRIi32): Likewise.
33525 [C99-based-standards] (PRIo32): Likewise.
33526 [C99-based-standards] (PRIu32): Likewise.
33527 [C99-based-standards] (PRIx32): Likewise.
33528 [C99-based-standards] (PRIX32): Likewise.
33529 [C99-based-standards] (SCNd32): Likewise.
33530 [C99-based-standards] (SCNi32): Likewise.
33531 [C99-based-standards] (SCNo32): Likewise.
33532 [C99-based-standards] (SCNu32): Likewise.
33533 [C99-based-standards] (SCNx32): Likewise.
33534 [C99-based-standards] (PRIdLEAST32): Likewise.
33535 [C99-based-standards] (PRIiLEAST32): Likewise.
33536 [C99-based-standards] (PRIoLEAST32): Likewise.
33537 [C99-based-standards] (PRIuLEAST32): Likewise.
33538 [C99-based-standards] (PRIxLEAST32): Likewise.
33539 [C99-based-standards] (PRIXLEAST32): Likewise.
33540 [C99-based-standards] (SCNdLEAST32): Likewise.
33541 [C99-based-standards] (SCNiLEAST32): Likewise.
33542 [C99-based-standards] (SCNoLEAST32): Likewise.
33543 [C99-based-standards] (SCNuLEAST32): Likewise.
33544 [C99-based-standards] (SCNxLEAST32): Likewise.
33545 [C99-based-standards] (PRIdFAST32): Likewise.
33546 [C99-based-standards] (PRIiFAST32): Likewise.
33547 [C99-based-standards] (PRIoFAST32): Likewise.
33548 [C99-based-standards] (PRIuFAST32): Likewise.
33549 [C99-based-standards] (PRIxFAST32): Likewise.
33550 [C99-based-standards] (PRIXFAST32): Likewise.
33551 [C99-based-standards] (SCNdFAST32): Likewise.
33552 [C99-based-standards] (SCNiFAST32): Likewise.
33553 [C99-based-standards] (SCNoFAST32): Likewise.
33554 [C99-based-standards] (SCNuFAST32): Likewise.
33555 [C99-based-standards] (SCNxFAST32): Likewise.
33556 [C99-based-standards] (PRId64): Likewise.
33557 [C99-based-standards] (PRIi64): Likewise.
33558 [C99-based-standards] (PRIo64): Likewise.
33559 [C99-based-standards] (PRIu64): Likewise.
33560 [C99-based-standards] (PRIx64): Likewise.
33561 [C99-based-standards] (PRIX64): Likewise.
33562 [C99-based-standards] (SCNd64): Likewise.
33563 [C99-based-standards] (SCNi64): Likewise.
33564 [C99-based-standards] (SCNo64): Likewise.
33565 [C99-based-standards] (SCNu64): Likewise.
33566 [C99-based-standards] (SCNx64): Likewise.
33567 [C99-based-standards] (PRIdLEAST64): Likewise.
33568 [C99-based-standards] (PRIiLEAST64): Likewise.
33569 [C99-based-standards] (PRIoLEAST64): Likewise.
33570 [C99-based-standards] (PRIuLEAST64): Likewise.
33571 [C99-based-standards] (PRIxLEAST64): Likewise.
33572 [C99-based-standards] (PRIXLEAST64): Likewise.
33573 [C99-based-standards] (SCNdLEAST64): Likewise.
33574 [C99-based-standards] (SCNiLEAST64): Likewise.
33575 [C99-based-standards] (SCNoLEAST64): Likewise.
33576 [C99-based-standards] (SCNuLEAST64): Likewise.
33577 [C99-based-standards] (SCNxLEAST64): Likewise.
33578 [C99-based-standards] (PRIdFAST64): Likewise.
33579 [C99-based-standards] (PRIiFAST64): Likewise.
33580 [C99-based-standards] (PRIoFAST64): Likewise.
33581 [C99-based-standards] (PRIuFAST64): Likewise.
33582 [C99-based-standards] (PRIxFAST64): Likewise.
33583 [C99-based-standards] (PRIXFAST64): Likewise.
33584 [C99-based-standards] (SCNdFAST64): Likewise.
33585 [C99-based-standards] (SCNiFAST64): Likewise.
33586 [C99-based-standards] (SCNoFAST64): Likewise.
33587 [C99-based-standards] (SCNuFAST64): Likewise.
33588 [C99-based-standards] (SCNxFAST64): Likewise.
33589 [C99-based-standards] (PRIdMAX): Likewise.
33590 [C99-based-standards] (PRIiMAX): Likewise.
33591 [C99-based-standards] (PRIoMAX): Likewise.
33592 [C99-based-standards] (PRIuMAX): Likewise.
33593 [C99-based-standards] (PRIxMAX): Likewise.
33594 [C99-based-standards] (PRIXMAX): Likewise.
33595 [C99-based-standards] (SCNdMAX): Likewise.
33596 [C99-based-standards] (SCNiMAX): Likewise.
33597 [C99-based-standards] (SCNoMAX): Likewise.
33598 [C99-based-standards] (SCNuMAX): Likewise.
33599 [C99-based-standards] (SCNxMAX): Likewise.
33600 [C99-based-standards] (PRIdPTR): Likewise.
33601 [C99-based-standards] (PRIiPTR): Likewise.
33602 [C99-based-standards] (PRIoPTR): Likewise.
33603 [C99-based-standards] (PRIuPTR): Likewise.
33604 [C99-based-standards] (PRIxPTR): Likewise.
33605 [C99-based-standards] (PRIXPTR): Likewise.
33606 [C99-based-standards] (SCNdPTR): Likewise.
33607 [C99-based-standards] (SCNiPTR): Likewise.
33608 [C99-based-standards] (SCNoPTR): Likewise.
33609 [C99-based-standards] (SCNuPTR): Likewise.
33610 [C99-based-standards] (SCNxPTR): Likewise.
33611 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33612 allow.
33613 * conform/data/stdint.h-data: Update comments to clarify
33614 requirements.
33615 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33616 type.
33617 [C99-based standards] (INT8_MAX): Likewise.
33618 [C99-based standards] (INT16_MIN): Likewise.
33619 [C99-based standards] (INT16_MAX): Likewise.
33620 [C99-based standards] (INT32_MIN): Likewise.
33621 [C99-based standards] (INT32_MAX): Likewise.
33622 [C99-based standards] (INT64_MIN): Likewise.
33623 [C99-based standards] (INT64_MAX): Likewise.
33624 [C99-based standards] (UINT8_MAX): Likewise.
33625 [C99-based standards] (UINT16_MAX): Likewise.
33626 [C99-based standards] (UINT32_MAX): Likewise.
33627 [C99-based standards] (UINT64_MAX): Likewise.
33628 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33629 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33630 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33631 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33632 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33633 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33634 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33635 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33636 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33637 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33638 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33639 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33640 [C99-based standards] (INT_FAST8_MIN): Likewise.
33641 [C99-based standards] (INT_FAST8_MAX): Likewise.
33642 [C99-based standards] (INT_FAST16_MIN): Likewise.
33643 [C99-based standards] (INT_FAST16_MAX): Likewise.
33644 [C99-based standards] (INT_FAST32_MIN): Likewise.
33645 [C99-based standards] (INT_FAST32_MAX): Likewise.
33646 [C99-based standards] (INT_FAST64_MIN): Likewise.
33647 [C99-based standards] (INT_FAST64_MAX): Likewise.
33648 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33649 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33650 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33651 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33652 [C99-based standards] (INTPTR_MIN): Likewise.
33653 [C99-based standards] (INTPTR_MAX): Likewise.
33654 [C99-based standards] (UINTPTR_MAX): Likewise.
33655 [C99-based standards] (INTMAX_MIN): Likewise.
33656 [C99-based standards] (INTMAX_MAX): Likewise.
33657 [C99-based standards] (UINTMAX_MAX): Likewise.
33658 [C99-based standards] (PTRDIFF_MIN): Likewise.
33659 [C99-based standards] (PTRDIFF_MAX): Likewise.
33660 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33661 [C99-based standards] (SIZE_MAX): Likewise.
33662 [C99-based standards] (WCHAR_MAX): Likewise.
33663 [C99-based standards] (WINT_MAX): Likewise.
33664 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33665 constraint on value.
33666 [C99-based standards] (WCHAR_MIN): Likewise.
33667 [C99-based standards] (WINT_MIN): Likewise.
33668 [C99-based standards] (*_t): Allow.
33669 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33670 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33671 Include math.h-data and complex.h-data. Remove all expectations
33672 of math.h and complex.h contents.
33673 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33674 at end of line.
33675 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33676 (struct tm): Expect tag.
33677 [C99-based-standards] (wcstof): Expect function.
33678 [C99-based-standards] (wcstold): Likewise.
33679 [C99-based-standards] (wcstoll): Likewise.
33680 [C99-based-standards] (wcstoull): Likewise.
33681 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33682 macro-int-constant. Specify type.
33683 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33684 constraint on value.
33685 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33686 Specify type.
33687 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33688 Specify value.
33689 [ISO C standards]: Do not allow headers.
33690 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33691 wcs[abcdefghijklmnopqrstuvwxyz]*.
33692 [ISO C standards] (*_t): Do not allow.
33693 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33694 Expect function.
33695 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33696 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33697 Specify type.
33698 [ISO C standards]: Do not allow headers.
33699 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33700 is[abcdefghijklmnopqrstuvwxyz]*.
33701 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33702 to[abcdefghijklmnopqrstuvwxyz]*.
33703 [ISO C standards] (*_t): Do not allow.
33704 * conform/data/stdalign.h-data: New file.
33705 * conform/data/stdbool.h-data: Likewise.
33706 * conform/data/stdnoreturn.h-data: Likewise.
33707
33708 2012-11-07 Roland McGrath <roland@hack.frob.com>
33709
33710 [BZ #14815]
33711 * manual/filesys.texi (Directory Entries): Typo fix.
33712 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33713
33714 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33715
33716 * elf/elf.h (EM_AARCH64): New macro.
33717 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33718 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33719 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33720 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33721 (R_AARCH64_TLSDESC): Likewise.
33722 (NT_ARM_TLS): Likewise.
33723 (NT_ARM_HW_BREAK): Likewise.
33724 (NT_ARM_HW_WATCH): Likewise.
33725
33726 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33727
33728 [BZ #14811]
33729 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33730 (__ieee754_powl): Saturate nonzero exponents with absolute value
33731 below 0x1p-79 to +/- 0x1p-79.
33732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33733 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33734 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33735 nonzero exponents with absolute value below 0x1p-32 to +/-
33736 0x1p-32.
33737 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33738 (__ieee754_powl): Saturate nonzero exponents with absolute value
33739 below 0x1p-79 to +/- 0x1p-79.
33740 * math/libm-test.inc (pow_test): Add more tests.
33741
33742 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33743
33744 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33745 _dl_s390_cap_flags with kernel. Increase string length.
33746 (_dl_s390_platforms): Add z196 and zEC12.
33747
33748 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33749
33750 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33751 Change XOPEN21K to XOPEN2K.
33752
33753 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33754
33755 * string/memmove.c: Use memcpy when possible.
33756
33757 2012-11-06 Andreas Jaeger <aj@suse.de>
33758
33759 * po/eo.po: Update from translation team.
33760
33761 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33762
33763 [BZ #14793]
33764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33765 exponent and small x and y exponents, scale x or y up. Increase
33766 by 2 the exponent used in scaling up.
33767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33769 * math/libm-test.inc (fma_test): Add more tests.
33770 (fma_test_towardzero): Likewise.
33771 (fma_test_downward): Likewise.
33772 (fma_test_upward): Likewise.
33773
33774 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33775
33776 [BZ #14805]
33777 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33778 fenv_t *.
33779
33780 [BZ #14801]
33781 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33782 namespace for names of struct fields.
33783 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33784 fenv_t fields.
33785 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33786 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33787
33788 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33789
33790 [BZ #3665]
33791 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33792
33793 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33794
33795 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33796 PTR_DEMANGLE.
33797
33798 [BZ #5246]
33799 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33800 PTR_DEMANGLE.
33801
33802 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33803
33804 [BZ #14797]
33805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33806 definitely overflow as x * y not x * y + z.
33807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33809 * math/libm-test.inc (fma_test): Add more tests.
33810 (fma_test_towardzero): Likewise.
33811 (fma_test_downward): Likewise.
33812 (fma_test_upward): Likewise.
33813
33814 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33815
33816 [BZ #157]
33817
33818 * include/stub-tag.h: Remove file.
33819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33820 '#include' of it.
33821 * manual/maint.texi (Porting): Don't reference it.
33822 * Makerules ($(objpfx)stubs): Likewise.
33823 * dirent/closedir.c: Don't include <stub-tag.h>.
33824 * dirent/dirfd.c: Likewise.
33825 * dirent/fdopendir.c: Likewise.
33826 * dirent/getdents.c: Likewise.
33827 * dirent/getdents64.c: Likewise.
33828 * dirent/opendir.c: Likewise.
33829 * dirent/readdir.c: Likewise.
33830 * dirent/readdir64.c: Likewise.
33831 * dirent/readdir64_r.c: Likewise.
33832 * dirent/readdir_r.c: Likewise.
33833 * dirent/rewinddir.c: Likewise.
33834 * dirent/seekdir.c: Likewise.
33835 * dirent/telldir.c: Likewise.
33836 * gmon/profil.c: Likewise.
33837 * grp/setgroups.c: Likewise.
33838 * inet/if_index.c: Likewise.
33839 * io/access.c: Likewise.
33840 * io/chdir.c: Likewise.
33841 * io/chmod.c: Likewise.
33842 * io/chown.c: Likewise.
33843 * io/close.c: Likewise.
33844 * io/dup.c: Likewise.
33845 * io/dup2.c: Likewise.
33846 * io/dup3.c: Likewise.
33847 * io/euidaccess.c: Likewise.
33848 * io/faccessat.c: Likewise.
33849 * io/fchdir.c: Likewise.
33850 * io/fchmod.c: Likewise.
33851 * io/fchmodat.c: Likewise.
33852 * io/fchown.c: Likewise.
33853 * io/fchownat.c: Likewise.
33854 * io/fcntl.c: Likewise.
33855 * io/flock.c: Likewise.
33856 * io/fstatfs.c: Likewise.
33857 * io/fstatfs64.c: Likewise.
33858 * io/fstatvfs.c: Likewise.
33859 * io/fstatvfs64.c: Likewise.
33860 * io/futimens.c: Likewise.
33861 * io/fxstat.c: Likewise.
33862 * io/fxstat64.c: Likewise.
33863 * io/fxstatat.c: Likewise.
33864 * io/fxstatat64.c: Likewise.
33865 * io/getcwd.c: Likewise.
33866 * io/isatty.c: Likewise.
33867 * io/lchmod.c: Likewise.
33868 * io/lchown.c: Likewise.
33869 * io/link.c: Likewise.
33870 * io/linkat.c: Likewise.
33871 * io/lseek.c: Likewise.
33872 * io/lseek64.c: Likewise.
33873 * io/lxstat64.c: Likewise.
33874 * io/mkdir.c: Likewise.
33875 * io/mkdirat.c: Likewise.
33876 * io/mkfifo.c: Likewise.
33877 * io/mkfifoat.c: Likewise.
33878 * io/open.c: Likewise.
33879 * io/open64.c: Likewise.
33880 * io/openat.c: Likewise.
33881 * io/openat64.c: Likewise.
33882 * io/pipe.c: Likewise.
33883 * io/pipe2.c: Likewise.
33884 * io/poll.c: Likewise.
33885 * io/posix_fadvise.c: Likewise.
33886 * io/posix_fadvise64.c: Likewise.
33887 * io/posix_fallocate.c: Likewise.
33888 * io/posix_fallocate64.c: Likewise.
33889 * io/read.c: Likewise.
33890 * io/readlink.c: Likewise.
33891 * io/readlinkat.c: Likewise.
33892 * io/rmdir.c: Likewise.
33893 * io/sendfile.c: Likewise.
33894 * io/sendfile64.c: Likewise.
33895 * io/statfs.c: Likewise.
33896 * io/statfs64.c: Likewise.
33897 * io/statvfs.c: Likewise.
33898 * io/statvfs64.c: Likewise.
33899 * io/symlink.c: Likewise.
33900 * io/symlinkat.c: Likewise.
33901 * io/ttyname.c: Likewise.
33902 * io/ttyname_r.c: Likewise.
33903 * io/umask.c: Likewise.
33904 * io/unlink.c: Likewise.
33905 * io/unlinkat.c: Likewise.
33906 * io/utime.c: Likewise.
33907 * io/utimensat.c: Likewise.
33908 * io/write.c: Likewise.
33909 * io/xmknod.c: Likewise.
33910 * io/xmknodat.c: Likewise.
33911 * io/xstat.c: Likewise.
33912 * io/xstat64.c: Likewise.
33913 * login/getpt.c: Likewise.
33914 * login/grantpt.c: Likewise.
33915 * login/unlockpt.c: Likewise.
33916 * math/e_acoshl.c: Likewise.
33917 * math/e_acosl.c: Likewise.
33918 * math/e_asinl.c: Likewise.
33919 * math/e_atan2l.c: Likewise.
33920 * math/e_atanhl.c: Likewise.
33921 * math/e_coshl.c: Likewise.
33922 * math/e_expl.c: Likewise.
33923 * math/e_fmodl.c: Likewise.
33924 * math/e_gammal_r.c: Likewise.
33925 * math/e_hypotl.c: Likewise.
33926 * math/e_j0l.c: Likewise.
33927 * math/e_j1l.c: Likewise.
33928 * math/e_jnl.c: Likewise.
33929 * math/e_lgammal_r.c: Likewise.
33930 * math/e_log10l.c: Likewise.
33931 * math/e_log2l.c: Likewise.
33932 * math/e_logl.c: Likewise.
33933 * math/e_powl.c: Likewise.
33934 * math/e_rem_pio2l.c: Likewise.
33935 * math/e_sinhl.c: Likewise.
33936 * math/e_sqrtl.c: Likewise.
33937 * math/fclrexcpt.c: Likewise.
33938 * math/fedisblxcpt.c: Likewise.
33939 * math/feenablxcpt.c: Likewise.
33940 * math/fegetenv.c: Likewise.
33941 * math/fegetexcept.c: Likewise.
33942 * math/fegetround.c: Likewise.
33943 * math/feholdexcpt.c: Likewise.
33944 * math/fesetenv.c: Likewise.
33945 * math/fesetround.c: Likewise.
33946 * math/feupdateenv.c: Likewise.
33947 * math/fgetexcptflg.c: Likewise.
33948 * math/fraiseexcpt.c: Likewise.
33949 * math/fsetexcptflg.c: Likewise.
33950 * math/ftestexcept.c: Likewise.
33951 * math/k_cosl.c: Likewise.
33952 * math/k_rem_pio2l.c: Likewise.
33953 * math/k_sinl.c: Likewise.
33954 * math/k_tanl.c: Likewise.
33955 * math/s_asinhl.c: Likewise.
33956 * math/s_atanl.c: Likewise.
33957 * math/s_cbrtl.c: Likewise.
33958 * math/s_erfl.c: Likewise.
33959 * math/s_expm1l.c: Likewise.
33960 * math/s_log1pl.c: Likewise.
33961 * math/s_tanhl.c: Likewise.
33962 * misc/acct.c: Likewise.
33963 * misc/brk.c: Likewise.
33964 * misc/chflags.c: Likewise.
33965 * misc/chroot.c: Likewise.
33966 * misc/fchflags.c: Likewise.
33967 * misc/fgetxattr.c: Likewise.
33968 * misc/flistxattr.c: Likewise.
33969 * misc/fremovexattr.c: Likewise.
33970 * misc/fsetxattr.c: Likewise.
33971 * misc/fsync.c: Likewise.
33972 * misc/ftruncate.c: Likewise.
33973 * misc/futimes.c: Likewise.
33974 * misc/futimesat.c: Likewise.
33975 * misc/getdomain.c: Likewise.
33976 * misc/getdtsz.c: Likewise.
33977 * misc/gethostid.c: Likewise.
33978 * misc/gethostname.c: Likewise.
33979 * misc/getloadavg.c: Likewise.
33980 * misc/getpagesize.c: Likewise.
33981 * misc/getsysstats.c: Likewise.
33982 * misc/getxattr.c: Likewise.
33983 * misc/gtty.c: Likewise.
33984 * misc/ioctl.c: Likewise.
33985 * misc/lgetxattr.c: Likewise.
33986 * misc/listxattr.c: Likewise.
33987 * misc/llistxattr.c: Likewise.
33988 * misc/lremovexattr.c: Likewise.
33989 * misc/lsetxattr.c: Likewise.
33990 * misc/lutimes.c: Likewise.
33991 * misc/madvise.c: Likewise.
33992 * misc/mincore.c: Likewise.
33993 * misc/mlock.c: Likewise.
33994 * misc/mlockall.c: Likewise.
33995 * misc/mmap.c: Likewise.
33996 * misc/mprotect.c: Likewise.
33997 * misc/msync.c: Likewise.
33998 * misc/munlock.c: Likewise.
33999 * misc/munlockall.c: Likewise.
34000 * misc/munmap.c: Likewise.
34001 * misc/preadv.c: Likewise.
34002 * misc/preadv64.c: Likewise.
34003 * misc/ptrace.c: Likewise.
34004 * misc/pwritev.c: Likewise.
34005 * misc/pwritev64.c: Likewise.
34006 * misc/readv.c: Likewise.
34007 * misc/reboot.c: Likewise.
34008 * misc/remap_file_pages.c: Likewise.
34009 * misc/removexattr.c: Likewise.
34010 * misc/revoke.c: Likewise.
34011 * misc/select.c: Likewise.
34012 * misc/setdomain.c: Likewise.
34013 * misc/setegid.c: Likewise.
34014 * misc/seteuid.c: Likewise.
34015 * misc/sethostid.c: Likewise.
34016 * misc/sethostname.c: Likewise.
34017 * misc/setregid.c: Likewise.
34018 * misc/setreuid.c: Likewise.
34019 * misc/setxattr.c: Likewise.
34020 * misc/sstk.c: Likewise.
34021 * misc/stty.c: Likewise.
34022 * misc/swapoff.c: Likewise.
34023 * misc/swapon.c: Likewise.
34024 * misc/sync.c: Likewise.
34025 * misc/syncfs.c: Likewise.
34026 * misc/syscall.c: Likewise.
34027 * misc/truncate.c: Likewise.
34028 * misc/ualarm.c: Likewise.
34029 * misc/usleep.c: Likewise.
34030 * misc/ustat.c: Likewise.
34031 * misc/utimes.c: Likewise.
34032 * misc/vhangup.c: Likewise.
34033 * misc/writev.c: Likewise.
34034 * posix/_exit.c: Likewise.
34035 * posix/alarm.c: Likewise.
34036 * posix/execve.c: Likewise.
34037 * posix/fexecve.c: Likewise.
34038 * posix/fork.c: Likewise.
34039 * posix/fpathconf.c: Likewise.
34040 * posix/getaddrinfo.c: Likewise.
34041 * posix/getegid.c: Likewise.
34042 * posix/geteuid.c: Likewise.
34043 * posix/getgid.c: Likewise.
34044 * posix/getgroups.c: Likewise.
34045 * posix/getlogin.c: Likewise.
34046 * posix/getlogin_r.c: Likewise.
34047 * posix/getpgid.c: Likewise.
34048 * posix/getpid.c: Likewise.
34049 * posix/getppid.c: Likewise.
34050 * posix/getresgid.c: Likewise.
34051 * posix/getresuid.c: Likewise.
34052 * posix/getsid.c: Likewise.
34053 * posix/getuid.c: Likewise.
34054 * posix/glob64.c: Likewise.
34055 * posix/nanosleep.c: Likewise.
34056 * posix/pathconf.c: Likewise.
34057 * posix/pause.c: Likewise.
34058 * posix/posix_madvise.c: Likewise.
34059 * posix/pread.c: Likewise.
34060 * posix/pread64.c: Likewise.
34061 * posix/pwrite.c: Likewise.
34062 * posix/pwrite64.c: Likewise.
34063 * posix/sched_getaffinity.c: Likewise.
34064 * posix/sched_getp.c: Likewise.
34065 * posix/sched_gets.c: Likewise.
34066 * posix/sched_primax.c: Likewise.
34067 * posix/sched_primin.c: Likewise.
34068 * posix/sched_rr_gi.c: Likewise.
34069 * posix/sched_setaffinity.c: Likewise.
34070 * posix/sched_setp.c: Likewise.
34071 * posix/sched_sets.c: Likewise.
34072 * posix/sched_yield.c: Likewise.
34073 * posix/setgid.c: Likewise.
34074 * posix/setlogin.c: Likewise.
34075 * posix/setpgid.c: Likewise.
34076 * posix/setresgid.c: Likewise.
34077 * posix/setresuid.c: Likewise.
34078 * posix/setsid.c: Likewise.
34079 * posix/setuid.c: Likewise.
34080 * posix/sleep.c: Likewise.
34081 * posix/spawni.c: Likewise.
34082 * posix/sysconf.c: Likewise.
34083 * posix/times.c: Likewise.
34084 * posix/wait.c: Likewise.
34085 * posix/wait3.c: Likewise.
34086 * posix/wait4.c: Likewise.
34087 * posix/waitpid.c: Likewise.
34088 * resolv/gai_sigqueue.c: Likewise.
34089 * resource/getpriority.c: Likewise.
34090 * resource/getrlimit.c: Likewise.
34091 * resource/getrusage.c: Likewise.
34092 * resource/nice.c: Likewise.
34093 * resource/setpriority.c: Likewise.
34094 * resource/setrlimit.c: Likewise.
34095 * resource/ulimit.c: Likewise.
34096 * rt/aio_cancel.c: Likewise.
34097 * rt/aio_fsync.c: Likewise.
34098 * rt/aio_read.c: Likewise.
34099 * rt/aio_sigqueue.c: Likewise.
34100 * rt/aio_suspend.c: Likewise.
34101 * rt/aio_write.c: Likewise.
34102 * rt/clock_getres.c: Likewise.
34103 * rt/clock_gettime.c: Likewise.
34104 * rt/clock_nanosleep.c: Likewise.
34105 * rt/clock_settime.c: Likewise.
34106 * rt/lio_listio.c: Likewise.
34107 * rt/mq_close.c: Likewise.
34108 * rt/mq_getattr.c: Likewise.
34109 * rt/mq_notify.c: Likewise.
34110 * rt/mq_open.c: Likewise.
34111 * rt/mq_receive.c: Likewise.
34112 * rt/mq_send.c: Likewise.
34113 * rt/mq_setattr.c: Likewise.
34114 * rt/mq_timedreceive.c: Likewise.
34115 * rt/mq_timedsend.c: Likewise.
34116 * rt/mq_unlink.c: Likewise.
34117 * rt/shm_open.c: Likewise.
34118 * rt/shm_unlink.c: Likewise.
34119 * rt/timer_create.c: Likewise.
34120 * rt/timer_delete.c: Likewise.
34121 * rt/timer_getoverr.c: Likewise.
34122 * rt/timer_gettime.c: Likewise.
34123 * rt/timer_settime.c: Likewise.
34124 * setjmp/__longjmp.c: Likewise.
34125 * setjmp/setjmp.c: Likewise.
34126 * signal/kill.c: Likewise.
34127 * signal/killpg.c: Likewise.
34128 * signal/raise.c: Likewise.
34129 * signal/sigaction.c: Likewise.
34130 * signal/sigaltstack.c: Likewise.
34131 * signal/sigblock.c: Likewise.
34132 * signal/sigignore.c: Likewise.
34133 * signal/sigintr.c: Likewise.
34134 * signal/signal.c: Likewise.
34135 * signal/sigpause.c: Likewise.
34136 * signal/sigpending.c: Likewise.
34137 * signal/sigqueue.c: Likewise.
34138 * signal/sigreturn.c: Likewise.
34139 * signal/sigset.c: Likewise.
34140 * signal/sigsetmask.c: Likewise.
34141 * signal/sigstack.c: Likewise.
34142 * signal/sigsuspend.c: Likewise.
34143 * signal/sigtimedwait.c: Likewise.
34144 * signal/sigvec.c: Likewise.
34145 * signal/sigwait.c: Likewise.
34146 * signal/sigwaitinfo.c: Likewise.
34147 * signal/sysv_signal.c: Likewise.
34148 * socket/accept.c: Likewise.
34149 * socket/accept4.c: Likewise.
34150 * socket/bind.c: Likewise.
34151 * socket/connect.c: Likewise.
34152 * socket/getpeername.c: Likewise.
34153 * socket/getsockname.c: Likewise.
34154 * socket/getsockopt.c: Likewise.
34155 * socket/isfdtype.c: Likewise.
34156 * socket/listen.c: Likewise.
34157 * socket/recv.c: Likewise.
34158 * socket/recvfrom.c: Likewise.
34159 * socket/recvmsg.c: Likewise.
34160 * socket/send.c: Likewise.
34161 * socket/sendmsg.c: Likewise.
34162 * socket/sendto.c: Likewise.
34163 * socket/setsockopt.c: Likewise.
34164 * socket/shutdown.c: Likewise.
34165 * socket/sockatmark.c: Likewise.
34166 * socket/socket.c: Likewise.
34167 * socket/socketpair.c: Likewise.
34168 * stdio-common/ctermid.c: Likewise.
34169 * stdio-common/cuserid.c: Likewise.
34170 * stdio-common/remove.c: Likewise.
34171 * stdio-common/rename.c: Likewise.
34172 * stdio-common/renameat.c: Likewise.
34173 * stdio-common/tempname.c: Likewise.
34174 * stdlib/getcontext.c: Likewise.
34175 * stdlib/makecontext.c: Likewise.
34176 * stdlib/setcontext.c: Likewise.
34177 * stdlib/swapcontext.c: Likewise.
34178 * stdlib/system.c: Likewise.
34179 * streams/fattach.c: Likewise.
34180 * streams/fdetach.c: Likewise.
34181 * streams/getmsg.c: Likewise.
34182 * streams/getpmsg.c: Likewise.
34183 * streams/putmsg.c: Likewise.
34184 * streams/putpmsg.c: Likewise.
34185 * sysdeps/unix/bsd/getpt.c: Likewise.
34186 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34187 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34190 Likewise.
34191 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34192 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34193 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34194 * sysvipc/msgctl.c: Likewise.
34195 * sysvipc/msgget.c: Likewise.
34196 * sysvipc/msgrcv.c: Likewise.
34197 * sysvipc/msgsnd.c: Likewise.
34198 * sysvipc/semctl.c: Likewise.
34199 * sysvipc/semget.c: Likewise.
34200 * sysvipc/semop.c: Likewise.
34201 * sysvipc/semtimedop.c: Likewise.
34202 * sysvipc/shmat.c: Likewise.
34203 * sysvipc/shmctl.c: Likewise.
34204 * sysvipc/shmdt.c: Likewise.
34205 * sysvipc/shmget.c: Likewise.
34206 * termios/tcdrain.c: Likewise.
34207 * termios/tcflow.c: Likewise.
34208 * termios/tcflush.c: Likewise.
34209 * termios/tcgetattr.c: Likewise.
34210 * termios/tcgetpgrp.c: Likewise.
34211 * termios/tcsendbrk.c: Likewise.
34212 * termios/tcsetattr.c: Likewise.
34213 * termios/tcsetpgrp.c: Likewise.
34214 * time/adjtime.c: Likewise.
34215 * time/clock.c: Likewise.
34216 * time/getitimer.c: Likewise.
34217 * time/gettimeofday.c: Likewise.
34218 * time/setitimer.c: Likewise.
34219 * time/settimeofday.c: Likewise.
34220 * time/stime.c: Likewise.
34221 * time/time.c: Likewise.
34222
34223 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34224
34225 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34226 /usr/old/bin.
34227
34228 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34229 instead of spaces.
34230 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34231
34232 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34233
34234 [BZ #14796]
34235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34236 FE_TONEAREST before applying Dekker multiplication and Knuth
34237 addition. Clear inexact exceptions and check for exact zero
34238 results afterwards.
34239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34242 * math/libm-test.inc (fma_test): Add more tests.
34243 (fma_test_towardzero): Likewise.
34244 (fma_test_downward): Likewise.
34245 (fma_test_upward): Likewise.
34246 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34247 function.
34248 (libc_fesetround): New macro.
34249 (libc_fesetroundf): Likewise.
34250 (libc_fesetroundl): Likewise.
34251 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34252 function.
34253 (libc_fesetround_387): Likewise.
34254 (libc_fesetroundf): New macro.
34255 (libc_fesetround): Likewise.
34256 (libc_fesetroundl): Likewise.
34257 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34258 function.
34259 (libc_fesetroundf): New macro.
34260 (libc_fesetround): Likewise.
34261 (libc_fesetroundl): Likewise.
34262 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34263 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34264 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34265 libm_hidden_ver.
34266 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34267 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34268 libm_hidden_def.
34269 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34270 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34271 libm_hidden_ver.
34272 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34273 libm_hidden_def.
34274
34275 [BZ #3439]
34276 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34277 integer constant usable in #if and use that to give value to enum
34278 constant.
34279 (FE_DIVBYZERO): Likewise.
34280 (FE_UNDERFLOW): Likewise.
34281 (FE_OVERFLOW): Likewise.
34282 (FE_INVALID): Likewise.
34283 (FE_INVALID_SNAN): Likewise.
34284 (FE_INVALID_ISI): Likewise.
34285 (FE_INVALID_IDI): Likewise.
34286 (FE_INVALID_ZDZ): Likewise.
34287 (FE_INVALID_IMZ): Likewise.
34288 (FE_INVALID_COMPARE): Likewise.
34289 (FE_INVALID_SOFTWARE): Likewise.
34290 (FE_INVALID_SQRT): Likewise.
34291 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34292 (FE_TONEAREST): Likewise.
34293 (FE_TOWARDZERO): Likewise.
34294 (FE_UPWARD): Likewise.
34295 (FE_DOWNWARD): Likewise.
34296 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34297 (FE_DIVBYZERO): Likewise.
34298 (FE_OVERFLOW): Likewise.
34299 (FE_UNDERFLOW): Likewise.
34300 (FE_INEXACT): Likewise.
34301 (FE_TONEAREST): Likewise.
34302 (FE_DOWNWARD): Likewise.
34303 (FE_UPWARD): Likewise.
34304 (FE_TOWARDZERO): Likewise.
34305 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34306 (FE_UNDERFLOW): Likewise.
34307 (FE_OVERFLOW): Likewise.
34308 (FE_DIVBYZERO): Likewise.
34309 (FE_INVALID): Likewise.
34310 (FE_TONEAREST): Likewise.
34311 (FE_TOWARDZERO): Likewise.
34312 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34313 (FE_OVERFLOW): Likewise.
34314 (FE_UNDERFLOW): Likewise.
34315 (FE_DIVBYZERO): Likewise.
34316 (FE_INEXACT): Likewise.
34317 (FE_TONEAREST): Likewise.
34318 (FE_TOWARDZERO): Likewise.
34319 (FE_UPWARD): Likewise.
34320 (FE_DOWNWARD): Likewise.
34321 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34322 (FE_DIVBYZERO): Likewise.
34323 (FE_OVERFLOW): Likewise.
34324 (FE_UNDERFLOW): Likewise.
34325 (FE_INEXACT): Likewise.
34326 (FE_TONEAREST): Likewise.
34327 (FE_DOWNWARD): Likewise.
34328 (FE_UPWARD): Likewise.
34329 (FE_TOWARDZERO): Likewise.
34330
34331 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34332
34333 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34334
34335 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34336
34337 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34338 commands. Quote $PWD.
34339 (blacklist_exports): Don't use remove_newlines. Replace "declare
34340 -x" by "export".
34341 (remove_newlines): Remove.
34342
34343 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34344
34345 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34346 * stdlib/stdlib.h (atof): Moved to ...
34347 * include/bits/stdlib-float.h: Here. New file.
34348 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34349 * stdlib/bits/stdlib-float.h: New file.
34350 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34351 -mno-sse -mno-mmx.
34352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34353 <xmmintrin.h>.
34354
34355 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34356
34357 * conform/conformtest.pl (@headers): Add fenv.h.
34358 * conform/data/fenv.h-data: New file.
34359 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34360 include of <math/fenv.h>.
34361
34362 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34363 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34364 && !UNIX98]. Enables tests for XOPEN2K8.
34365 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34366 POSIX2008]: Likewise.
34367
34368 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34369 (struct rusage): Do not expect type or its members.
34370
34371 [BZ #3439]
34372 * math/math.h (FP_NAN): Define macro to integer constant usable in
34373 #if and use that to give value to enum constant.
34374 (FP_INFINITE): Likewise.
34375 (FP_ZERO): Likewise.
34376 (FP_SUBNORMAL): Likewise.
34377 (FP_NORMAL): Likewise.
34378
34379 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34380
34381 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34382 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34383 arguments.
34384
34385 2012-11-02 Roland McGrath <roland@hack.frob.com>
34386
34387 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34388 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34389 autoconf-time if not.
34390 * configure.in: Remove AC_PREREQ.
34391
34392 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34393
34394 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34395 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34396 of the internal implementation.
34397
34398 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34399
34400 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34401 except include of <misc/sys/syslog.h>.
34402
34403 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34404
34405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34406 function returns with a NULL context exit with zero.
34407
34408 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34409
34410 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34411
34412 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34413
34414 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34415 (run_program_cmd): This.
34416 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34417 (tst_langinfo): New variable. Use it.
34418
34419 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34420
34421 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34422 floating point opcodes.
34423
34424 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34425
34426 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34427 variable.
34428
34429 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34430
34431 * sysdeps/mach/hurd/powerpc: Remove directory.
34432 * sysdeps/mach/powerpc: Likewise.
34433
34434 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34435
34436 * scripts/check-local-headers.sh: Ignore c++ headers.
34437
34438 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34439
34440 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34441 __libc_cleanup_region_start argument.
34442
34443 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34444
34445 [BZ #14784]
34446 [BZ #14785]
34447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34448 x * y using scaling, not as x * y + z.
34449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34451 * math/libm-test.inc (fma_test): Add more tests.
34452 (fma_test_towardzero): Likewise.
34453 (fma_test_downward): Likewise.
34454 (fma_test_upward): Likewise.
34455
34456 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34457
34458 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34459
34460 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34461
34462 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34463 New variable.
34464
34465 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34466
34467 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34468
34469 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34470
34471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34472 Fix sort order.
34473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34474 Likewise.
34475
34476 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34477
34478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34479 Fix the order of the list for glibc 2.17.
34480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34481 Likewise.
34482
34483 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34484
34485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34486
34487 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34488
34489 [BZ #14610]
34490 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34491 for low part of x being zero before using __atanl (y).
34492 * math/libm-test.inc (atan2_test): Add another test.
34493
34494 * manual/install.texi (Configuring and compiling): Document
34495 general use of test-wrapper and test-wrapper-env.
34496 * INSTALL: Regenerated.
34497
34498 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34499 (__fma): Do not extract and scale down low bits on after-rounding
34500 systems when result rounded to normal precision would have normal
34501 exponent.
34502 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34503 (__fmal): Do not extract and scale down low bits on after-rounding
34504 systems when result rounded to normal precision would have normal
34505 exponent.
34506 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34507 (__fmal): Do not extract and scale down low bits on after-rounding
34508 systems when result rounded to normal precision would have normal
34509 exponent.
34510 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34511 macro.
34512 (fma_test): Add more tests.
34513 (fma_test_towardzero): Likewise.
34514 (fma_test_downward): Likewise.
34515 (fma_test_upward): Likewise.
34516
34517 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34518
34519 * sysdeps/i386/tininess.h: Renamed to ...
34520 * sysdeps/x86/tininess.h: This.
34521 * sysdeps/x86_64/tininess.h: Removed.
34522
34523 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34524
34525 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34526 input. Use $(build-program-cmd).
34527 ($(objpfx)tst-array1-static.out): Likewise.
34528 ($(objpfx)tst-array2.out): Likewise.
34529 ($(objpfx)tst-array3.out): Likewise.
34530 ($(objpfx)tst-array4.out): Likewise.
34531 ($(objpfx)tst-array5.out): Likewise.
34532 ($(objpfx)tst-array5-static.out): Likewise.
34533
34534 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34535
34536 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34537 if defined.
34538
34539 * nss/nsswitch.h (nss_interface_function): Provide new
34540 macro for use with NSS functions.
34541 * grp/initgroups.c: Use new macro.
34542 * nss/getXXbyYY.c: Likewise.
34543 * nss/getXXbyYY_r.c: Likewise.
34544 * nss/getXXent.c: Likewise.
34545 * nss/getXXent_r.c: Likewise.
34546 * sysdeps/posix/getaddrinfo.c: Likewise.
34547
34548 2012-10-30 Andreas Jaeger <aj@suse.de>
34549
34550 * po/ru.po: Update Russion translation from translation project.
34551
34552 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34553
34554 [BZ #14152]
34555 [BZ #14783]
34556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34557 result and shift together with sticky bit instead of replicating
34558 round-to-nearest rounding.
34559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34561 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34562 missing underflow exceptions.
34563 (fma_test_towardzero): Add more tests.
34564 (fma_test_downward): Likewise.
34565 (fma_test_upward): Likewise.
34566
34567 [BZ #14047]
34568 * sysdeps/generic/tininess.h: New file.
34569 * sysdeps/i386/tininess.h: Likewise.
34570 * sysdeps/sh/tininess.h: Likewise.
34571 * sysdeps/x86_64/tininess.h: Likewise.
34572 * stdlib/tst-strtod-underflow.c: Likewise.
34573 * stdlib/tst-tininess.c: Likewise.
34574 * stdlib/strtod_l.c: Include <tininess.h>.
34575 (round_and_return): Do not set errno for exact underflow cases.
34576 Force an underflow exception when setting errno for underflow.
34577 Determine underflow based on rounding to normal precision if
34578 TININESS_AFTER_ROUNDING.
34579 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34580 ERANGE for exact underflow cases.
34581 * stdlib/Makefile (tests): Add tst-tininess and
34582 tst-strtod-underflow.
34583 ($(objpfx)tst-tininess): Use $(link-libm).
34584 ($(objpfx)tst-strtod-underflow): Likewise.
34585
34586 2012-10-30 Andreas Jaeger <aj@suse.de>
34587
34588 [BZ#14767]
34589 * elf/Makefile (tests): Remove conditional for have-initfini-array
34590 since this is now always required and the variable does not exist
34591 anymore.
34592 (tests-static): Likewise.
34593 (modules-names): Likewise.
34594
34595 * po/eo.po: Add Esperanto translation from translation project.
34596
34597 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34598 merged with constructor/destructor.
34599 (init_array): Likewise.
34600 * elf/tst-array2dep.c (fini_array): Likewise.
34601 (init_array): Likewise.
34602
34603 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34604
34605 * manual/message.texi: Delete @cartouche tags.
34606
34607 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34608
34609 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34610 EOPNOTSUPP.
34611 * sysdeps/mach/hurd/fsync.c: Likewise.
34612
34613 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34614 [_POSIX_REALTIME_SIGNALS]: Change condition to
34615 [_POSIX_REALTIME_SIGNALS > 0].
34616
34617 2012-10-27 Andreas Jaeger <aj@suse.de>
34618
34619 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34620 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34622 [__WORDSIZE != 64]: Likewise.
34623
34624 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34625
34626 * iconvdata/tst-table.sh: Remove ${SHELL}.
34627 * iconvdata/tst-tables.sh: Likewise.
34628
34629 2012-10-25 David S. Miller <davem@davemloft.net>
34630
34631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34632 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34633 of strtoull.
34634
34635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34636 ifunc-impl-list.c
34637 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34638 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34639 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34640 file.
34641
34642 2012-10-25 Roland McGrath <roland@hack.frob.com>
34643
34644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34645 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34646 __getdirentries.
34647
34648 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34649 Jim Blandy <jimb@codesourcery.com>
34650
34651 * scripts/cross-test-ssh.sh: New file.
34652 * manual/install.texi (Configuring and compiling): Document use of
34653 cross-test-ssh.sh.
34654 * INSTALL: Regenerated.
34655
34656 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34657
34658 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34659 EOPNOTSUPP.
34660
34661 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34662
34663 * Makeconfig (run-program-prefix): Fix comment.
34664
34665 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34666 Jim Blandy <jimb@codesourcery.com>
34667
34668 * Makeconfig (test-wrapper): New variable,
34669 (test-wrapper-env): Likewise.
34670 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34671 (run-built-tests): Define to yes.
34672 (run-program-prefix): Use $(test-wrapper).
34673 (built-program-cmd): Likewise.
34674 * Rules (make-test-out): Use $(test-wrapper-env) and
34675 $(host-built-program-cmd).
34676 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34677 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34678 tst-pathopt.sh.
34679 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34680 $(test-wrapper-env) to tst-rtld-load-self.sh.
34681 ($(objpfx)order2.out): Use $(test-wrapper).
34682 ($(objpfx)tst-initorder.out): Likewise.
34683 ($(objpfx)tst-initorder2.out): Likewise.
34684 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34685 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34686 (test_wrapper_env): New variable. Use it to run ld.so.
34687 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34688 Use it to run ld.so.
34689 (test_wrapper_env): Likewise.
34690 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34691 $(test-wrapper) to run-iconv-test.sh.
34692 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34693 (ICONV): Use $test_wrapper.
34694 * posix/Makefile ($(objpfx)globtest.out): Pass
34695 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34696 globtest.sh, not $(run-program-prefix).
34697 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34698 (test_wrapper): Likewise.
34699 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34700 set together with run_via_rtld_prefix.
34701 (run_program_prefix): Define in terms of test_wrapper and
34702 run_via_rtld_prefix.
34703
34704 2012-10-24 Roland McGrath <roland@hack.frob.com>
34705
34706 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34707 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34708 Targets removed.
34709
34710 [BZ #14743]
34711 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34712 Declare __clock_getres, __clock_gettime, __clock_settime,
34713 __clock_nanosleep, and __clock_getcpuclockid.
34714 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34715 Remove librt_hidden_def (clock_gettime).
34716 * sysdeps/unix/clock_gettime.c: Likewise.
34717 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34718 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34719 * rt/clock_getres.c: Define __clock_getres as an alias.
34720 * sysdeps/posix/clock_getres.c: Likewise.
34721 * rt/clock_settime.c: Define __clock_settime as an alias.
34722 * sysdeps/unix/clock_settime.c: Likewise.
34723 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34724 * sysdeps/unix/clock_nanosleep.c: Likewise.
34725 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34726 * rt/clock-compat.c: New file.
34727 * rt/Makefile (librt-routines): Add clock-compat and move
34728 $(clock-routines) to ...
34729 (routines): ... here, new variable.
34730 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34731 Don't add get_clockfreq here.
34732 * rt/Versions (libc: GLIBC_2.17): New version set.
34733 Add clock_* symbols here.
34734 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34736 (GLIBC_2.17): Add clock_* symbols.
34737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34741 Likewise.
34742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34743 Likewise.
34744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34748 * NEWS: Mention the move.
34749
34750 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34751 Use __open, __read, __close rather than their public counterparts.
34752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34753 (__get_clockfreq_via_cpuinfo): Likewise.
34754 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34755 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34756
34757 * config.h.in (HAVE_IFUNC): New #undef.
34758 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34759 was successful.
34760 * configure: Regenerated.
34761
34762 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34763
34764 * configure.in: Move READELF check to start of file.
34765 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34766 libc_cv_asm_gnu_indirect_function in the process.
34767 * configure: Regenerated.
34768
34769 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34770
34771 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34772 send the output to /dev/null.
34773 (libc_cv_cc_with_libunwind): Likewise.
34774 (libc_cv_as_noexecstack): Likewise.
34775 * configure: Regenerate.
34776
34777 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34778
34779 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34780
34781 * posix/globtest.sh (TMPDIR): Do not set.
34782 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34783 (testout): Likewise.
34784
34785 2012-10-24 Andreas Jaeger <aj@suse.de>
34786
34787 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34788 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34789 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34790 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34791 posix_fadvise64, posix_fallocate64.
34792
34793 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34794 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34795 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34796 Likewise.
34797 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34798 Likewise.
34799 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34800
34801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34802 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34803 <bits/fcntl-linux.h>.
34804 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34805
34806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34807 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34808 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34809 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34810 [__WORDSIZE != 64]: Likewise.
34811
34812 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34813
34814 * Makeconfig (run-built-tests): New variable.
34815 * Rules [$(cross-compiling) = yes]: Change condition to
34816 [$(run-built-tests) = no].
34817 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34818 to [$(run-built-tests) = yes].
34819 * elf/Makefile [$(cross-compiling) = no]: Likewise
34820 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34821 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34822 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34823 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34824 * io/Makefile [$(cross-compiling) = no]: Likewise.
34825 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34826 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34827 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34828 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34829 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34830 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34831 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34832 * string/Makefile [$(cross-compiling) = no]: Likewise.
34833
34834 * posix/Makefile ($(objpfx)globtest.out): Pass
34835 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34836 $(rtld-installed-name).
34837 * posix/globtest.sh (elf_objpfx): Remove variable.
34838 (rtld_installed_name): Likewise.
34839 (library_path): Likewise.
34840 (run_program_prefix): New variable. Use for running globtest
34841 binary.
34842
34843 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34844 Joseph Myers <joseph@codesourcery.com>
34845
34846 * Makeconfig (host-built-program-cmd): New variable.
34847 * elf/Makefile (tst-stackguard1-ARGS): Use
34848 $(host-built-program-cmd).
34849 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34850 (tst-spawn-ARGS): Likewise.
34851 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34852
34853 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34854 Jim Blandy <jimb@codesourcery.com>
34855
34856 * Makeconfig (run-via-rtld-prefix): New variable.
34857 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34858 (built-program-cmd): Likewise.
34859
34860 2012-10-22 Andreas Jaeger <aj@suse.de>
34861
34862 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34863 __O_RSYNC if it exists, otherwise to O_SYNC.
34864
34865 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34866 Joseph Myers <joseph@codesourcery.com>
34867
34868 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34869 /dev/null.
34870 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34871 from /dev/null
34872 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34873 /dev/null.
34874
34875 2012-10-22 Andreas Jaeger <aj@suse.de>
34876
34877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34878 Define always.
34879 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34880
34881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34882 bits/fcntl-linux.h.
34883
34884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34885 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34886
34887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34888 to __O_LARGEFILE.
34889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34890 to __O_LARGEFILE.
34891
34892 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34893 Joseph Myers <joseph@codesourcery.com>
34894
34895 * config.make.in (NM): New variable.
34896
34897 2012-10-21 Andreas Jaeger <aj@suse.de>
34898
34899 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34900 definitions and declarations that are provided by
34901 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34902
34903 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34904
34905 [BZ #14683]
34906 * elf/Makefile (tests-static): Add tst-leaks1-static.
34907 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34908 ($(objpfx)tst-leaks1-static): New rule.
34909 ($(objpfx)tst-leaks1-static-mem): Likewise.
34910 (tst-leaks1-static-ENV): New macro.
34911 * elf/dl-open.c (dl_open_worker): Check the main application
34912 only if SHARED is defined.
34913 * elf/tst-leaks1-static.c: New file.
34914
34915 2012-10-20 Andreas Jaeger <aj@suse.de>
34916
34917 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34918 generic values for Linux.
34919 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34920 and declarations that are provided by <bits/fcntl-linux.h> and
34921 include <bits/fcntl-linux.h>.
34922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34924
34925 2012-10-20 Roland McGrath <roland@hack.frob.com>
34926
34927 * io/fcntl.h: Move include of <bits/types.h> to the top and
34928 include it unconditionally.
34929
34930 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34931
34932 * wcsmbs/Makefile (tests-ifunc): New variable.
34933 (tests): Add $(tests-ifunc).
34934 * wcsmbs/test-wcschr-ifunc.c: New file.
34935 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34936 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34937 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34938 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34939 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34940
34941 * string/Makefile (tests-ifunc): New variable.
34942 (tests): Add $(tests-ifunc).
34943 * string/test-memccpy.c (TEST_NAME): New macro.
34944 * string/test-memchr.c (TEST_NAME): Likewise.
34945 * string/test-memcmp.c (TEST_NAME): Likewise.
34946 * string/test-memcpy.c (TEST_NAME): Likewise.
34947 * string/test-memmem.c (TEST_NAME): Likewise.
34948 * string/test-memmove.c (TEST_NAME): Likewise.
34949 * string/test-memset.c (TEST_NAME): Likewise.
34950 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34951 * string/test-stpcpy.c (TEST_NAME): Likewise.
34952 * string/test-stpncpy.c (TEST_NAME): Likewise.
34953 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34954 * string/test-strcasestr.c (TEST_NAME): Likewise.
34955 * string/test-strcat.c (TEST_NAME): Likewise.
34956 * string/test-strchr.c (TEST_NAME): Likewise.
34957 * string/test-strcmp.c(TEST_NAME): Likewise.
34958 * string/test-strcpy.c (TEST_NAME): Likewise.
34959 * string/test-strcspn.c (TEST_NAME): Likewise.
34960 * string/test-strlen.c (TEST_NAME): Likewise.
34961 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34962 * string/test-strncmp.c (TEST_NAME): Likewise.
34963 * string/test-strncpy.c (TEST_NAME): Likewise.
34964 * string/test-strnlen.c (TEST_NAME): Likewise.
34965 * string/test-strpbrk.c (TEST_NAME): Likewise.
34966 * string/test-strrchr.c (TEST_NAME): Likewise.
34967 * string/test-strspn.c (TEST_NAME): Likewise.
34968 * string/test-strstr.c (TEST_NAME): Likewise.
34969 * string/test-bcopy-ifunc.c: New file.
34970 * string/test-bzero-ifunc.c: Likewise.
34971 * string/test-memccpy-ifunc.c: Likewise.
34972 * string/test-memchr-ifunc.c: Likewise.
34973 * string/test-memcmp-ifunc.c: Likewise.
34974 * string/test-memcpy-ifunc.c: Likewise.
34975 * string/test-memmem-ifunc.c: Likewise.
34976 * string/test-memmove-ifunc.c: Likewise.
34977 * string/test-mempcpy-ifunc.c: Likewise.
34978 * string/test-memset-ifunc.c: Likewise.
34979 * string/test-rawmemchr-ifunc.c: Likewise.
34980 * string/test-stpcpy-ifunc.c: Likewise.
34981 * string/test-stpncpy-ifunc.c: Likewise.
34982 * string/test-strcasecmp-ifunc.c: Likewise.
34983 * string/test-strcasestr-ifunc.c: Likewise.
34984 * string/test-strcat-ifunc.c: Likewise.
34985 * string/test-strchr-ifunc.c: Likewise.
34986 * string/test-strchrnul-ifunc.c: Likewise.
34987 * string/test-strcmp-ifunc.c: Likewise.
34988 * string/test-strcpy-ifunc.c: Likewise.
34989 * string/test-strcspn-ifunc.c: Likewise.
34990 * string/test-strlen-ifunc.c: Likewise.
34991 * string/test-strncasecmp-ifunc.c: Likewise.
34992 * string/test-strncat-ifunc.c: Likewise.
34993 * string/test-strncmp-ifunc.c: Likewise.
34994 * string/test-strncpy-ifunc.c: Likewise.
34995 * string/test-strnlen-ifunc.c: Likewise.
34996 * string/test-strpbrk-ifunc.c: Likewise.
34997 * string/test-strrchr-ifunc.c: Likewise.
34998 * string/test-strspn-ifunc.c: Likewise.
34999 * string/test-strstr-ifunc.c: Likewise.
35000
35001 * debug/Makefile (tests-ifunc): New variable.
35002 (tests): Add $(tests-ifunc).
35003 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35004 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35005 * debug/test-stpcpy_chk-ifunc.c: New file.
35006 * debug/test-strcpy_chk-ifunc.c: Likewise.
35007
35008 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35009
35010 [BZ #13601]
35011 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35012 header is not read in.
35013
35014 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35015
35016 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35017 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35018 directly. Pass built executable to script as
35019 $(built-program-cmd).
35020 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35021 $testprogram without using LD_LIBRARY_PATH and $ldso.
35022
35023 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35024 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35025 $(rtld-installed-name).
35026 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35027 (rtld_installed_name): Likewise.
35028 (library_path): Likewise.
35029 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35030 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35031 $(run-program-prefix) to tst-tables.sh.
35032 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35033 it to run tst-table-from and tst-table-to.
35034 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35035 Pass it to tst-table.sh.
35036 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35037 $(run-program-prefix) to tst-gettext.sh.
35038 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35039 tst-translit.sh.
35040 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35041 tst-gettext2.sh.
35042 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35043 to run tst-gettext.
35044 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35045 to run tst-gettext2.
35046 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35047 to run tst-translit.
35048 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35049 $(run-program-prefix) to tst-mtrace.sh.
35050 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35051 to run tst-mtrace.
35052 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35053 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35054 $(rtld-installed-name).
35055 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35056 (rtld_installed_name): Likewise.
35057 (run_program_prefix): New variable. Use it to run wordexp-test.
35058
35059 * Makeconfig (ARCH): Remove all definitions.
35060 (machine): Likewise.
35061 [ARCH]: Remove conditional code.
35062 [!objdir]: Give error.
35063 [!objdir] (objpfx): Remove.
35064 [!objdir] (common-objpfx): Likewise.
35065 [!objdir] (common-objdir): Likewise.
35066 * configure.in (config_makefile): Remove. Hardcode Makefile in
35067 AC_CONFIG_FILES call.
35068 * configure: Regenerated.
35069
35070 [BZ #13888]
35071 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35072 or TMPDIR.
35073 (testout): Likewise.
35074
35075 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35076 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35077 $(rtld-installed-name).
35078 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35079 (rtld_installed_name): Likwise.
35080 (runit): Remove function.
35081 (run_getconf): New variable, Use it for running getconf binary.
35082
35083 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35084
35085 [BZ #14716]
35086 * string/test-memmem.c (check_result): New function.
35087 (do_one_test): Use it.
35088 (check1): New function.
35089 (test_main): Use it.
35090
35091 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35092
35093 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35094
35095 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35096
35097 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35098 (_G_LSEEK64): Likewise.
35099 (_G_MMAP64): Likewise.
35100 (_G_FSTAT64): Likewise.
35101 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35102 (_G_LSEEK64): Likewise.
35103 (_G_MMAP64): Likewise.
35104 (_G_FSTAT64): Likewise.
35105 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35106 unconditional. Call __mmap64 directly.
35107 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35108 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35109 __lseek64 directly.
35110 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35111 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35112 __mmap64 directly.
35113 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35114 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35115 __lseek64 directly.
35116 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35117 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35118 __lseek64 directly.
35119 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35120 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35121 __lseek64 directly.
35122 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35123 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35124 __fxstat64 directly.
35125 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35126 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35127 unconditional.
35128 (freopen64) [!_G_OPEN64]: Remove conditional code.
35129 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35130 unconditional.
35131 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35132 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35133 unconditional.
35134 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35135 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35136 unconditional.
35137 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35138 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35139 unconditional.
35140 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35141 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35142 unconditional.
35143 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35144 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35145 unconditional.
35146 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35147 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35148 unconditional.
35149 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35150
35151 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35152
35153 [BZ #12140]
35154 * manual/memory.texi (Malloc Tunable Parameters): Add note
35155 about free list pointers overwriting some perturb bytes.
35156 Wording suggested by Roland McGrath.
35157
35158 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35159
35160 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35161 (lgamma_test): Likewise.
35162 (tgamma_test): Likewise.
35163
35164 2012-10-16 Florian Weimer <fweimer@redhat.com>
35165
35166 [BZ #14700]
35167 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35168 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35169
35170 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35171
35172 * NEWS: Mention BZ #14716.
35173 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35174 when removing AVAILABLE1_USES_J macro.
35175
35176 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35177
35178 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35179 (__bswap_64): __uint64_t for unsigned 64-bit int.
35180
35181 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35182
35183 * include/string.h (memmem): Declare libc hidden alias.
35184 * string/memmem.c (memmem): Define libc hidden alias.
35185 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35186 __read, __close instead of open, read, close.
35187
35188 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35189
35190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35191 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35192 global and hidden.
35193 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35194 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35195 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35196 Likewise.
35197 (__rawmemchr_sse2): Likewise.
35198 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35199 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35200 (__strchr_sse2): Likewise.
35201 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35202 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35203 (__strcasecmp_sse2): Likewise.
35204 (__strncasecmp_sse2): Likewise.
35205 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35206 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35207 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35208 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35209 (__strrchr_sse2): Likewise.
35210 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35211 ifunc-impl-list.c.
35212 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35213 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35214 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35215 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35216 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35217 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35220 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35221 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35222 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35224 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35225 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35226 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35227 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35228 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35229 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35230 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35231 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35232 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35233 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35234 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35235 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35236 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35237 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35238 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35239 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35240 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35241 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35242
35243 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35244 global and hidden.
35245 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35246 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35247 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35248 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35249 Likewise.
35250 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35251 Likewise.
35252 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35253 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35254 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35255 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35256 ifunc-impl-list.c.
35257 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35258 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35259 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35260 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35261 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35262 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35263 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35265 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35266 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35267 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35268 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35269 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35270 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35271 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35272 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35273 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35274 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35275 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35276 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35277 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35281 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35283 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35290 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35291 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35292 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35293 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35294 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35295 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35296 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35297 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35298
35299 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35300 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35301 * include/ifunc-impl-list.h: New file.
35302 * misc/ifunc-impl-list.c: Likewise.
35303 * misc/Makefile (routines): Add ifunc-impl-list.
35304 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35305 * string/test-string.h: Include <ifunc-impl-list.h>.
35306 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35307 TEST_NAME]: New variables.
35308 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35309 are defined.
35310 (test_init): Call __libc_ifunc_impl_list to initialize
35311 func_list if TEST_IFUNC and TEST_NAME are defined.
35312
35313 * string/Makefile (strop-tests): Add bcopy and bzero.
35314 * string/test-bcopy.c: New file.
35315 * string/test-bzero.c: Likewise.
35316 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35317 defined.
35318 * string/test-memset.c: Support bzero test if TEST_BZERO is
35319 defined.
35320 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35321 __libc_memmove.
35322 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35323 __libc_memset.
35324 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35325 of memset.
35326
35327 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35328
35329 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35330 * configure: Regenerated.
35331
35332 * Makeconfig (+link-static-before-libc): Don't include
35333 $(link-static-libc).
35334
35335 * libio/libio.h (_IO_pos_t): Remove.
35336
35337 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35338
35339 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35340 McGrath.
35341
35342 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35343
35344 * crypt/crypt-entry.c: Include fips-private.h.
35345 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35346 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35347 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35348 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35349
35350 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35351
35352 * crypt/crypt-private.h: Include stdbool.h.
35353 (_ufc_setup_salt_r): Return bool.
35354 * crypt/crypt-entry.c: Include errno.h.
35355 (__crypt_r): Return NULL with EINVAL for bad salt.
35356 * crypt/crypt_util.c (bad_for_salt): New.
35357 (_ufc_setup_salt_r): Check that salt is long enough and within
35358 the specified alphabet.
35359 * crypt/badsalttest.c: New file.
35360 * crypt/Makefile (tests): Add it.
35361 ($(objpfx)badsalttest): New.
35362
35363 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35364
35365 * NEWS: Add entry for BZ #14602.
35366
35367 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35368
35369 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35370 type-generic.
35371 * math/libm-test.inc: Update comment listing what functions and
35372 macros are tested.
35373 (isgreater_test): New function.
35374 (isgreaterequal_test): Likewise.
35375 (isless_test): Likewise.
35376 (islessequal_test): Likewise.
35377 (islessgreater_test): Likewise.
35378 (isunordered_test): Likewise.
35379 (main): Call the new functions.
35380
35381 2012-10-09 Roland McGrath <roland@hack.frob.com>
35382
35383 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35384 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35385 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35386 * sysdeps/i386/configure: Regenerated.
35387 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35388 * sysdeps/mach/configure: Regenerated.
35389 * sysdeps/mach/hurd/configure: Regenerated.
35390 * sysdeps/powerpc/configure: Regenerated.
35391 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35392 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35393 * sysdeps/s390/s390-32/configure: Regenerated.
35394 * sysdeps/s390/s390-64/configure: Regenerated.
35395 * sysdeps/sh/configure: Regenerated.
35396 * sysdeps/sparc/configure: Regenerated.
35397 * sysdeps/unix/sysv/linux/configure: Regenerated.
35398 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35399 * sysdeps/x86_64/configure: Regenerated.
35400
35401 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35402 defined. Don't check if MAP is NULL.
35403
35404 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35405
35406 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35407 (_G_stat64): Likewise.
35408 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35409 (_G_stat64): Likewise.
35410 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35411 instead of struct _G_stat64.
35412 * libio/fileops.c (mmap_remap_check): Likewise.
35413 (decide_maybe_mmap): Likewise.
35414 (_IO_new_file_seekoff): Likewise.
35415 (_IO_file_stat): Likewise.
35416 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35417 _G_off64_t.
35418 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35419 instead of struct _G_stat64.
35420 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35421
35422 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35423
35424 [BZ #14602]
35425 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35426 Replace with ...
35427 (CHECK_EOL): New macro.
35428 (two_way_short_needle): Check beginning of haystack for EOL. Use
35429 CHECK_EOL.
35430 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35431 Replace with CHECK_EOL.
35432 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35433 Replace with CHECK_EOL.
35434
35435 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35436
35437 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35438 type-generic.
35439 * math/libm-test.inc: Update comment listing what functions and
35440 macros are tested.
35441 (finite_test): New function.
35442 (isinf_test): Likewise.
35443 (isnan_test): Likewise.
35444 (fpclassify_test): Test subnormal input.
35445 (isfinite_test): Likewise.
35446 (isnormal_test): Likewise.
35447 (main): Call the new functions.
35448
35449 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35450
35451 [BZ #14660]
35452 * Makerules (%.dynsym): Force C locale when running
35453 $(OBJDUMP) --dynamic-syms.
35454
35455 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35456
35457 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35458 <stdint.h>.
35459
35460 2012-10-06 David S. Miller <davem@davemloft.net>
35461
35462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35463 upper 32-bits of the length value in %o2 since we use branch-on-register
35464 tests which consider the entire 64-bit register.
35465
35466 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35467
35468 * string/test-strstr.c (check2): Add a test for page boundary.
35469
35470 2012-10-05 David S. Miller <davem@davemloft.net>
35471
35472 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35473 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35474 file.
35475 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35476 sysdep_routines.
35477 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35478 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35479 and bzero when HWCAP_SPARC_CRYPTO is present.
35480
35481 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35482
35483 [BZ #14602]
35484 * string/test-strstr.c (check2): New function.
35485 (test_main): Call check2.
35486
35487 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35488 and bug-strchr1.
35489 * string/bug-strcasestr1.c (do_test): Moved to ...
35490 * string/test-strcasestr.c (check1): Here. New function.
35491 (do_one_test): Break out result checking code into ...
35492 (check_result): This. New function.
35493 (do_one_test): Call check_result.
35494 (test_main): Call check1.
35495 * string/bug-strchr1.c (do_test): Moved to ...
35496 * string/test-strchr.c (check1): Here. New function.
35497 (do_one_test): Break out result checking code into ...
35498 (check_result): This. New function.
35499 (do_one_test): Call check_result.
35500 (test_main): Call check1.
35501 * string/bug-strstr1.c (main): Moved to ...
35502 * string/test-strstr.c (check1): Here. New function.
35503 (do_one_test): Break out result checking code into ...
35504 (check_result): This. New function.
35505 (do_one_test): Call check_result.
35506 (test_main): Call check1.
35507 * string/bug-strcasestr1.c: Removed.
35508 * string/bug-strchr1.c: Likewise.
35509 * string/bug-strstr1.c: Likewise.
35510
35511 * elf/Makefile (dl-routines): Add hwcaps.
35512 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35513 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35514 (_dl_important_hwcaps): Moved to ...
35515 * elf/dl-hwcaps.c: Here. New file.
35516 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35517
35518 [BZ #14557]
35519 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35520 if IS_IN_rtld isn't defined.
35521
35522 * elf/dl-support.c (_dl_sysinfo_map): New.
35523 Include "get-dynamic-info.h" and "setup-vdso.h".
35524 (_dl_non_dynamic_init): Call setup_vdso.
35525 * elf/dynamic-link.h: Don't include <assert.h>.
35526 (elf_get_dynamic_info): Moved to ...
35527 * elf/get-dynamic-info.h: Here. New file.
35528 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35529 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35530 * elf/setup-vdso.h: Here. New file.
35531 * elf/rtld.c: Include "setup-vdso.h".
35532 (dl_main): Call setup_vdso.
35533
35534 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35535
35536 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35537 creal in comment listing functions tested. List finite, isinf,
35538 isnan, isless, islessequal, isgreater, isgreaterequal,
35539 islessgreater, isunordered, lgamma_r and pow10 as functions and
35540 macros not tested. Mention which functions not tested are aliases
35541 for other functions. Fix typo. Note that signs of NaNs are not
35542 tested.
35543
35544 * scripts/config.guess: Update from config.git.
35545 * scripts/config.sub: Likewise.
35546
35547 2012-10-04 Roland McGrath <roland@hack.frob.com>
35548
35549 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35550 * misc/madvise.c (madvise): Renamed to __madvise.
35551 Make madvise a weak alias.
35552 * include/sys/mman.h: Declare __madvise.
35553 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35554 * sysdeps/unix/syscalls.list
35555 (madvise): Make __madvise the strong name, and madvise a weak alias.
35556 * sysdeps/unix/sysv/linux/syscalls.list
35557 (madvise, mmap): Remove redundant entries.
35558 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35559 * malloc/malloc.c (mtrim): Likewise.
35560 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35561
35562 2012-10-03 Roland McGrath <roland@hack.frob.com>
35563
35564 * sysdeps/mach/hurd/dl-cache.c: File removed.
35565 * config.h.in (USE_LDCONFIG): New #undef.
35566 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35567 * configure: Regenerated.
35568 * elf/Makefile (dl-routines): Add dl-cache only under
35569 [$(use-ldconfig) = yes].
35570 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35571 cache on [USE_LDCONFIG].
35572 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35573 [USE_LDCONFIG].
35574 * elf/rtld.c (dl_main): Likewise.
35575
35576 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35577
35578 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35579 _SC_LEVEL4_CACHE_LINESIZE.
35580
35581 2012-10-03 Roland McGrath <roland@hack.frob.com>
35582
35583 * sysdeps/unix/bsd/confstr.h: File removed.
35584
35585 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35586
35587 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35588 sys/sdt-config.h.
35589
35590 2012-10-02 Roland McGrath <roland@hack.frob.com>
35591
35592 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35593 Make 'mapoff' field ElfW(Off) rather than off_t.
35594
35595 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35596
35597 * nscd/Makefile: Remove nscd-cflags and all its users.
35598 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35599 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35600
35601 [BZ #10631]
35602 * malloc.c (malloc_printerr): Clarify error message.
35603
35604 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35605
35606 [BZ #14648]
35607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35608 Set bit_FMA_Usable if FMA is supported.
35609 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35610 macro.
35611 (bit_FMA4_Usable): Updated.
35612 (index_FMA_Usable): New macro.
35613 (CPUID_FMA): Likewise
35614 (HAS_FMA): Defined with bit_FMA_Usable.
35615
35616 2012-10-01 Roland McGrath <roland@hack.frob.com>
35617
35618 * bits/types.h (__swblk_t): Type removed.
35619 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35620 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35622 (__SWBLK_T_TYPE): Likewise.
35623 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35624 (__SWBLK_T_TYPE): Likewise.
35625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35626 (__SWBLK_T_TYPE): Likewise.
35627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35628 (__SWBLK_T_TYPE): Likewise.
35629
35630 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35631 Honza Horak <hhorak@redhat.com>
35632
35633 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35634 (xdr_mapname): Use YPMAXMAP as maxsize.
35635 (xdr_peername): Use YPMAXPEER as maxsize.
35636 (xdr_keydat): Use YPAXRECORD as maxsize.
35637 (xdr_valdat): Use YPMAXRECORD as maxsize.
35638
35639 2012-10-01 Roland McGrath <roland@hack.frob.com>
35640
35641 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35642
35643 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35644 * csu/init-first.c: ... here.
35645 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35646 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35647 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35648 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35649 * sysdeps/i386/init-first.c: File removed.
35650 * sysdeps/sh/init-first.c: File removed.
35651
35652 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35653
35654 [BZ #14645]
35655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35656 if x * y might underflow to zero and z is zero.
35657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35658 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35659 * math/libm-test.inc (min_subnorm_value): New variable.
35660 (fma_test): Add more tests.
35661 (fma_test_towardzero): Likewise.
35662 (fma_test_downward): Likewise
35663 (fma_test_upward): Likewise.
35664 (initialize): Set min_subnorm_value.
35665
35666 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35667
35668 [BZ #14638]
35669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35670 0 + 0.
35671 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35672 mode for addition resulting in exact zero.
35673 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35675 exact 0 + 0.
35676 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35678 * math/libm-test.inc (fma_test): Add more tests.
35679 (fma_test_towardzero): New function.
35680 (fma_test_downward): Likewise.
35681 (fma_test_upward): Likewise.
35682 (main): Call the new functions.
35683
35684 2012-09-28 David S. Miller <davem@davemloft.net>
35685
35686 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35687
35688 2012-09-28 Roland McGrath <roland@hack.frob.com>
35689
35690 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35691 instead of SIGALRM.
35692
35693 * sysdeps/gnu/_G_config.h: Moved to ...
35694 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35695 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35696 * sysdeps/generic/_G_config.h: ... here.
35697
35698 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35699
35700 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35701
35702 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35703 Conditionalize target on [libnss_test1.so-version].
35704
35705 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35706
35707 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35708 (elfobjdir): Move out of conditionals.
35709
35710 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35711 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35712 (__nss_lookup_function): Conditionalize label remove_from_tree on
35713 [!DO_STATIC_NSS || SHARED], matching its only use.
35714
35715 2012-09-28 David S. Miller <davem@davemloft.net>
35716
35717 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35718 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35719 file.
35720 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35721 sysdep_routines.
35722 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35724 when HWCAP_SPARC_CRYPTO is present.
35725
35726 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35727
35728 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35729
35730 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35731
35732 [BZ #6530]
35733 * stdio-common/vfprintf.c (process_string_arg): Revert
35734 2000-07-22 change.
35735
35736 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35737
35738 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35739 for testcase.
35740 * stdio-common/tst-sprintf.c: Include <locale.h>
35741 (main): Test sprintf's handling of incomplete multibyte
35742 characters.
35743
35744 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35745
35746 * elf/dl-runtime.c (VERSYMIDX): Removed.
35747 * elf/dl-version.c (VERSYMIDX): Likewise.
35748 * elf/do-rel.h (VERSYMIDX): Likewise.
35749 (VALIDX): Likewise.
35750 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35751 * elf/rtld.c (VALIDX): Likewise.
35752 (ADDRIDX): Likewise.
35753 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35754 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35755 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35756 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35757 (VALIDX): Likewise.
35758 (ADDRIDX): Likewise.
35759
35760 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35761
35762 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35763
35764 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35765
35766 [BZ #11438]
35767 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35768 to global scope.
35769 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35770 addresses are in the same scope as 192.0.2/24.
35771 * posix/gai.conf: Document new scope table defaults.
35772
35773 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35774
35775 [BZ #5298]
35776 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35777 for ftell. Compute offsets from write pointers instead.
35778 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35779
35780 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35781
35782 [BZ #14543]
35783 * libio/Makefile (tests): New test case tst-fseek.
35784 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35785 combination works in wide mode.
35786 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35787 state when the external buffer state changes.
35788
35789 2012-09-27 David S. Miller <davem@davemloft.net>
35790
35791 [BZ #14376]
35792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35793 pass reloc->r_addend in as the 'high' argument to
35794 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35795
35796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35797
35798 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35799
35800 * rt/tst-aio2.c: Include <pthread.h>.
35801 * rt/tst-aio3.c: Likewise.
35802
35803 2012-09-27 Steve Ellcey <sellcey@mips.com>
35804
35805 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35806
35807 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35808
35809 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35810 contents on [SHARED].
35811
35812 2012-09-26 Marek Polacek <polacek@redhat.com>
35813
35814 [BZ #14530]
35815 [BZ #13741]
35816 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35817 for C++ and GCC <4.3 as well as for non GCC compilers.
35818
35819 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35820
35821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35822
35823 2012-09-25 Roland McGrath <roland@hack.frob.com>
35824
35825 * Makefile.in (all, install): Declare with .PHONY.
35826 Reported by Michael Hope <michael.hope@linaro.org>.
35827
35828 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35829
35830 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35831 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35832 system header.
35833 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35834 Likewise.
35835 (sydep_routines): Add the new and the internal functions.
35836 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35837 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35839 (GLIBC_2.17): Add the new function.
35840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35841 (GLIBC_2.17): Likewise.
35842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35843 (GLIBC_2.17): Likewise.
35844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35845 (GLIBC_2.17): Likewise.
35846 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35847
35848 2012-09-25 Alan Modra <amodra@gmail.com>
35849
35850 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35851 Add release barrier before setting once_control to say
35852 initialisation is done. Add hints on lwarx. Use macro in
35853 place of isync.
35854 (clear_once_control): Add release barrier.
35855
35856 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35857
35858 [BZ #13629]
35859 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35860 specially.
35861 * math/s_clog10.c (__clog10): Likewise.
35862 * math/s_clog10f.c (__clog10f): Likewise.
35863 * math/s_clog10l.c (__clog10l): Likewise.
35864 * math/s_clogf.c (__clogf): Likewise.
35865 * math/s_clogl.c (__clogl): Likewise.
35866 * math/Makefile (libm-calls): Add x2y2m1.
35867 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35868 (__x2y2m1): Likewise.
35869 (__x2y2m1l): Likewise.
35870 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35871 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35874 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35875 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35876 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35877 * sysdeps/i386/fpu/libm-test-ulps: Update.
35878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35879
35880 [BZ #14621]
35881 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35882 int as type of variable DEPTH.
35883 (glob): Use size_t instead of int as type of variables NEWCOUNT
35884 and OLD_PATHC.
35885
35886 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35887
35888 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35889 Add s_sincosf-sse2.
35890 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35891 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35892 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35893 macros for using routine as __sincosf_ia32.
35894 Use macro for function declaration and weak_alias.
35895 * sysdeps/i386/fpu/libm-test-ulps: Update.
35896
35897 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35899
35900 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35901 subnormal argument.
35902 * math/s_cexpf.c (__cexpf): Likewise.
35903 * math/s_csinf.c (__csinf): Likewise.
35904 * math/s_csinhf.c (__csinhf): Likewise.
35905 * math/s_ctanf.c (__ctanf): Likewise.
35906 * math/s_ctanhf.c (__ctanhf): Likewise.
35907 * math/s_ccosh.c (__ccoshf): Likewise.
35908 * math/s_cexp.c (__cexpl): Likewise.
35909 * math/s_csin.c (__csin): Likewise.
35910 * math/s_csinh.c (__csinh): Likewise.
35911 * math/s_ctan.c (__ctan): Likewise.
35912 * math/s_ctanh.c (ctanh): Likewise.
35913 * math/s_ccoshl.c (__ccoshl): Likewise.
35914 * math/s_cexpl.c (__cexpl): Likewise.
35915 * math/s_csinl.c (__csinl): Likewise.
35916 * math/s_csinhl.c (__csinhl): Likewise.
35917 * math/s_ctanl.c (__ctanl): Likewise.
35918 * math/s_ctanhl.c (__ctanhl): Likewise.
35919
35920 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35921
35922 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35923 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35924 (_IO_off_t): Define to __off_t, not _G_off_t.
35925 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35926 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35927 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35928 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35929 type of __dummy and __dummy2 fields.
35930 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35931 (_G_ssize_t): Likewise.
35932 (_G_off_t): Likewise.
35933 (_G_pid_t): Likewise.
35934 (_G_uid_t): Likewise.
35935 (_G_wchar_t): Likewise.
35936 (_G_wint_t): Likewise.
35937 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35938 (_G_ssize_t): Likewise.
35939 (_G_off_t): Likewise.
35940 (_G_pid_t): Likewise.
35941 (_G_uid_t): Likewise.
35942 (_G_wchar_t): Likewise.
35943 (_G_wint_t): Likewise.
35944 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35945 (_G_ssize_t): Likewise.
35946 (_G_off_t): Likewise.
35947 (_G_pid_t): Likewise.
35948 (_G_uid_t): Likewise.
35949 (_G_wchar_t): Likewise.
35950 (_G_wint_t): Likewise.
35951
35952 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35953
35954 * malloc/arena.c: Include malloc-sysdep.h.
35955 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35956 is sufficient to shrink the heap or an unmap is needed.
35957 * sysdeps/generic/malloc-sysdep.h: New file. Define
35958 new function check_may_shrink_heap.
35959 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35960 new function check_may_shrink_heap.
35961
35962 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35963
35964 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35965 comments.
35966
35967 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35968
35969 * catgets/test-gencat.sh: Add "set -e".
35970 * elf/tst-pathopt.sh: Likewise.
35971 * grp/tst_fgetgrent.sh: Likewise.
35972 * iconvdata/run-iconv-test.sh: Likewise.
35973 * intl/tst-gettext.sh: Likewise.
35974 * intl/tst-gettext2.sh: Likewise.
35975 * intl/tst-gettext4.sh: Likewise.
35976 * intl/tst-gettext6.sh: Likewise.
35977 * intl/tst-translit.sh: Likewise.
35978 * io/ftwtest-sh: Likewise.
35979 * libio/test-freopen.sh: Likewise.
35980 * malloc/tst-mtrace.sh: Likewise.
35981 * posix/globtest.sh: Likewise.
35982 * posix/tst-getconf.sh: Likewise.
35983 * posix/wordexp-tst.sh: Likewise.
35984 * stdio-common/tst-printf.sh: Likewise.
35985 * stdio-common/tst-unbputc.sh: Likewise.
35986 * stdlib/tst-fmtmsg.sh: Likewise.
35987 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35988 * catgets/Makefile: Do not specify -e option when running
35989 testsuite shell scripts.
35990 * elf/Makefile: Likewise.
35991 * grp/Makefile: Likewise.
35992 * iconvdata/Makefile: Likewise.
35993 * intl/Makefile: Likewise.
35994 * io/Makefile: Likewise.
35995 * libio/Makefile: Likewise.
35996 * malloc/Makefile: Likewise.
35997 * posix/Makefile: Likewise.
35998 * stdio-common/Makefile: Likewise.
35999 * stdlib/Makefile: Likewise.
36000 * sysdeps/x86_64/Makefile: Likewise.
36001
36002 * io/ftwtest-sh: Add copyright header.
36003 * posix/globtest.sh: Likewise.
36004 * posix/tst-getconf.sh: Likewise.
36005 * posix/wordexp-tst.sh: Likewise.
36006 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36007
36008 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36009
36010 [BZ #13679]
36011 * Makeconfig (+link): Defined as $(+link-static) if
36012 $(build-shared) isn't yes.
36013 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36014 isn't yes.
36015 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36016
36017 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36018
36019 [BZ #14562]
36020 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36021 new chunk size with MALLOC_ALIGN_MASK.
36022
36023 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36024
36025 [BZ #5044]
36026 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36027 <rounding-mode.h>.
36028 (__printf_fphex): Determine rounding using get_rounding_mode and
36029 round_away.
36030 * stdio-common/tst-printf-round.c (struct hex_test): New
36031 structure.
36032 (hex_tests): New variable.
36033 (test_hex_in_one_mode): New function.
36034 (do_test): Also run tests for hex float output.
36035
36036 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36037
36038 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36039 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36040 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36041 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36042 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36043 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36044 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36045 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36046
36047 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36048
36049 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36050 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36051 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36052 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36053
36054 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36055
36056 [BZ #14579]
36057 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36058 mode only.
36059 * elf/tst-rtld-load-self.sh: New test.
36060 * elf/Makefile: Run it.
36061
36062 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36063
36064 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36065 (tst-writev-ENV): Remove.
36066 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36067
36068 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36069
36070 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36071
36072 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36073
36074 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36075 unconditional.
36076 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36077 Likewise.
36078 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36079 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36080 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36081 Likewise.
36082
36083 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36084
36085 [BZ #14587]
36086 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36087 * config.make.in (have-cpp-asm-debuginfo): Removed.
36088 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36089 * configure: Regenerated.
36090
36091 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36092
36093 [BZ #5044]
36094 * stdio-common/printf_fp.c: Include <stdbool.h> and
36095 <rounding-mode.h>.
36096 (___printf_fp): Determine rounding using get_rounding_mode and
36097 round_away.
36098 * stdio-common/tst-printf-round.c: New file.
36099 * stdio-common/Makefile (tests): Add tst-printf-round.
36100 (link-libm): New variable.
36101 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36102
36103 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36104
36105 [BZ #14576]
36106 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36107 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36108 Likewise.
36109 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36110 Likewise.
36111
36112 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36113
36114 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36115 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36116 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36117 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36118
36119 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36120
36121 [BZ #14518]
36122 * include/rounding-mode.h: New file.
36123 * sysdeps/generic/get-rounding-mode.h: Likewise.
36124 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36125 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36126 (MAX_VALUE): New macro.
36127 (MIN_VALUE): Likewise.
36128 (overflow_value): New function.
36129 (underflow_value): Likewise.
36130 (round_and_return): Use overflow_value and underflow_value to
36131 determine return values in overflow and underflow cases. Use
36132 round_away to determine rounding depending on rounding mode.
36133 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36134 determine return values in overflow and underflow cases.
36135 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36136 (struct test_results): New structure.
36137 (struct test): Use struct test_results to store expected results
36138 for all rounding modes.
36139 (TEST): Include expected results for all rounding modes.
36140 (test_in_one_mode): New function.
36141 (do_test): Use test_in_one_mode to compute and check results.
36142 Check results for all rounding modes.
36143 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36144 $(link-libm).
36145
36146 2012-12-09 Allan McRae <allan@archlinux.org>
36147
36148 * sysdeps/i386/fpu/libm-test-ulps: Update
36149
36150 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36151
36152 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36153 (_G_int32_t): Likewise.
36154 (_G_uint16_t): Likewise.
36155 (_G_uint32_t): Likewise.
36156 (_G_HAVE_BOOL): Likewise.
36157 (_G_HAVE_ATEXIT): Likewise.
36158 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36159 (_G_HAVE_IO_FILE_OPEN): Likewise.
36160 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36161 (_G_int32_t): Likewise.
36162 (_G_uint16_t): Likewise.
36163 (_G_uint32_t): Likewise.
36164 (_G_HAVE_BOOL): Likewise.
36165 (_G_HAVE_ATEXIT): Likewise.
36166 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36167 (_G_HAVE_IO_FILE_OPEN): Likewise.
36168 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36169 (_G_int32_t): Likewise.
36170 (_G_uint16_t): Likewise.
36171 (_G_uint32_t): Likewise.
36172 (_G_HAVE_BOOL): Likewise.
36173 (_G_HAVE_ATEXIT): Likewise.
36174 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36175 (_G_HAVE_IO_FILE_OPEN): Likewise.
36176
36177 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36178
36179 * csu/libc-tls.c: Update copyright years.
36180
36181 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36182
36183 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36184 [!_G_USING_THUNKS]: Remove conditional code.
36185 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36186 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36187
36188 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36189 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36190 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36191 (_G_VTABLE_LABEL_PREFIX): Likewise.
36192 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36193 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36194 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36195 (_G_VTABLE_LABEL_PREFIX): Likewise.
36196 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36197 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36198 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36199 (_G_VTABLE_LABEL_PREFIX): Likewise.
36200 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36201
36202 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36203
36204 * libio/Makefile: Include ../Makeconfig before tests.
36205 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36206 only if $(build-shared) is yes.
36207
36208 * iconv/gconv_db.c: Update copyright years.
36209
36210 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36211
36212 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36213 unwind info if defined PIC. Fix special cases description.
36214 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36215
36216 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36217 DP_HI_MASK entry.
36218 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36219
36220 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36221
36222 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36223
36224 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36225 is NULL.
36226
36227 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36228 (LDLIBS-tst-chk4): This.
36229 (LDFLAGS-tst-chk5): Renamed to ...
36230 (LDLIBS-tst-chk5): This.
36231 (LDFLAGS-tst-chk6): Renamed to ...
36232 (LDLIBS-tst-chk6): This.
36233 (LDFLAGS-tst-lfschk4): Renamed to ...
36234 (LDLIBS-tst-lfschk4): This.
36235 (LDFLAGS-tst-lfschk5): Renamed to ...
36236 (LDLIBS-tst-lfschk5): This.
36237 (LDFLAGS-tst-lfschk6): Renamed to ...
36238 (LDLIBS-tst-lfschk6): This.
36239
36240 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36241 on $(common-objpfx)soversions.mk.
36242
36243 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36244
36245 [BZ #10014]
36246 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36247 example host name.
36248
36249 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36250
36251 * malloc/arena.c (arena_get_retry): New function that gets
36252 another arena for the caller to try its request on.
36253 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36254 current arena cannot fulfill the request.
36255 (__libc_memalign): Likewise.
36256 (__libc_memalign): Likewise.
36257 (__libc_pvalloc): Likewise.
36258 (__libc_calloc): Likewise.
36259
36260 2012-09-05 John Tobey <john.tobey@gmail.com>
36261
36262 [BZ #13542]
36263 * manual/arith.texi (Operations on Complex): Fix description
36264 of carg branch cut.
36265
36266 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36267
36268 [BZ #10014]
36269 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36270 host name.
36271
36272 [BZ #10038]
36273 * manual/memory.texi (Memory): Make order of menu items match
36274 order of sections.
36275
36276 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36277
36278 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36279 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36280 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36281
36282 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36283
36284 * csu/libc-tls.c (static_dtv): Renamed to ...
36285 (_dl_static_dtv): This. Make it global.
36286 (_dl_initial_dtv): Removed.
36287 (__libc_setup_tls): Updated.
36288 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36289 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36290 DL_INITIAL_DTV.
36291
36292 2012-09-06 Petr Machata <pmachata@redhat.com>
36293
36294 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36295 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36296 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36297 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36298
36299 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36300
36301 [BZ #14545]
36302 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36303 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36304 freeing dtv[-1].
36305
36306 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36307
36308 [BZ #14544]
36309 * Makeconfig (link-static-before-libc): Replace $(+prector)
36310 with $(+prectorT).
36311 (link-static-after-libc): Replace $(+postctor) with
36312 $(+postctorT).
36313 (link-bounded): Replace $(+prector)/$(+postctor) with
36314 $(+prectorT)/$(+postctorT).
36315 (+prectorT): New macro.
36316 (+postctorT): Likewise.
36317
36318 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36319
36320 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36321 (round_str): Handle values above the maximum for IBM long double
36322 as inexact.
36323 * stdlib/tst-strtod-round.c (tests): Regenerated.
36324
36325 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36326
36327 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36328 assembler flag.
36329 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36330 zarch_nohighgprs around the zarch optimized routines.
36331 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36332 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36333 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36334 for zarch.
36335
36336 2012-09-05 David S. Miller <davem@davemloft.net>
36337
36338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36339
36340 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36341 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36342 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36343 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36344 entries.
36345
36346 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36347
36348 * malloc/arena.c: Fold copyright years.
36349 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36350
36351 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36352
36353 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36354
36355 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36356
36357 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36358
36359 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36360
36361 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36362 change internal state upon failure.
36363
36364 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36365
36366 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36367 * malloc/memusage.c (mmap): Likewise.
36368 (mmap64, mremap): Likewise. Adjust name in comment.
36369
36370 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36371
36372 * libio/fileops.c: Fix typos in comments.
36373 * libio/oldfileops.c: Likewise.
36374 * libio/wfileops.c: Likewise.
36375
36376 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36377
36378 [BZ #1349]
36379 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36380 (tst-malloc-usable-ENV): Set environment for test case.
36381 * malloc/hooks.c (malloc_check_get_size): New function to get
36382 requested size.
36383 * malloc/malloc.c (musable): Use malloc_check_get_size.
36384 * malloc/tst-malloc-usable.c: New test case.
36385
36386 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36387
36388 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36389
36390 2012-09-05 Allan McRae <allan@archlinux.org>
36391
36392 [BZ #13966]
36393 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36394 determine header location.
36395 * configure: Regenerated.
36396
36397 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36398
36399 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36400 float format.
36401 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36402 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36403 format.
36404 (test): Regenerate.
36405
36406 2012-09-04 David S. Miller <davem@davemloft.net>
36407
36408 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36409 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36410 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36411
36412 2012-09-04 Florian Weimer <fweimer@redhat.com>
36413
36414 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36415 failures.
36416
36417 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36418
36419 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36420
36421 [BZ #9914]
36422 * libio/iogetdelim.c: Include <limits.h>.
36423 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36424 + len + 1 would overflow.
36425
36426 2012-09-03 Andreas Jaeger <aj@suse.de>
36427
36428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36429 * sysdeps/i386/fpu/libm-test-ulps: Update.
36430
36431 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36432
36433 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36434 Add s_sinf-sse2, s_conf-sse2.
36435
36436 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36437 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36438 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36439 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36440
36441 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36442 for using routine as __sinf_ia32.
36443 Use macro for function declaration and weak_alias.
36444 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36445 for using routine as __cosf_ia32.
36446 Use macro for function declaration and weak_alias.
36447
36448 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36449 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36450
36451 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36452 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36454
36455 * math/libm-test.inc (cos_test): Add more test cases.
36456 (sin_test): Likewise.
36457 (sincos_test): Likewise.
36458
36459 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36460
36461 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36462 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36463 hidden.
36464 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36465
36466 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36467
36468 [BZ #14538]
36469 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36470 first element of the GOT.
36471 (elf_machine_load_address): Return the difference between
36472 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36473
36474 2012-09-01 Allan McRae <allan@archlinux.org>
36475
36476 [BZ #13412]
36477 * configure.in (AWK): Require gawk version 3.0 or later.
36478 * configure: Regenerated.
36479
36480 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36481
36482 * sysdeps/unix/sysv/linux/kernel-features.h
36483 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36484 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36485 [__NR_clock_getres]: Make code unconditional.
36486 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36487 (clock_getcpuclockid): Remove code left unreachable by removal of
36488 conditionals.
36489 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36490 code unconditional.
36491 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36492 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36493 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36494 Make code unconditional.
36495 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36496 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36497 * sysdeps/unix/sysv/linux/clock_settime.c
36498 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36499 conditional code.
36500 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36501 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36502
36503 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36504
36505 [BZ #14476]
36506 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36507 scripts/test-installation.pl.
36508
36509 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36510 and $ld_so_version if it is set.
36511
36512 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36513
36514 [BZ #14516]
36515 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36516 failure if reading from procfs failed.
36517 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36518
36519 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36520
36521 * sysdeps/unix/sysv/linux/kernel-features.h
36522 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36523 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36524 Remove conditional code.
36525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36526 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36527 Remove conditional code.
36528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36529 * sysdeps/unix/sysv/linux/i386/fxstat.c
36530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36532 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36533 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36535 * sysdeps/unix/sysv/linux/i386/lxstat.c
36536 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36538 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36539 Remove conditional code.
36540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36541 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36542 Remove conditional code.
36543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36544 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36545 <kernel-features.h>.
36546 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36547 Remove.
36548 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36549 Remove conditional code.
36550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36551 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36552 Remove conditional.
36553
36554 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36555
36556 [BZ #5400]
36557 * NEWS: Add fixed bug number.
36558
36559 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36560
36561 [BZ #14519]
36562 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36563 underflowing exponent in case of negative sign.
36564 * stdlib/tst-strtod-round-data: Add more tests.
36565 * stdlib/tst-strtod-round.c (tests): Regenerated.
36566
36567 [BZ #3479]
36568 * stdlib/strtod_l.c (NDIG): Remove.
36569 (HEXNDIG): Likewise.
36570 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36571 smallest representable value.
36572 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36573 lie within an exact representation of 1/2 ulp of the result.
36574 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36575 unconditionally.
36576 (TENS_P9_IDX): Define unconditionally.
36577 (TENS_P9_SIZE): Likewise.
36578 (TENS_P10_IDX): Likewise.
36579 (TENS_P10_SIZE): Likewise.
36580 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36581 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36582 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36583 entries for 10^2^13 and 10^2^14.
36584 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36585 (TENS_P13_IDX): Define.
36586 (TENS_P13_SIZE): Likewise.
36587 (TENS_P14_IDX): Likewise.
36588 (TENS_P14_SIZE): Likewise.
36589 (_fpioconst_pow10): Change array size to
36590 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36591 unconditional.
36592 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36593 1024]: Add entries for 10^2^13 and 10^2^14.
36594 [LAST_POW10 > _LAST_POW10]: Remove #error.
36595 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36596 (_fpioconst_pow10): Change array size to
36597 FPIOCONST_POW10_ARRAY_SIZE.
36598 * stdlib/gen-fpioconst.c: New file.
36599 * stdlib/gen-tst-strtod-round.c: Likewise.
36600 * stdlib/tst-strtod-round-data: Likewise.
36601 * stdlib/tst-strtod-round.c: Likewise.
36602 * stdlib/Makefile (tests): Add tst-strtod-round.
36603
36604 [BZ #14459]
36605 * stdlib/strtod_l.c: Include <stdint.h>.
36606 (NDEBUG): Do not define.
36607 (round_and_return): Change EXPONENT parameter to type intmax_t.
36608 Rearrange calculations to avoid internal overflow possibilities.
36609 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36610 Rearrange calculations to avoid internal overflow possibilities.
36611 Assert that number fits inside MPNSIZE limbs.
36612 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36613 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36614 calculations and add assertions to avoid internal overflow
36615 possibilities. Add casts to avoid signed/unsigned operations.
36616 * stdlib/tst-strtod-overflow.c: New file.
36617 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36618
36619 2012-08-25 Marek Polacek <polacek@redhat.com>
36620
36621 * time/time.h: Fix some typos in comments.
36622
36623 2012-08-23 Roland McGrath <roland@hack.frob.com>
36624
36625 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36626 * posix/tst-rfc3484-2.c: Likewise.
36627 * posix/tst-rfc3484-3.c: Likewise.
36628
36629 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36630
36631 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36632 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36633
36634 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36635
36636 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36637 #include of fxstatat64.c.
36638
36639 2012-08-22 Roland McGrath <roland@hack.frob.com>
36640
36641 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36642 * shadow/getspent_r.c: Likewise.
36643 * shadow/getspnam.c: Likewise.
36644 * shadow/getspnam_r.c: Likewise.
36645 * gshadow/getsgent.c: Likewise.
36646 * gshadow/getsgent_r.c: Likewise.
36647 * gshadow/getsgnam.c: Likewise.
36648 * gshadow/getsgnam_r.c: Likewise.
36649 * inet/getnetbyad.c: Likewise.
36650 * inet/getnetbyad_r.c: Likewise.
36651 * inet/getnetbynm.c: Likewise.
36652 * inet/getnetbynm_r.c: Likewise.
36653 * inet/getnetent.c: Likewise.
36654 * inet/getnetent_r.c: Likewise.
36655 * inet/getproto.c: Likewise.
36656 * inet/getproto_r.c: Likewise.
36657 * inet/getprtent.c: Likewise.
36658 * inet/getprtent_r.c: Likewise.
36659 * inet/getprtname.c: Likewise.
36660 * inet/getprtname_r.c: Likewise.
36661 * inet/getrpcbyname.c: Likewise.
36662 * inet/getrpcbyname_r.c: Likewise.
36663 * inet/getrpcbynumber.c: Likewise.
36664 * inet/getrpcbynumber_r.c: Likewise.
36665 * inet/getrpcent.c: Likewise.
36666 * inet/getrpcent_r.c: Likewise.
36667 * inet/getaliasent.c: Likewise.
36668 * inet/getaliasent_r.c: Likewise.
36669 * inet/getaliasname.c: Likewise.
36670 * inet/getaliasname_r.c: Likewise.
36671 * nscd/getgrgid_r.c: Likewise.
36672 * nscd/getgrnam_r.c: Likewise.
36673 * nscd/gethstbyad_r.c: Likewise.
36674 * nscd/gethstbynm3_r.c: Likewise.
36675 * nscd/getpwnam_r.c: Likewise.
36676 * nscd/getpwuid_r.c: Likewise.
36677 * nscd/getsrvbynm_r.c: Likewise.
36678 * nscd/getsrvbypt_r.c: Likewise.
36679 * nscd/gai.c: Likewise.
36680
36681 * configure.in (build_nscd): New substituted variable, set
36682 by --disable-build-nscd and defaults to $use_nscd.
36683 * configure: Regenerated.
36684 * config.make.in (build-nscd): New substituted variable.
36685 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36686 Change conditional to require [$(build-nscd) = yes] as well.
36687 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36688
36689 [BZ# 13696]
36690 * configure.in (use_nscd): New substituted variable, set by
36691 --disable-nscd. If enabled, define USE_NSCD.
36692 * configure: Regenerated.
36693 * config.h.in: Add USE_NSCD.
36694 * config.make.in (use-nscd): New substituted variable.
36695 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36696 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36697 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36698 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36699 (CFLAGS-getgrnam_r.c): Likewise.
36700 (CFLAGS-initgroups.c): Likewise.
36701 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36702 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36703 Variables removed.
36704 * inet/getnetgrent_r.c
36705 (nscd_setnetgrent): New function, broken out of ...
36706 (setnetgrent): ... here. Call it.
36707 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36708 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36709 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36710 * nscd/Makefile (routines, aux): Move definitions after include of
36711 Makeconfig. Conditionalize on [$(use-nscd) != no].
36712 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36713 Conditionalize on [USE_NSCD].
36714 (is_nscd, nscd_init_cb): Likewise.
36715 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36716 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36717 * nss/nss_db/db-init.c: Likewise.
36718 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36719 [USE_NSCD].
36720 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36721 (make_request): Use it.
36722 (cache_valid_p): New function.
36723 (__check_pf): Use it.
36724 * NEWS: Add item for --disable-nscd.
36725
36726 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36727
36728 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36729 to support sed >= 4.2.1-20-ga9bf076.
36730 * configure: Regenerated.
36731
36732 2012-08-22 Roland McGrath <roland@hack.frob.com>
36733
36734 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36735 Conditionalize whole body on [IREL].
36736
36737 2012-08-22 Jeff Law <law@redhat.com>
36738
36739 [BZ #14505]
36740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36741 if the family is PF_UNSPEC.
36742
36743 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36744
36745 * Makerules (lib-version): Rename from V.
36746 (install-lib-nosubdir): Change V to lib-version.
36747
36748 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36749
36750 [BZ #14252]
36751 * powerpc32/power6/wcschr.c: New file.
36752 * powerpc32/power6/wcscpy.c: New file.
36753 * powerpc32/power6/wcsrchr.c: New file.
36754 * powerpc64/power6/wcschr.c: New file.
36755 * powerpc64/power6/wcscpy.c: New file.
36756 * powerpc64/power6/wcsrchr.c: New file.
36757
36758 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36759
36760 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36761 (two_way_short_needle): Use it.
36762 * string/strstr.c (AVAILABLE1_USES_J): Define.
36763 * string/strcasestr.c: Likewise.
36764
36765 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36766 array references.
36767 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36768
36769 [BZ #11607]
36770 * NEWS: Add an entry.
36771 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36772 define their defaults.
36773 (two_way_short_needle): Detect end-of-string on-the-fly.
36774 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36775 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36776 * string/bug-strcasestr1.c: New test.
36777 * string/Makefile: Run it.
36778
36779 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36780
36781 [BZ #11607]
36782 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36783 the first character.
36784
36785 2012-08-21 Roland McGrath <roland@hack.frob.com>
36786
36787 * csu/elf-init.c (__libc_csu_irel): Function removed.
36788 * csu/libc-start.c (apply_irel): New function.
36789 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36790
36791 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36792
36793 * sysdeps/unix/sysv/linux/kernel-features.h
36794 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36795 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36796 <kernel-features.h>.
36797 [__NR_fadvise64_64]: Make code unconditional.
36798 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36799 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36800 !__NR_fadvise64_64)]: Likewise.
36801 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36802 !__NR_fadvise64_64))]: Likewise.
36803 [__NR_fadvise64]: Make code unconditional.
36804 [!__NR_fadvise64]: Remove conditional code.
36805 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36806 <kernel-features.h>.
36807 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36808 unconditional.
36809 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36810 conditional code.
36811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36812 not include <kernel-features.h>.
36813 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36814 unconditional.
36815 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36816 conditional code.
36817 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36818 include <kernel-features.h>.
36819 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36820 unconditional.
36821 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36822 conditional code.
36823
36824 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36825
36826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36827 slight instruction rearrangements per scrollpipe analysis.
36828 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36829
36830 2012-08-20 Roland McGrath <roland@hack.frob.com>
36831
36832 * manual/syslog.texi (syslog; vsyslog, closelog):
36833 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36834 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36835
36836 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36837 DSOCAPS to match condition on defining it.
36838
36839 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36840
36841 * sysdeps/unix/sysv/linux/kernel-features.h
36842 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36847 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36848 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36850 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36851 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36852
36853 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36854 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36855
36856 * sysdeps/unix/sysv/linux/kernel-features.h
36857 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36858 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36859 unconditional.
36860 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36861 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36862 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36863 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36864 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36865 Make code unconditional.
36866 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36867 (__mmap64) [!__NR_mmap2]: Likewise.
36868 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36869 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36870 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36871 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36872 [__NR_mmap2]: Make code unconditional.
36873 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36874 (__mmap64) [!__NR_mmap2]: Likewise.
36875
36876 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36877
36878 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36879
36880 2012-08-18 Andreas Jaeger <aj@suse.de>
36881
36882 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36883
36884 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36885
36886 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36887 * include/unistd.h (__have_sock_cloexec): Likewise.
36888 (__have_pipe2): Likewise.
36889 (__have_dup3): Likewise.
36890
36891 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36892
36893 [BZ #9685]
36894 * include/unistd.h (__have_pipe2): Change define into an extern int.
36895 (__have_dup3): Likewise.
36896 * socket/have_sock_cloexec.c: Include fcntl.h.
36897 (__have_pipe2): New variable.
36898 (__have_dup3): Likewise.
36899
36900 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36901
36902 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36903
36904 2012-08-17 Marek Polacek <polacek@redhat.com>
36905
36906 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36907 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36908
36909 2012-08-17 Roland McGrath <roland@hack.frob.com>
36910
36911 * configure.in: Add AC_SUBST for sysheaders.
36912 * configure: Regenerated.
36913 * config.make.in (sysheaders): New substituted variable.
36914
36915 * sysdeps/unix/mkfifo.c: Moved ...
36916 * sysdeps/posix/mkfifo.c: ... here.
36917 * sysdeps/unix/mkfifoat.c: Moved ...
36918 * sysdeps/posix/mkfifoat.c: ... here.
36919
36920 * sysdeps/unix/utime.c: Moved ...
36921 * sysdeps/posix/utime.c: ... here.
36922
36923 * sysdeps/unix/time.c: Moved ...
36924 * sysdeps/posix/time.c: ... here.
36925 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36926 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36927
36928 * sysdeps/unix/nice.c: Moved ...
36929 * sysdeps/posix/nice.c: ... here.
36930
36931 * sysdeps/unix/alarm.c: Moved ...
36932 * sysdeps/posix/alarm.c: ... here.
36933
36934 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36935
36936 2012-08-17 Jeff Law <law@redhat.com>
36937
36938 * intl/Makefile (codeset_mo): New variable.
36939 ($(codeset_mo)): New target.
36940 (tst-codeset.out): Depend on that. Remove explicit rule.
36941 (tst-gettext3.out, tst-gettext5.out): Likewise.
36942 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36943 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36944 * intl/tst-codeset.sh: Remove.
36945 * intl/tst-gettext3.sh: Likewise.
36946 * intl/tst-gettext5.sh: Likewise.
36947
36948 2012-08-17 Roland McGrath <roland@hack.frob.com>
36949
36950 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36951 * sysdeps/unix/syscalls.list: ... here.
36952
36953 * sysdeps/posix/getaddrinfo.c
36954 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36955 (gaiconf_init, gaiconf_reload): Use them.
36956 [!_STATBUF_ST_NSEC]
36957 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36958 Define using time_t rather than struct timespec.
36959
36960 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36961 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36962 Macros removed.
36963 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36964 [!NO_THREADS].
36965 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36966 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36967 Likewise.
36968
36969 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36970 __libc_cleanup_push argument.
36971
36972 * bits/param.h: New file.
36973 * misc/sys/param.h: New file.
36974 * include/sys/param.h: New file.
36975 * misc/Makefile (headers): Add bits/param.h.
36976 * sysdeps/generic/sys/param.h: File removed.
36977 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36978 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36979 * sysdeps/mach/hurd/bits/param.h: New file.
36980 * sysdeps/mach/hurd/sys/param.h: File removed.
36981
36982 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36983 last change.
36984
36985 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36986 [_IO_MTSAFE_IO].
36987 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36988 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36989 New macros.
36990
36991 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36992 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36993 rather than -D_IO_MTSAFE_IO conditionally.
36994 * stdio-common/Makefile (CPPFLAGS): Likewise.
36995 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36996 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36997 Use $(libio-mtsafe).
36998 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36999 of -D_IO_MTSAFE_IO.
37000 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37001 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37002 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37003 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37004 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37005 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37006 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37007 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37008 (CFLAGS-fread_u_chk.c): Likewise.
37009 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37010 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37011 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37012 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37013 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37014 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37015 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37016 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37017 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37018
37019 * libio/Makefile: Test [$(libc-reentrant) = yes]
37020 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37021
37022 * Makeconfig
37023 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37024 * sysdeps/pthread/configure: File removed.
37025 * sysdeps/pthread/Makeconfig: New file.
37026 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37027 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37028
37029 2012-08-16 Gary Benson <gbenson@redhat.com>
37030
37031 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37032 unmapping the first object in a namespace.
37033
37034 2012-08-16 Roland McGrath <roland@hack.frob.com>
37035
37036 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37037 (__internal_setnetgrent): ... this. Add internal_function to
37038 definition. Add libc_hidden_def.
37039 (setnetgrent): Update caller.
37040 (internal_endnetgrent): Renamed to ...
37041 (__internal_endnetgrent): ... this. Add internal_function to
37042 definition. Add libc_hidden_def.
37043 (endnetgrent): Update caller.
37044 (internal_getnetgrent_r): Renamed to ...
37045 (__internal_getnetgrent_r): ... this. Add internal_function to
37046 definition. Add libc_hidden_def.
37047 (__getnetgrent_r): Update caller.
37048 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37049
37050 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37051
37052 * stdlib/longlong.h: Update from GCC.
37053
37054 2012-08-16 Roland McGrath <roland@hack.frob.com>
37055
37056 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37057 on _QL, which is set by umul_ppmm but never used.
37058 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37059 variables, which are set by GMP macros but never used.
37060 * stdio-common/_itowa.c (_itowa): Likewise.
37061 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37062 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37063
37064 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37065
37066 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37067 struct La_sh_regs is not constant.
37068 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37069 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37070 and struct La_sparc64_regs are not constant.
37071
37072 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37073
37074 * sysdeps/unix/sysv/linux/kernel-features.h
37075 (__ASSUME_POSIX_TIMERS): Remove.
37076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37078 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37079 Make code unconditional.
37080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37081 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37082 Make code unconditional.
37083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37084 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37085 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37087 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37088 Make code unconditional.
37089 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37090 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37091 (__libc_missing_posix_timers): Remove.
37092
37093 2012-08-15 Roland McGrath <roland@hack.frob.com>
37094
37095 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37096 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37097
37098 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37099
37100 * elf/dl-sym.c: Include <stdlib.h>.
37101
37102 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37103 constants, which avoids warnings in 32-bit builds.
37104
37105 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37106 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37107
37108 * misc/lseek.c: File moved to ...
37109 * io/lseek.c: ... here.
37110
37111 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37112
37113 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37114 shifting LEN more than 31 bits at once.
37115
37116 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37117
37118 [BZ #14195]
37119 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37120 segmentation fault for a case of two empty input strings.
37121 * string/test-strncasecmp.c (check1): Renamed to...
37122 (bz12205): ...this.
37123 (bz14195): Add new testcase for two empty input strings and N > 0.
37124 (test_main): Call new testcase, adapt for renamed function.
37125
37126 2012-08-15 Andreas Jaeger <aj@suse.de>
37127
37128 [BZ #14090]
37129 * crypt/md5test2.c: New test, based on test supplied by Serge
37130 Belyshev <belyshev@depni.sinp.msu.ru>.
37131 * crypt/Makefile (xtests): Add md5test-giant..
37132 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37133
37134 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37135
37136 [BZ #14090]
37137 * crypt/md5.c (md5_process_block): Don't assume the buffer
37138 length is less than 2**32.
37139 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37140 length is less than 2**64.
37141
37142 2012-08-15 Roland McGrath <roland@hack.frob.com>
37143
37144 * string/str-two-way.h: Include <sys/param.h>.
37145 (MAX): Macro removed.
37146
37147 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37148 Move #define and #undef of memmove to just before and after
37149 including <string.h>.
37150
37151 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37152 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37153 and after including <string.h>. Move declarations of
37154 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37155 to before #include "string/memmove.c".
37156
37157 * include/dirent.h: Declare __getdirentries.
37158
37159 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37160 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37161
37162 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37163
37164 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37165 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37166 * sysdeps/i386/configure: Regenerated.
37167 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37168 STABS_CURRENT_FILE, and STABS_FUN.
37169 (END): Remove call to STABS_FUN_END.
37170 (STABS_CURRENT_FILE1): Delete.
37171 (STABS_CURRENT_FILE): Likewise.
37172 (STABS_FUN): Likewise.
37173 (STABS_FUN_END): Likewise.
37174 (STABS_FUN2): Likewise.
37175 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37176 * sysdeps/x86_64/configure: Regenerated.
37177
37178 2012-08-14 Roland McGrath <roland@hack.frob.com>
37179
37180 * elf/dl-open.c: Include <atomic.h>.
37181 * elf/dl-lookup.c: Likewise.
37182
37183 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37184
37185 * sysdeps/unix/sysv/linux/kernel-features.h
37186 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37187 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37188 unconditionally.
37189 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37190 unconditionally.
37191 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37192 condition on __ASSUME_CLONE_THREAD_FLAGS.
37193
37194 2012-08-14 Andreas Jaeger <aj@suse.de>
37195
37196 * sysdeps/i386/fpu/libm-test-ulps: Update.
37197
37198 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37199
37200 * include/atomic.h (atomic_exchange_and_add): Split into ...
37201 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37202 New atomic macros.
37203
37204 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37205
37206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37207
37208 2012-08-13 Jeff Law <law@redhat.com>
37209
37210 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37211 null byte in the output string.
37212
37213 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37214
37215 * sysdeps/unix/sysv/linux/kernel-features.h
37216 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37217 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37218 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37220 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37221 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37222 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37223
37224 2012-08-09 Jeff Law <law@redhat.com>
37225
37226 [BZ #13939]
37227 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37228 When avoid_arena is set, don't retry in the that arena. Pick the
37229 next one, whatever it might be.
37230 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37231 (arena_lock): Pass in new parameter to arena_get2.
37232 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37233 arena_get2.
37234 (__libc_malloc): Unify retrying after main arena failure with
37235 __libc_memalign version.
37236 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37237
37238 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37239
37240 [BZ #14166]
37241 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37242 to __redirect_strstr.
37243 (__strstr_sse42): Use typeof __redirect_strstr.
37244 (__strstr_ia32): Likewise.
37245 (__libc_strstr): New prototype.
37246 (strstr): Renamed to ...
37247 (__libc_strstr): This.
37248 (strstr): New strong alias of __libc_strstr.
37249 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37250 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37251 __redirect_time.
37252 Include <time.h>.
37253 (__libc_time): New prototype.
37254 (time_ifunc): Replace time with __libc_time.
37255 (time): New strong alias and hidden definition of __libc_time.
37256 (__GI_time): Remove strong alias.
37257 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37258 Include <stddef.h>.
37259 (memmove): Redefined to __redirect_memmove.
37260 (__memmove_sse2): Use typeof __redirect_memmove.
37261 (__memmove_ssse3): Likewise.
37262 (__memmove_ssse3_back): Likewise.
37263 (__libc_memmove): New prototype.
37264 (memmove): Renamed to ...
37265 (__libc_memmove): This.
37266 (memmove): New strong alias of __libc_memmove.
37267
37268 2012-08-08 Mark Salter <msalter@redhat.com>
37269
37270 * elf/elf.h
37271 (R_MN10300_TLS_GD): Define.
37272 (R_MN10300_TLS_LD): Likewise.
37273 (R_MN10300_TLS_LDO): Likewise.
37274 (R_MN10300_TLS_GOTIE): Likewise.
37275 (R_MN10300_TLS_IE): Likewise.
37276 (R_MN10300_TLS_LE): Likewise.
37277 (R_MN10300_TLS_DTPMOD): Likewise.
37278 (R_MN10300_TLS_DTPOFF): Likewise.
37279 (R_MN10300_TLS_TPOFF): Likewise.
37280 (R_MN10300_SYM_DIFF): Likewise.
37281 (R_MN10300_ALIGN): Likewise.
37282 (R_MN10300_NUM): Update.
37283
37284 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37285
37286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37287 Remove.
37288
37289 2012-08-08 Roland McGrath <roland@hack.frob.com>
37290
37291 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37292
37293 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37294 sysdeps/unix -> sysdeps/posix move.
37295 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37296
37297 2012-08-07 Allan McRae <allan@archlinux.org>
37298
37299 [BZ #14303]
37300 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37301 (SUNOS_CPP): Likewise.
37302 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37303 not found.
37304 (open_input): Call CPP using execvp.
37305
37306 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37307
37308 * sysdeps/unix/sysv/linux/kernel-features.h
37309 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37310 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37311 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37312 (__ASSUME_WAITID_SYSCALL): Likewise.
37313 * sysdeps/unix/sysv/linux/dl-execstack.c
37314 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37315 code unconditional.
37316 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37317 conditional code.
37318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37319 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37320 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37321 code.
37322 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37323 unconditional.
37324 [__ASSUME_WAITID_SYSCALL]: Likewise.
37325 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37326
37327 2012-08-07 Roland McGrath <roland@hack.frob.com>
37328
37329 * sysdeps/unix/closedir.c: Renamed to ...
37330 * sysdeps/posix/closedir.c: ... here.
37331 * sysdeps/unix/dirfd.c: Renamed to ...
37332 * sysdeps/posix/dirfd.c: ... here.
37333 * sysdeps/unix/dirstream.h: Renamed to ...
37334 * sysdeps/posix/dirstream.h: ... here.
37335 * sysdeps/unix/fdopendir.c: Renamed to ...
37336 * sysdeps/posix/fdopendir.c: ... here.
37337 * sysdeps/unix/opendir.c: Renamed to ...
37338 * sysdeps/posix/opendir.c: ... here.
37339 * sysdeps/unix/readdir.c: Renamed to ...
37340 * sysdeps/posix/readdir.c: ... here.
37341 * sysdeps/unix/readdir_r.c: Renamed to ...
37342 * sysdeps/posix/readdir_r.c: ... here.
37343 * sysdeps/unix/rewinddir.c: Renamed to ...
37344 * sysdeps/posix/rewinddir.c: ... here.
37345 * sysdeps/unix/seekdir.c: Renamed to ...
37346 * sysdeps/posix/seekdir.c: ... here.
37347 * sysdeps/unix/telldir.c: Renamed to ...
37348 * sysdeps/posix/telldir.c: ... here.
37349 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37350 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37351 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37352 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37353
37354 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37355 * bits/fcntl.h: ... here.
37356
37357 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37358 not 0.
37359 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37360 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37361 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37362 (struct flock): Move l_start, l_len to the beginning.
37363 Use __pid_t for l_pid.
37364 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37365 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37366 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37367 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37368 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37369 [__USE_LARGEFILE64] (struct flock64): New type.
37370 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37371
37372 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37373 * bits/dirent.h: ... here.
37374
37375 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37376 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37377
37378 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37379
37380 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37381 Change from 2.6.0 to 2.6.16.
37382 * sysdeps/unix/sysv/linux/configure: Regenerated.
37383 * sysdeps/unix/sysv/linux/kernel-features.h
37384 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37385 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37386 version.
37387 (__ASSUME_UTIMES): Likewise.
37388 (__ASSUME_CLONE_STOPPED): Remove.
37389 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37390 architectures, not kernel version.
37391 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37392 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37393 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37394 (__ASSUME_WAITID_SYSCALL): Likewise.
37395 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37396 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37397 * README: State 2.6.16 as minimum Linux kernel version. Do not
37398 refer to older versions.
37399
37400 2012-08-06 Roland McGrath <roland@hack.frob.com>
37401
37402 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37403 Define alphasort64 as an alias.
37404 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37405 Define versionsort64 as an alias.
37406 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37407 Define scandir64 as an alias.
37408 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37409 Define scandirat64 as an alias.
37410 * dirent/alphasort64.c (alphasort64):
37411 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37412 * dirent/versionsort64.c: Likewise.
37413 * dirent/scandir64.c: Likewise.
37414 * dirent/scandirat64.c: Likewise.
37415 * sysdeps/wordsize-64/alphasort.c: File removed.
37416 * sysdeps/wordsize-64/alphasort64.c: File removed.
37417 * sysdeps/wordsize-64/scandir.c: File removed.
37418 * sysdeps/wordsize-64/scandir64.c: File removed.
37419 * sysdeps/wordsize-64/scandirat.c: File removed.
37420 * sysdeps/wordsize-64/scandirat64.c: File removed.
37421 * sysdeps/wordsize-64/versionsort.c: File removed.
37422 * sysdeps/wordsize-64/versionsort64.c: File removed.
37423 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37424 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37425 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37426 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37427 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37428 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37429 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37430 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37431
37432 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37434 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37436 [defined __arch64__ || defined __sparcv9]
37437 (__INO_T_MATCHES_INO64_T): New macro.
37438 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37439 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37440 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37441 * sysdeps/unix/sysv/linux/bits/dirent.h
37442 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37443 (_DIRENT_MATCHES_DIRENT64): New macro.
37444
37445 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37446 Define lockf64 as an alias.
37447 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37448 Define fseeko64 as an alias.
37449 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37450 Define ftello64 as an alias.
37451 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37452 Define _IO_fgetpos64 and fgetpos64 as aliases.
37453 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37454 Define _IO_fsetpos64 and fsetpos64 as aliases.
37455 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37456 Conditionalize body on this.
37457 * libio/fseeko64.c: Likewise.
37458 * libio/ftello64.c: Likewise.
37459 * libio/iofgetpos64.c: Likewise.
37460 * libio/iofsetpos64.c: Likewise.
37461 * sysdeps/wordsize-64/lockf.c: File removed.
37462 * sysdeps/wordsize-64/lockf64.c: File removed.
37463 * sysdeps/wordsize-64/fseeko.c: File removed.
37464 * sysdeps/wordsize-64/fseeko64.c: File removed.
37465 * sysdeps/wordsize-64/ftello.c: File removed.
37466 * sysdeps/wordsize-64/ftello64.c: File removed.
37467 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37468 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37469 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37470 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37471 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37472 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37473 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37475 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37477 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37478 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37479 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37480 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37481
37482 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37484 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37486 [defined __arch64__ || defined __sparcv9]
37487 (__OFF_T_MATCHES_OFF64_T): New macro.
37488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37489 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37491 (__OFF_T_MATCHES_OFF64_T): New macro.
37492
37493 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37494
37495 * stdlib/secure-getenv.c (__secure_getenv): Replace
37496 GLIBC_2_16 with GLIBC_2_17.
37497
37498 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37499
37500 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37501 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37502
37503 2012-08-03 David S. Miller <davem@davemloft.net>
37504
37505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37506
37507 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37508
37509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37510 Remove.
37511 (__ASSUME_CORRECT_SI_PID): Likewise.
37512 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37513 (__ASSUME_TMPFS_NAME): Likewise.
37514 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37515 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37516 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37517 (HAVE_AUX_SECURE): Make definition unconditional.
37518 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37519 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37520
37521 2012-08-03 Roland McGrath <roland@hack.frob.com>
37522
37523 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37524 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37525 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37526 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37527 __eloop_threshold instead of SYMLOOP_MAX.
37528
37529 * sysdeps/generic/eloop-threshold.h: New file.
37530 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37531 of MAXSYMLINKS.
37532 * elf/chroot_canon.c (chroot_canon): Likewise.
37533
37534 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37535
37536 [BZ #13717]
37537 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37538 Change to 2.6.0 everywhere.
37539 * sysdeps/unix/sysv/linux/configure: Regenerated.
37540 * sysdeps/unix/sysv/linux/kernel-features.h
37541 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37542 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37543 kernel versions.
37544 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37545 (__ASSUME_FUTEX_REQUEUE): Remove.
37546 (__ASSUME_STATFS64): Define unconditionally.
37547 (__ASSUME_AT_SECURE): Likewise.
37548 (__ASSUME_CORRECT_SI_PID): Likewise.
37549 (__ASSUME_TGKILL): Define without depending on kernel version for
37550 i386.
37551 (__ASSUME_UTIMES): Likewise.
37552 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37553 kernel version.
37554 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37555 (__ASSUME_TMPFS_NAME): Likewise.
37556 * README: Update reference to Linux kernel versions.
37557
37558 2012-08-02 Marek Polacek <polacek@redhat.com>
37559
37560 [BZ# 14150]
37561 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37562 libc_cv_asm_type_prefix with %.
37563 * configure: Regenerated.
37564 * include/libc-symbols.h: Remove comment about
37565 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37566 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37567 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37568 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37569 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37570 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37571 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37572 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37573 * elf/tst-unique2mod1.c: Likewise.
37574 * elf/tst-unique1mod2.c: Likewise.
37575 * elf/tst-unique1mod1.c: Likewise.
37576 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37577 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37578 Replace ASM_TYPE_DIRECTIVE with .type.
37579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37580 * sysdeps/i386/sysdep.h: Likewise.
37581 * sysdeps/x86_64/sysdep.h: Likewise.
37582 * sysdeps/sh/sysdep.h: Likewise.
37583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37584 Do not define ASM_TYPE_DIRECTIVE.
37585 * sysdeps/powerpc/sysdep.h: Likewise.
37586 * sysdeps/powerpc/powerpc32/sysdep.h:
37587 Replace ASM_TYPE_DIRECTIVE with .type.
37588 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37589 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37590 * sysdeps/i386/fpu/e_powf.S: Likewise.
37591 * sysdeps/i386/fpu/e_expl.S: Likewise.
37592 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37593 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37594 * sysdeps/i386/fpu/e_pow.S: Likewise.
37595 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37596 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37597 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37598 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37599 * sysdeps/i386/fpu/e_log2.S: Likewise.
37600 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37602 * sysdeps/i386/fpu/e_powl.S: Likewise.
37603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37605 * sysdeps/i386/fpu/e_logl.S: Likewise.
37606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37607 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37608 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37609 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37611 * sysdeps/i386/fpu/e_log.S: Likewise.
37612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37613 * sysdeps/i386/fpu/e_logf.S: Likewise.
37614 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37615 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37616 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37617 * sysdeps/i386/fpu/e_log10.S: Likewise.
37618 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37619 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37620 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37621 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37622 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37623 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37624 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37625 * sysdeps/i386/i686/strtok.S: Likewise.
37626 * sysdeps/i386/i386-mcount.S: Likewise.
37627 * sysdeps/i386/strtok.S: Likewise.
37628 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37629 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37631 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37632 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37633 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37634 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37635 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37636 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37637 * sysdeps/x86_64/_mcount.S: Likewise.
37638 * sysdeps/x86_64/strtok.S: Likewise.
37639 * sysdeps/sh/_mcount.S: Likewise.
37640
37641 2012-08-01 Roland McGrath <roland@hack.frob.com>
37642
37643 * libio/iofopen.c: Include <fcntl.h>.
37644 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37645 (_IO_fopen64, fopen64): Define as aliases.
37646 * libio/iofopen64.c: Include <fcntl.h>.
37647 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37648 Conditionalize body on this.
37649 * sysdeps/wordsize-64/iofopen.c: File removed.
37650 * sysdeps/wordsize-64/iofopen64.c: File removed.
37651
37652 2012-08-01 Marek Polacek <polacek@redhat.com>
37653
37654 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37655 Use dlfcn directly instead of a variable.
37656 (binfmt-subdir): Do not define.
37657 (dlfcn): Likewise.
37658
37659 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37660
37661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37662 Remove all definitions.
37663 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37664 <kernel-features.h>.
37665 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37666 (miss_F_GETOWN_EX): Remove all definitions.
37667 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37668 macro definition.
37669 [!__ASSUME_FCNTL64]: Remove conditional code.
37670 [__ASSUME_FCNTL64]: Make code unconditional.
37671 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37672 <kernel-features.h>.
37673 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37674 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37675 (lockf64) [__NR_fcntl64]: Make code unconditional.
37676 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37677
37678 * sysdeps/unix/sysv/linux/kernel-features.h
37679 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37680 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37681 Make code unconditional.
37682 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37683 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37685 [__NR_vfork]: Make code unconditional.
37686 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37687 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37689 [__NR_vfork]: Make code unconditional.
37690 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37691 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37692
37693 2012-08-01 Roland McGrath <roland@hack.frob.com>
37694
37695 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37696 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37697
37698 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37699 Define mkstemp64 as an alias.
37700 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37701 Define mkstemps64 as an alias.
37702 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37703 Define mkostemp64 as an alias.
37704 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37705 Define mkostemps64 as an alias.
37706 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37707 Conditionalize body on this.
37708 * misc/mkostemp64.c: Likewise.
37709 * misc/mkostemps64.c: Likewise.
37710 * misc/mkstemps64.c: Likewise.
37711 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37712 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37713 * sysdeps/wordsize-64/mkostemp.c: File removed.
37714 * sysdeps/wordsize-64/mkstemp.c: File removed.
37715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37716 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37717 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37718 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37719
37720 [BZ #14138]
37721 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37722 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37723 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37724 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37725
37726 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37727 compat_symbol macros from <shlib-compat.h> rather than the underlying
37728 default_symbol_version and symbol_version macros, so that DEFAULT
37729 lines in shlib-versions are respected.
37730 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37731
37732 2012-08-01 Florian Weimer <fweimer@redhat.com>
37733
37734 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37735 Declare with warn_unused_result.
37736 (setgid, setregid, setegid, setresgid): Likewise.
37737 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37738 Likewise.
37739 * WUR-REPORT: Remove set*id functions.
37740
37741 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37742
37743 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37744
37745 2012-07-31 Roland McGrath <roland@hack.frob.com>
37746
37747 [BZ #10191]
37748 * include/sys/socket.h (__libc_accept, __libc_accept4):
37749 Add attribute_hidden.
37750 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37751
37752 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37753 use of PTR_MANGLE.
37754 * inet/getnetgrent_r.c (setup): Likewise.
37755
37756 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37757
37758 2012-07-31 David S. Miller <davem@davemloft.net>
37759
37760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37761
37762 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37763
37764 [BZ #13629]
37765 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37766 value between 1.0 and 2.0 and smaller part has absolute value less
37767 than 1.0.
37768 * math/s_clog10.c (__clog10): Likewise.
37769 * math/s_clog10f.c (__clog10f): Likewise.
37770 * math/s_clog10l.c (__clog10l): Likewise.
37771 * math/s_clogf.c (__clogf): Likewise.
37772 * math/s_clogl.c (__clogl): Likewise.
37773 * math/libm-test.inc (clog_test): Add more tests.
37774 (clog10_test): Likewise.
37775 * sysdeps/i386/fpu/libm-test-ulps: Update.
37776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37777
37778 2012-07-31 Florian Weimer <fweimer@redhat.com>
37779
37780 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37781 Exit with zero in case no suitable GID is found, and write a
37782 message to standard error.
37783
37784 2012-07-30 Roland McGrath <roland@hack.frob.com>
37785
37786 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37787 rather than to 1.
37788 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37789 (MAXPATHLEN): Removed.
37790 (NOGROUP, NODEV): New macros.
37791 (setbit, clrbit, isset, isclr): New macros.
37792 (howmany, roundup, powerof2): New macros.
37793 (DEV_BSIZE): New macro.
37794
37795 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37796 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37797
37798 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37799 definition on [!__NO_LONG_DOUBLE_MATH].
37800
37801 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37802 PTR_MANGLE and PTR_DEMANGLE.
37803
37804 * socket/accept4.c (accept4): Rename to __libc_accept4.
37805 Define accept4 as a weak alias.
37806
37807 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37808 on [_DIRENT_HAVE_D_TYPE].
37809 * io/ftw.c (ftw_dir): Likewise.
37810
37811 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37812
37813 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37814
37815 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37816 Use the BSD numbers rather than the arbitrary ones we had.
37817 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37818 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37819 (SIGXCPU, SIGXFSZ): New macros.
37820 (_NSIG): Now 32.
37821
37822 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37823 initializer on [_LIBC_REENTRANT].
37824
37825 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37826 definitions inside [_POSIX_MAPPED_FILES].
37827
37828 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37829
37830 * dirent/opendir.c: Include <fcntl.h>.
37831
37832 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37833 (__libc_getspecific): Likewise.
37834 (__libc_key_create): Likewise.
37835
37836 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37837 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37838 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37839 (tmpfile64): Define as alias.
37840 * sysdeps/wordsize-64/tmpfile.c: File removed.
37841 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37842 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37844
37845 * stdio-common/vfscanf.c: Include <stdbool.h>.
37846 * nss/makedb.c: Likewise.
37847 * stdio-common/_i18n_number.h: Likewise.
37848 * argp/argp-help.c: Likewise.
37849 * posix/wordexp.c: Likewise.
37850 * sysdeps/posix/spawni.c: Likewise.
37851 * nss/nss_files/files-initgroups.c: Likewise.
37852 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37853 * nss/nss_files/files-initgroups.c: Likewise.
37854 * nss/nss_db/db-netgrp.c: Likewise.
37855 * nss/nss_db/db-initgroups.c: Likewise.
37856 * io/fchmodat.c: Include <sys/stat.h>.
37857
37858 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37859 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37860
37861 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37862 [HAVE_MMAP].
37863
37864 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37865 Add multiple inclusion protection.
37866
37867 2012-07-27 David S. Miller <davem@davemloft.net>
37868
37869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37870
37871 2012-07-27 Gary Benson <gbenson@redhat.com>
37872
37873 [BZ #14298]
37874 * elf/rtld.c: Include <stap-probe.h>.
37875 (dl_main): Added static probes "init_start" and "init_complete".
37876 * elf/dl-load.c: Include <stap-probe.h>.
37877 (lose): Take new parameter "nsid".
37878 Added static probe "map_failed".
37879 (_dl_map_object_from_fd): Pass namespace id to lose.
37880 Added static probe "map_start".
37881 (open_verify): Pass namespace id to lose.
37882 * elf/dl-open.c: Include <stap-probe.h>.
37883 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37884 and "reloc_complete".
37885 * elf/dl-close.c: Include <stap-probe.h>.
37886 (_dl_close_worker): Added static probes "unmap_start" and
37887 "unmap_complete".
37888 * elf/rtld-debugger-interface.txt: New file documenting the above.
37889
37890 2012-07-26 Roland McGrath <roland@hack.frob.com>
37891
37892 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37893 rather than a string variable.
37894 * sunrpc/rpc_main.c (h_output): Likewise.
37895 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37896
37897 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37898
37899 * inet/check_native.c: New file.
37900
37901 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37902
37903 [BZ #13629]
37904 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37905 if larger part has absolute value 1.0.
37906 * math/s_clog10.c (__clog10): Likewise.
37907 * math/s_clog10f.c (__clog10f): Likewise.
37908 * math/s_clog10l.c (__clog10l): Likewise.
37909 * math/s_clogf.c (__clogf): Likewise.
37910 * math/s_clogl.c (__clogl): Likewise.
37911 * math/libm-test.inc (clog_test): Add more tests.
37912 (clog10_test): Likewise.
37913 * sysdeps/i386/fpu/libm-test-ulps: Update.
37914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37915
37916 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37917 (pltexit): Likewise.
37918 (La_regs): Likewise.
37919 (La_retval): Likewise.
37920 (int_retval): Likewise.
37921 Update #error for removed macros to refer only to definitions in
37922 tst-audit.h.
37923 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37924 macro.
37925 (pltexit): Likewise.
37926 (La_regs): Likewise.
37927 (La_retval): Likewise.
37928 (int_retval): Likewise.
37929 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37930 macro.
37931 (pltexit): Likewise.
37932 (La_regs): Likewise.
37933 (La_retval): Likewise.
37934 (int_retval): Likewise.
37935 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37936 macro.
37937 (pltexit): Likewise.
37938 (La_regs): Likewise.
37939 (La_retval): Likewise.
37940 (int_retval): Likewise.
37941 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37942 macro.
37943 (pltexit): Likewise.
37944 (La_regs): Likewise.
37945 (La_retval): Likewise.
37946 (int_retval): Likewise.
37947 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37948 macro.
37949 (pltexit): Likewise.
37950 (La_regs): Likewise.
37951 (La_retval): Likewise.
37952 (int_retval): Likewise.
37953 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37954 macro.
37955 (pltexit): Likewise.
37956 (La_regs): Likewise.
37957 (La_retval): Likewise.
37958 (int_retval): Likewise.
37959 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37960 macro definitions in tst-audit.h.
37961 * sysdeps/i386/tst-audit.h: New file.
37962 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37963 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37964 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37965 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37966 * sysdeps/sh/tst-audit.h: Likewise.
37967 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37968 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37969 * sysdeps/x86_64/tst-audit.h: Likewise.
37970
37971 2012-07-26 Andreas Jaeger <aj@suse.de>
37972
37973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37974 ptrace.
37975
37976 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37977 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37978 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37979 PTRACE_O_MASK.
37980 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37981 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37982 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37983
37984 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37985 value.
37986
37987 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37988 _sigsys.
37989 (si_call_addr, si_syscall, si_arch): Define new macro.
37990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37991 _sigsys.
37992 (si_call_addr, si_syscall, si_arch): Define new marcro.
37993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37994 _sigsys.
37995 (si_call_addr, si_syscall, si_arch): Define new macro.
37996 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37997 _sigsys.
37998 (si_call_addr, si_syscall, si_arch): Define new macro.
37999
38000 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38001
38002 [BZ #13717]
38003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38004 Change to 2.4.21 where previously 2.4.1.
38005 * sysdeps/unix/sysv/linux/configure: Regenerated.
38006 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38007 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38008 Linux kernel version.
38009 (__ASSUME_STD_AUXV): Remove.
38010 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38011 kernel version.
38012 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38013 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38014 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38015 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38016 (__ASSUME_NETLINK_SUPPORT): Likewise.
38017 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38018 (__no_netlink_support): Remove conditional definition.
38019 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38020 Remove.
38021 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38022 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38023 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38024 (if_nameindex_ioctl): Remove.
38025 (if_nameindex_netlink): Do not handle __no_netlink_support.
38026 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38027 code.
38028 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38029 Remove conditional code.
38030 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38031 code.
38032 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38033 unconditional.
38034 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38035 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38036 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38037 Remove.
38038 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38039 [!__ASSUME_STD_AUXV]: Remove conditional code.
38040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38041 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38042 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38044 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38045 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38046 code.
38047 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38049 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38050 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38051 conditional code.
38052 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38054 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38055 code.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38057 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38058 conditional code.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38060 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38061 code unconditional.
38062 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38063 conditional code.
38064 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38065 unconditional.
38066 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38067 conditional code.
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38069 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38070 unconditional.
38071 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38072 conditional code.
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38074 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38075 code unconditional.
38076 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38077 conditional code.
38078 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38079 unconditional.
38080 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38081 conditional code.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38083 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38084 code unconditional.
38085 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38086 conditional code.
38087 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38088 unconditional.
38089 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38090 conditional code.
38091
38092 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38093
38094 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38095 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38096 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38097 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38098 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38099 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38100 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38101 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38102 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38103 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38104 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38105 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38106 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38107 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38108 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38109 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38110 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38112 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38114 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38115 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38116 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38117
38118 2012-07-25 Florian Weimer <fweimer@redhat.com>
38119
38120 * Versions.def: Add GLIBC_2.17.
38121 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38122 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38123 Introduce __libc_secure_getenv.
38124 * stdlib/Versions (2.17): Add secure_getenv
38125 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38126 * stdlib/secure-getenv.c: Rename __secure_getenv to
38127 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38128 symbol __secure_getenv for GLIBC_2.0.
38129 * stdlib/tst-secure-getenv.c: New.
38130 * stdlib/Makefile (tests): Add testcase.
38131 * manual/startup.texi (Environment Access): Document
38132 secure_getenv.
38133 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38134 __libc_secure_getenv.
38135 * inet/ruserpass.c (ruserpass): Likewise.
38136 * malloc/mtrace.c (mtrace): Likewise.
38137 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38138 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38139 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38140 * sysdeps/posix/tempname.c: Likewise. Evaluate
38141 HAVE_SECURE_GETENV.
38142 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38143 __secure_getenv to __libc_secure_getenv.
38144 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38146 Likewise.
38147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38148 Likewise.
38149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38156
38157 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38158
38159 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38160 (struct La_i86_retval): Likewise.
38161 (struct La_x86_64_regs): Likewise.
38162 (struct La_x86_64_retval): Likewise.
38163 (struct La_x32_regs): Likewise.
38164 (struct La_x32_retval): Likewise.
38165 (struct La_ppc32_regs): Likewise.
38166 (struct La_ppc32_retval): Likewise.
38167 (struct La_ppc64_regs): Likewise.
38168 (struct La_ppc64_retval): Likewise.
38169 (struct La_sh_regs): Likewise.
38170 (struct La_sh_retval): Likewise.
38171 (struct La_s390_32_regs): Likewise.
38172 (struct La_s390_32_retval): Likewise.
38173 (struct La_s390_64_regs): Likewise.
38174 (struct La_s390_64_retval): Likewise.
38175 (struct La_sparc32_regs): Likewise.
38176 (struct La_sparc32_retval): Likewise.
38177 (struct La_sparc64_regs): Likewise.
38178 (struct La_sparc64_retval): Likewise.
38179 (struct audit_ifaces): Remove architecture-specific pltenter and
38180 pltexit members.
38181 * sysdeps/i386/ldsodefs.h: New file.
38182 * sysdeps/powerpc/ldsodefs.h: Likewise.
38183 * sysdeps/s390/ldsodefs.h: Likewise.
38184 * sysdeps/sh/ldsodefs.h: Likewise.
38185 * sysdeps/sparc/ldsodefs.h: Likewise.
38186 * sysdeps/x86_64/ldsodefs.h: Likewise.
38187
38188 2012-07-25 Marek Polacek <polacek@redhat.com>
38189
38190 [BZ #6808]
38191 * math/libm-test.inc (yn_test): Add another test.
38192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38193 to ERANGE when the result is +-Inf.
38194 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38195 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38196 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38197 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38198
38199 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38200
38201 * conform/data/time.h-data (NULL): Use macro-constant. Require
38202 equal to 0.
38203 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38204 clock_t.
38205 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38206
38207 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38208
38209 * configure.in <sysdeps resolving>: Correct printing
38210 Implies_before.
38211 * configure: Regenerate.
38212
38213 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38214
38215 * math/w_ilogb.c: Include <limits.h>.
38216 * math/w_ilogbl.c: Likewise.
38217
38218 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38219
38220 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38221 va_copy. Document allowing for unavailable va_copy only as
38222 pre-C99 compatibility.
38223 * manual/string.texi (Copying and Concatenation): Use va_copy
38224 instead of __va_copy in concat example.
38225
38226 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38227
38228 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38229 (__sendto): Use create_address_port. Initialize APORT and deallocate
38230 it if not null.
38231
38232 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38233 with O_NOLINK passed to __file_name_lookup.
38234
38235 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38236 with O_NOLINK passed to __file_name_lookup.
38237
38238 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38239 negative N or less than NGIDS.
38240
38241 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38242 type to string_t. Set ERANGE as errno and return it if NAME is not big
38243 enough. Use memcpy instead of strncpy.
38244
38245 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38246
38247 * elf/Makefile (check-data): Remove.
38248 (localplt.data): New vpath directive.
38249 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38250 instead of $(check-data).
38251 * scripts/data/localplt-generic.data: Move to ...
38252 * sysdeps/generic/localplt.data: ... here.
38253 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38254 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38255 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38257 ... here.
38258 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38260 ... here.
38261 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38263 ... here.
38264 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38266 ... here.
38267 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38269 ... here.
38270 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38272 ... here.
38273
38274 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38275
38276 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38277 PPC32 and PPC64 files.
38278 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38279 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38280
38281 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38282
38283 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38284 __makecontext_ret to ...
38285 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38286 ... here and call exit if uc_link is NULL. New file.
38287 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38288 __makecontext_ret.S.
38289 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38290 __makecontext_ret to ...
38291 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38292 ... here and call exit if uc_link is NULL. New file.
38293 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38294 __makecontext_ret.S.
38295
38296 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38297
38298 * elf/elf.h (R_390_IRELATIVE): New definition.
38299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38300 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38301 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38302 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38303 (elf_machine_lazy_rel): Likewise.
38304 * sysdeps/s390/dl-irel.h: New file.
38305 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38306 * sysdeps/s390/s390-64/memset.S: New asm code.
38307 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38308 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38310 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38311 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38312 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38313 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38314 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38315 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38316 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38317 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38318 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38319 * sysdeps/s390/s390-32/memset.S: New asm code.
38320 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38321
38322 2012-07-17 Marek Polacek <polacek@redhat.com>
38323
38324 [BZ #14349]
38325 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38326 * sysdeps/s390/s390-64/configure.in: Likewise.
38327 * sysdeps/sparc/configure.in: Likewise.
38328 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38329 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38330 * sysdeps/i386/configure.in: Likewise.
38331 * sysdeps/x86_64/configure.in: Likewise.
38332 * sysdeps/sh/configure.in: Likewise.
38333 * sysdeps/s390/s390-32/configure: Regenerated.
38334 * sysdeps/s390/s390-64/configure: Likewise.
38335 * sysdeps/x86_64/configure: Likewise.
38336 * sysdeps/sh/configure: Likewise.
38337 * sysdeps/powerpc/powerpc64/configure: Likewise.
38338 * sysdeps/powerpc/powerpc32/configure: Likewise.
38339 * sysdeps/sparc/configure: Likwise.
38340 * sysdeps/i386/configure: Likewise.
38341
38342 * elf/dl-open.c: Comment fixes.
38343
38344 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38345
38346 * Makefile [CXX] (check-data): Remove.
38347 [CXX] (c++-types.data): New vpath directive.
38348 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38349 vpath. Do not allow for C++ type data being missing.
38350 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38351 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38352 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38353 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38354 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38355 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38356 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38358 ... here.
38359 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38361 ... here.
38362 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38364 ... here.
38365 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38367 ... here.
38368 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38370 ... here.
38371 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38373 ... here.
38374 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38376 ... here.
38377 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38379
38380 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38381 definitions to architecture-specific files.
38382 (TLS_IE): Likewise.
38383 (TLS_LD): Likewise.
38384 (TLS_GD): Likewise.
38385 * sysdeps/i386/tls-macros.h: New file.
38386 * sysdeps/powerpc/tls-macros.h: Likewise.
38387 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38388 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38389 * sysdeps/sh/tls-macros.h: Likewise.
38390 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38391 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38392 * sysdeps/x86_64/tls-macros.h: Likewise.
38393
38394 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38395
38396 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38397 zero value for regular exit case.
38398
38399 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38400 (__start_context): Preserve zero value for regular exit case.
38401
38402 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38403 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38404
38405 * manual/setjmp.texi (setcontext): Clarify normal process
38406 termination when uc_link is the null pointer.
38407 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38408 exit call.
38409
38410 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38411
38412 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38413 preprocessor. Test for each exception mask separately.
38414
38415 2012-07-16 Andreas Jaeger <aj@suse.de>
38416
38417 * po/ru.po: Update from translation team.
38418
38419 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38420
38421 * conform/data/string.h-data (NULL): Use macro-constant. Require
38422 equal to 0.
38423 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38424 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38425 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38426 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38428
38429 2012-07-13 Andreas Jaeger <aj@suse.de>
38430
38431 * po/fr.po: Update from translation team.
38432
38433 2012-07-12 Marek Polacek <polacek@redhat.com>
38434
38435 [BZ #14173]
38436 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38438 loop condition.
38439
38440 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38441
38442 [BZ #13717]
38443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38444 Change to 2.4.1 where previously 2.4.0.
38445 * sysdeps/unix/sysv/linux/configure: Regenerated.
38446 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38447 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38448 version.
38449 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38450 (__ASSUME_AT_CLKTCK): Remove.
38451 (__ASSUME_AT_PAGESIZE): Likewise.
38452 (__ASSUME_AT_XID): Likewise.
38453 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38454 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38455 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38456 unconditionally.
38457 (HAVE_AUX_PAGESIZE): Likewise.
38458 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38459 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38460 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38461
38462 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38463
38464 [BZ #14307]
38465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38466 the temporary buffer used to invoke __gethostbyname2_r,
38467 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38468 host_data / struct gaih_addrtuple.
38469 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38470 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38471 header file nss/nsswitch.h.
38472 * nss/nsswitch.h (global scope): Add definition of implementation
38473 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38474 resolv/nss_dns/dns-host.c).
38475
38476 2012-07-11 Andreas Jaeger <aj@suse.de>
38477
38478 * po/fr.po: Update from translation team.
38479
38480 * po/sv.po: Update from translation team
38481 * po/fr.po: Another update from translation team.
38482
38483 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38484
38485 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38486 for subnormals or multiply small sinh result by itself.
38487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38489
38490 2012-07-11 David S. Miller <davem@davemloft.net>
38491
38492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38493
38494 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38495
38496 [BZ #14347]
38497 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38498 (INTERNAL_MARK): Shift it here.
38499
38500 2012-07-10 Marek Polacek <polacek@redhat.com>
38501
38502 [BZ #14151]
38503 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38504 libc_cv_asm_global_directive with .globl.
38505 * configure: Regenerated.
38506 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38507 with .globl.
38508 * sysdeps/i386/configure: Regenerated.
38509 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38510 with .globl.
38511 * sysdeps/x86_64/configure: Regenerated.
38512 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38513 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38514 * elf/tst-unique2mod2.c: Likewise.
38515 * elf/tst-unique2mod1.c: Likewise.
38516 * elf/tst-unique1mod2.c: Likewise.
38517 * elf/tst-unique1mod1.c: Likewise.
38518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38519 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38521 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38522 * sysdeps/mach/sysdep.h: Likewise.
38523 * sysdeps/i386/sysdep.h: Likewise.
38524 * sysdeps/i386/i386-mcount.S: Likewise.
38525 * sysdeps/x86_64/_mcount.S: Likewise.
38526 * sysdeps/x86_64/sysdep.h: Likewise.
38527 * sysdeps/sh/_mcount.S: Likewise.
38528 * sysdeps/sh/sysdep.h: Likewise.
38529 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38530 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38531 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38532 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38533 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38534 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38535 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38536 * locale/localeinfo.h: Likewise.
38537 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38538 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38539
38540 2012-07-09 Roland McGrath <roland@hack.frob.com>
38541
38542 [BZ #14336]
38543 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38544 system".
38545 * manual/message.texi (The Uniforum approach): Likewise.
38546 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38547 (glibc iconv Implementation): Likewise.
38548
38549 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38550
38551 [BZ #14337]
38552 * math/s_clog.c (__clog): Avoid scaling a value down where that
38553 could result in underflow.
38554 * math/s_clog10.c (__clog10): Likewise.
38555 * math/s_clog10f.c (__clog10f): Likewise.
38556 * math/s_clog10l.c (__clog10l): Likewise.
38557 * math/s_clogf.c (__clogf): Likewise.
38558 * math/s_clogl.c (__clogl): Likewise.
38559 * math/libm-test.inc (clog_test): Add more tests.
38560 (clog10_test): Likewise.
38561 * sysdeps/i386/fpu/libm-test-ulps: Update.
38562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38563
38564 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38565
38566 [BZ #14283]
38567 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38568 by 7 not 8 to examine high bit of fractional part.
38569
38570 [BZ #14042]
38571 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38572 for call to __mcount_internal.
38573 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38574 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38575 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38576
38577 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38578
38579 [BZ #14154]
38580 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38581 approximation for values within 0x1p-13f of an odd multiple of
38582 pi/4.
38583 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38584 exception. Add more tests.
38585 * sysdeps/i386/fpu/libm-test-ulps: Update.
38586
38587 [BZ #6778]
38588 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38589 inputs and return -1 for them. Do not check for +Inf in case not
38590 reachable for +Inf.
38591 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38592 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38593 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38594 and return -1 for them. Do not check for +Inf in case not
38595 reachable for +Inf.
38596 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38597 define.
38598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38599 and return -1 for them. Do not check for +Inf in case not
38600 reachable for +Inf.
38601 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38602 spurious underflow.
38603 * sysdeps/i386/fpu/libm-test-ulps: Update.
38604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38605
38606 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38607
38608 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38609
38610 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38611
38612 [BZ #14157]
38613 [BZ #14331]
38614 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38615 could result in spurious underflow. Scale down values above
38616 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38617 * math/s_csqrtf.c (__csqrtf): Likewise.
38618 * math/s_csqrtl.c (__csqrtl): Likewise.
38619 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38620 spurious underflow.
38621 * sysdeps/i386/fpu/libm-test-ulps: Update.
38622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38623
38624 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38625
38626 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38627 xopen-msg.sed.
38628 * catgets/xopen-msg.awk: New file.
38629 * catgets/xopen-msg.sed: Removed.
38630
38631 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38632 po2text.sed.
38633 * intl/po2test.awk: New file.
38634 * intl/po2test.sed: Removed.
38635
38636 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38637
38638 [BZ #14328]
38639 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38640 or multiply small sinh result by itself.
38641 * math/s_ctanf.c (__ctanf): Likewise.
38642 * math/s_ctanh.c (__ctanh): Likewise.
38643 * math/s_ctanhf.c (__ctanhf): Likewise.
38644 * math/s_ctanhl.c (__ctanhl): Likewise.
38645 * math/s_ctanl.c (__ctanl): Likewise.
38646 * math/libm-test.inc (ctan_test_tonearest): New function.
38647 (ctan_test_towardzero): Likewise.
38648 (ctan_test_downward): Likewise.
38649 (ctan_test_upward): Likewise.
38650 (ctanh_test_tonearest): Likewise.
38651 (ctanh_test_towardzero): Likewise.
38652 (ctanh_test_downward): Likewise.
38653 (ctanh_test_upward): Likewise.
38654 (main): Call these new functions.
38655 * sysdeps/i386/fpu/libm-test-ulps: Update.
38656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38657
38658 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38659
38660 * .gitignore: Delete /ports entry.
38661
38662 2012-07-03 Andreas Jaeger <aj@suse.de>
38663
38664 * po/bg.po: Update from translation team.
38665 * po/cs.po: Likewise.
38666 * po/de.po: Likewise.
38667 * po/hr.po: Likewise.
38668 * po/nl.pl: Likewise.
38669 * po/pl.po: Likewise.
38670 * po/vi.po: Likewise.
38671
38672 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38673
38674 * Makeconfig [!+link] (+link-before-libc): New variable.
38675 [!+link] (+link-after-libc): Likewise.
38676 [!+link] (+link-tests): Likewise.
38677 [!+link] (+link): Define in terms of $(+link-before-libc) and
38678 $(+link-after-libc).
38679 [!+link-static] (+link-static-before-libc): New variable.
38680 [!+link-static] (+link-static-after-libc): Likewise.
38681 [!+link-static] (+link-static-tests): Likewise.
38682 [!+link-static] (+link-static): Define in terms of
38683 $(+link-static-before-libc) and $(+link-static-after-libc).
38684 [build-shared] (link-libc-before-gnulib): New variable.
38685 [build-shared] (link-libc-tests): Likewise.
38686 [build-shared] (link-libc): Define in terms of
38687 $(link-libc-before-gnulib).
38688 [!build-shared] (link-libc-tests): New variable.
38689 (link-libc-static-tests): New variable.
38690 [!gnulib] (gnulib-arch): New variable.
38691 [!gnulib] (gnulib-tests): Likewise.
38692 [!gnulib] (static-gnulib-arch): Likewise.
38693 [!gnulib] (static-gnulib-tests): Likewise.
38694 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38695 Define with "=" instead of ":=".
38696 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38697 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38698 * Rules (binaries-all-notests): New variable.
38699 (binaries-all-tests): Likewise.
38700 (binaries-static-notests): Likewise.
38701 (binaries-static-tests): Likewise.
38702 (binaries-all): Define using $(binaries-all-notests) and
38703 $(binaries-all-tests).
38704 (binaries-static): Define using $(binaries-static-notests) and
38705 $(binaries-static-tests).
38706 (binaries-shared-tests): New variable.
38707 (binaries-shared-notests): Likewise.
38708 (binaries-shared): Remove variable.
38709 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38710 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38711 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38712 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38713 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38714 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38715 * elf/Makefile (sln-modules): New variable.
38716 (extra-objs): Add $(sln-modules:=.o).
38717 (ldconfig-modules): Add static-stubs.
38718 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38719 * elf/static-stubs.c: New file.
38720
38721 [BZ #14283]
38722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38723 by 7 not 8 to examine high bit of fractional part. Use volatile
38724 variables when splitting into final array of floats if
38725 __FLT_EVAL_METHOD__ != 0.
38726 * math/libm-test.inc (cos_test): Add another test.
38727 (sin_test): Likewise.
38728 * sysdeps/i386/fpu/libm-test-ulps: Update.
38729
38730 [BZ #14273]
38731 * math/libm-test.inc (cosh_test): Add more tests.
38732
38733 * version.h (RELEASE): Set to "development".
38734 (VERSION): Set to "2.16.90".
38735
38736 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38737
38738 * NEWS: Update copyright. Remove last-updated date.
38739 Mention math library bug fixes and timezone data changes.
38740 * README: Mention GNU/Hurd, x32, and HPPA support status.
38741
38742 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38743
38744 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38745
38746 2012-06-27 Andreas Jaeger <aj@suse.de>
38747
38748 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38749
38750 2012-06-25 Andreas Jaeger <aj@suse.de>
38751
38752 * sysdeps/s390/fpu/libm-test-ulps: Update.
38753
38754 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38755 Thomas Schwinge <thomas@codesourcery.com>
38756
38757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38758 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38760 fanotify_mark.
38761
38762 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38763
38764 * sysdeps/mach/start.c: Remove file.
38765 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38766 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38767 * sysdeps/sh/init-first.c: Likewise.
38768
38769 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38770 registers for frame unwinding purposes, add CFI directives.
38771 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38773 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38774 Likewise.
38775
38776 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38777 __fortify_fail returning.
38778 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38779
38780 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38781 sysdeps/sh/____longjmp_chk.S.
38782 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38783 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38784 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38785 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38786
38787 * sysdeps/sh/abort-instr.h: New file.
38788 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38789 process in case exit returns.
38790
38791 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38792 initialize the GOT register before use.
38793
38794 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38795 calculation of ARGC > 4.
38796
38797 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38798 meaningful names to some local labels.
38799
38800 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38801 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38802
38803 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38804 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38805 (__arch_compare_and_exchange_val_16_acq): Likewise.
38806 (__arch_compare_and_exchange_val_32_acq): Likewise.
38807 (atomic_exchange_and_add): Fix gUSA sequence.
38808 (atomic_add): Likewise.
38809 (atomic_add_negative): Likewise.
38810 (atomic_add_zero): Likewise.
38811 (atomic_bit_test_set): Likewise.
38812
38813 2012-06-22 Andreas Schwab <schwab@redhat.com>
38814
38815 [BZ #13579]
38816 * include/link.h (struct link_map): Add l_free_initfini.
38817 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38818 l_initfini.
38819 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38820 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38821 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38822 set.
38823
38824 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38825
38826 * configure.in: Use AC_LANG_SOURCE.
38827 * configure: Regenerate.
38828
38829 2012-06-22 Roland McGrath <roland@hack.frob.com>
38830
38831 * configure.in (libc_cv_localstatedir): New substituted variable.
38832 * configure: Regenerated.
38833 * config.make.in (localstatedir): New variable, substituted from
38834 libc_cv_localstatedir.
38835 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38836 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38837 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38838 * sysdeps/gnu/configure: Regenerated.
38839
38840 2012-06-21 Jeff Law <law@redhat.com>
38841
38842 [BZ #14277]
38843 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38844 free. Simplify list management for _LIBC case.
38845
38846 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38847
38848 [BZ #14273]
38849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38850 Clear sign bit of 64-bit integer value before comparing against
38851 overflow value.
38852
38853 * sysdeps/mach/configure: Regenerated.
38854
38855 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38856
38857 [BZ #14278]
38858 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38859
38860 2012-06-21 Jeff Law <law@redhat.com>
38861
38862 [BZ #13882]
38863 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38864 uint16_t for elements in the "seen" array to avoid char overflows.
38865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38866 * elf/dl-open.c (dl_open_worker): Likewise.
38867
38868 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38869
38870 * scripts/list-sources.sh: Scan PORTS for translations.
38871 * po/libc.pot: Regenerated.
38872
38873 2012-06-21 Andreas Jaeger <aj@suse.de>
38874
38875 [BZ #12194]
38876 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38877 warning.
38878 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38879 * bits/byteswap-16.h (__bswap_16): Likewise.
38880 * bits/byteswap.h (__bswap_constant_16): Likewise.
38881
38882 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38883
38884 [BZ #14117]
38885 * sysdeps/i386/fpu_control.h: Removed.
38886 * sysdeps/x86_64/fpu_control.h: Moved to ...
38887 * sysdeps/x86/fpu_control.h: Here.
38888
38889 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38890 (_FPU_SETCW): Likewise.
38891
38892 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38893
38894 [BZ #14117]
38895 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38896 * sysdeps/x86/fpu/bits/mathinline.h: This.
38897 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38898
38899 [BZ #14050]
38900 [BZ #14117]
38901 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38902 functions if __x86_64__ is defined.
38903
38904 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38905
38906 * string/endian.h: Add !__ASSEMBLER__ condition for including
38907 conversion interfaces.
38908
38909 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38910
38911 [BZ #14241]
38912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38913 of ABS(x) in calculating zero to negative powers other than odd
38914 integers.
38915 * math/libm-test.inc (pow_test): Add more tests.
38916
38917 2012-06-15 Andreas Jaeger <aj@suse.de>
38918
38919 * manual/contrib.texi (Contributors): Update entry of Liubov
38920 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38921 Machado Filho.
38922
38923 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38924
38925 * string/string.h: Add __wur to GNU version of strerror_r.
38926
38927 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38928
38929 [BZ #14229]
38930 * string/Makefile (tests): Add tst-strtok_r.
38931 * string/tst-strtok_r.c: New file.
38932 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38933 RAX_LP/RDX_LP on SAVE_PTR.
38934
38935 2012-06-14 Roland McGrath <roland@hack.frob.com>
38936
38937 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38938
38939 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38940
38941 * libm_test.inc (csqrt_test): Allow more spurious underflow
38942 exceptions.
38943 (j0_test): Likewise.
38944 (j1_test): Likewise.
38945 (y0_test): Likewise.
38946 (y1_test): Likewise.
38947
38948 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38949
38950 * po/Makefile (libc.pot): Use UTF-8 charset.
38951
38952 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38953
38954 [BZ #14210]
38955 Suppress sign-conversion warning from FD_SET.
38956 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38957 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38958 not unsigned long int.
38959 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38960
38961 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38962
38963 [BZ #14050]
38964 [BZ #14117]
38965 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38966 __extern_always_inline instead of __extern_inline.
38967 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38968 (__signbit): Likewise.
38969 (__signbitl): Support C++ namespace.
38970 (lrintf): New inline function.
38971 (lrint): Likewise.
38972 (llrintf): Likewise.
38973 (llrint): Likewise.
38974 (fmaxf): Likewise.
38975 (fmax): Likewise.
38976 (fminf): Likewise.
38977 (fmin): Likewise.
38978 (rint): Likewise.
38979 (rintf): Likewise.
38980 (ceil): Likewise.
38981 (ceilf): Likewise.
38982 (floor): Likewise.
38983 (floorf): Likewise.
38984 (nearbyint): Likewise.
38985 (nearbyintf): Likewise.
38986
38987 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38988
38989 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38990 non-default versions.
38991
38992 2012-06-11 Roland McGrath <roland@hack.frob.com>
38993
38994 [BZ #14218]
38995 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38996
38997 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38998
38999 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39000 (FE_UPWARD, FE_DOWNWARD): Don't define.
39001 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39003
39004 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39005 reading it.
39006 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39007 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39008
39009 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39010
39011 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39013 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39014 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39015
39016 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39017
39018 [BZ #14117]
39019 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39020 * sysdeps/i386/fpu/Implies: New file.
39021 * sysdeps/x86_64/fpu/Implies: Likewise.
39022 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39023 * sysdeps/x86/fpu/bits/fenv.h: This.
39024
39025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39026 __SSE_MATH__.
39027
39028 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39029
39030 [BZ #14134]
39031 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39032 character 0xffff that matches the last element of the
39033 conversion table.
39034
39035 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39036
39037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39038 fmodl commit.
39039
39040 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39041
39042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39043 values higher than 25.6283.
39044
39045 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39046
39047 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39048 subnormal exponent extraction and add some __builtin_expect.
39049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39050 Fix for subnormal mantissa calculation.
39051
39052 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39053
39054 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39055 cpu2 is -1 and errno is not ENOSYS.
39056
39057 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39058
39059 [BZ #14117]
39060 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39061 * sysdeps/x86/bits/string.h: This.
39062 * sysdeps/x86_64/bits/string.h: Removed.
39063
39064 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39065 if not compiling for x86-64, but compiling for >= i486.
39066
39067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39068 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39069
39070 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39071 New macro from Linux kernel 3.4.0.
39072 (FP_XSTATE_MAGIC2): Likewise.
39073 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39074 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39075 (struct _fpx_sw_bytes): New struct.
39076 (struct _xsave_hdr): Likewise.
39077 (struct _ymmh_state): Likewise.
39078 (struct _xstate): Likewise.
39079
39080 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39081 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39083 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39084 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39085 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39086
39087 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39088 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39089 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39090 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39091 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39092 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39093
39094 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39095
39096 [BZ #13743]
39097 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39098 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39099 (sysdep_headers): Include sys/platform/ppc.h.
39100 * sysdeps/powerpc/test-gettimebase.c: Test for
39101 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39102 * manual/Makefile (appendices): Include platform.texi.
39103 * manual/contrib.texi (Contributors): Update @node pointers.
39104 * manual/maint.texi (Maintenance): Likewise.
39105 (Platform): New node.
39106 * manual/platform.texi: New file. Document the new features.
39107
39108 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39109 Jakub Jelinek <jakub@redhat.com>
39110
39111 [BZ #14188]
39112 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39113 where __builtin_expect is unavailable.
39114
39115 2012-06-03 David S. Miller <davem@davemloft.net>
39116
39117 * stdlib/longlong.h: Updated from GCC.
39118
39119 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39120
39121 [BZ #14042]
39122 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39123 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39124 __mcount_internal.
39125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39126 (GLIBC_2.16): Likewise.
39127
39128 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39129
39130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39131
39132 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39133
39134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39135 (default-abi): New variable.
39136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39137 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39138 variable.
39139 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39140 Likewise.
39141 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39142 Likewise.
39143 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39144 Likewise.
39145
39146 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39147 definition. Document in comment.
39148
39149 2012-06-01 David S. Miller <davem@davemloft.net>
39150
39151 * stdlib/longlong.h: Updated from GCC.
39152
39153 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39154
39155 [BZ #14117]
39156 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39157 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39158 sys/debugreg.h sys/io.h here.
39159 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39160 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39161 sys/io.h.
39162 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39163 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39164 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39165 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39166 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39167 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39168
39169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39170 Define only if __x86_64__ is defined.
39171
39172 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39173
39174 [BZ #14048]
39175 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39176 Use int64_t for variable i.
39177 * math/libm-test.inc (fmod_test): Add more tests.
39178
39179 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39180 z computation is not scheduled after fetestexcept.
39181 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39182 Use math_force_eval instead of asm to ensure calculation scheduled
39183 before exception test.
39184 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39185 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39186
39187 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39188
39189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39190 computation is not scheduled after fetestexcept.
39191
39192 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39193
39194 [BZ #14117]
39195 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39196 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39197
39198 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39199
39200 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39201 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39202
39203 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39204
39205 [BZ #14117]
39206 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39207 <bits/wordsize.h>.
39208 (__WCHAR_MIN): Support __WORDSIZE == 64.
39209 (__WCHAR_MAX): Likewise.
39210
39211 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39212 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39213
39214 [BZ #14183]
39215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39216 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39217
39218 [BZ #14117]
39219 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39220 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39221
39222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39223 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39224
39225 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39226 Defined to 1 if __x86_64__ isn't defined.
39227 (_STAT_VER_LINUX_OLD): New.
39228 (st_atime): Remove duplicate.
39229 (st_mtime): Likewise.
39230 (st_ctime): Likewise.
39231
39232 2012-05-31 David S. Miller <davem@davemloft.net>
39233
39234 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39235 entries.
39236
39237 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39238
39239 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39240 gen-libm-test.pl.
39241
39242 [BZ #14132]
39243 * elf/dl-reloc.c: Include <_itoa.h>.
39244 (_dl_reloc_bad_type): Remove use of INTUSE.
39245 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39246 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39247 * stdio-common/psiginfo.c (psiginfo): Likewise.
39248 * stdio-common/psignal.c (psignal): Likewise.
39249 * string/strsignal.c (strsignal): Likewise.
39250 * include/signal.h (_sys_siglist): Declare hidden proto.
39251 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39252 INTVARDEF with libc_hidden_data_def.
39253 * stdio-common/itoa-udigits.c: Likewise.
39254 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39255 (_itoa_lower_digits_internal): Remove declaration.
39256 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39257 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39258 (_sys_sigabbrev_internal): Remove aliases.
39259 (_sys_siglist): Define hidden alias.
39260
39261 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39262
39263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39264 bits/sysctl.h.
39265
39266 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39267
39268 [BZ #14117]
39269 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39270 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39271
39272 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39273 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39274 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39275 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39276 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39277 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39278
39279 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39280 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39281 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39282
39283 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39284 with __addr.
39285 (insw): Likewise.
39286 (insl): Likewise.
39287 (outsb): Likewise.
39288 (outsw): Likewise.
39289 (outsl): Likewise.
39290
39291 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39293 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39294
39295 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39296 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39297 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39298 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39299 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39300 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39301
39302 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39303 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39304
39305 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39306 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39307
39308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39310 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39311
39312 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39313 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39314 to ...
39315 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39316
39317 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39318 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39319 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39320
39321 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39322 for x86-64.
39323 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39324
39325 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39326
39327 * math/math.h (M_El): Use two more decimal places.
39328 (M_LOG2El): Likewise.
39329 (M_LOG10El): Likewise.
39330 (M_LN2l): Likewise.
39331 (M_LN10l): Likewise.
39332 (M_PIl): Likewise.
39333 (M_PI_2l): Likewise.
39334 (M_PI_4l): Likewise.
39335 (M_1_PIl): Likewise.
39336 (M_2_PIl): Likewise.
39337 (M_2_SQRTPIl): Likewise.
39338 (M_SQRT2l): Likewise.
39339 (M_SQRT1_2l): Likewise.
39340
39341 2012-05-31 David S. Miller <davem@davemloft.net>
39342
39343 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39344 values between float registers.
39345 * sysdeps/sparc/sparc64/memset.S: Likewise.
39346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39347
39348 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39349
39350 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39351 -D_FORTIFY_SOURCE=1.
39352 (CPPFLAGS-tst-longjmp_chk.c): Define.
39353 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39354 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39355 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39356 CFLAGS-tst-wchar-h.c.
39357
39358 2012-05-31 Marek Polacek <polacek@redhat.com>
39359
39360 [BZ #14132]
39361 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39362 __endmntent_internal): Remove declaration.
39363 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39364 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39365 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39366
39367 2012-05-30 David S. Miller <davem@davemloft.net>
39368
39369 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39370 (___Q_simulate_exceptions): Use real FP ops rather than writing
39371 into the %fsr.
39372 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39373 Likewise.
39374
39375 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39376
39377 [BZ #14117]
39378 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39379 * sysdeps/x86/bits/xtitypes.h: This.
39380
39381 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39382 * sysdeps/x86/bits/wordsize.h: This.
39383
39384 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39385 * sysdeps/x86/bits/huge_vall.h: This.
39386
39387 * sysdeps/i386/bits/select.h: Removed.
39388 * sysdeps/x86_64/bits/select.h: Renamed to ...
39389 * sysdeps/x86/bits/select.h: This.
39390
39391 * sysdeps/i386/bits/setjmp.h: Removed.
39392 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39393 * sysdeps/x86/bits/setjmp.h: This.
39394
39395 * sysdeps/i386/bits/mathdef.h: Removed.
39396 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39397 * sysdeps/x86/bits/mathdef.h: This.
39398
39399 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39400
39401 [BZ #14132]
39402 * include/sys/socket.h (__connect_internal)
39403 (__libc_sa_len_internal): Remove declaration.
39404 (__connect, __libc_sa_len): Declare hidden_proto.
39405 (SA_LEN): Remove use of INTUSE.
39406 * socket/connect.c: Add libc_hidden_def.
39407 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39408 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39409 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39410 alias.
39411 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39412 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39413 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39414 of adding _internal alias.
39415
39416 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39417
39418 [BZ #14117]
39419 * sysdeps/i386/bits/link.h: Removed.
39420 * sysdeps/i386/bits/linkmap.h: Likewise.
39421 * sysdeps/x86_64/bits/link.h: Renamed to ...
39422 * sysdeps/x86/bits/link.h: This.
39423 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39424 * sysdeps/x86/bits/linkmap.h: This.
39425
39426 * sysdeps/i386/bits/endian.h: Removed.
39427 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39428 * sysdeps/x86/bits/endian.h: This.
39429
39430 * sysdeps/i386/bits/byteswap.h: Removed.
39431 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39432 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39433 * sysdeps/x86/bits/byteswap.h: This.
39434 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39435 * sysdeps/x86/bits/byteswap-16.h: This.
39436 * sysdeps/i386/Implies: Add x86.
39437 * sysdeps/x86_64/Implies: Likewise.
39438
39439 2012-05-30 David S. Miller <davem@davemloft.net>
39440
39441 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39442 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39444 (FP_TRAPPING_EXCEPTIONS): Define.
39445 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39446 (FP_TRAPPING_EXCEPTIONS): Define.
39447 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39448 subnormals only when inexact has been signalled or underflow
39449 exceptions are enabled.
39450 (_FP_PACK_CANONICAL): Likewise.
39451
39452 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39453
39454 [BZ #14183]
39455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39456 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39457
39458 2012-05-30 Richard Henderson <rth@twiddle.net>
39459
39460 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39461 with #ifndef NOT_IN_libc.
39462
39463 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39464 marked to avoid plt entry.
39465
39466 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39467
39468 [BZ #14112]
39469 * Makeconfig (default-abi): New macro.
39470 (abi-includes): Likewise.
39471 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39472 $(abi-$(default-abi)-lib-soname) for soname if defined.
39473 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39474 abi-variants.
39475 * Makefile (installed-stubs): Likewise.
39476 * include/stubs-biarch.h: Removed.
39477 * scripts/lib-names.awk: Only handle one library at a time.
39478 * scripts/soversions.awk: Remove WORDSIZE support.
39479 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39480 entries.
39481 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39482 Removed.
39483 (syscall-list-default-condition): Likewise.
39484 (syscall-list-default-condition): Likewise.
39485 (syscall-list-includes): Likewise.
39486 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39487 syscall-list-* with abi-*. Handle undefined abi-variants.
39488 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39489 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39490 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39491 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39492 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39493 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39494 Removed.
39495 (syscall-list-32-options): Likewise.
39496 (syscall-list-32-condition): Likewise.
39497 (syscall-list-64-options): Likewise.
39498 (syscall-list-64-condition): Likewise.
39499 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39500 macro.
39501 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39502 Renamed to ...
39503 (abi-*): This.
39504 (abi-64-ld-soname): New macro.
39505 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39506 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39507 Renamed to ...
39508 (abi-*): This.
39509 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39510 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39511
39512 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39513
39514 * sysdeps/unix/sysv/linux/kernel-features.h
39515 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39516 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39517 include <kernel-features.h>.
39518 [!__NR_ftruncate64]: Remove conditional code.
39519 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39520 [__NR_ftruncate64]: Make code unconditional.
39521 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39522 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39523 include <kernel-features.h>.
39524 [!__NR_ftruncate64]: Remove conditional code.
39525 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39526 [__NR_ftruncate64]: Make code unconditional.
39527 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39529 include <kernel-features.h>.
39530 [!__NR_ftruncate64]: Remove conditional code.
39531 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39532 [__NR_ftruncate64]: Make code unconditional.
39533 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39535 include <kernel-features.h>.
39536 [!__NR_ftruncate64]: Remove conditional code.
39537 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39538 [__NR_ftruncate64]: Make code unconditional.
39539 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39540
39541 * configure.in (libc_cv_fpie): Weaken to a compile test using
39542 LIBC_TRY_CC_OPTION.
39543 * configure: Regenerated.
39544
39545 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39546
39547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39551 Refreshed.
39552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39558 Refreshed.
39559
39560 2012-05-27 David S. Miller <davem@davemloft.net>
39561
39562 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39563 (___Q_zero): New.
39564 (__Q_simulate_exceptions): Return void. Change to simulate
39565 exceptions by writing into the %fsr.
39566 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39567 (__Qp_handle_exceptions): Likewise.
39568 (numbers): Delete.
39569 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39570 __Qp_handle_exceptions.
39571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39572 __Qp_handle_exceptions.
39573 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39574 as unused and give dummy FP_RND_NEAREST initializer.
39575 (FP_INHIBIT_RESULTS): Define.
39576 (___Q_simulate_exceptions): Update declaration.
39577 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39578 formatting.
39579 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39580 as unused and give dummy FP_RND_NEAREST initializer.
39581 (__Qp_handle_exceptions): Update declaration.
39582 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39583 formatting.
39584
39585 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39586
39587 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39588 the temporary FPU control word.
39589 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39590 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39591 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39592 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39593 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39594 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39595 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39597 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39598 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39599 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39600
39601 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39602
39603 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39604 fields.
39605
39606 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39607
39608 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39609 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39610 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39611 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39612 Likewise.
39613 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39614 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39615 Likewise.
39616
39617 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39618
39619 * po/h.po: Update from translation team.
39620
39621 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39622
39623 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39624
39625 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39626 handling of denormals.
39627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39628 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39629 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39630 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39634 Likewise.
39635
39636 2012-05-26 Marek Polacek <polacek@redhat.com>
39637
39638 [BZ #14152]
39639 * math/libm-test.inc (fma_test): Don't always expect underflow
39640 exception.
39641
39642 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39643
39644 [BZ #12416]
39645 * elf/tst-execstack.c: Include stackinfo.h.
39646 (do_test): Adjust test case to ensure that pthread_getattr_np
39647 behaviour remains the same after marking stack executable.
39648
39649 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39650
39651 * sysdeps/unix/sysv/linux/kernel-features.h
39652 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39653 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39654 kernel-features.h.
39655 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39656 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39657 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39658 kernel-features.h.
39659 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39660 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39661
39662 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39663
39664 * configure.in: Define the default includes to being none.
39665 * configure: Regenerated.
39666
39667 2012-05-25 Roland McGrath <roland@hack.frob.com>
39668
39669 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39670 * sysdeps/x86_64/setjmp.S: Likewise.
39671 * sysdeps/i386/bsd-setjmp.S: Likewise.
39672 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39673 * sysdeps/i386/setjmp.S: Likewise.
39674 * sysdeps/i386/__longjmp.S: Likewise.
39675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39676 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39677
39678 * include/stap-probe.h: New file.
39679 * configure.in: Handle --enable-systemtap.
39680 * configure: Regenerated.
39681 * config.h.in (USE_STAP_PROBE): New #undef.
39682 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39683 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39684 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39685
39686 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39687
39688 [BZ #13717]
39689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39690 to 2.4.0 where earlier.
39691 * sysdeps/unix/sysv/linux/configure: Regenerated.
39692 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39693 <kernel-features.h>.
39694 [__ASSUME_32BITUIDS]: Make code unconditional.
39695 [!__ASSUME_32BITUIDS]: Remove conditional code.
39696 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39697 <kernel-features.h>.
39698 [__ASSUME_32BITUIDS]: Make code unconditional.
39699 [!__ASSUME_32BITUIDS]: Remove conditional code.
39700 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39701 [__ASSUME_32BITUIDS]: Make code unconditional.
39702 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39703 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39704 <kernel-features.h>.
39705 [__ASSUME_32BITUIDS]: Make code unconditional.
39706 [!__ASSUME_32BITUIDS]: Remove conditional code.
39707 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39708 <kernel-features.h>.
39709 [__ASSUME_32BITUIDS]: Make code unconditional.
39710 [!__ASSUME_32BITUIDS]: Remove conditional code.
39711 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39712 <kernel-features.h>.
39713 [__ASSUME_32BITUIDS]: Make code unconditional.
39714 [!__ASSUME_32BITUIDS]: Remove conditional code.
39715 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39716 <kernel-features.h>.
39717 [__ASSUME_32BITUIDS]: Make code unconditional.
39718 [!__ASSUME_32BITUIDS]: Remove conditional code.
39719 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39720 <kernel-features.h>.
39721 [__ASSUME_32BITUIDS]: Make code unconditional.
39722 [!__ASSUME_32BITUIDS]: Remove conditional code.
39723 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39724 <kernel-features.h>.
39725 [__ASSUME_32BITUIDS]: Make code unconditional.
39726 [!__ASSUME_32BITUIDS]: Remove conditional code.
39727 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39728 <kernel-features.h>.
39729 [__ASSUME_32BITUIDS]: Make code unconditional.
39730 [!__ASSUME_32BITUIDS]: Remove conditional code.
39731 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39732 <kernel-features.h>.
39733 [__ASSUME_32BITUIDS]: Make code unconditional.
39734 [!__ASSUME_32BITUIDS]: Remove conditional code.
39735 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39736 <kernel-features.h>.
39737 [__ASSUME_32BITUIDS]: Make code unconditional.
39738 [!__ASSUME_32BITUIDS]: Remove conditional code.
39739 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39740 <kernel-features.h>.
39741 [__ASSUME_32BITUIDS]: Make code unconditional.
39742 [!__ASSUME_32BITUIDS]: Remove conditional code.
39743 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39744 <kernel-features.h>.
39745 [__NR_setresgid] (__setresgid): Do not declare.
39746 [__ASSUME_32BITUIDS]: Make code unconditional.
39747 [!__ASSUME_32BITUIDS]: Remove conditional code.
39748 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39749 <kernel-features.h>.
39750 [__NR_setresuid] (__setresuid): Do not declare.
39751 [__ASSUME_32BITUIDS]: Make code unconditional.
39752 [!__ASSUME_32BITUIDS]: Remove conditional code.
39753 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39754 <kernel-features.h>.
39755 [__ASSUME_32BITUIDS]: Make code unconditional.
39756 [!__ASSUME_32BITUIDS]: Remove conditional code.
39757 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39758 <kernel-features.h>.
39759 [__ASSUME_32BITUIDS]: Make code unconditional.
39760 [!__ASSUME_32BITUIDS]: Remove conditional code.
39761 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39762 <kernel-features.h>.
39763 [__ASSUME_32BITUIDS]: Make code unconditional.
39764 [!__ASSUME_32BITUIDS]: Remove conditional code.
39765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39766 <kernel-features.h>.
39767 [__ASSUME_32BITUIDS]: Make code unconditional.
39768 [!__ASSUME_32BITUIDS]: Remove conditional code.
39769 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39770 <kernel-features.h>.
39771 [__ASSUME_32BITUIDS]: Make code unconditional.
39772 [!__ASSUME_32BITUIDS]: Remove conditional code.
39773 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39774 <kernel-features.h>.
39775 [__ASSUME_32BITUIDS]: Make code unconditional.
39776 [!__ASSUME_32BITUIDS]: Remove conditional code.
39777 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39778 <kernel-features.h>.
39779 [__ASSUME_32BITUIDS]: Make code unconditional.
39780 [!__ASSUME_32BITUIDS]: Remove conditional code.
39781 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39782 <kernel-features.h>.
39783 [__ASSUME_32BITUIDS]: Make code unconditional.
39784 [!__ASSUME_32BITUIDS]: Remove conditional code.
39785 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39786 <kernel-features.h>.
39787 [__ASSUME_32BITUIDS]: Make code unconditional.
39788 [!__ASSUME_32BITUIDS]: Remove conditional code.
39789 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39790 <kernel-features.h>.
39791 [__ASSUME_32BITUIDS]: Make code unconditional.
39792 [!__ASSUME_32BITUIDS]: Remove conditional code.
39793 * sysdeps/unix/sysv/linux/kernel-features.h
39794 (__ASSUME_SETRESUID_SYSCALL): Remove.
39795 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39796 (__ASSUME_32BITUIDS): Likewise.
39797 (__ASSUME_LDT_WORKS): Likewise.
39798 (__ASSUME_O_DIRECTORY): Likewise.
39799 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39800 architecture but not kernel version.
39801 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39802 (__ASSUME_MMAP2_SYSCALL): Likewise.
39803 (__ASSUME_STAT64_SYSCALL): Likewise.
39804 (__ASSUME_IPC64): Likewise.
39805 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39806 <kernel-features.h>.
39807 [__ASSUME_32BITUIDS]: Make code unconditional.
39808 [!__ASSUME_32BITUIDS]: Remove conditional code.
39809 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39810 <kernel-features.h>.
39811 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39812 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39813 132096]: Remove conditional code.
39814 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39815 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39816 <kernel-features.h>.
39817 [__ASSUME_32BITUIDS]: Make code unconditional.
39818 [!__ASSUME_32BITUIDS]: Remove conditional code.
39819 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39820 <kernel-features.h>.
39821 [__ASSUME_32BITUIDS]: Make code unconditional.
39822 [!__ASSUME_32BITUIDS]: Remove conditional code.
39823 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39824 <kernel-features.h>.
39825 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39826 unconditional.
39827 (__setresgid): Do not declare.
39828 [__ASSUME_32BITUIDS]: Make code unconditional.
39829 [!__ASSUME_32BITUIDS]: Remove conditional code.
39830 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39831 <kernel-features.h>.
39832 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39833 unconditional.
39834 (__setresuid): Do not declare.
39835 [__ASSUME_32BITUIDS]: Make code unconditional.
39836 [!__ASSUME_32BITUIDS]: Remove conditional code.
39837 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39838 <kernel-features.h>.
39839 [__ASSUME_32BITUIDS]: Make code unconditional.
39840 [!__ASSUME_32BITUIDS]: Remove conditional code.
39841 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39842 <kernel-features.h>.
39843 [__ASSUME_32BITUIDS]: Make code unconditional.
39844 [!__ASSUME_32BITUIDS]: Remove conditional code.
39845
39846 2012-05-25 Richard Henderson <rth@twiddle.net>
39847
39848 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39849 dl_hwcap to ifunc resolver.
39850 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39851 elf_ifunc_invoke.
39852 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39853 dl_hwcap to ifunc resolver.
39854 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39855
39856 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39857
39858 [BZ #14153]
39859 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39860 for |x| <= 2**-26, not 2**-57.
39861 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39862 exception.
39863
39864 2012-05-24 Jeff Law <law@redhat.com>
39865
39866 * stdio-common/Makefile (tests): Add bug25.
39867 * stdio-common/bug25.c: New test.
39868
39869 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39870
39871 [BZ #13576]
39872 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39873 multiple of MALLOC_ALIGNMENT in size.
39874 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39875
39876 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39877
39878 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39879 Require >= 256.
39880 (FILENAME_MAX): Use macro-int-constant.
39881 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39882 (_IOFBF): Use macro-int-constant.
39883 (_IOLBF): Likewise.
39884 (_IONBF): Likewise.
39885 (SEEK_CUR): Likewise.
39886 (SEEK_END): Likewise.
39887 (SEEK_SET): Likewise.
39888 (TMP_MAX): Likewise.
39889 (EOF): Use macro-int-constant. Require < 0.
39890 (NULL): Use macro-constant. Require == 0.
39891 (stdin): Require type to be FILE *.
39892 (stdout): Likewise.
39893 (stderr): Likewise.
39894 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39895 macro-int-constant.
39896 (EXIT_SUCCESS): Likewise.
39897 (NULL): Use macro-constant. Require == 0.
39898 (RAND_MAX): Use macro-int-constant.
39899 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39900 [C99-based standards] (strtof): Require function.
39901 [C99-based standards] (strtold): Likewise.
39902 [C99-based standards] (strtoll): Likewise.
39903 [C99-based standards] (strtoull): Likewise.
39904 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39905 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39906 [ISO || ISO99 || ISO11] (math.h): Likewise.
39907 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39908 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39909 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39910
39911 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39912
39913 [BZ #14132]
39914 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39915 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39916 * intl/dgettext.c (DCGETTEXT): Likewise.
39917 * intl/gettext.c (DCGETTEXT): Likewise.
39918 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39919 * posix/regex_internal.h (gettext): Likewise.
39920 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39921 Remove declaration.
39922 * include/argz.h (__argz_count_internal)
39923 (__argz_stringify_internal): Remove declaration.
39924 (__argz_count, __argz_stringify): Declare hidden proto.
39925 * intl/dcgettext.c: Remove use of INTDEF.
39926 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39927 * string/argz-stringify.c: Likewise.
39928 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39929 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39930 Declare hidden proto.
39931 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39932 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39933 Declare hidden proto.
39934 * include/stdio.h (__asprintf_internal): Don't declare.
39935 (__asprintf): Don't define as macro. Declare hidden proto.
39936 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39937 (__fsetlocking): Declare hidden proto.
39938 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39939 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39940 hidden proto.
39941 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39942 (_IO_setlinebuf): Remove use of INTUSE.
39943 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39944 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39945 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39946 Remove declaration.
39947 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39948 (_IO_do_flush): Remove use of INTUSE.
39949 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39950 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39951 (_IO_adjust_column, _IO_least_wmarker)
39952 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39953 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39954 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39955 (_IO_default_doallocate, _IO_wdefault_doallocate)
39956 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39957 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39958 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39959 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39960 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39961 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39962 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39963 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39964 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39965 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39966 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39967 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39968 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39969 proto.
39970 (_IO_flush_all_internal, _IO_adjust_column_internal)
39971 (_IO_default_uflow_internal, _IO_default_finish_internal)
39972 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39973 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39974 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39975 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39976 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39977 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39978 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39979 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39980 (_IO_file_close_internal, _IO_file_close_it_internal)
39981 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39982 (_IO_file_init_internal, _IO_file_attach_internal)
39983 (_IO_file_fopen_internal, _IO_file_read_internal)
39984 (_IO_file_sync_internal, _IO_file_seek_internal)
39985 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39986 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39987 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39988 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39989 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39990 (_IO_list_all_internal, _IO_link_in_internal)
39991 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39992 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39993 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39994 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39995 (_IO_do_write_internal, _IO_padn_internal)
39996 (_IO_getline_info_internal, _IO_getline_internal)
39997 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39998 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39999 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40000 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40001 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40002 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40003 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40004 with libc_hidden_ver, remove use of INTUSE.
40005 * libio/genops.c: Likewise.
40006 * libio/freopen.c: Likewise.
40007 * libio/freopen64.c: Likewise.
40008 * libio/iofclose.c: Likewise.
40009 * libio/iofdopen.c: Likewise.
40010 * libio/iofflush.c: Likewise.
40011 * libio/iofflush_u.c: Likewise.
40012 * libio/iofgets.c: Likewise.
40013 * libio/iofgets_u.c: Likewise.
40014 * libio/iofopen.c: Likewise.
40015 * libio/iofopncook.c: Likewise.
40016 * libio/iofread.c: Likewise.
40017 * libio/iofread_u.c: Likewise.
40018 * libio/ioftell.c: Likewise.
40019 * libio/iofwrite.c: Likewise.
40020 * libio/iogetline.c: Likewise.
40021 * libio/iogets.c: Likewise.
40022 * libio/iogetwline.c: Likewise.
40023 * libio/iopadn.c: Likewise.
40024 * libio/iopopen.c: Likewise.
40025 * libio/ioseekoff.c: Likewise.
40026 * libio/ioseekpos.c: Likewise.
40027 * libio/iosetbuffer.c: Likewise.
40028 * libio/iosetvbuf.c: Likewise.
40029 * libio/ioungetc.c: Likewise.
40030 * libio/ioungetwc.c: Likewise.
40031 * libio/iovdprintf.c: Likewise.
40032 * libio/iovsprintf.c: Likewise.
40033 * libio/iovsscanf.c: Likewise.
40034 * libio/memstream.c: Likewise.
40035 * libio/obprintf.c: Likewise.
40036 * libio/oldfileops.c: Likewise.
40037 * libio/oldiofclose.c: Likewise.
40038 * libio/oldiofdopen.c: Likewise.
40039 * libio/oldiofopen.c: Likewise.
40040 * libio/oldiopopen.c: Likewise.
40041 * libio/oldstdfiles.c: Likewise.
40042 * libio/putc.c: Likewise.
40043 * libio/setbuf.c: Likewise.
40044 * libio/setlinebuf.c: Likewise.
40045 * libio/stdfiles.c: Likewise.
40046 * libio/strops.c: Likewise.
40047 * libio/vasprintf.c: Likewise.
40048 * libio/vscanf.c: Likewise.
40049 * libio/vsnprintf.c: Likewise.
40050 * libio/vswprintf.c: Likewise.
40051 * libio/wfiledoalloc.c: Likewise.
40052 * libio/wfileops.c: Likewise.
40053 * libio/wgenops.c: Likewise.
40054 * libio/wmemstream.c: Likewise.
40055 * libio/wstrops.c: Likewise.
40056 * libio/__fpurge.c: Likewise.
40057 * libio/__fsetlocking.c: Likewise.
40058 * assert/assert.c: Likewise.
40059 * debug/fgets_chk.c: Likewise.
40060 * debug/fgets_u_chk.c: Likewise.
40061 * debug/fread_chk.c: Likewise.
40062 * debug/fread_u_chk.c: Likewise.
40063 * debug/gets_chk.c: Likewise.
40064 * debug/obprintf_chk.c: Likewise.
40065 * debug/vasprintf_chk.c: Likewise.
40066 * debug/vdprintf_chk.c: Likewise.
40067 * debug/vsnprintf_chk.c: Likewise.
40068 * debug/vsprintf_chk.c: Likewise.
40069 * malloc/mtrace.c: Likewise.
40070 * misc/error.c: Likewise.
40071 * misc/syslog.c: Likewise.
40072 * stdio-common/asprintf.c: Likewise.
40073 * stdio-common/fxprintf.c: Likewise.
40074 * stdio-common/getw.c: Likewise.
40075 * stdio-common/isoc99_fscanf.c: Likewise.
40076 * stdio-common/isoc99_scanf.c: Likewise.
40077 * stdio-common/isoc99_vfscanf.c: Likewise.
40078 * stdio-common/isoc99_vscanf.c: Likewise.
40079 * stdio-common/isoc99_vsscanf.c: Likewise.
40080 * stdio-common/printf-prs.c: Likewise.
40081 * stdio-common/printf_fp.c: Likewise.
40082 * stdio-common/printf_fphex.c: Likewise.
40083 * stdio-common/printf_size.c: Likewise.
40084 * stdio-common/putw.c: Likewise.
40085 * stdio-common/scanf.c: Likewise.
40086 * stdio-common/sprintf.c: Likewise.
40087 * stdio-common/tmpfile.c: Likewise.
40088 * stdio-common/vfprintf.c: Likewise.
40089 * stdio-common/vfscanf.c: Likewise.
40090 * stdlib/strfmon_l.c: Likewise.
40091 * sunrpc/openchild.c: Likewise.
40092 * sunrpc/xdr_stdio.c: Likewise.
40093 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40094 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40095
40096 2012-05-24 Roland McGrath <roland@hack.frob.com>
40097
40098 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40099
40100 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40101 in the third column, to generate for the shared library an IFUNC
40102 that uses _dl_vdso_vsym.
40103 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40104 * Makeconfig (object-suffixes-noshared): New variable.
40105
40106 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40107 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40108 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40109 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40110
40111 [BZ #14132]
40112 * include/sys/time.h (__gettimeofday): Remove macro.
40113 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40114 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40115 Remove INTDEF.
40116 (__gettimeofday): Add libc_hidden_def.
40117 (gettimeofday): Add libc_hidden_weak.
40118 * sysdeps/mach/gettimeofday.c: Likewise.
40119 * sysdeps/posix/gettimeofday.c: Likewise.
40120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40121 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40123 (__gettimeofday_internal): Remove strong_alias.
40124 (__gettimeofday): Add libc_hidden_def.
40125 (gettimeofday): Add libc_hidden_weak.
40126 * sysdeps/unix/syscalls.list (gettimeofday):
40127 Remove __gettimeofday_internal alias.
40128
40129 2012-05-24 Daniel Jacobowitz <drow@false.org>
40130 H.J. Lu <hongjiu.lu@intel.com>
40131
40132 [BZ #12495]
40133 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40134 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40135 (largebin_index_32_big): New.
40136 (largebin_index): Use it for 16-byte alignment.
40137 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40138 correction with front_misalign.
40139
40140 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40141
40142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40144 Likewise.
40145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40146 Likewise.
40147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40148 Likewise.
40149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40150 Likewise.
40151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40152 Likewise.
40153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40154 Likewise.
40155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40156 Likewise.
40157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40158 Likewise.
40159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40160 Likewise.
40161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40162 Likewise.
40163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40164 Likewise.
40165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40166 Likewise.
40167
40168 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40169 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40170
40171 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40172
40173 [BZ #10846]
40174 [BZ #14036]
40175 * math/libm-test.inc (exp_test): Add test from bug 14036.
40176 (pow_test): Add test from bug 10846.
40177
40178 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40179 and other flags.
40180 (special_function): Do not include flags in test name.
40181 (parse_args): Likewise.
40182 * sysdeps/i386/fpu/libm-test-ulps: Update.
40183 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40184 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40187
40188 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40189 exceptions.
40190 * math/libm-test.inc ("Philosophy"): Update comment about
40191 exception testing.
40192 (UNDERFLOW_EXCEPTION): New macro.
40193 (UNDERFLOW_EXCEPTION_OK): Likewise.
40194 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40195 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40196 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40197 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40198 (INVALID_EXCEPTION_OK): Update value.
40199 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40200 (OVERFLOW_EXCEPTION_OK): Likewise.
40201 (IGNORE_ZERO_INF_SIGN): Likewise.
40202 (test_exceptions): Handle underflow exceptions.
40203 (acos_test): Update for underflow exception expectations.
40204 (cexp_test): Likewise.
40205 (clog_test): Likewise.
40206 (clog10_test): Likewise.
40207 (csqrt_test): Likewise.
40208 (ctan_test): Likewise.
40209 (ctanh_test): Likewise.
40210 (exp_test): Likewise.
40211 (exp10_test): Likewise.
40212 (exp2_test): Likewise.
40213 (expm1_test): Likewise.
40214 (fma_test): Likewise.
40215 (j0_test): Likewise.
40216 (jn_test): Likewise.
40217 (nexttoward_test): Likewise.
40218 (pow_test): Likewise.
40219 (scalbn_test): Likewise.
40220 (scalbln_test): Likewise.
40221 (tan_test): Likewise.
40222 (y1_test): Likewise.
40223 * sysdeps/i386/fpu/libm-test-ulps: Update.
40224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40225
40226 2012-05-23 David S. Miller <davem@davemloft.net>
40227
40228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40229 (__libc_sigaction): Remove unused local variables.
40230
40231 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40232
40233 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40234
40235 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40236
40237 mktime: avoid signed integer overflow
40238 * time/mktime.c (__mktime_internal): Do not mishandle the case
40239 where diff == INT_MIN.
40240
40241 mktime: simplify computation of average
40242 * time/mktime.c (ranged_convert): Use new time_t_avg function
40243 instead of rolling our own (probably-slower) code.
40244
40245 mktime: do not assume signed right shift propagates sign bit
40246 * time/mktime.c (isdst_differ): New static function.
40247 (__mktime_internal): No need to normalize tm_isdst now.
40248 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40249 tm_isdst values.
40250
40251 mktime: merge another wrapv change from gnulib
40252 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40253 from some compilers.
40254
40255 mktime: remove incorrect attempt at unusual arithmetics
40256 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40257 The code didn't really work on such machines anyway.
40258 (TYPE_MINIMUM): Assume two's complement.
40259 (twos_complement_arithmetic): Verify that long_int and time_t
40260 are two's complement (or unsigned, in the latter case).
40261
40262 mktime: check signed shifts on long_int and time_t, too
40263 * time/mktime.c (SHR): Check that shifts work as desired
40264 on the types long_int and time_t too, as SHR is used on
40265 such types.
40266
40267 mktime: do not assume 'long' is wide enough
40268 * time/mktime.c (verify): Move decl up.
40269 (long_int): New type.
40270 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40271 to remove assumption in the code that 'long' is wide enough to
40272 store year values. This assumption is not true on x32 and on
40273 some non-glibc platforms.
40274
40275 mktime: merge wrapv change from gnulib
40276 * time/mktime.c (WRAPV): New macro.
40277 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40278 (guess_time_tm, __mktime_internal): Do not assume that signed
40279 integer overflow wraps around; modern compilers generate code
40280 where this assumption is no longer valid.
40281
40282 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40283
40284 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40285 Replace "jmp L(pseudo_end)" with "ret".
40286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40287 Likewise.
40288
40289 2012-05-23 Andreas Jaeger <aj@suse.de>
40290
40291 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40292 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40293
40294 2012-05-23 Andreas Jaeger <aj@suse.de>
40295 Maximilian Attems <max@stro.at>
40296
40297 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40298 New macros.
40299
40300 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40301
40302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40303 code so that pseudo_end is just ret and the stack pointer is
40304 correct also for static library in error case.
40305
40306 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40307
40308 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40309 move to syscalls.list.
40310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40314
40315 * manual/install.texi (Running make install): Do not mention Linux
40316 kernel version for which pt_chown is not needed.
40317 (Linux): Do not mention problems with nscd with 2.0 kernels.
40318 * INSTALL: Regenerated.
40319
40320 2012-05-23 Andreas Jaeger <aj@suse.de>
40321
40322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40323 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40324 macro.
40325 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40326 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40327 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40328 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40329 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40330 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40331 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40332 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40335 * sysdeps/unix/sysv/linux/bits/in.h
40336 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40337
40338 2012-05-22 Roland McGrath <roland@hack.frob.com>
40339
40340 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40341 (PREPARE_VERSION): Just use assert instead, it will be elided
40342 under [NDEBUG] anyway.
40343
40344 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40345
40346 * sysdeps/unix/sysv/linux/Makefile: Include
40347 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40348 (sysdep_routines): Remove sysctl.
40349 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40350 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40351 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40352 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40353 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40354
40355 2012-05-22 Andreas Jaeger <aj@suse.de>
40356
40357 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40358 that pseudo_end is just ret and the stack pointer is correct also
40359 for static library in error case.
40360
40361 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40362
40363 [BZ #14122]
40364 * nss/nsswitch.c (defconfig_entries): New variable.
40365 (__nss_database_lookup): Don't leak defconfig entries.
40366 (nss_parse_service_list): Don't leak on error paths.
40367 (free_database_entries): New function.
40368 (free_defconfig): New function.
40369 (free_mem): Move common code to free_database_entries.
40370
40371 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40372
40373 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40374 Add arch_prctl.
40375 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40376
40377 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40378 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40380 New macro.
40381 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40382 (INTERNAL_SYSCALL_TYPES): Likewise.
40383 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40384 (LOAD_REGS_TYPES_[1-6]): Likewise.
40385 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40386 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40387
40388 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40389
40390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40391 copysignl for GLIBC_2_0.
40392 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40393 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40395 logbl for GLIBC_2_0.
40396 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40397 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40398
40399 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40400
40401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40402 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40403
40404 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40405 Use "neg %eax".
40406
40407 * time/mktime.c: Update copyright years.
40408
40409 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40410
40411 mktime: merge comment-quoting-style change from gnulib
40412 * time/mktime.c: Quote 'like this' in comments.
40413 The GNU coding standards suggest that we no longer quote `like this',
40414 as "`" and "'" are typically rendered asymmetrically nowadays.
40415 The typical gnulib style is to quote 'like this' when quoting
40416 code, and "like this" when quoting English.
40417
40418 * time/mktime.c (compile-command): Add "-I.".
40419
40420 mktime: merge mktime-internal.h change from gnulib
40421 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40422
40423 mktime: merge time_r change from gnulib
40424 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40425
40426 mktime: merge DEBUG change from gnulib
40427 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40428 case system <time.h> has a #define.
40429
40430 mktime: merge <sys/types.h> change from gnulib
40431 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40432 since <time.t> is now guaranteed to define time_t.
40433
40434 mktime: merge HAVE_CONFIG_H change from gnulib
40435 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40436
40437 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40438
40439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40440 Use "neg %eax".
40441
40442 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40443 __rlim_t cast.
40444 (struct rusage): Use anonymous union to pad each field to
40445 __syscall_slong_t.
40446
40447 2012-05-21 David S. Miller <davem@davemloft.net>
40448
40449 * Makefules (o-iterator): Remove .s cases.
40450 (compile-command.s): Delete.
40451 (COMPILE.s): Delete.
40452 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40453
40454 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40455
40456 * configure.in (libc_cv_predef_stack_protector): Only consider
40457 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40458 * configure: Regenerated.
40459
40460 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40461
40462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40463 New macro. Use R*LP on int and pointer.
40464 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40465 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40466 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40467 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40468
40469 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40470 [__WORDSIZE_TIME64_COMPAT32] instead of
40471 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40472 (struct utmp): Likewise.
40473 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40474 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40475 Renamed to ...
40476 (__WORDSIZE_TIME64_COMPAT32): This.
40477 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40478 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40479 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40480 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40481 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40482 (__WORDSIZE_TIME64_COMPAT32): New macro.
40483
40484 2012-05-21 Andreas Jaeger <aj@suse.de>
40485
40486 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40487 only if [SHARED]. Add prototype for __wcschr_ia32.
40488
40489 2012-05-21 Roland McGrath <roland@hack.frob.com>
40490
40491 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40492 of %rbp unmolested in the jmp_buf while mangling the low bits.
40493 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40494 unmolested high bits of %rbp while demangling the low bits.
40495 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40496
40497 2012-05-21 Andreas Jaeger <aj@suse.de>
40498
40499 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40500 * sunrpc/svc_simple.c: Use it for registerrpc.
40501 * sunrpc/xcrypt.c: Use it for passwd2des.
40502
40503 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40504
40505 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40506
40507 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40508 Don't define if [__SYSCALL_WORDSIZE != 32].
40509 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40510 New macro.
40511
40512 2012-05-21 Bruno Haible <bruno@clisp.org>
40513 Andreas Jaeger <aj@suse.de>
40514
40515 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40516 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40517 inptr and inend for must_buffer_ch.
40518 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40519 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40520 * stdio-common/Makefile (tests): Remove bug15.
40521 (bug15-ENV): Remove macro.
40522 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40523 anymore.
40524
40525 2012-05-19 Andreas Jaeger <aj@suse.de>
40526 Roland McGrath <roland@hack.frob.com>
40527
40528 * manual/contrib.texi: Completely rewritten. It contains now an
40529 alphabetical list of contributors and their contributions.
40530
40531 2012-05-21 Richard Henderson <rth@twiddle.net>
40532
40533 * misc/getauxval.c (__getauxval): Use unsigned long int.
40534 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40535 (getauxval): Use unsigned long int.
40536
40537 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40538
40539 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40540
40541 2012-05-21 Roland McGrath <roland@hack.frob.com>
40542
40543 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40544 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40545 __alignof__ (long double).
40546
40547 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40548
40549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40550
40551 2012-05-20 Richard Henderson <rth@twiddle.net>
40552
40553 * misc/getauxval.c: New file.
40554 * misc/sys/auxv.h: New file.
40555 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40556 (routines): Add getauxval.
40557 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40558 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40559 * elf/dl-sysdep.c (_dl_auxv): Remove.
40560 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40561 * elf/dl-support.c (_dl_auxv): New variable.
40562 (_dl_aux_init): Initialize it.
40563 * manual/startup.texi (Auxiliary Vector): New node.
40564 * sysdeps/generic/bits/hwcap.h: New file.
40565 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40566 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40567 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40568 * sysdeps/sparc/sysdep.h: ... here. Include it.
40569 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40572 Update.
40573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40576 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40581
40582 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40583
40584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40585
40586 2012-05-19 David S. Miller <davem@davemloft.net>
40587
40588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40589
40590 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40591
40592 [BZ #14123]
40593 * math/s_ccosh.c: Include <float.h>
40594 (__ccosh): Avoid internal overflow calculating sinh and cosh
40595 values before multiplying by sin and cos values.
40596 * math/s_ccoshf.c: Likewise.
40597 * math/s_ccoshl.c: Likewise.
40598 * math/s_csin.c: Likewise.
40599 * math/s_csinf.c: Likewise.
40600 * math/s_csinl.c: Likewise.
40601 * math/s_csinh.c: Likewise.
40602 * math/s_csinhf.c: Likewise.
40603 * math/s_csinhl.c: Likewise.
40604 * math/libm-test.inc (ccos_test): Add more tests.
40605 (ccosh_test): Likewise.
40606 (csin_test): Likewise.
40607 (csinh_test): Likewise.
40608 * sysdeps/i386/fpu/libm-test-ulps: Update.
40609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40610
40611 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40612
40613 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40614 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40615
40616 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40617
40618 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40619
40620 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40621 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40622 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40623 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40624 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40625 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40626 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40627 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40628 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40629 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40630 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40631 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40632 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40633 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40634 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40635 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40636 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40637 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40638 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40639 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40640 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40641 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40642 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40643 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40644 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40645 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40646 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40647 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40648 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40649 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40650 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40651
40652 2012-05-18 Andreas Jaeger <aj@suse.de>
40653
40654 * csu/.gitignore: Delete.
40655
40656 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40657
40658 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40659 (timex): Use __syscall_slong_t.
40660
40661 2012-05-18 Andreas Jaeger <aj@suse.de>
40662 Carlos O'Donell <carlos_odonell@mentor.com>
40663
40664 * manual/install.texi (Configuring and compiling): Update
40665 description about files modified in the source directory.
40666 * INSTALL: Regenerated.
40667
40668 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40669
40670 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40671 value. Use "or" to set return value to -1.
40672 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40673 negate return value.
40674
40675 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40676
40677 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40678 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40679 failure if the compiler has Graphite support disabled.
40680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40681 Likewise.
40682 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40683 (CFLAGS-memmove.c): Likewise.
40684 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40685 Likewise.
40686
40687 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40688
40689 * sysdeps/x86_64/x32/_itoa.h: New file.
40690
40691 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40692 getdents system call only if kernel and user dirents have the
40693 same d_ino and d_off.
40694
40695 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40696 LLONG_MAX != LONG_MAX.
40697 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40698 (_fitoa_word): Likewise.
40699
40700 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40701 years.
40702 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40703 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40705
40706 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40707 include <bits/wordsize.h>. Check __x86_64__ instead of
40708 __WORDSIZE.
40709 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40710 if __x86_64__ is defined. Use anonymous union on fpstate.
40711
40712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40713 anonymous union.
40714
40715 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40716
40717 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40718 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40719 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40720 Refer to _rtld_local_ro instead of _rtld_global_ro.
40721 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40722 Likewise.
40723 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40724 Likewise.
40725 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40726 Likewise.
40727 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40728 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40729 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40730
40731 * sysdeps/powerpc/powerpc32/dl-machine.c
40732 (__elf_machine_runtime_setup) [PROF]: Don't reference
40733 _dl_prof_resolve.
40734
40735 2012-05-18 Andreas Jaeger <aj@suse.de>
40736
40737 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40738 function only available for GCCs before 3.4 since GCC 3.4
40739 introduced a builtin.
40740 (lrint): Likewise.
40741 (llrintf): Likewise.
40742 (llrint): Likewise.
40743 (fmaxf): Likewise.
40744 (fmax): Likewise.
40745 (fminf): Likewise.
40746 (fmin): Likewise.
40747 (rint): Likewise.
40748 (rintf): Likewise.
40749 (nearbyint): Likewise.
40750 (nearbyintf): Likewise.
40751 (ceil): Likewise.
40752 (ceilf): Likewise.
40753 (floor): Likewise.
40754 (floorf): Likewise.
40755
40756 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40757
40758 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40759 on both fields and cast pointer to __syscall_ulong_t.
40760
40761 * bits/types.h (__fsword_t): New type.
40762 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40763 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40765 (__FSWORD_T_TYPE): Likewise.
40766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40767 (__FSWORD_T_TYPE): Likewise.
40768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40769 (__FSWORD_T_TYPE): Likewise.
40770 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40771 (__FSWORD_T_TYPE): Likewise.
40772 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40773 __SWORD_TYPE with __fsword_t.
40774 (statfs64): Likewise.
40775
40776 2012-05-17 David S. Miller <davem@davemloft.net>
40777
40778 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40779
40780 2012-05-17 Andreas Jaeger <aj@suse.de>
40781
40782 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40783 warning.
40784
40785 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40786
40787 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40788
40789 2012-05-17 Andreas Jaeger <aj@suse.de>
40790
40791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40792 when it is used.
40793
40794 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40795
40796 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40797
40798 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40799
40800 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40801 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40802
40803 2012-05-17 Andreas Jaeger <aj@suse.de>
40804 Carlos O'Donell <carlos_odonell@mentor.com>
40805
40806 [BZ #14059]
40807 * sysdeps/x86_64/multiarch/init-arch.h
40808 (bit_YMM_Usable): Rename to...
40809 (bit_AVX_Usable): ... this.
40810 (bit_FMA4_Usable): New macro.
40811 (bit_XMM_state): New macro.
40812 (bit_YMM_state): New macro.
40813 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40814 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40815 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40816 (CPUID_OSXSAVE): New macro.
40817 (CPUID_AVX): New macro.
40818 (CPUID_FMA4): New macro.
40819 (index_YMM_Usable): Rename to...
40820 (index_AVX_Usable): ... this.
40821 (HAS_AVX): Use HAS_ARCH_FEATURE.
40822 (HAS_FMA4): Likewise.
40823 (HAS_YMM_USABLE): Remove.
40824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40825 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40826 are present.
40827 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40828 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40829 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40830 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40831 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40832
40833 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40834
40835 * math/libm-test.c: Support platforms without multiple rounding modes.
40836 * math/bug-nextafter.c: Support platforms without FP exceptions.
40837 * math/bug-nexttoward.c: Likewise.
40838 * math/test-fenv.c: Likewise.
40839 * math/test-misc.c: Likewise.
40840 * stdlib/bug-getcontext.c: Likewise.
40841
40842 2012-05-17 Andreas Jaeger <aj@suse.de>
40843
40844 * manual/examples/search.c (critter_cmp): Change signature to
40845 avoid warnings.
40846 * manual/string.texi (Collation Functions): Likewise.
40847
40848 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40849
40850 * bits/types.h: Fold copyright years.
40851 * bits/typesizes.h: Likewise.
40852 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40856 * time/time.h: Likewise.
40857
40858 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40859
40860 [BZ #208]
40861 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40862 in instead of returning them. Return void.
40863 (__libc_mallinfo): Accumulate over all arenas.
40864 (__malloc_stats): Adjust for change in int_mallinfo interface.
40865
40866 2012-05-16 Roland McGrath <roland@hack.frob.com>
40867
40868 [BZ #10375]
40869 * configure.in (NM): Add AC_CHECK_TOOL for it.
40870 (libc_extra_cflags): New substituted variable.
40871 Check for -fstack-protector being used implicitly.
40872 * configure: Regenerated.
40873 * config.make.in (config-extra-cflags): New variable,
40874 gets @libc_extra_cflags@.
40875 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40876
40877 [BZ #10375]
40878 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40879 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40880 * configure: Regenerated.
40881 * config.make.in (CPPUNDEFS): New substituted variable.
40882 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40883 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40884 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40885
40886 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40887
40888 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40889 (mq_attr): Use __syscall_slong_t.
40890
40891 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40892
40893 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40894 Check __x86_64__ instead of __WORDSIZE.
40895 (_STAT_VER_LINUX): Likewise.
40896 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40897 __syscall_ulong_t and __syscall_slong_t.
40898 (stat64): Likewise.
40899
40900 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40901
40902 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40903
40904 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40905
40906 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40907
40908 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40909
40910 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40911 __syscall_ulong_t.
40912
40913 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40914 include <bits/wordsize.h>. Check __x86_64__ instead of
40915 __WORDSIZE.
40916 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40917 defined.
40918 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40919
40920 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40921 include <bits/wordsize.h>. Check __x86_64__ instead of
40922 __WORDSIZE.
40923 (user_regs_struct): Use "__extension__ unsigned long long"
40924 instead of "unsigned long" if __x86_64__ is defined.
40925 (user): Likewise. Pad after pointer field if __ILP32__ is
40926 defined.
40927
40928 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40929
40930 * configure.in (makeinfo): Require version 4.5 or later. Allow
40931 versions 5 to 9.
40932 * configure: Regenerated.
40933 * manual/install.texi (texinfo): Increase version requirement to
40934 4.5 or later.
40935 * INSTALL: Regenerated.
40936
40937 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40938
40939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40940
40941 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40942
40943 * sysdeps/x86_64/x32/ffs.c: New file.
40944
40945 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40946 __syscall_ulong_t.
40947 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40948 defined. Use __syscall_ulong_t.
40949 (shminfo): Use __syscall_ulong_t.
40950 (shm_info): Likewise.
40951
40952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40953 __syscall_ulong_t.
40954
40955 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40956 <bits/wordsize.h>.
40957 (msgqnum_t): Use __syscall_ulong_t.
40958 (msglen_t): Likewise.
40959 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40960 __syscall_ulong_t.
40961
40962 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40963 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40964
40965 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40966
40967 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40968 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40969
40970 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40971 __syscall_slong_t.
40972
40973 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40974 include <bits/wordsize.h>. Check __x86_64__ instead of
40975 __WORDSIZE.
40976
40977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40978 "unsigned long long int" if __x86_64__ is defined.
40979 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40980
40981 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40982 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40983 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40984
40985 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40986 <stdint.h>.
40987 (GET_PC): Cast to uintptr_t first.
40988 (GET_FRAME): Likewise.
40989 (GET_STACK): Likewise.
40990
40991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40992 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40993 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40995 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40997 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40998 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40999 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41000 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41001 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41002 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41003 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41004 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41005 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41009 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41010 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41013 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41015 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41016 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41017 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41018 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41019 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41020
41021 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41022
41023 * Makerules (+depfiles): Also collect depfiles from .oS in
41024 $(extra-objs).
41025 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41026 .oS, $(libnldbl-routines)).
41027
41028 * Makerules (native-compile-mkdep-flags): Define.
41029 * sunrpc/Makefile (extra-objs): Add $(addprefix
41030 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41031 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41032 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41033 calling $(make-target-directory).
41034
41035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41036
41037 * bits/types.h (__snseconds_t): Removed.
41038 * time/time.h (struct timespec): Replace __snseconds_t with
41039 __syscall_slong_t.
41040 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41041 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41042 Likewise.
41043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41044 (__SNSECONDS_T_TYPE): Likewise.
41045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41046 (__SNSECONDS_T_TYPE): Likewise.
41047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41048 (__SNSECONDS_T_TYPE): Likewise.
41049
41050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41051
41052 * sysdeps/mach/hurd/bits/typesizes.h
41053 (__SYSCALL_SLONG_TYPE): New macro.
41054 (__SYSCALL_ULONG_TYPE): Likewise.
41055
41056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41057
41058 * bits/types.h (__syscall_slong_t): New type.
41059 (__syscall_ulong_t): Likewise.
41060
41061 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41062 (__SYSCALL_ULONG_TYPE): Likewise.
41063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41064 (__SYSCALL_SLONG_TYPE): Likewise.
41065 (__SYSCALL_ULONG_TYPE): Likewise.
41066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41067 (__SYSCALL_SLONG_TYPE): Likewise.
41068 (__SYSCALL_ULONG_TYPE): Likewise.
41069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41070 (__SYSCALL_SLONG_TYPE): Likewise.
41071 (__SYSCALL_ULONG_TYPE): Likewise.
41072
41073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41074
41075 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41076 Add sigaltstack-offsets.sym.
41077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41078 <sigaltstack-offsets.h>.
41079 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41080 longjmp_msg pointer.
41081 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41082 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41083 signal stack.
41084 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41085
41086 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41087
41088 * elf/stackguard-macros.h: Remove file.
41089 * sysdeps/generic/stackguard-macros.h: New file.
41090 * sysdeps/i386/stackguard-macros.h: Likewise.
41091 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41092 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41093 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41094 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41095 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41096 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41097 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41098 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41099 <elf/stackguard-macros.h>.
41100
41101 [BZ #14109]
41102 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41103 __aligned__ in attribute.
41104 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41105 (gregset_t): Likewise.
41106
41107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41108
41109 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41110 * sysdeps/x86_64/64/Implies-after: Here. New file.
41111 * sysdeps/x86_64/x32/Implies-after: New file.
41112
41113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41114
41115 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41116 and access return value for _dl_profile_fixup. Use R10_LP to
41117 load frame size.
41118
41119 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41120
41121 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41122
41123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41124
41125 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41126 * sysdeps/x86_64/x32/sysdep.h: New file.
41127
41128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41129
41130 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41131 * sysdeps/x86_64/setjmp.S: Likewise.
41132
41133 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41134
41135 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41137 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41138 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41139 remove unused global constant.
41140
41141 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41142
41143 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41144 include of <not-cancel.h>.
41145
41146 2012-05-15 Roland McGrath <roland@hack.frob.com>
41147
41148 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41149
41150 2012-05-15 Jeff Law <law@redhat.com>
41151 Andreas Jaeger <aj@suse.de>
41152
41153 [BZ #13594]
41154 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41155 out from...
41156 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41157 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41158 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41159 code changing __hst_map_handle.map.
41160
41161 2012-05-15 Roland McGrath <roland@hack.frob.com>
41162
41163 * configure.in (sysnames): Look for Implies-before and Implies-after
41164 files.
41165 * configure: Regenerated.
41166
41167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41168
41169 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41170 8-byte data alignment with LP_SIZE alignment.
41171
41172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41173
41174 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41175 into R10_LP.
41176
41177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41178
41179 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41180
41181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41182
41183 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41184 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41186 Likewise.
41187 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41188
41189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41190
41191 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41192 (stackinfo_sub_sp): Likewise.
41193
41194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41195
41196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41197 RAX_LP.
41198
41199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41200
41201 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41202 into R*_LP.
41203
41204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41205
41206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41207 sizes into R*_LP.
41208
41209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41210
41211 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41212
41213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41214
41215 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41216 into R11_LP and load __x86_64_shared_cache_size_half into
41217 R8_LP.
41218
41219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41220
41221 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41222 R8_LP.
41223
41224 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41225
41226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41227 logb for POWER7.
41228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41229 logbf for POWER7.
41230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41231 logbl for POWER7.
41232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41233 powerpc32/power7/fpu/s_logb.c via #include.
41234 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41235 powerpc32/power7/fpu/s_logbf.c via #include.
41236 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41237 powerpc32/power7/fpu/s_logbl.c via #include.
41238
41239 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41240
41241 * README.libm: Remove file.
41242
41243 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41244
41245 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41246 count for x32. Use R*_LP and omit operand-size suffix.
41247
41248 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41249
41250 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41251 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41252 * sysdeps/x86_64/x32/shlib-versions: New file.
41253
41254 2012-05-14 Roland McGrath <roland@hack.frob.com>
41255
41256 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41257 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41258 Use _dl_fatal_printf instead.
41259
41260 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41261
41262 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41263 set if not set by the user. Do not allow for being unset.
41264 * sysdeps/unix/sysv/linux/configure: Regenerated.
41265
41266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41267
41268 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41269 the `q' suffix from lea and replace .quad with ASM_ADDR.
41270
41271 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41272
41273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41274 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41275 instead of $17.
41276 (PTR_DEMANGLE): Likewise.
41277
41278 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41279
41280 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41281 (LP_OP): Likewise.
41282 (ASM_ADDR): Likewise.
41283 (RAX_LP): Likewise.
41284 (RBP_LP): Likewise.
41285 (RBX_LP): Likewise.
41286 (RCX_LP): Likewise.
41287 (RDI_LP): Likewise.
41288 (RSI_LP): Likewise.
41289 (RSP_LP): Likewise.
41290 (R8_LP): Likewise.
41291 (R9_LP): Likewise.
41292 (R10_LP): Likewise.
41293 (R10_LP): Likewise.
41294 (R11_LP): Likewise.
41295 (R12_LP): Likewise.
41296 (R13_LP): Likewise.
41297 (R14_LP): Likewise.
41298 (R15_LP): Likewise.
41299
41300 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41301
41302 * sysdeps/x86_64/x32/dl-machine.h: New file.
41303
41304 2012-05-14 Andreas Jaeger <aj@suse.de>
41305
41306 * manual/Makefile (subdir): Remove export of subdir.
41307 (all): Remove target.
41308 (.PHONY): Remove all from list.
41309 (mkinstalldirs): Remove.
41310 (.PHONY): Remove installdirs from list.
41311 ($(inst_infodir)/libc.info): Use make-target-directory.
41312 (installdirs): Remove.
41313 (subdir_%): Remove.
41314 (glibc-targets): Remove.
41315 (lib): Remove.
41316 (stubs): Remove.
41317 ($(objpfx)stubs ../po/manual.pot): Remove.
41318 ($(objpfx)stamp%): Remove.
41319 (make-target-directory): Remove.
41320 (subdir_install): Remove.
41321 (routines): Remove.
41322 (aux): Remove.
41323 (sources): Remove.
41324 (objects): Remove.
41325 (headers): Remove.
41326
41327 [BZ #13750]
41328 * manual/.gitignore: Remove, it's not needed anymore.
41329 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41330 all files in it.
41331 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41332 directory.
41333 (texis): Renamed to $(objpfx)texis.
41334 (texis-path): New, contains path to generated files.
41335 (chapters.%): Use texis-path for complete path, add extra argument
41336 libc-texinfo.sh.
41337 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41338 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41339 (summary,texi, stamp-summary): Use complete path of
41340 files. Generate files in build dir.
41341 (dir-add.texi): Build in build dir.
41342 (libm-err.texi,stamp-libm-err): Likewise.
41343 (version.texi, stamp-version): Likewise.
41344 (.%c.texi): Likewise.
41345 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41346 (mostlyclean): Remove target.
41347 (realclean): Remove target.
41348 (generated): Add new variable with contents from mostlyclean and
41349 realclean, remove entries duplicated in common-mostlyclean, add
41350 stamp-libm-err and stamp-version.
41351 (generated-dirs): Add libc directory.
41352 ($(inst_infodir)/libc.info): Install files from build dir.
41353
41354 * manual/install.texi (Configuring and compiling): Adjust since
41355 the info files are not part of the tar ball anymore.
41356
41357 2012-05-14 Andreas Jaeger <aj@suse.de>
41358
41359 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41360 variable.
41361
41362 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41363
41364 [BZ #13717]
41365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41366 to 2.2.0 where earlier.
41367 * sysdeps/unix/sysv/linux/configure: Regenerated.
41368 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41369 Remove conditional code.
41370 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41371 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41372 Remove conditional code.
41373 [!__NR_lchown]: Likewise.
41374 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41375 [__NR_lchown]: Likewise.
41376 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41377 comment referencing __ASSUME_LCHOWN_SYSCALL.
41378 * sysdeps/unix/sysv/linux/i386/sigaction.c
41379 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41380 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41381 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41382 Remove conditional code.
41383 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41384 (__protocol_available): Remove #if 0 code.
41385 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41386 conditional code.
41387 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41388 * sysdeps/unix/sysv/linux/kernel-features.h
41389 (__ASSUME_GETCWD_SYSCALL): Don't define.
41390 (__ASSUME_REALTIME_SIGNALS): Likewise.
41391 (__ASSUME_PREAD_SYSCALL): Likewise.
41392 (__ASSUME_PWRITE_SYSCALL): Likewise.
41393 (__ASSUME_POLL_SYSCALL): Likewise.
41394 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41395 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41396 non-SPARC.
41397 (__ASSUME_SIOCGIFNAME): Don't define.
41398 (__ASSUME_MSG_NOSIGNAL): Likewise.
41399 (__ASSUME_SENDFILE): Define unconditionally.
41400 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41401 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41402 conditional code.
41403 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41404 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41405 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41406 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41407 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41408 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41409 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41411 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41414 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41415 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41417 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41420 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41421 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41423 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41424 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41426 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41427 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41429 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41432 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41433 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41434 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41435 Remove conditional code.
41436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41437 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41438 Remove conditional code.
41439 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41440 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41441 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41442 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41443 Remove conditional code.
41444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41445 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41446 Remove conditional code.
41447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41448 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41449 Remove conditional code.
41450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41451 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41452 Remove conditional code.
41453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41454 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41455 Remove conditional code.
41456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41457 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41458 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41459 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41460 * sysdeps/unix/sysv/linux/sigaction.c
41461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41463 * sysdeps/unix/sysv/linux/sigpending.c
41464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41466 * sysdeps/unix/sysv/linux/sigprocmask.c
41467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41469 * sysdeps/unix/sysv/linux/sigsuspend.c
41470 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41471 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41472 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41473 (__libc_missing_rt_sigs): Remove.
41474 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41475 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41476 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41477 Remove conditional code.
41478 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41479 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41480 return 1.
41481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41482 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41484 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41485
41486 2012-05-14 Andreas Jaeger <aj@suse.de>
41487
41488 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41489 it's not used in glibc.
41490 (__coshm1): Likewise.
41491 (__acosh1p): Likewise.
41492 (__sgn): Likewise.
41493
41494 * manual/string.texi (Copying and Concatenation): Add missing
41495 variable in concat example.
41496 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41497
41498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41499
41500 [BZ #14103]
41501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41502 __builtin_clzl with __builtin_clzll.
41503
41504 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41505
41506 [BZ #14104]
41507 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41508 libc_freeres_ptr.
41509
41510 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41511
41512 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41513 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41514 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41515 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41516
41517 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41518
41519 * NEWS: Update ia64 info.
41520
41521 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41522
41523 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41524 used as bcopy.
41525
41526 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41527
41528 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41529 * sysdeps/unix/syscalls.list (dup3): Likewise.
41530 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41531 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41532
41533 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41534
41535 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41536 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41537
41538 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41539
41540 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41541 thread pointer.
41542 (TLS_IE): Use mov/add instead of movq/addq to load thread
41543 pointer.
41544 (TLS_GD_PREFIX): New.
41545 (TLS_GD): Use it.
41546
41547 2012-05-11 David S. Miller <davem@davemloft.net>
41548
41549 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41550 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41551 (_FPU_SETCW): Likewise.
41552
41553 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41554
41555 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41556 is 32-byte aligned.
41557
41558 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41559
41560 [BZ #11837]
41561 * iconvdata/gb18030.c: Update tables.
41562 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41563 characters specially.
41564 (BODY for TO_LOOP): Add encoding of missing ranges.
41565
41566 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41567
41568 [BZ #13673]
41569 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41570 * sysdeps/mach/hurd/dup3.c: Likewise.
41571 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41572 * sysdeps/powerpc/memmove.c:: Likewise.
41573
41574 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41575
41576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41577 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41578
41579 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41580
41581 * elf/elf.h (R_X86_64_RELATIVE64): New.
41582 (R_X86_64_NUM): Updated.
41583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41584 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41585 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41586 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41587 tst-quad1pie tst-quad2pie
41588 (modules-names): Add tst-quadmod1 tst-quadmod2.
41589 ($(objpfx)tst-quad1): New dependency.
41590 ($(objpfx)tst-quad2): Likewise.
41591 ($(objpfx)tst-quad1pie): Likewise.
41592 ($(objpfx)tst-quad2pie): Likewise.
41593 * sysdeps/x86_64/tst-quad1.c: New file.
41594 * sysdeps/x86_64/tst-quad1pie.c: New file.
41595 * sysdeps/x86_64/tst-quad2.c: Likewise.
41596 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41597 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41598 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41599 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41600 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41601
41602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41603
41604 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41605 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41606 * streams/stropts.h (t_scalar_t): Define type.
41607
41608 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41609 (_PATH_PRESERVE): Set to "/var/lib".
41610 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41611
41612 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41613 instead of int.
41614
41615 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41616 if __dir_mkfile succeeded.
41617
41618 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41619 checking for _hurd_dtablesize. Unlock it right after having
41620 finished _hurd_dtable allocation.
41621
41622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41623
41624 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41625 * sysdeps/mach/hurd/configure: Regenerated.
41626 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41627 special-casing to...
41628 * sysdeps/gnu/configure.in: ... this new file.
41629 * sysdeps/unix/sysv/linux/configure: Regenerated.
41630 * sysdeps/gnu/configure: New generated file.
41631
41632 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41633 for Linux: use nsec instead of usec, as well as:
41634 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41635 members of type struct timespec.
41636 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41637 New macros.
41638 (struct stat64): Likewise.
41639 (_STATBUF_ST_NSEC): New macro.
41640 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41641
41642 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41643 __strtoul_internal rather than strtoul.
41644
41645 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41646
41647 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41648 and reject them.
41649
41650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41651
41652 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41653 which preserves existing values.
41654 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41655
41656 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41657
41658 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41659 TIMEOUT values. Return EINVAL for NFDS values either negative or
41660 greater than FD_SETSIZE.
41661
41662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41663
41664 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41665 allocated, call __vm_protect to finish enabling the existing space, and
41666 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41667 allocate the remainder.
41668
41669 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41670
41671 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41672 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41673
41674 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41675
41676 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41677 sysdeps/mach/hurd/readlink.c.
41678
41679 * posix/tst-sysconf.c (posix_options): Only use
41680 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41681 _POSIX_SYNCHRONIZED_IO when they are defined
41682 * sysdeps/mach/hurd/bits/posix_opt.h:
41683 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41684 (_XOPEN_REALTIME): Undefine macro.
41685 (_XOPEN_REALTIME_THREADS): Undefine macro.
41686 (_XOPEN_SHM): Undefine macro.
41687 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41688 macro to -1.
41689 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41690 macro to -1.
41691 (_POSIX_ASYNC_IO): Undefine macro.
41692 (_POSIX_PRIORITIZED_IO): Undefine macro.
41693 (_POSIX_SPIN_LOCKS): Define macro to -1.
41694
41695 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41696 SA_NODEFER, SA_RESETHAND.
41697 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41698 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41699 F_DUPFD_CLOEXEC.
41700
41701 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41702
41703 * elf/Makefile (pldd-modules): Define unconditionally.
41704
41705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41706
41707 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41708
41709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41710
41711 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41712 Return ENOENT when name is empty.
41713 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41714
41715 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41716
41717 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41718
41719 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41720
41721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41722
41723 Fix mlock in all cases except non-readable pages.
41724 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41725 instead of VM_PROT_ALL as parameter to __vm_wire function.
41726
41727 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41728 (__mkdir): When path is `/', just fail with EEXIST.
41729 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41730
41731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41732
41733 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41734 <sys/uio.h> (for writev).
41735 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41736 and <sys/param.h> (for MIN).
41737
41738 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41739
41740 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41741 REQUESTED_TIME. Properly set the remaining time and return EINTR
41742 if interrupted.
41743
41744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41745
41746 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41747 Depend on against $(link-rpcuserlibs).
41748
41749 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41750
41751 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41752 (__libc_stack_end): Do not use attribute_relro.
41753 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41754 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41755 to libthread-provided value.
41756 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41757 attribute_relro.
41758
41759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41760
41761 [BZ #3748]
41762 * bits/libc-lock.h (__libc_once_get): New macro.
41763 * sysdeps/mach/bits/libc-lock.h: Likewise.
41764 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41766 instead of using implementation details.
41767
41768 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41769 * libio/freopen.c: Likewise.
41770 * libio/freopen64.c: Likewise.
41771 * misc/syslog.c: Likewise.
41772 * nscd/connections.c: Likewise.
41773 * nscd/netgroupcache.c: Likewise.
41774 * sysdeps/posix/getcwd.c: Likewise.
41775
41776 2012-05-10 Roland McGrath <roland@hack.frob.com>
41777
41778 * math/w_ilogbf.c: Add #include <limits.h>.
41779
41780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41781
41782 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41783 path instead of returning without unlocking.
41784
41785 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41786 immediate-write ioctls.
41787 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41788
41789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41790
41791 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41792 __builtin_frame_address instead of making assumptions about the
41793 location of the return address relative to DATA. Force early load of
41794 the return address.
41795 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41796 __builtin_frame_address.
41797
41798 dup3 for GNU Hurd.
41799 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41800 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41801 implement dup3 and do some further code clean-ups.
41802 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41803 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41804
41805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41806
41807 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41808
41809 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41810 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41811 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41812 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41813 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41814 d->port.lock.
41815
41816 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41817 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41818 when handler == SIG_ERR, not when handler != SIG_ERR.
41819
41820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41821
41822 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41823 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41824 definitions.
41825
41826 accept4 for GNU Hurd.
41827 * include/sys/socket.h (__libc_accept4): New prototype.
41828 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41829 to implement __libc_accept4.
41830 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41831 __libc_accept4.
41832 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41833
41834 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41835 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41836 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41837 signal-defines.sym.
41838
41839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41840
41841 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41842
41843 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41844
41845 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41846 assertion on O_CLOEXEC flag.
41847 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41848 * hurd/intern-fd.c: Likewise.
41849 * hurd/port2fd.c: Likewise.
41850
41851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41852
41853 [BZ #3906]
41854 * bits/in.h (IPV6_PKTINFO): Define new macro.
41855 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41856
41857 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41858
41859 [BZ #13954]
41860 [BZ #13955]
41861 [BZ #13956]
41862 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41864 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41865 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41867 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41868 * math/libm-test.inc (logb_test) : Additional logb tests.
41869
41870 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41871 Andreas Jaeger <aj@suse.de>
41872
41873 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41874 * configure: Regenerated.
41875 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41876 * config.make.in (link-obsolete-rpc): New substituted variable.
41877 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41878 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41879 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41880 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41881 so that libc.a contains the symbols.
41882 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41883 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41884 * sunrpc/auth_none.c: Likewise.
41885 * sunrpc/auth_unix.c: Likewise.
41886 * sunrpc/authdes_prot.c: Likewise.
41887 * sunrpc/authuxprot.c: Likewise.
41888 * sunrpc/clnt_gen.c: Likewise.
41889 * sunrpc/clnt_perr.c: Likewise.
41890 * sunrpc/clnt_raw.c: Likewise.
41891 * sunrpc/clnt_simp.c: Likewise.
41892 * sunrpc/clnt_tcp.c: Likewise.
41893 * sunrpc/clnt_udp.c: Likewise.
41894 * sunrpc/clnt_unix.c: Likewise.
41895 * sunrpc/des_crypt.c: Likewise.
41896 * sunrpc/des_soft.c: Likewise.
41897 * sunrpc/get_myaddr.c: Likewise.
41898 * sunrpc/key_call.c: Likewise.
41899 * sunrpc/key_prot.c: Likewise.
41900 * sunrpc/netname.c: Likewise.
41901 * sunrpc/pm_getmaps.c: Likewise.
41902 * sunrpc/pm_getport.c: Likewise.
41903 * sunrpc/pmap_clnt.c: Likewise.
41904 * sunrpc/pmap_prot.c: Likewise.
41905 * sunrpc/pmap_prot2.c: Likewise.
41906 * sunrpc/pmap_rmt.c: Likewise.
41907 * sunrpc/publickey.c: Likewise.
41908 * sunrpc/rpc_cmsg.c: Likewise.
41909 * sunrpc/rpc_common.c: Likewise.
41910 * sunrpc/rpc_dtable.c: Likewise.
41911 * sunrpc/rpc_prot.c: Likewise.
41912 * sunrpc/rpc_thread.c: Likewise.
41913 * sunrpc/rtime.c: Likewise.
41914 * sunrpc/svc.c: Likewise.
41915 * sunrpc/svc_auth.c: Likewise.
41916 * sunrpc/svc_raw.c: Likewise.
41917 * sunrpc/svc_run.c: Likewise.
41918 * sunrpc/svc_tcp.c: Likewise.
41919 * sunrpc/svc_udp.c: Likewise.
41920 * sunrpc/svc_unix.c: Likewise.
41921 * sunrpc/svcauth_des.c: Likewise.
41922 * sunrpc/xcrypt.c: Likewise.
41923 * sunrpc/xdr.c: Likewise.
41924 * sunrpc/xdr_array.c: Likewise.
41925 * sunrpc/xdr_float.c: Likewise.
41926 * sunrpc/xdr_intXX_t.c: Likewise.
41927 * sunrpc/xdr_mem.c: Likewise.
41928 * sunrpc/xdr_rec.c: Likewise.
41929 * sunrpc/xdr_ref.c: Likewise.
41930 * sunrpc/xdr_sizeof.c: Likewise.
41931 * sunrpc/xdr_stdio.c: Likewise.
41932
41933 2012-05-10 Roland McGrath <roland@hack.frob.com>
41934
41935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41936 change. Update copyright years.
41937
41938 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41939
41940 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41941
41942 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41943 Joseph Myers <joseph@codesourcery.com>
41944 Paul Pluzhnikov <ppluzhnikov@google.com>
41945
41946 [BZ #14012]
41947 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41948 requiring rpcgen.
41949 [cross-compiling] (extra-libs): Likewise.
41950 [cross-compiling] (extra-libs-others): Likewise.
41951 [cross-compiling] (librpcsvc-routines): Likewise.
41952 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41953 [cross-compiling] (omit-deps): Likewise.
41954 (sunrpc-CPPFLAGS): New variable.
41955 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41956 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41957 (cross-rpcgen-objs): New variable.
41958 (extra-objs): Append $(cross-rpcgen-objs).
41959 ($(cross-rpcgen-objs)): New rule.
41960 ($(objpfx)cross-rpcgen): Likewise.
41961 (rpcgen-cmd): Define to use $(built-program-file). Expand
41962 comment.
41963 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41964 ($(objpfx)x%.stmp): Likewise.
41965 * sunrpc/proto.h [IS_IN_build] (_): Define.
41966 [IS_IN_build] (_libc_intl_domainname): Likewise.
41967
41968 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41969
41970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41971 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41972 and R_X86_64_TPOFF64.
41973
41974 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41975
41976 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41977 sysdeps/unix/sysv/syscalls.list.
41978 (stime): Likewise.
41979 (utime): Likewise.
41980 * sysdeps/unix/sysv/syscalls.list: Remove file.
41981
41982 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41983
41984 [BZ #3440]
41985 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41986 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41987 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41988 (__LC_IDENTIFICATION): Make these macros useful in #if
41989 expressions, as required by C99.
41990
41991 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41992
41993 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41994 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41995 after this.
41996
41997 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41998
41999 * stdlib/longlong.h: Updated from GCC.
42000
42001 2012-05-09 Andreas Jaeger <aj@suse.de>
42002
42003 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42004 default is first entry.
42005 (run_mode): Set type.
42006 (main): Remove informal message about syslog.
42007 (options): Fix typo.
42008
42009 [BZ #14053]
42010 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42011 to asm.
42012 (lrint): Likewise.
42013 (llrintf): Likewise.
42014 (llrint): Likewise.
42015 (rint): Likewise.
42016 (rintf): Likewise.
42017 (nearbyint): Likewise.
42018 (nearbyintf): Likewise.
42019
42020 2012-05-09 Andreas Jaeger <aj@suse.de>
42021 Pedro Alves <palves@redhat.com>
42022
42023 * nscd/nscd.c (run_mode): Use enum.
42024 (main): Cleanup coding style issue.
42025
42026 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42027 Andreas Jaeger <aj@suse.de>
42028
42029 * nscd/nscd.c (go_background): Replaced with...
42030 (run_mode): ... this.
42031 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42032 (options): Add -F --foreground.
42033 (main): Implement it.
42034 (parse_opt): Parse it.
42035
42036 2012-05-09 Andreas Jaeger <aj@suse.de>
42037
42038 [BZ #14083]
42039 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42040 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42041 -Wconversion warning.
42042 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42043 Likewise.
42044
42045 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42046
42047 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42048 == 0.
42049 (LC_ALL): Use macro-int-constant.
42050 (LC_COLLATE): Likewise.
42051 (LC_CTYPE): Likewise.
42052 (LC_MESSAGES): Likewise.
42053 (LC_MONETARY): Likewise.
42054 (LC_NUMERIC): Likewise.
42055 (LC_TIME): Likewise.
42056 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42057 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42059 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42060 Specify type.
42061 [C99-based standards] (float_t): Expect type.
42062 [C99-based standards] (double_t): Expect type.
42063 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42064 type.
42065 [C99-based standards] (HUGE_VALL): Likewise.
42066 [C99-based standards] (INFINITY): Likewise.
42067 [C99-based standards] (NAN): Likewise.
42068 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42069 [C99-based standards] (FP_NAN): Likewise.
42070 [C99-based standards] (FP_NORMAL): Likewise.
42071 [C99-based standards] (FP_SUBNORMAL): Likewise.
42072 [C99-based standards] (FP_ZERO): Likewise.
42073 [C99-based standards] (FP_FAST_FMA): Use
42074 optional-macro-int-constant. Specify type. Require == 1.
42075 [C99-based standards] (FP_FAST_FMAF): Likewise.
42076 [C99-based standards] (FP_FAST_FMAL): Likewise.
42077 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42078 [C99-based standards] (FP_ILOGBNAN): Likewise.
42079 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42080 Specify type.
42081 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42082 [C99-based standards] (math_errhandling): Specify type.
42083 [ISO99 || ISO11] (signgam): Do not allow.
42084 [non-C99-based standards] (copysignf): Do not allow.
42085 [non-C99-based standards] (exp2f): Likewise.
42086 [non-C99-based standards] (log2f): Likewise.
42087 [non-C99-based standards] (modff): Allow.
42088 [non-C99-based standards] (erff): Do not allow.
42089 [non-C99-based standards] (erfcf): Likewise.
42090 [non-C99-based standards] (gammaf): Likewise.
42091 [non-C99-based standards] (hypotf): Likewise.
42092 [non-C99-based standards] (j0f): Likewise.
42093 [non-C99-based standards] (j1f): Likewise.
42094 [non-C99-based standards] (jnf): Likewise.
42095 [non-C99-based standards] (lgammaf): Likewise.
42096 [non-C99-based standards] (tgammaf): Likewise.
42097 [non-C99-based standards] (y0f): Likewise.
42098 [non-C99-based standards] (y1f): Likewise.
42099 [non-C99-based standards] (ynf): Likewise.
42100 [non-C99-based standards] (isnanf): Likewise.
42101 [non-C99-based standards] (acoshf): Likewise.
42102 [non-C99-based standards] (asinhf): Likewise.
42103 [non-C99-based standards] (atanhf): Likewise.
42104 [non-C99-based standards] (cbrtf): Likewise.
42105 [non-C99-based standards] (expm1f): Likewise.
42106 [non-C99-based standards] (ilogbf): Likewise.
42107 [non-C99-based standards] (log1pf): Likewise.
42108 [non-C99-based standards] (logbf): Likewise.
42109 [non-C99-based standards] (nextafterf): Likewise.
42110 [non-C99-based standards] (remainderf): Likewise.
42111 [non-C99-based standards] (rintf): Likewise.
42112 [non-C99-based standards] (scalbf): Likewise.
42113 [non-C99-based standards] (copysignl): Likewise.
42114 [non-C99-based standards] (exp2l): Likewise.
42115 [non-C99-based standards] (log2l): Likewise.
42116 [non-C99-based standards] (modfl): Allow.
42117 [non-C99-based standards] (erfl): Do not allow.
42118 [non-C99-based standards] (erfcl): Likewise.
42119 [non-C99-based standards] (gammal): Likewise.
42120 [non-C99-based standards] (hypotl): Likewise.
42121 [non-C99-based standards] (j0l): Likewise.
42122 [non-C99-based standards] (j1l): Likewise.
42123 [non-C99-based standards] (jnl): Likewise.
42124 [non-C99-based standards] (lgammal): Likewise.
42125 [non-C99-based standards] (tgammal): Likewise.
42126 [non-C99-based standards] (y0l): Likewise.
42127 [non-C99-based standards] (y1l): Likewise.
42128 [non-C99-based standards] (ynl): Likewise.
42129 [non-C99-based standards] (isnanl): Likewise.
42130 [non-C99-based standards] (acoshl): Likewise.
42131 [non-C99-based standards] (asinhl): Likewise.
42132 [non-C99-based standards] (atanhl): Likewise.
42133 [non-C99-based standards] (cbrtl): Likewise.
42134 [non-C99-based standards] (expm1l): Likewise.
42135 [non-C99-based standards] (ilogbl): Likewise.
42136 [non-C99-based standards] (log1pl): Likewise.
42137 [non-C99-based standards] (logbl): Likewise.
42138 [non-C99-based standards] (nextafterl): Likewise.
42139 [non-C99-based standards] (remainderl): Likewise.
42140 [non-C99-based standards] (rintl): Likewise.
42141 [non-C99-based standards] (scalbl): Likewise.
42142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42143 [non-C99-based standards] (FP_*): Do not allow.
42144 [C99-based standards] (FP_*): Change to
42145 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42146 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42147 allow.
42148 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42149 (SIG_ERR): Likewise.
42150 [X/Open-based standards] (SIG_HOLD): Likewise.
42151 (SIG_IGN): Likewise.
42152 (SIGABRT): Use macro-int-constant. Specify type. Require
42153 positive value.
42154 (SIGFPE): Likewise.
42155 (SIGILL): Likewise.
42156 (SIGINT): Likewise.
42157 (SIGSEGV): Likewise.
42158 (SIGTER): Likewise.
42159 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42160 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42161 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42162 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42163 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42164 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42165 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42166 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42167 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42168 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42169 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42170 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42171 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42172 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42173 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42174 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42175 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42176 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42177 [X/Open-based standards] (SIGTRAP): Likewise.
42178 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42179 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42180 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42181 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42182 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42183 allow.
42184
42185 2012-05-08 Ian Wienand <ianw@vmware.com>
42186
42187 [BZ #14080]
42188 * time/tzset.c (__tzset_parse_tz): Update default rules for
42189 daylight time changes in the Energy Policy Act of 2005.
42190
42191 2012-05-09 Andreas Jaeger <aj@suse.de>
42192
42193 [BZ #13983]
42194 * elf/ldconfig.c (parse_conf): Change string to make clear that
42195 ldconfig only issued a warning if ld.so.conf does not exist.
42196
42197 2012-05-08 David S. Miller <davem@davemloft.net>
42198
42199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42200 movxtod instead of popping the value on the stack.
42201
42202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42203
42204 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42205
42206 * config.h.in: Add HAVE_ARM_PCS_VFP.
42207
42208 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42209
42210 [BZ #13979]
42211 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42212 checking but the checks are disabled for any reason.
42213
42214 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42215
42216 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42217 and ELF64_R_TYPE with ELFW(R_TYPE).
42218
42219 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42220
42221 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42222 (ulimit): Likewise.
42223
42224 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42225 (settimeofday): Likewise.
42226
42227 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42228
42229 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42230 a struct th_u2 inside the union, and move tu_block/tu_code into
42231 a new th_u3 union of tu_block/tu_code inside of that. Move
42232 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42233 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42234 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42235 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42236 (th_stuff): Change to th_u1.tu_stuff.
42237 (th_data): Define.
42238 (th_msg): Change to th_u1.th_u2.tu_data.
42239
42240 2012-05-07 David S. Miller <davem@davemloft.net>
42241
42242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42243
42244 [BZ #14074]
42245 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42246 (SETUP_PIC_REG): Use it.
42247 (SETUP_PIC_REG_LEAF): Use it.
42248
42249 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42250
42251 [BZ #13885]
42252 [BZ #13923]
42253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42254 USE_AS_EXPM1L.
42255 (EXPL_FINITE): Likewise.
42256 (FLDLOG): Likewise.
42257 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42258 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42259 e_expl.S.
42260 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42261 USE_AS_EXPM1L.
42262 (EXPL_FINITE): Likewise.
42263 (FLDLOG): Likewise.
42264 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42265 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42266 e_expl.S.
42267 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42268 test of -max_value argument for long double.
42269 * sysdeps/i386/fpu/libm-test-ulps: Update.
42270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42271
42272 2012-05-06 David S. Miller <davem@davemloft.net>
42273
42274 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42275 quad soft-float symbols whose references which are compiler
42276 generated.
42277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42278
42279 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42280
42281 [BZ #13884]
42282 [BZ #13914]
42283 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42284 USE_AS_EXP10L.
42285 (EXPL_FINITE): Likewise.
42286 (FLDLOG): Likewise.
42287 (c0): Likewise.
42288 (c1): Likewise.
42289 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42290 Adjust comments for base varying.
42291 (__expl_finite): Change alias to EXPL_FINITE.
42292 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42293 e_expl.S.
42294 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42295 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42296 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42297 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42298 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42299 USE_AS_EXP10L.
42300 (EXPL_FINITE): Likewise.
42301 (FLDLOG): Likewise.
42302 (c0): Likewise.
42303 (c1): Likewise.
42304 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42305 Adjust comments for base varying.
42306 (__expl_finite): Change alias to EXPL_FINITE.
42307 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42308 tests for bugs.
42309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42310
42311 [BZ #14064]
42312 * math/libm-test.inc (check_float_internal): Correct ulp
42313 calculation for subnormal expected results.
42314
42315 2012-05-06 Andreas Jaeger <aj@suse.de>
42316
42317 * Makeconfig (+math-flags): New, set to -frounding-math.
42318 (+cflags): Add +math-flags so that all of glibc gets compiled with
42319 it.
42320
42321 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42322
42323 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42324
42325 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42326 Disable one test.
42327
42328 [BZ #13787]
42329 [BZ #13922]
42330 [BZ #14036]
42331 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42332 (__ieee754_expl): Allow for and saturate large arguments.
42333 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42334 (u_threshold): Likewise.
42335 (__exp): Call __ieee754_exp before checking for overflow and
42336 underflow.
42337 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42338 (u_threshold): Likewise.
42339 (__expf): Call __ieee754_expf before checking for overflow and
42340 underflow.
42341 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42342 (u_threshold): Likewise.
42343 (__expl): Call __ieee754_expl before checking for overflow and
42344 underflow.
42345 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42346 (__ieee754_expl): Allow for and saturate large arguments.
42347 * math/libm-test.inc (exp_test): Add another test. Do not allow
42348 missing overflow exception on overflow.
42349 (expm1_test): Do not allow missing overflow exception on overflow.
42350
42351 * sysdeps/i386/fpu/e_expl.c: Move to ...
42352 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42353 rather than using inline asm.
42354 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42355 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42356 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42357
42358 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42359 (nice): Likewise.
42360 (poll): Likewise.
42361 (signal): Likewise.
42362 (time): Likewise.
42363 (times): Likewise.
42364
42365 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42366
42367 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42368 sysdeps/unix/common/syscalls.list.
42369 (fchmod): Likewise.
42370 (fchown): Likewise.
42371 (ftruncate): Likewise.
42372 (getrusage): Likewise.
42373 (gettimeofday): Likewise.
42374 (setpgid): Likewise.
42375 (setregid): Likewise.
42376 (setreuid): Likewise.
42377 (sigaction): Likewise.
42378 (truncate): Likewise.
42379 (vhangup): Likewise.
42380 * sysdeps/unix/common/syscalls.list: Remove file.
42381 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42382 * sysdeps/unix/sysv/linux/Implies: Likewise.
42383
42384 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42385
42386 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42388 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42389 Moved to ...
42390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42391 Here.
42392 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42393 to ...
42394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42395 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42396 to ...
42397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42398 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42399 to ...
42400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42401 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42402 to ...
42403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42404 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42405 to ...
42406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42407 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42408 to ...
42409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42410 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42411 to ...
42412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42413 Here.
42414 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42415 to ...
42416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42417 Here.
42418 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42419 to ...
42420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42421 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42422 Moved to ...
42423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42424 Here.
42425 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42426 to ...
42427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42428
42429 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42430
42431 * sysdeps/unix/common/bits/dirent.h: Remove file.
42432 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42433
42434 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42435 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42436 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42437 * sysdeps/unix/bsd/isatty.c: Likewise.
42438 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42439 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42440 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42441
42442 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42443
42444 [BZ #13563]
42445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42446 long double comparison inaccuracies.
42447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42449
42450 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42451
42452 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42454
42455 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42456
42457 [BZ #14049]
42458 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42459 nonzero digits before rounding a hex value.
42460 * stdlib/tst-strtod.c (tests): Add another test.
42461
42462 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42463
42464 * sysdeps/s390/fpu/libm-test-ulps: Update.
42465
42466 2012-05-03 Andreas Jaeger <aj@suse.de>
42467
42468 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42469 does not get optimized out.
42470 (malloc_opt_barrier): New.
42471
42472 2012-05-03 Andreas Jaeger <aj@suse.de>
42473 Roland McGrath <roland@hack.frob.com>
42474
42475 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42476 intermediate file deletion.
42477 (generated): Add .symlist files.
42478
42479 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42480
42481 [BZ #13775]
42482 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42483 Redirect under this condition.
42484 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42485 [__USE_GNU] (__dprintf_chk): Not under this condition.
42486 [__USE_GNU] (__vdprintf_chk): Likewise.
42487 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42488 under this condition.
42489 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42490 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42491 [__USE_XOPEN2K8] (vdprintf): Likewise.
42492 [__USE_GNU] (__dprintf_chk): Not under this condition.
42493 [__USE_GNU] (__vdprintf_chk): Likewise.
42494 [__USE_GNU] (dprintf): Likewise.
42495 [__USE_GNU] (vdprintf): Likewise.
42496
42497 2012-05-03 Roland McGrath <roland@hack.frob.com>
42498
42499 * elf/Makefile (common-generated): Set this instead of generated for
42500 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42501 $(all-built-dso)-derived lists.
42502
42503 2012-05-03 Andreas Jaeger <aj@suse.de>
42504
42505 * sysdeps/i386/fpu/libm-test-ulps: Update.
42506
42507 * FAQ: Removed.
42508 * FAQ.in: Likewise.
42509 * scripts/gen-FAQ.pl: Likewise.
42510 * manual/install.texi (Installation): Point to online location of
42511 FAQ.
42512 * Makefile (files-for-dist): Remove FAQ.
42513 (FAQ): Remove.
42514
42515 2012-05-02 Allan McRae <allan@archlinux.org>
42516
42517 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42518 (LDFLAGS-reldepmod5.so): Likewise.
42519 (LDFLAGS-reldep6mod1.so): Likewise.
42520 (LDFLAGS-reldep6mod4.so): Likewise.
42521 (LDFLAGS-reldep8mod3.so): Likewise.
42522 (LDFLAGS-unload4mod1.so): Likewise.
42523 (LDFLAGS-unload4mod2.so): Likewise.
42524 (LDFLAGS-tst-initorder): Likewise.
42525 (LDFLAGS-tst-initordera2.so): Likewise.
42526 (LDFLAGS-tst-initordera3.so): Likewise.
42527 (LDFLAGS-tst-initordera4.so): Likewise.
42528 (LDFLAGS-tst-initorderb2.so): Likewise.
42529 (LDFLAGS-noload): Likewise.
42530 (LDFLAGS-next): Likewise.
42531 (LDFLAGS-order2mod1.so): Likewise.
42532 (LDFLAGS-order2mod2.so): Likewise.
42533 (LDFLAGS-tst-initorder2): Likewise.
42534 (LDFLAGS-tst-initorder2a.so): Likewise.
42535 (LDFLAGS-tst-initorder2b.so): Likewise.
42536 (LDFLAGS-tst-initorder2c.so): Likewise.
42537 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42538
42539 2012-05-02 David S. Miller <davem@davemloft.net>
42540
42541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42542
42543 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42544
42545 [BZ #14055]
42546 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42547
42548 2012-05-02 Andreas Jaeger <aj@suse.de>
42549
42550 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42551 since we manipulate rounding mode.
42552 (CPPFLAGS-test-idouble.c): Likewise.
42553 (CPPFLAGS-test-ifloat.c): Likewise.
42554 (CFLAGS-test-ldouble.c): Likewise.
42555 (CFLAGS-test-double.c): Likewise.
42556 (CFLAGS-test-float.c): Likewise.
42557 (CFLAGS-test-misc.c): Likewise.
42558 (CFLAGS-test-test-fenv.c): Likewise.
42559
42560 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42561
42562 [BZ #2550]
42563 [BZ #2570]
42564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42565 comparisons to determine direction to adjust input.
42566
42567 2012-05-01 Roland McGrath <roland@hack.frob.com>
42568
42569 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42570 output to the target.
42571
42572 * scripts/localplt.awk: New file.
42573 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42574 (check-localplt-CFLAGS): Variable removed.
42575 ($(all-built-dso:=.jmprel)): New static pattern rule.
42576 (generated): Add those targets.
42577 (localplt-built-dso): New variable.
42578 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42579
42580 * elf/check-localplt.c: File removed.
42581
42582 * scripts/check-execstack.awk: New file.
42583 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42584 (check-execstack-CFLAGS): Variable removed.
42585 ($(objpfx)check-execstack.h): Target removed.
42586 ($(objpfx)execstack-default): New target.
42587 (generated): Add that instead of check-execstack.h.
42588 ($(all-built-dso:=.phdr)): New static pattern rule.
42589 (generated): Add those targets.
42590 * elf/check-execstack.c: File removed.
42591
42592 * scripts/check-textrel.awk: New file.
42593 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42594 (check-textrel-CFLAGS): Variable removed.
42595 (all-built-dso): Use := to define.o
42596 ($(all-built-dso:=.dyn)): New static pattern rule.
42597 (generated): Add those targets.
42598 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42599 * config.make.in (READELF): New substituted variable.
42600 * elf/check-textrel.c: File removed.
42601
42602 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42603
42604 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42605 allow.
42606 * conform/data/ctype.h-data [C99-based standards] (isblank):
42607 Expect function.
42608 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42609 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42611 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42612 Specify type. Require positive value.
42613 (EILSEQ): Likewise.
42614 (ERANGE): Likewise.
42615 [ISO || POSIX] (EILSEQ): Do not expect.
42616 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42617 Specify type. Require positive value.
42618 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42619 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42620 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42621 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42622 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42623 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42624 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42625 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42626 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42627 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42628 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42629 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42630 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42631 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42632 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42633 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42634 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42635 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42636 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42637 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42638 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42639 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42640 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42641 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42642 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42643 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42644 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42645 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42646 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42647 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42648 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42649 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42650 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42651 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42652 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42653 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42654 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42655 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42656 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42657 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42658 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42659 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42660 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42661 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42662 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42663 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42667 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42668 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42669 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42670 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42671 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42672 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42673 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42674 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42675 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42676 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42677 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42682 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42683 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42686 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42687 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42688 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42689 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42690 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42691 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42692 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42693 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42694 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42695 Require >= 2.
42696 (FLT_ROUNDS): Expect as macro, not constant.
42697 (FLT_MANT_DIG): Use macro-int-constant.
42698 (DBL_MANT_DIG): Likewise.
42699 (LDBL_MANT_DIG): Likewise.
42700 (FLT_DIG): Likewise.
42701 (DBL_DIG): Likewise.
42702 (LDBL_DIG): Likewise.
42703 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42704 (DBL_MIN_EXP): Likewise.
42705 (LDBL_MIN_EXP): Likewise.
42706 (FLT_MAX_EXP): Use macro-int-constant.
42707 (DBL_MAX_EXP): Likewise.
42708 (LDBL_MAX_EXP): Likewise.
42709 (FLT_MAX_10_EXP): Likewise.
42710 (DBL_MAX_10_EXP): Likewise.
42711 (LDBL_MAX_10_EXP): Likewise.
42712 (FLT_MAX): Use macro-constant.
42713 (DBL_MAX): Likewise.
42714 (LDBL_MAX): Likewise.
42715 (FLT_EPSILON): Use macro-constant. Give upper bound.
42716 (DBL_EPSILON): Likewise.
42717 (LDBL_EPSILON): Likewise.
42718 (FLT_MIN): Likewise.
42719 (DBL_MIN): Likewise.
42720 (LDBL_MIN): Likewise.
42721 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42722 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42723 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42724 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42725 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42726 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42727 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42728 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42729 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42730 [ISO11] (FLT_TRUE_MIN): Likewise.
42731 [ISO11] (LDBL_TRUE_MIN): Likewise.
42732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42733 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42734 (SCHAR_MIN): Use macro-int-constant. Specify type.
42735 (SCHAR_MAX): Likewise.
42736 (UCHAR_MAX): Likewise.
42737 (CHAR_MIN): Likewise.
42738 (CHAR_MAX): Likewise.
42739 (MB_LEN_MAX): Use macro-int-constant.
42740 (SHRT_MIN): Use macro-int-constant. Specify type.
42741 (SHRT_MAX): Likewise.
42742 (USHRT_MAX): Likewise.
42743 (INT_MAX): Likewise.
42744 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42745 bound negative.
42746 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42747 bound with "U".
42748 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42749 bound with "L".
42750 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42751 bound negative. Suffix upper bound with "L".
42752 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42753 bound with "UL".
42754 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42755 Specify type.
42756 [C99-based standards] (LLONG_MAX): Likewise.
42757 [C99-based standards] (ULLONG_MAX): Likewise.
42758 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42759 == 0.
42760 [ISO11] (max_align_t): Require type.
42761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42762
42763 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42764 from $CFLAGS, without defining away __attribute__ calls.
42765 (checknamespace): Use $CFLAGS_namespace.
42766
42767 * conform/conformtest.pl (@keywords): Only include C99 keywords
42768 for standards based on C99 or C11.
42769
42770 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42771 Disable tests.
42772 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42773 UNIX98]: Likewise.
42774
42775 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42776 usability of symbols in #if.
42777
42778 * conform/conformtest.pl: If macro or constant types start
42779 "promoted:", expect the symbol to be of the following type
42780 promoted by the integer promotions.
42781
42782 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42783 in one place. Also handle "macro-constant".
42784
42785 * conform/conformtest.pl: Only accept expected macro values with
42786 "==". Parse all "macro" lines in one place.
42787 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42788
42789 * conform/conformtest.pl: Handle braced types on "constant" lines
42790 instead of handling "typed-constant".
42791 * conform/data/signal.h-data: Use "constant" instead of
42792 "typed-constant".
42793
42794 * conform/conformtest.pl: Handle "optional-" at start of lines in
42795 one place rather than duplicating several cases. Handle each
42796 format of "macro" line with initial "optional-".
42797
42798 * conform/conformtest.pl: Only accept expected constant or
42799 optional-constant values with "==". Parse all "constant" lines in
42800 one place. Parse all "optional-constant" lines in one place.
42801 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42802 * conform/data/fmtmsg.h-data: Likewise.
42803 * conform/data/netinet/in.h-data: Likewise.
42804 * conform/data/tar.h-data: Likewise.
42805 * conform/data/limits.h-data: Use "==" form on "constant" and
42806 "optional-constant" lines.
42807
42808 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42809 Use -std=c99 for XOPEN2K.
42810 (@knownproblems): Remove.
42811 (newtoken): Don't check %isknown.
42812
42813 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42814 Do not expect macro.
42815 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42816 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42817 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42818 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42819 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42820 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42821 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42822 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42823 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42824 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42825 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42826 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42827 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42828 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42829 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42830 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42831 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42832 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42833 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42834 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42835 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42836 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42837 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42838 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42839 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42840 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42841 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42842 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42843 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42844 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42845 [XPG3] (acosh): Likewise.
42846 [XPG3] (asinh): Likewise.
42847 [XPG3] (atanh): Likewise.
42848 [XPG3] (cbrt): Likewise.
42849 [XPG3] (expm1): Likewise.
42850 [XPG3] (ilogb): Likewise.
42851 [XPG3] (log1p): Likewise.
42852 [XPG3] (logb): Likewise.
42853 [XPG3] (nextafter): Likewise.
42854 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42855 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42856 [XPG3] (remainder): Likewise.
42857 [XPG3] (rint): Likewise.
42858 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42859 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42862 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42863 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42864 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42865 [UNIX98 || XOPEN2K] (scalb): Expect.
42866 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42867 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42868 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42869 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42870 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42871 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42872 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42873 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42874 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42886 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42887 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43003
43004 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43005 _XOPEN_SOURCE_EXTENDED for XPG4.
43006
43007 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43008
43009 * Makeconfig (localtime): Remove variable.
43010 (inst_localtime-file): Likewise.
43011
43012 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43013
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43015 Update.
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43017 Update.
43018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43019 Update.
43020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43021 Update.
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43023 Update.
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43025 Update.
43026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43027 Update.
43028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43029 Update.
43030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43031 Update.
43032
43033 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43034
43035 [BZ #2550]
43036 [BZ #2570]
43037 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43038 comparisons to determine direction to adjust input.
43039 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43040 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43041 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43042 Likewise.
43043 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43044 Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43046 Likewise.
43047 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43048 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43049 Likewise.
43050 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43051 Likewise.
43052 * math/libm-test.inc (nexttoward_test): Add more tests.
43053
43054 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43055
43056 [BZ #14040]
43057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43058 in version GLIBC_2.1, not GLIBC_2.0.
43059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43060 Likewise.
43061
43062 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43063
43064 [BZ #13942]
43065 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43066 (1 - x) * (1 + x).
43067 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43068 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43069 * math/libm-test.inc (acos_test): Add more tests.
43070 (asin_test): Likewise.
43071 * sysdeps/i386/fpu/libm-test-ulps: Update.
43072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43073
43074 [BZ #14034]
43075 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43076 of square root.
43077 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43078 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43079 * math/libm-test.inc (acos_test_tonearest): New function.
43080 (acos_test_towardzero): Likewise.
43081 (acos_test_downward): Likewise.
43082 (acos_test_upward): Likewise.
43083 (asin_test_tonearest): Likewise.
43084 (asin_test_towardzero): Likewise.
43085 (asin_test_downward): Likewise.
43086 (asin_test_upward): Likewise.
43087 (main): Call the new functions.
43088 * sysdeps/i386/fpu/libm-test-ulps: Update.
43089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43090
43091 [BZ #13884]
43092 [BZ #13924]
43093 * math/e_exp10.c: Include <float.h>.
43094 (__ieee754_exp10): Handle underflow here rather than multiplying
43095 large negative argument by M_LN10.
43096 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43097 of __ieee754_expf.
43098 * math/e_exp10l.c: Include <float.h>.
43099 (__ieee754_exp10l): Handle underflow here rather than multiplying
43100 large negative argument by M_LN10l.
43101 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43102 spurious overflow exception on underflow.
43103
43104 2012-04-29 Marek Polacek <polacek@redhat.com>
43105
43106 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43107 (__fortify_function): New macro.
43108 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43109 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43110 __extern_always_inline.
43111 * libio/bits/stdio2.h: Likewise.
43112 * libio/bits/stdio.h: Likewise.
43113 * string/string.h: Likewise.
43114 * string/bits/string3.h: Likewise.
43115 * include/stdio.h: Likewise.
43116 * stdlib/bits/stdlib.h: Likewise.
43117 * stdlib/stdlib.h: Likewise.
43118 * rt/bits/mqueue2.h: Likewise.
43119 * rt/mqueue.h: Likewise.
43120 * posix/bits/unistd.h: Likewise.
43121 * posix/unistd.h: Likewise.
43122 * io/bits/poll2.h: Likewise.
43123 * io/bits/fcntl2.h: Likewise.
43124 * io/fcntl.h: Likewise.
43125 * io/sys/poll.h: Likewise.
43126 * misc/bits/syslog.h: Likewise.
43127 * misc/bits/syslog-ldbl.h: Likewise.
43128 * misc/sys/syslog.h: Likewise.
43129 * socket/bits/socket2.h: Likewise.
43130 * socket/sys/socket.h: Likewise.
43131 * debug/tst-chk1.c: Likewise.
43132 * wcsmbs/bits/wchar2.h: Likewise.
43133 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43134 * wcsmbs/wchar.h: Likewise.
43135
43136 2012-04-29 Andreas Jaeger <aj@suse.de>
43137
43138 * Makerules (tests): Remove enable-check-abi protection.
43139 (check-abi-warn): Remove.
43140 (check-abi-%): Remove check-abi-warn usage.
43141
43142 * configure.in: Remove check-abi configure option.
43143 * configure: Regenerated.
43144 * config.make.in (enable-check-abi): Remove.
43145
43146 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43147
43148 [BZ #14033]
43149 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43150 double functions to double *_finite functions.
43151
43152 [BZ #13941]
43153 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43154 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43155 LDBL_MIN_EXP.
43156 * stdio-common/Makefile (tests): Add tst-sprintf3.
43157 * stdio-common/tst-sprintf3.c: New file.
43158
43159 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43160 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43161
43162 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43163
43164 * conform/conformtest.pl: Remove duplicate typed-constant
43165 handling.
43166
43167 2012-04-28 David S. Miller <davem@davemloft.net>
43168
43169 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43170 (check-abi-%): Remove AWK script prerequisite and explicit
43171 abilist directory.
43172 (check-abi): Rewrite to just diff the symlist with the abilist.
43173 (config-tls, config-abi-config): Delete, no longer used.
43174 (update-abi-%): Remove AWK script and explicit abilist directory.
43175 (update-abi): Rewrite to simply compare and conditionally copy the
43176 symlist and the sysdep abilist file. Remove update-abi-config
43177 checks.
43178 * abilist/ld.abilist: Remove.
43179 * abilist/libBrokenLocale.abilist: Remove.
43180 * abilist/libanl.abilist: Remove.
43181 * abilist/libcrypt.abilist: Remove.
43182 * abilist/libdl.abilist: Remove.
43183 * abilist/librt.abilist: Remove.
43184 * abilist/libthread_db.abilist: Remove.
43185 * abilist/libutil.abilist: Remove.
43186 * scripts/extract-abilist.awk: Remove.
43187 * scripts/merge-abilist.awk: Remove.
43188 * sysdeps/generic/libcidn.abilist: New file.
43189 * sysdeps/generic/libnss_compat.abilist: New file.
43190 * sysdeps/generic/libnss_db.abilist: New file.
43191 * sysdeps/generic/libnss_dns.abilist: New file.
43192 * sysdeps/generic/libnss_files.abilist: New file.
43193 * sysdeps/generic/libnss_hesiod.abilist: New file.
43194 * sysdeps/generic/libnss_nis.abilist: New file.
43195 * sysdeps/generic/libnss_nisplus.abilist: New file.
43196 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43197 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43198 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43199 file.
43200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43201 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43202 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43203 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43204 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43205 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43206 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43207 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43208 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43209 file.
43210 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43211 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43212 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43213 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43214 file.
43215 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43216 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43217 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43218 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43219 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43220 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43221 file.
43222 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43223 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43224 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43225 file.
43226 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43228 New file.
43229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43230 New file.
43231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43232 New file.
43233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43234 New file.
43235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43236 New file.
43237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43238 New file.
43239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43240 New file.
43241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43242 New file.
43243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43244 New file.
43245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43246 New file.
43247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43248 New file.
43249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43250 New file.
43251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43252 New file.
43253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43254 file.
43255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43256 New file.
43257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43258 New file.
43259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43260 file.
43261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43262 New file.
43263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43264 New file.
43265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43266 file.
43267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43268 New file.
43269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43270 New file.
43271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43272 New file.
43273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43274 New file.
43275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43276 New file.
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43278 New file.
43279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43281 file.
43282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43283 New file.
43284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43285 file.
43286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43287 file.
43288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43289 file.
43290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43291 file.
43292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43293 file.
43294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43295 New file.
43296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43297 file.
43298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43299 file.
43300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43301 New file.
43302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43303 file.
43304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43306 file.
43307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43308 New file.
43309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43310 file.
43311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43312 file.
43313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43314 file.
43315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43316 file.
43317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43318 file.
43319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43320 New file.
43321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43322 file.
43323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43324 file.
43325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43326 New file.
43327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43328 file.
43329 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43330 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43331 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43332 file.
43333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43334 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43335 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43336 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43337 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43338 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43339 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43340 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43341 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43342 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43345 file.
43346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43347 New file.
43348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43349 file.
43350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43351 file.
43352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43353 file.
43354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43355 file.
43356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43357 file.
43358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43359 New file.
43360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43361 New file.
43362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43363 file.
43364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43365 New file.
43366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43367 file.
43368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43370 file.
43371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43372 New file.
43373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43374 file.
43375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43376 file.
43377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43378 file.
43379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43380 file.
43381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43382 file.
43383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43384 New file.
43385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43386 New file.
43387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43388 file.
43389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43390 New file.
43391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43392 file.
43393
43394 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43395
43396 * conform/conformtest.pl: Fix typo in handling typed-constant from
43397 allow-header.
43398
43399 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43400
43401 * README: Cut down references to pre-2.6 Linux kernels and
43402 Linuxthreads. Update lists of configurations in libc and ports
43403 and sort alphabetically. Say "or newer" with Linux kernel version
43404 requirements.
43405
43406 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43407
43408 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43409
43410 [BZ #887]
43411 * math/libm-test.inc (logb_test_downward): New test to expose
43412 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43413 rounding mode.
43414
43415 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43416
43417 [BZ #14027]
43418 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43419 to be done.
43420 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43421 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43422
43423 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43424
43425 * sysdeps/unix/i386/brk.S: Remove file.
43426 * sysdeps/unix/i386/dl-brk.S: Likewise.
43427 * sysdeps/unix/i386/pipe.S: Likewise.
43428 * sysdeps/unix/i386/sigreturn.S: Likewise.
43429 * sysdeps/unix/i386/syscall.S: Likewise.
43430 * sysdeps/unix/i386/vfork.S: Likewise.
43431 * sysdeps/unix/i386/wait.S: Likewise.
43432
43433 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43434 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43435
43436 * configure.in (arm*-none*): Do not allow without
43437 --enable-hacker-mode.
43438 (netbsd*): Remove case setting base_os.
43439 (386bsd*): Likewise.
43440 (freebsd*): Likewise.
43441 (bsdi*): Likewise.
43442 (osf*): Likewise.
43443 (sunos*): Likewise.
43444 (ultrix*): Likewise.
43445 (newsos*): Likewise.
43446 (dynix*): Likewise.
43447 (*bsd*): Likewise.
43448 (sysv*): Likewise.
43449 (isc*): Likewise.
43450 (esix*): Likewise.
43451 (sco*): Likewise.
43452 (minix*): Likewise.
43453 (irix4*): Likewise.
43454 (irix6*): Likewise.
43455 (solaris[2-9]*): Likewise.
43456 (none): Likewise.
43457 * configure: Regenerated.
43458
43459 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43460
43461 [BZ #11521]
43462 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43463 overflow or cancellation in calculating denominator.
43464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43466 down expression to avoid unexpected rounding in newer GCCs.
43467 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43468
43469 2012-04-26 David S. Miller <davem@davemloft.net>
43470
43471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43472 long-double compat symbols.
43473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43486
43487 2012-04-25 David S. Miller <davem@davemloft.net>
43488
43489 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43490 HWCAP_* values only after the memory barriers have been defined.
43491 (atomic_full_barrier): Define.
43492 (atomic_read_barrier): Define.
43493 (atomic_write_barrier): Define.
43494
43495 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43496
43497 * shlib-versions: Add libgcc_s version information.
43498 * sysdeps/generic/libgcc_s.h: Remove.
43499 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43500 libgcc_s.h.
43501 * sysdeps/gnu/unwind-resume.c: Likewise.
43502 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43503
43504 2012-04-25 David S. Miller <davem@davemloft.net>
43505
43506 * sysdeps/unix/sparc/brk.S: Delete.
43507 * sysdeps/unix/sparc/dl-brk.S: Delete.
43508 * sysdeps/unix/sparc/pipe.S: Delete.
43509 * sysdeps/unix/sparc/sysdep.S: Delete.
43510 * sysdeps/unix/sparc/sysdep.h: Delete.
43511 * sysdeps/unix/sparc/vfork.S: Delete.
43512 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43513 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43514 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43515 (ret_ERRVAL, r0, r1, MOVE): Define.
43516 (JUMPTARGET): Remove.
43517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43518 sysdeps/unix/sparc/sysdep.h
43519 (ENTRY, END): Remove.
43520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43521
43522 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43523
43524 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43525 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43526 -DIS_IN_build.
43527
43528 * timezone/README: Update upstream location and email address for
43529 tzcode and tzdata.
43530 * timezone/zdump.c: Update from tzcode 2012b.
43531 * timezone/zic.c: Likewise.
43532
43533 * configure.in (libc_cv_as_needed): Remove test.
43534 * configure: Regenerated.
43535 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43536 conditional definition.
43537 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43538 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43539 * config.make.in (have-as-needed): Remove variable.
43540
43541 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43542 Paul Pluzhnikov <ppluzhnikov@google.com>
43543
43544 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43545 strings correctly.
43546
43547 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43548
43549 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43550 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43551 * sysdeps/sh/strlen.S: Likewise.
43552
43553 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43554
43555 * sysdeps/unix/fork.S: Remove file.
43556 * sysdeps/unix/i386/fork.S: Likewise.
43557 * sysdeps/unix/sparc/fork.S: Likewise.
43558
43559 * sysdeps/unix/system.c: Remove file.
43560 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43561
43562 * sysdeps/unix/getegid.S: Remove file.
43563 * sysdeps/unix/geteuid.S: Likewise.
43564
43565 2012-04-24 Roland McGrath <roland@hack.frob.com>
43566
43567 * scripts/check-localplt.awk: New file.
43568 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43569 of diff.
43570 * scripts/data/localplt-generic.data: Add a comment.
43571
43572 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43573 NODE when __dir_mkfile failed.
43574 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43575 Reported by Ludovic Courtès <ludo@gnu.org>.
43576
43577 2012-04-24 Andreas Jaeger <aj@suse.de>
43578
43579 * Makerules (common-clean): Also remove gen-as-const-headers
43580 files.
43581
43582 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43583
43584 * Makerules (native-compile): Do not change working directory for
43585 build. Use $(OUTPUT_OPTION) in command.
43586 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43587
43588 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43589
43590 [BZ #13886]
43591 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43592 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43593 * math/libm-test.inc (floor_test): Add more tests.
43594 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43595
43596 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43597
43598 * sysdeps/unix/getdents.c: Remove file.
43599 * sysdeps/unix/sysv/getdents.c: Likewise.
43600 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43601
43602 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43603 sysdeps/unix/mman/syscalls.list.
43604 (mmap): Likewise.
43605 (mprotect): Likewise.
43606 (msync): Likewise.
43607 (munmap): Likewise.
43608 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43609 * sysdeps/unix/mman/syscalls.list: Remove.
43610 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43611
43612 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43613 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43614 * configure: Regenerated.
43615 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43616 $(libgcc_s_suffix).
43617 * config.make.in (libgcc_s_suffix): Remove variable.
43618
43619 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43620
43621 * sysdeps/unix/sysv/gethostname.c: Move to ...
43622 * sysdeps/posix/gethostname.c: ... here.
43623
43624 * sysdeps/unix/execve.S: Remove file.
43625
43626 * sysdeps/unix/_exit.S: Remove file.
43627
43628 2012-04-23 Andreas Jaeger <aj@suse.de>
43629
43630 [BZ #13739]
43631 * manual/Makefile: Remove make dist support, there's no
43632 need for a stand-alone documentation tar ball.
43633 (TEXI2DVI): Define always, it's not in Makeconfig.
43634 (dist): Removed.
43635 (tar-it): Removed.
43636 (edition): Removed.
43637 (glibc-doc-$(edition).tar): Removed
43638 (%.Z): Removed.
43639 (%.gz): Removed.
43640 (%.uu): Removed.
43641 (ETAGS): Remove, it's in Makeconfig.
43642 (move-if-change): Remove, it's in Makeconfig.
43643
43644 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43645
43646 [BZ #13970]
43647 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43648 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43649 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43650 (strtod_l, strtof_l, strtold_l): Remove __wur.
43651 It is not necessarily an error to ignore strtol's return value.
43652 One can reliably look at the stored endptr to decide whether
43653 the number had valid syntax.
43654
43655 2012-04-21 Andreas Jaeger <aj@suse.de>
43656
43657 [BZ #13739]
43658 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43659
43660 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43661
43662 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43663 * sysdeps/unix/sysv/Versions: Remove file.
43664
43665 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43666
43667 [BZ #13927]
43668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43669
43670 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43671
43672 [BZ #7064]
43673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43674 version from __vm86.
43675
43676 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43677
43678 * sysdeps/unix/common/lxstat.c: Remove file.
43679 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43680
43681 * sysdeps/unix/sysv/Makefile: Remove file.
43682
43683 * sysdeps/unix/sysv/direct.h: Remove file.
43684
43685 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43686 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43687 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43688 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43689 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43690 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43691 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43692
43693 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43694
43695 * sysdeps/unix/xmknod.c: Remove file.
43696 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43697
43698 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43699
43700 * sysdeps/unix/sysv/i386/time.S: Remove file.
43701
43702 * sysdeps/unix/fxstat.c: Remove file.
43703 * sysdeps/unix/xstat.c: Likewise.
43704 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43705
43706 * sysdeps/unix/sysv/sigaction.c: Remove file.
43707
43708 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43709 (sysdep_headers): Remove variable.
43710 [termio.h not in sysdep_headers] (generated): Likewise.
43711 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43712 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43713 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43714 * sysdeps/unix/sysv/tcflow.c: Likewise.
43715 * sysdeps/unix/sysv/tcflush.c: Likewise.
43716 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43717 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43718 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43719 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43720 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43721
43722 * sysdeps/unix/siglist.c: Remove file.
43723
43724 * sysdeps/unix/getppid.S: Remove file.
43725
43726 * sysdeps/unix/mkdir.c: Remove file.
43727 * sysdeps/unix/rmdir.c: Likewise.
43728
43729 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43730
43731 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43732 ERR_MAX value.
43733 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43734 errlist-compat value.
43735
43736 2012-04-18 David S. Miller <davem@davemloft.net>
43737
43738 * sysdeps/generic/memcopy.h (reg_char): Delete.
43739 * debug/strcat_chk.c: Use char, not reg_char.
43740 * debug/strcpy_chk.c: Likewise.
43741 * debug/strncat_chk.c: Likewise.
43742 * debug/strncpy_chk.c: Likewise.
43743 * string/memchr.c: Likewise.
43744 * string/memrchr.c: Likewise.
43745 * string/rawmemchr.c: Likewise.
43746 * string/strcat.c: Likewise.
43747 * string/strchr.c: Likewise.
43748 * string/strchrnul.c: Likewise.
43749 * string/strcmp.c: Likewise.
43750 * string/strcpy.c: Likewise.
43751 * string/strncat.c: Likewise.
43752 * string/strncmp.c: Likewise.
43753 * string/strncpy.c: Likewise.
43754
43755 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43756
43757 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43758 __builtin_memcopy is called when src and dest ranges are known to not
43759 overlap.
43760
43761 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43762
43763 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43764 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43765 fwd_align_merge macro call.
43766 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43767 bwd_align_merge macro call.
43768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43769
43770 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43771
43772 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43773 bwd_align_merge macros.
43774 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43775 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43777
43778 2012-04-18 David S. Miller <davem@davemloft.net>
43779
43780 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43781
43782 2012-04-18 Andreas Jaeger <aj@suse.de>
43783
43784 [BZ# 6794]
43785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43786 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43787 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43788
43789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43790 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43791 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43792
43793 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43794 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43795 Adjust for changed ldbl-128 files.
43796
43797 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43798 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43799 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43800
43801 2012-04-17 David S. Miller <davem@davemloft.net>
43802
43803 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43804
43805 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43806
43807 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43808 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43809 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43810 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43811 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43812 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43813
43814 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43815
43816 [BZ #6794]
43817 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43818 * math/libm-test.inc: Add ilogb errno and exception tests.
43819 * math/w_ilogb.c: New file: ilogb wrapper.
43820 * math/w_ilogbf.c: New file: ilogbf wrapper.
43821 * math/w_ilogbl.c: New file: ilogbl wrapper.
43822 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43823 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43824 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43825 exception being thrown with 0.0 as argument.
43826 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43827 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43828 exception being thrown with 0.0 as argument.
43829 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43830 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43831 exception being thrown with 0.0 as argument.
43832 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43833 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43834 exception being thrown with 0.0 as argument.
43835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43836 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43837 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43838 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43839 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43840 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43841 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43842 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43843 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43844
43845 2012-04-17 Petr Baudis <pasky@ucw.cz>
43846
43847 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43848 with altivec.
43849
43850 2012-04-16 Marek Polacek <polacek@redhat.com>
43851
43852 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43853
43854 2012-04-16 Marek Polacek <polacek@redhat.com>
43855
43856 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43857 operands of fdivp instruction.
43858
43859 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43860
43861 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43862 * elf/tst-auditmod3b.c: Likewise.
43863 * elf/tst-auditmod4b.c: Likewise.
43864 * elf/tst-auditmod5b.c: Likewise.
43865 * elf/tst-auditmod6b.c: Likewise.
43866 * elf/tst-auditmod6c.c: Likewise.
43867 * elf/tst-auditmod7b.c: Likewise.
43868 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43869 * sysdeps/x86_64/preconfigure.in: Likewise.
43870 * sysdeps/x86_64/preconfigure: Regenerated.
43871
43872 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43873
43874 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43875 __ILP32__.
43876
43877 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43878
43879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43880 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43881
43882 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43883
43884 [BZ #13973]
43885 * locale/iso-639.def: Fix gl language name. Spotted by
43886 Yaron Shahrabani.
43887
43888 2012-04-12 Roland McGrath <roland@hack.frob.com>
43889
43890 [BZ #2074]
43891 * libio/libio.h (__io_write_fn): Update comment.
43892
43893 2012-04-12 Petr Baudis <pasky@ucw.cz>
43894
43895 [BZ #2074]
43896 * stdio.texi (Hook Functions): The user provided writer function
43897 is not allowed to return -1.
43898
43899 2012-04-11 David S. Miller <davem@davemloft.net>
43900
43901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43902
43903 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43904
43905 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43906 Add a leading slash to rtkaio.
43907
43908 2012-04-11 Jim Meyering <meyering@redhat.com>
43909
43910 [BZ #11959]
43911 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43912 It is not necessarily an error to ignore fwrite's return
43913 value. One can reliably use ferror to test for errors after
43914 the fact.
43915
43916 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43917
43918 * bits/types.h (__snseconds_t): New type.
43919 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43920
43921 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43923 (__SNSECONDS_T_TYPE): Likewise.
43924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43925 (__SNSECONDS_T_TYPE): Likewise.
43926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43927 (__SNSECONDS_T_TYPE): Likewise.
43928
43929 2012-04-10 Andreas Jaeger <aj@suse.de>
43930
43931 [BZ #2636]
43932 * manual/time.texi (Processor Time): Return type of times is
43933 elapsed real time since an arbitrary point in the past.
43934 (CPU Time): Move CLK_TCK from here...
43935 (Processor Time): ...to here. Correct description.
43936 * manual/conf.texi (Constants for Sysconf): Correct description of
43937 _SC_CLK_TCK.
43938
43939 2012-04-10 David S. Miller <davem@davemloft.net>
43940
43941 [BZ #13967]
43942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43943 where the is a gap between DT_REL(A) and DT_JMPREL.
43944
43945 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43946
43947 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43950
43951 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43952
43953 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43954 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43955 (dl_main): Handle --inhibit-cache.
43956 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43957 _dl_inhibit_cache.
43958 * elf/dl-load.c (_dl_map_object): Use it.
43959 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43960
43961 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43962
43963 [BZ #13872]
43964 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43965 (__ieee754_powl): Saturate large exponents rather than testing for
43966 overflow of y*log2(x).
43967 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43968 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43969 exceptions.
43970
43971 [BZ #11521]
43972 * math/s_ctan.c: Include <float.h>.
43973 (__ctan): Avoid internal overflow or cancellation in calculating
43974 denominator.
43975 * math/s_ctanf.c: Likewise.
43976 * math/s_ctanl.c: Likewise.
43977 * math/s_ctanh.c: Likewise.
43978 * math/s_ctanhf.c: Likewise.
43979 * math/s_ctanhl.c: Likewise.
43980 * math/libm-test.inc (ctan_test): Add more tests.
43981 (ctanh_test): Likewise.
43982 * sysdeps/i386/fpu/libm-test-ulps: Update.
43983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43984
43985 2012-04-09 Andreas Jaeger <aj@suse.de>
43986
43987 [BZ #6894]
43988 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43989 is an optional BSD extension.
43990
43991 [BZ #10254]
43992 * manual/stdio.texi (Opening Streams): Document additional fopen
43993 parameters.
43994
43995 2012-04-09 Roland McGrath <roland@hack.frob.com>
43996
43997 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43998 %eax without telling the compiler.
43999
44000 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44001
44002 [BZ # 13963]
44003 * manual/install.texi: Use sourceware.org.
44004
44005 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44006
44007 [BZ #13873]
44008 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44009 (__ieee754_pow): Generate overflow and underflow using huge*huge
44010 and tiny*tiny rather than just returning constant infinity or zero
44011 for large exponents.
44012 * math/libm-test.inc (pow_test): Require overflow exceptions for
44013 applicable cases of large exponents.
44014
44015 [BZ #706]
44016 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44017 (__ieee754_pow): Use iterative multiplication algorithm only for
44018 integer exponents with absolute value below 1024. Check for odd
44019 integer exponents when using algorithm for real exponents.
44020 * math/libm-test.inc (pow_test): Add more tests.
44021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44022
44023 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44024
44025 [BZ #13705]
44026 * math/libm-test.inc (exp_test): Do not allow overflow exception
44027 on underflow test.
44028
44029 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44030
44031 [BZ #13705]
44032 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44033 instead of __kernel_standard_f.
44034
44035 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44036
44037 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44038 * sysdeps/x86_64/memset_chk.S: Likewise.
44039
44040 2012-04-08 Andreas Jaeger <aj@suse.de>
44041
44042 [BZ #10153]
44043 * manual/startup.texi (Environment Access): Describe return value
44044 for putenv and setenv.
44045
44046 [BZ #6895]
44047 * manual/filesys.texi (Directory Entries): Add description for
44048 DT_LNK.
44049
44050 [BZ #6890]
44051 * manual/filesys.texi (Directory Entries): Clarify that it's file
44052 system not operating system in the description of DT_UNKNOWN.
44053
44054 [BZ #6578]
44055 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44056
44057 2012-04-08 Stephen Compall <s11@member.fsf.org>
44058
44059 [BZ #6649]
44060 * manual/llio.texi (Opening and Closing Files): Add cross
44061 reference to explain mode argument.
44062
44063 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44064
44065 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44066 * sysdeps/x86_64/memset_chk.S: Likewise.
44067
44068 2012-04-07 David S. Miller <davem@davemloft.net>
44069
44070 * elf/elf.h (R_SPARC_WDISP10): Define.
44071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44072 R_SPARC_SIZE32.
44073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44074 R_SPARC_SIZE64 and R_SPARC_H34.
44075
44076 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44077
44078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44079 conditions and remove no longer applicable assertion.
44080
44081 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44082
44083 * bits/byteswap.h: Include <features.h>.
44084 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44085 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44086
44087 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44088
44089 * bits/byteswap.h (__bswap_16): Removed.
44090 Include <bits/byteswap-16.h> to get __bswap_16.
44091 * sysdeps/i386/bits/byteswap.h: Likewise.
44092 * sysdeps/s390/bits/byteswap.h: Likewise.
44093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44094 * bits/byteswap-16.h: New file.
44095 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44096 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44097 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44098 * string/Makefile (headers): Add bits/byteswap-16.h.
44099
44100 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44101
44102 [BZ #13895]
44103 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44104 extra indirection.
44105 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44106 * nss/tst-nss-static.c: New.
44107
44108 2012-04-06 Robert Millan <rmh@gnu.org>
44109
44110 [BZ #6486]
44111 * manual/llio.texi (File Position Primitive): lseek
44112 refers to WHENCE when it really means OFFSET.
44113
44114 2012-04-06 Andreas Jaeger <aj@suse.de>
44115
44116 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44117 strncmp declarations.
44118
44119 * abilist/libc.abilist: Add __poll and __ppoll.
44120
44121 2012-04-05 David S. Miller <davem@davemloft.net>
44122
44123 * scripts/check-local-headers.sh: Accept a host triplet in the
44124 path matched by the exclude regexp.
44125
44126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44127 definition.
44128 * sysdeps/powerpc/powerpc32/dl-machine.h
44129 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44130 * sysdeps/s390/s390-32/dl-machine.h
44131 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44132 * sysdeps/sparc/sparc32/dl-machine.h
44133 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44134 * sysdeps/sparc/sparc64/dl-machine.h
44135 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44136
44137 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44138 lazy binding.
44139 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44140 undefined symbol errors.
44141
44142 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44143 DT_NEEDED entries.
44144
44145 2012-04-05 Michael Matz <matz@suse.de>
44146
44147 [BZ #13592]
44148 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44149
44150 2012-04-05 Andreas Jaeger <aj@suse.de>
44151
44152 [BZ #13908]
44153 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44154 comment.
44155
44156 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44157
44158 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44159 which ROUND is no valid rounding mode.
44160
44161 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44162
44163 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44164 read again.
44165 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44166
44167 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44168
44169 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44170 an exception using FPU order intentionally.
44171
44172 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44173
44174 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44175 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44176 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44177 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44178
44179 2012-04-05 Simon Josefsson <simon@josefsson.org>
44180
44181 [BZ #12340]
44182 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44183 EINVAL when BUFLEN is too smal.
44184
44185 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44186
44187 [BZ #13553]
44188 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44189 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44190
44191 2012-04-03 Andreas Jaeger <aj@suse.de>
44192
44193 [BZ #13938]
44194 * manual/setjmp.texi (System V contexts): Fix sentence.
44195
44196 [BZ #13926]
44197 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44198 New macro for this case.
44199 [!__GNUC__] (__bswap_64): New inline function for this case.
44200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44201 * bits/byteswap.h: Likewise.
44202 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44203 ull, guard with __GLIBC_HAVE_LONG_LONG.
44204
44205 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44206 __GLIBC_HAVE_LONG_LONG.
44207
44208 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44209 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44210
44211 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44212
44213 [BZ #13691]
44214 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44215 inptr and inend, rather than using last_ch.
44216
44217 2012-04-02 David S. Miller <davem@davemloft.net>
44218
44219 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44220 * stdio-common/printf-parse.h (read_int): Change return type to
44221 'int', return -1 on INT_MAX overflow.
44222 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44223 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44224 overflows INT_MAX. Check for overflow of in-format-string precision
44225 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44226 SIZE_MAX not INT_MAX for integer overflow test.
44227 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44228 skip the construct in the format string but do not record anything.
44229 * stdio-common/bug22.c: Adjust to test both width/prevision
44230 INT_MAX overflow as well as total length INT_MAX overflow. Check
44231 explicitly for proper errno values.
44232
44233 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44234
44235 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44236 CHAR_MAX.
44237 * string/test-strcmp.c [! WIDE]: Likewise.
44238 * time/tst-mktime2.c: Likewise for INT_MAX.
44239 * string/test-string.h: #include <sys/param.h> for MIN.
44240
44241 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44242 * sysdeps/i386/init-first.c (init): Likewise.
44243 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44244 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44245 * sysdeps/sh/init-first.c (init): Likewise.
44246
44247 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44248
44249 * po/ru.po: Update from translation team.
44250 * po/vi.po: Likewise.
44251
44252 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44253
44254 * resolv/nss_dns/dns-host.c: Merge copyright years.
44255
44256 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44257
44258 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44259 Optimize memcpy with prefetch if
44260 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44261 src, dst pointers have unequal 16 byte alignments.
44262
44263 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44264
44265 [BZ #13928]
44266 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44267 from a CNAME entry and return the minimum ttl for the query.
44268 (gaih_getanswer_slice): Likewise.
44269
44270 2012-03-30 Jeff Law <law@redhat.com>
44271
44272 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44273 due to long keys.
44274 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44275 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44276
44277 * resolv/nss_dns/dns-host.c: Update copyright year.
44278
44279 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44280
44281 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44282 requests to save a system call. Fix check that all bytes are sent.
44283
44284 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44285 comments for sendmmsg.
44286
44287 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44288
44289 [BZ #13691]
44290 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44291 with only 1 character between 0x0041 and 0x01b0.
44292 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44293 * wcsmbs/tst-mbsnrtowcs.c: New file.
44294
44295 2012-03-29 David S. Miller <davem@davemloft.net>
44296
44297 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44298 small copies by hand.
44299
44300 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44301
44302 [BZ #13761]
44303 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44304 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44305 group memberships.
44306
44307 2012-03-28 David S. Miller <davem@davemloft.net>
44308
44309 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44310 that branches into memcpy.
44311 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44314 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44316 bits.
44317 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44318 implementation too.
44319 * sysdeps/sparc/mempcpy.S: New file.
44320
44321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44322 the IFUNC routine in the libc case.
44323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44324
44325 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44326 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44327 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44328 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44329 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44330 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44331 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44332 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44333
44334 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44335 loop to 256 bytes instead of 64 bytes and fix test signedness.
44336
44337 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44338 * sysdeps/sparc/sparc32/Makefile: rather than here...
44339 * sysdeps/sparc/sparc64/Makefile: and here.
44340
44341 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44342
44343 * malloc/mallocbug.c: Avoid warnings about unused variables.
44344
44345 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44346
44347 [BZ #13760]
44348 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44349 in the right place. Discard and retry query if response is
44350 larger than input buffer size.
44351
44352 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44353
44354 [BZ #369]
44355 [BZ #2678]
44356 [BZ #3866]
44357 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44358 x for large integer exponent.
44359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44360 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44361 sign of result as needed afterwards.
44362 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44363 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44364 result for underflowing pow the same as for overflow.
44365 (__kernel_standard_l): Handle powl overflow and underflow here
44366 rather than calling __kernel_standard.
44367 * math/libm-test.inc (pow_test): Add more tests.
44368
44369 [BZ #3868]
44370 [BZ #13879]
44371 [BZ #13910]
44372 [BZ #13911]
44373 [BZ #13912]
44374 [BZ #13913]
44375 [BZ #13915]
44376 [BZ #13916]
44377 [BZ #13917]
44378 [BZ #13918]
44379 [BZ #13919]
44380 [BZ #13920]
44381 [BZ #13921]
44382 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44383 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44384 (__kernel_standard_l): New function.
44385 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44386 __kernel_standard.
44387 * math/w_acosl.c (__acosl): Likewise.
44388 * math/w_asinl.c (__asinl): Likewise.
44389 * math/w_atan2l.c (__atan2l): Likewise.
44390 * math/w_atanhl.c (__atanhl): Likewise.
44391 * math/w_coshl.c (__coshl): Likewise.
44392 * math/w_exp10l.c (__exp10l): Likewise.
44393 * math/w_exp2l.c (__exp2l): Likewise.
44394 * math/w_fmodl.c (__fmodl): Likewise.
44395 * math/w_hypotl.c (__hypotl): Likewise.
44396 * math/w_j0l.c (__j0l, __y0l): Likewise.
44397 * math/w_j1l.c (__j1l, __y1l): Likewise.
44398 * math/w_jnl.c (__jnl, __ynl): Likewise.
44399 * math/w_lgammal.c (__lgammal): Likewise.
44400 * math/w_log10l.c (__log10l): Likewise.
44401 * math/w_log2l.c (__log2l): Likewise.
44402 * math/w_logl.c (__logl): Likewise.
44403 * math/w_powl.c (__powl): Likewise.
44404 * math/w_remainderl.c (__remainderl): Likewise.
44405 * math/w_scalbl.c (sysv_scalbl): Likewise.
44406 * math/w_sinhl.c (__sinhl): Likewise.
44407 * math/w_sqrtl.c (__sqrtl): Likewise.
44408 * math/w_tgammal.c (__tgammal): Likewise.
44409 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44410 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44411 * math/libm-test.inc (acos_test): Add more tests.
44412 (acosh_test): Likewise.
44413 (asin_test): Likewise.
44414 (atanh_test): Likewise.
44415 (exp_test): Likewise.
44416 (exp10_test): Likewise.
44417 (exp2_test): Likewise.
44418 (expm1_test): Likewise.
44419 (lgamma_test): Likewise.
44420 (log_test): Likewise.
44421 (log10_test): Likewise.
44422 (log1p_test): Likewise.
44423 (log2_test): Likewise.
44424 (pow_test): Do not allow some spurious overflow exceptions.
44425 (sqrt_test): Add more tests.
44426 (tgamma_test): Likewise.
44427 (y0_test): Likewise.
44428 (y1_test): Likewise.
44429 (yn_test): Likewise.
44430
44431 2012-03-27 Anton Blanchard <anton@samba.org>
44432
44433 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44434 MAP_HUGETLB.
44435 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44436 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44438
44439 2012-03-27 David S. Miller <davem@davemloft.net>
44440
44441 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44442
44443 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44444 have-as-vis3 check.
44445
44446 2012-03-27 Andreas Jaeger <aj@suse.de>
44447
44448 * sysdeps/x86_64/elf/configure.in: Moved to ...
44449 * sysdeps/x86_64/configure.in: ... here.
44450 * sysdeps/x86_64/elf/start.S: Moved to ...
44451 * sysdeps/x86_64/start.S: ... here.
44452 * sysdeps/x86_64/elf/configure: Delete.
44453
44454 * sysdeps/x86_64/configure.in: Merge contents from
44455 sysdeps/i386/configure.in (without i686 check).
44456
44457 * sysdeps/i386/elf/Versions: Merge into ...
44458 * sysdeps/i386/Versions: ... this.
44459 * sysdeps/i386/elf/Versions: Delete file.
44460 * sysdeps/i386/elf/start.S: Moved to ...
44461 * sysdeps/i386/start.S: ...here.
44462 * sysdeps/i386/elf/configure.in: Merge into...
44463 * sysdeps/i386/configure.in: ...here.
44464 * sysdeps/i386/elf/configure.in: Delete file.
44465 * sysdeps/i386/elf/configure: Delete file.
44466
44467 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44468 * debug/backtracesyms.c: ... here.
44469 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44470 * debug/backtracesymsfd.c: ... here.
44471 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44472 * sysdeps/generic/ifunc-sel.h: ... here.
44473
44474 * sysdeps/unix/i386/start.c: Delete file.
44475 * sysdeps/unix/sparc/start.c: Delete file.
44476 * sysdeps/unix/start.c: Delete file.
44477
44478 * sysdeps/sh/elf/configure.in: Moved to ...
44479 * sysdeps/sh/configure.in: ... here.
44480 * sysdeps/sh/elf/start.S: Moved to ...
44481 * sysdeps/sh/start.S: ... here.
44482 * sysdeps/sh/elf/configure: Delete file.
44483
44484 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44485 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44486 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44487 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44488 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44489 * sysdeps/powerpc/powerpc64/start.S: here.
44490 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44491 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44492 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44493 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44494 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44495
44496 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44497 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44498 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44499 * sysdeps/powerpc/powerpc32/start.S: ... here.
44500 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44501 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44502 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44503
44504 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44505 * sysdeps/powerpc/ifunc-sel.h: ... here.
44506 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44507 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44508
44509 * sysdeps/sparc/elf/configure.in: Moved to ...
44510 * sysdeps/sparc/configure.in: ... here.
44511 * sysdeps/sparc/elf/configure: Delete file.
44512 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44513 * sysdeps/sparc/sparc32/start.S: ... here.
44514 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44515 * sysdeps/sparc/sparc64/start.S: ... here.
44516 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44517 * sysdeps/sparc/sparc32/Makefile: ... this.
44518 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44519 * sysdeps/sparc/sparc64/Makefile: ... this.
44520
44521 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44522 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44523 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44524 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44525 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44526 * sysdeps/s390/s390-32/setjmp.S: ... here.
44527 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44528 * sysdeps/s390/s390-32/configure.in: ... here.
44529 * sysdeps/s390/s390-32/elf/configure: Delete file.
44530 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44531 * sysdeps/s390/s390-32/start.S: ... here.
44532
44533 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44534 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44535 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44536 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44537 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44538 * sysdeps/s390/s390-64/setjmp.S: ... here.
44539 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44540 * sysdeps/s390/s390-64/configure.in: ... here
44541 * sysdeps/s390/s390-64/elf/configure: Delete file.
44542 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44543 * sysdeps/s390/s390-64/start.S: ... here.
44544 * sysdeps/s390/s390-64/elf/configure: Delete.
44545
44546 * configure.in: Remove support for elf directories in sysdeps.
44547
44548 * configure: Regenerated.
44549 * sysdeps/i386/configure: Regenerated.
44550 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44551 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44552 * sysdeps/s390/s390-32/configure: Regenerated.
44553 * sysdeps/s390/s390-64/configure: Regenerated.
44554 * sysdeps/sh/configure: Regenerated.
44555 * sysdeps/sparc/configure: Regenerated.
44556 * sysdeps/x86_64/configure: Regenerated.
44557
44558 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44559
44560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44561
44562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44563 denormal result into account.
44564
44565 2012-03-25 Roland McGrath <roland@hack.frob.com>
44566
44567 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44568 Reported by Allan McRae <allan@archlinux.org>.
44569
44570 2012-03-23 Jeff Law <law@redhat.com>
44571
44572 * nss/getnssent.c (__nss_getent): Fix typo.
44573
44574 2012-03-23 David S. Miller <davem@davemloft.net>
44575
44576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44577
44578 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44579
44580 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44581 to pad to uint64_t for each field.
44582 (dl_tls_index): Replace unsigned long with uint64_t.
44583
44584 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44585 Paul Pluzhnikov <ppluzhnikov@google.com>
44586
44587 [BZ #6528]
44588 * grp/Makefile (otherlibs): Don't set it.
44589 * inet/Makefile (otherlibs): Likewise.
44590 * login/Makefile (otherlibs): Likewise.
44591 * nscd/Makefile (otherlibs): Likewise.
44592 * posix/Makefile (otherlibs): Likewise.
44593 * pwd/Makefile (otherlibs): Likewise.
44594 * rt/Makefile (otherlibs): Likewise.
44595 * sunrpc/Makefile (otherlibs): Likewise.
44596 * nss/Makefile (otherlibs): Likewise.
44597 Add libnss_files to routines and static-only-routines.
44598 ($(objpfx)getent): Remove rule.
44599 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44600 static-only-routines.
44601
44602 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44603
44604 [BZ #13892]
44605 * math/s_cexp.c: Include <float.h>.
44606 (__cexp): Handle exp result overflowing not necessarily
44607 overflowing both real and imaginary parts of result.
44608 * math/s_cexpf.c: Likewise.
44609 * math/s_cexpl.c: Likewise.
44610 * math/libm-test.inc (cexp_test): Add more tests.
44611 * sysdeps/i386/fpu/libm-test-ulps: Update.
44612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44613
44614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44615
44616 * include/link.h (ELFW): New macro.
44617 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44618 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44619
44620 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44621
44622 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44623 with uint64_t.
44624
44625 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44626
44627 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44628 declaration.
44629 (struct La_x32_retval): Likewise.
44630
44631 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44632
44633 * sysdeps/x86_64/preconfigure.in: New file.
44634 * sysdeps/x86_64/preconfigure: New generated file.
44635
44636 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44637
44638 [BZ #13824]
44639 * math/e_exp2l.c: Include <float.h>.
44640 (__ieee754_exp2l): Handle overflow and underflow cases
44641 separately. Only pass fractional part of argument to
44642 __ieee754_expl.
44643 * math/libm-test.inc (exp2_test): Add more tests.
44644
44645 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44646 negating x to take absolute value.
44647 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44648 Likewise.
44649 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44650 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44651 Likewise.
44652 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44653 computing low part if x was negated.
44654 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44655
44656 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44657
44658 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44659 la_x32_gnu_pltexit.
44660 (pltexit): Cast int_retval to ptrdiff_t.
44661 * elf/tst-auditmod3b.c: Likewise.
44662 * elf/tst-auditmod4b.c: Likewise.
44663 * elf/tst-auditmod5b.c: Likewise.
44664 * elf/tst-auditmod6b.c: Likewise.
44665 * elf/tst-auditmod6c.c: Likewise.
44666 * elf/tst-auditmod7b.c: Likewise.
44667
44668 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44669 and x32_gnu_pltexit.
44670
44671 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44672 __ELF_NATIVE_CLASS.
44673 (La_x32_regs): New macro.
44674 (La_x32_retval): Likewise.
44675 (la_x32_gnu_pltenter): New function prototype.
44676 (la_x32_gnu_pltexit): Likewise.
44677
44678 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44679
44680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44681 exponent.
44682
44683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44684
44685 * configure.in (libc_cv_cc_nofma): Check for option to disable
44686 generation of FMA instructions.
44687 * configure: Regenerate.
44688 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44689 * sysdeps/ieee754/dbl-64/Makefile: New file.
44690 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44691 Remove brandred-fma4.
44692 (CFLAGS-brandred-fma4.c): Remove.
44693 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44695 define.
44696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44697 define.
44698
44699 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44700
44701 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44702 LLONG_MAX != LONG_MAX.
44703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44704 (_fitoa_word): Likewise.
44705 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44706 LLONG_MAX != LONG_MAX.
44707 * stdio-common/_itowa.h: Include <_itoa.h>.
44708 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44709 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44710 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44711 only if not defined.
44712 (_ITOA_WORD_TYPE): Likewise.
44713 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44714 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44715
44716 2012-03-21 David S. Miller <davem@davemloft.net>
44717
44718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44719
44720 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44721
44722 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44723 of x86_64 when setting libc_cv_slibdir, libdir and
44724 libc_cv_localedir.
44725 * sysdeps/unix/sysv/linux/configure: Regenerated.
44726
44727 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44728
44729 * manual/lang.texi (Old Varargs): Remove section.
44730 (How Variadic): Update menu.
44731 (va_start): Do not mention varargs.h.
44732
44733 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44734 Joseph Myers <joseph@codesourcery.com>
44735
44736 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44737 link test.
44738 * configure: Regenerated.
44739
44740 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44741
44742 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44743 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44744 conformtest.pl
44745
44746 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44747
44748 * NOTES: Remove.
44749 * Makefile (files-for-dist): Remove NOTES.
44750 (NOTES): Remove rule.
44751 * README: Don't refer to NOTES.
44752 * manual/creature.texi: Don't include macros.texi.
44753 * manual/intro.texi (creature.texi): Remove comment referring to
44754 NOTES.
44755
44756 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44757 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44758 * configure: Regenerated.
44759 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44760 LIBC_TRY_CC_OPTION.
44761 (libc_cv_as_i686): Likewise.
44762 (libc_cv_cc_avx): Likewise.
44763 (libc_cv_cc_sse2avx): Likewise.
44764 (libc_cv_cc_fma4): Likewise.
44765 (libc_cv_cc_novzeroupper): Likewise.
44766 * sysdeps/i386/configure: Regenerated.
44767
44768 [BZ #13883]
44769 * sysdeps/i386/fpu/s_cexp.S: Remove.
44770 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44771 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44772 * math/libm-test.inc (cexp_test): Add more tests.
44773 * sysdeps/i386/fpu/libm-test-ulps: Update.
44774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44775
44776 2012-03-21 Allan McRae <allan@archlinux.org>
44777
44778 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44779
44780 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44781
44782 [BZ #13871]
44783 * math/w_exp2.c: Do not include <float.h>.
44784 (o_threshold, u_threshold): Remove.
44785 (__exp2): Calculate result before checking finiteness and calling
44786 __kernel_standard.
44787 * math/w_exp2f.c: Likewise.
44788 * math/w_exp2l.c: Likewise.
44789 * math/libm-test.inc (exp2_test): Require overflow exception for
44790 1e6 input.
44791
44792 [BZ #3866]
44793 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44794 range of signed 64-bit integers before using fistpll. Remove
44795 checks for whether integers fit in mantissa bits.
44796 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44797 the range of signed 32-bit integers before using fistpl. Remove
44798 checks for whether integers fit in mantissa bits.
44799 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44800 (__ieee754_powl): Test for y outside the range of signed 64-bit
44801 integers before using fistpll. Reduce 64-bit values to 63-bit
44802 ones as needed.
44803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44804 divide-by-zero is raised for zero to large negative powers.
44805 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44806 (__ieee754_powl): Test for y outside the range of signed 64-bit
44807 integers before using fistpll. Reduce 64-bit values to 63-bit
44808 ones as needed.
44809 * math/libm-test.inc (pow_test): Add more tests.
44810
44811 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44812
44813 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44814 <stdio-common/_itoa.h>.
44815 * debug/segfault.c: Likewise.
44816 * elf/dl-cache.c: Likewise.
44817 * elf/dl-minimal.c: Likewise.
44818 * elf/dl-misc.c: Likewise.
44819 * elf/dl-sysdep.c: Likewise.
44820 * elf/dl-version.c: Likewise.
44821 * elf/rtld.c: Likewise.
44822 * hurd/hurdsock.c: Likewise.
44823 * hurd/lookup-retry.c: Likewise.
44824 * malloc/malloc.c: Likewise.
44825 * malloc/mtrace.c: Likewise.
44826 * nscd/nscd_getgr_r.c: Likewise.
44827 * nscd/nscd_getpw_r.c: Likewise.
44828 * nscd/nscd_getserv_r.c: Likewise.
44829 * posix/getopt_init.c: Likewise.
44830 * posix/wordexp.c: Likewise.
44831 * stdio-common/_itoa.c: Likewise.
44832 * stdio-common/printf_fphex.c: Likewise.
44833 * stdio-common/vfprintf.c: Likewise.
44834 * string/_strerror.c: Likewise.
44835 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44836 * sysdeps/i386/i686/hp-timing.h: Likewise.
44837 * sysdeps/mach/_strerror.c: Likewise.
44838 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44839 * sysdeps/mach/hurd/sethostid.c: Likewise.
44840 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44841 * sysdeps/mach/xpg-strerror.c: Likewise.
44842 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44844 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44845 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44846 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44847 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44848 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44849 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44850 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44851 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44852 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44853 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44854 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44855 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44856 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44857 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44858 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44859 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44860 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44861 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44862 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44863
44864 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44865
44866 * stdio-common/_itoa.h: Moved to ...
44867 * sysdeps/generic/_itoa.h: Here.
44868
44869 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44870
44871 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44872 instead of "_itoa.h" and "_itowa.h".
44873 * stdio-common/vfprintf.: Likewise.
44874
44875 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44876
44877 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44878 <bits/wordsize.h>.
44879 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44880 (__signbit): Likwise.
44881 (llrintf): Likwise.
44882 (llrint): Likwise.
44883
44884 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44885
44886 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44887 __WORDSIZE != 64.
44888
44889 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44890
44891 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44892 OVERFLOW_EXCEPTION_OK.
44893 * math/libm-test.inc ("Philosophy"): Update comment about
44894 exception testing.
44895 (OVERFLOW_EXCEPTION): Define.
44896 (OVERFLOW_EXCEPTION_OK): Likewise.
44897 (INVALID_EXCEPTION_OK): Renumber.
44898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44899 (IGNORE_ZERO_INF_SIGN): Likewise.
44900 (test_exceptions): Handle FE_OVERFLOW.
44901 (exp10_test): Expect overflow exceptions.
44902 (exp2_test): Likewise.
44903 (expm1_test): Likewise.
44904 (nextafter_test): Likewise.
44905 (pow_test): Likewise.
44906 (scalbn_test): Likewise.
44907 (scalbln_test): Likewise.
44908
44909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44910
44911 * sysdeps/x86_64/bits/atomic.h
44912 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44913 64bit integer.
44914 (atomic_exchange_acq): Likewise.
44915 (__arch_exchange_and_add_body): Likewise.
44916 (__arch_add_body): Likewise.
44917 (atomic_add_negative): Likewise.
44918 (atomic_add_zero): Likewise.
44919
44920 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44921
44922 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44923 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44924
44925 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44926
44927 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44928 Check __x86_64__ instead of __WORDSIZE.
44929
44930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44931
44932 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44933
44934 2012-03-19 David S. Miller <davem@davemloft.net>
44935
44936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44937
44938 * sysdeps/sparc/fpu/fenv_private.h: New file.
44939 * sysdeps/sparc/fpu/math_private.h: Use it.
44940 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44941 Remove.
44942 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44943 (libc_feholdexcept_setroundl): Remove.
44944 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44945 Remove.
44946 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44947 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44948
44949 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44950
44951 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44952 int64_t instead of long int.
44953 (INSERT_WORDS64): Likwise.
44954
44955 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44956
44957 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44958 _Unwind_GetCFA return to _Unwind_Ptr first.
44959
44960 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44961
44962 [BZ #13629]
44963 * math/s_clog.c: Include <float.h>.
44964 (__clog): Scale large or subnormal inputs.
44965 * math/s_clogf.c: Likewise.
44966 * math/s_clogl.c: Likewise.
44967 * math/s_clog10.c: Include <float.h>.
44968 (M_LOG10_2): Define.
44969 (__clog10): Scale large or subnormal inputs.
44970 * math/s_clog10f.c: Likewise.
44971 * math/s_clog10l.c: Likewise.
44972 * math/libm-test.inc (clog_test): Add more tests.
44973 (clog10_test): Likewise.
44974 * sysdeps/i386/fpu/libm-test-ulps: Update.
44975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44976
44977 [BZ #11451]
44978 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44979 x and y.
44980 * math/libm-test.inc (atan2_test): Add another test.
44981
44982 * Makerules (common-objdir-compile): Remove.
44983 * sysdeps/unix/Makefile (config-generated): Do not add
44984 $(unix-generated) to variable.
44985 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44986 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44987 Remove rule.
44988 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44989 Likewise.
44990 [generic bits/local_lim.h] (before-compile): Do not append to
44991 variable.
44992 [generic bits/local_lim.h] (common-generated): Likewise.
44993 [generic sys/param.h] (before-compile): Do not append to variable.
44994 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44995 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44996 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44997 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44998 include.
44999 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45000 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45001 [generic sys/param.h] ($(addprefix
45002 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45003 [generic sys/param.h] (common-generated): Do not append to
45004 variable.
45005 [generic sys/param.h] (sysdep_headers): Likewise.
45006 [generic bits/errno.h] (before-compile): Do not append to
45007 variable.
45008 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45009 rule.
45010 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45011 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45012 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45013 [generic bits/errno.h] (common-generated): Do not append to
45014 variable.
45015 [generic bits/ioctls.h] (before-compile): Do not append to
45016 variable.
45017 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45018 rule.
45019 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45020 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45021 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45022 rule.
45023 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45024 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45025 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45026 [generic bits/ioctls.h] (common-generated): Do not append to
45027 variable.
45028 [generic sys/syscall.h] (syscall.h): Remove variable.
45029 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45030 rule.
45031 [generic sys/syscall.h] (before-compile): Do not append to
45032 variable.
45033 [generic sys/syscall.h] (common-generated): Likewise.
45034 * sysdeps/unix/errnos-tmpl.c: Remove file.
45035 * sysdeps/unix/errnos.awk: Likewise.
45036 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45037 * sysdeps/unix/ioctls.awk: Likewise.
45038 * sysdeps/unix/mk-local_lim.c: Likewise.
45039 * sysdeps/unix/snarf-ioctls: Likewise.
45040
45041 2012-03-19 Richard Henderson <rth@twiddle.net>
45042
45043 * sysdeps/i386/fpu/fenv_private.h: New file.
45044 * sysdeps/i386/fpu/math_private.h: Use it.
45045 (math_opt_barrier, math_force_eval): Remove.
45046 (libc_feholdexcept_setround_53bit): Remove.
45047 (libc_feupdateenv_53bit): Remove.
45048 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45049 (math_opt_barrier, math_force_eval): Remove.
45050 (libc_feholdexcept): Remove.
45051 (libc_feholdexcept_setround): Remove.
45052 (libc_fetestexcept, libc_fesetenv): Remove.
45053 (libc_feupdateenv_test): Remove.
45054 (libc_feupdateenv, libc_feholdsetround): Remove.
45055 (libc_feresetround): Remove.
45056
45057 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45058 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45059
45060 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45061 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45062 (libc_feupdateenv_testl): New.
45063 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45064 (libc_feupdateenv_testf): New.
45065 (libc_feupdateenv): Use libc_feupdateenv_test.
45066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45067 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45068
45069 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45070 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45071 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45072 (libc_feresetround_noex): New.
45073 (libc_feresetround_noexf): New.
45074 (libc_feresetround_noexl): New.
45075 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45076 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45077 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45079 SET_RESTORE_ROUND.
45080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45082 (__cos): Likewise.
45083 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45085 SET_RESTORE_ROUND_NOEX.
45086 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45087 SET_RESTORE_ROUND_NOEXF.
45088 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45089 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45090 (libc_feholdsetroundf): New.
45091 (libc_feresetround, libc_feresetroundf): New.
45092
45093 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45094 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45095 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45096
45097 * sysdeps/generic/math_private.h: Include <fenv.h>.
45098 (default_libc_feholdexcept): New.
45099 (default_libc_feholdexcept_setround): New.
45100 (default_libc_fesetenv, default_libc_feupdateenv): New.
45101 (libc_feholdexcept): Only define if undefined.
45102 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45103 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45104 (libc_feholdexcept_setroundl): Likewise.
45105 (libc_feholdexcept_setround_53bit): Likewise.
45106 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45107 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45108 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45109 (libc_feupdateenv_53bit): Likewise.
45110 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45111 (libc_feholdexcept): Convert from macro to inline function.
45112 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45113 (libc_fesetenv, libc_feupdateenv): Likewise.
45114
45115 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45116 not previously defined.
45117 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45118 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45119 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45120 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45121 * sysdeps/ieee754/flt-32/math_private.h: New file.
45122 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45123 math_private.h below SET_FLOAT_WORD.
45124 (__isnan, __isinf_ns, __finite): Remove.
45125 (__isnanf, __isinf_nsf, __finitef): Remove.
45126
45127 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45128
45129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45130
45131 2012-03-17 David S. Miller <davem@davemloft.net>
45132
45133 [BZ #6471]
45134 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45135 for 2.16.
45136
45137 2012-03-16 David S. Miller <davem@davemloft.net>
45138
45139 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45140 warnings.
45141
45142 [BZ #6471]
45143 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45144 properly.
45145 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45146 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45147 sysdep_routines when subdir is sysvipc.
45148 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45149 __getshmlba helper.
45150
45151 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45152
45153 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45154
45155 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45156 [__LP64__].
45157
45158 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45159
45160 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45161 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45162 (__lround): Renamed to ...
45163 (__llround): This. Replace long int with long long int.
45164 Define lround functions as aliases of llround functions.
45165 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45166
45167 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45168
45169 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45170 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45171 adresses to uintptr_t. Replace "long int" and "unsigned long
45172 int" with "greg_t" on va_arg.
45173
45174 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45175
45176 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45177 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45178
45179 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45180 Move e_machine check before EI_CLASS check. Handle x32
45181 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45182 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45183 SKIP_EM_IA_64 and include
45184 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45185
45186 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45187 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45188 (add_system_dir): New macro.
45189
45190 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45191 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45192
45193 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45194
45195 [BZ #2551]
45196 [BZ #2552]
45197 [BZ #2553]
45198 [BZ #2554]
45199 [BZ #2562]
45200 [BZ #2563]
45201 [BZ #2565]
45202 [BZ #2566]
45203 [BZ #2576]
45204 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45205 (y0): Likewise.
45206 * math/w_j0f.c (j0f): Likewise.
45207 (y0f): Likewise.
45208 * math/w_j0l.c (__j0l): Likewise.
45209 (__y0l): Likewise.
45210 * math/w_j1.c (j1): Likewise.
45211 (y1): Likewise.
45212 * math/w_j1f.c (j1f): Likewise.
45213 (y1f): Likewise.
45214 * math/w_j1l.c (__j1l): Likewise.
45215 (__y1l): Likewise.
45216 * math/w_jn.c (jn): Likewise.
45217 (yn): Likewise.
45218 * math/w_jnf.c (jnf): Likewise.
45219 (ynf): Likewise.
45220 * math/w_jnl.c (__jnl): Likewise.
45221 (__ynl): Likewise.
45222 * math/libm-test.inc (j0_test): Add more tests.
45223 (j1_test): Likewise.
45224 (jn_test): Likewise. Add trailing semicolon to existing test.
45225 (y0_test): Likewise.
45226 (y1_test): Likewise.
45227 * sysdeps/i386/fpu/libm-test-ulps: Update.
45228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45229
45230 [BZ #13851]
45231 [BZ #13854]
45232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45233 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45234 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45235 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45236 (__tanl): Set errno for infinite argument.
45237 * sysdeps/i386/fpu/mptan.c: Remove.
45238 * sysdeps/i386/fpu/s_tan.S: Likewise.
45239 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45240 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45241 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45242 * math/libm-test.inc (tan_test): Add more tests and enable more
45243 tests for double and long double.
45244 * sysdeps/i386/fpu/libm-test-ulps: Update.
45245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45246
45247 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45248
45249 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45250 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45251
45252 2012-03-16 Roland McGrath <roland@hack.frob.com>
45253
45254 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45255 * configure.in: Use it for both main tree and add-ons.
45256 * configure: Regenerated.
45257
45258 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45259
45260 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45261
45262 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45263
45264 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45265 in comment.
45266
45267 [BZ #13851]
45268 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45269 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45270 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45271 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45273 infinite argument.
45274 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45276 != 0 for prec == 2.
45277 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45278 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45279 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45280 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45281 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45282 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45283 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45284 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45285 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45286 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45287 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45288 * math/libm-test.inc (cos_test): Add more tests and enable more
45289 tests for long double.
45290 (sin_test): Likewise.
45291 (sincos_test): Likewise.
45292 * sysdeps/i386/fpu/libm-test-ulps: Update.
45293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45294
45295 2012-03-16 David S. Miller <davem@davemloft.net>
45296
45297 * sysdeps/sparc/fpu/math_private.h: New file.
45298
45299 2012-03-15 David S. Miller <davem@davemloft.net>
45300
45301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45302 file.
45303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45305 file.
45306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45312 sysdep routines.
45313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45314
45315 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45316 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45317
45318 * sysdeps/sparc/sparc-ifunc.h: New file.
45319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45320 sparc-ifunc.h
45321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45323 Likewise.
45324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45325 Likewise.
45326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45330 Likewise.
45331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45336 Likewise.
45337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45338 Likewise.
45339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45363
45364 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45365
45366 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45367 scaling.
45368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45369
45370 2012-03-15 Andreas Jaeger <aj@suse.de>
45371
45372 [BZ #13852]
45373 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45374 ieee754/flt-32 implementation for sin, cos and sincos.
45375 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45376 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45377 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45378 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45379 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45380 ieee754/flt-32 implementation for tan.
45381
45382 * math/libm-test.inc (cos_test): Enable some large input tests for
45383 float as well
45384 (sin_test): Likewise.
45385 (sincos_test): Likewise.
45386 (tan_test): Add tests for large input.
45387
45388 * sysdeps/i386/fpu/libm-test-ulps: Update.
45389
45390 2012-03-15 Andreas Jaeger <aj@suse.de>
45391
45392 [BZ #13658]
45393 * math/libm-test.inc (cos_test): Add more test cases.
45394 (sin_test): Likewise.
45395 (sincos_test): Likewise.
45396
45397 2012-03-15 Andreas Jaeger <aj@suse.de>
45398
45399 [BZ #13837]
45400 * math/libm-test.inc (cos_test): Add a test case for large input
45401 value.
45402 (sin_test): Likewise.
45403 (sincos_test): Likewise.
45404
45405 2012-03-15 Andreas Jaeger <aj@suse.de>
45406 Joseph Myers <joseph@codesourcery.com>
45407
45408 [BZ #13658]
45409 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45410 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45411 * sysdeps/i386/fpu/branred.c: Likewise.
45412 * sysdeps/i386/fpu/dosincos.c: Likewise.
45413 * sysdeps/i386/fpu/mpa.c: Likewise.
45414 * sysdeps/i386/fpu/s_cos.S: Likewise.
45415 * sysdeps/i386/fpu/s_sin.S: Likewise.
45416 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45417 * sysdeps/i386/fpu/sincos32.c: Likewise.
45418
45419 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45420 Define.
45421 (libc_feupdateenv_53bit): Define.
45422 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45423 Define.
45424 (libc_feupdateenv_53bit): Define.
45425
45426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45427 53 bit (without extend i386 double precision).
45428
45429 * math/libm-test.inc (sincos_test): Add tests for large input.
45430 (sin): Likewise.
45431 (cos): Likewise.
45432
45433 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45434
45435 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45436
45437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45438
45439 2012-03-15 David S. Miller <davem@davemloft.net>
45440
45441 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45442 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45443 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45444 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45457 file.
45458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45460 file.
45461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45463 file.
45464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45466 file.
45467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45469 fmin/fmax sysdep routines.
45470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45471
45472 2012-03-14 David S. Miller <davem@davemloft.net>
45473
45474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45481 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45502 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45503 routines.
45504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45505 file.
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45508 file.
45509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45511 file.
45512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45514 file.
45515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45517 file.
45518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45520 file.
45521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45522 file.
45523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45524 file.
45525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45526 file.
45527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45528 New file.
45529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45530 file.
45531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45532 file.
45533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45535 file.
45536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45538 file.
45539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45541 file.
45542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45544 VIS3 routines.
45545
45546 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45547 New file.
45548
45549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45550
45551 * sysdeps/sparc/configure.in: New file.
45552 * sysdeps/sparc/configure: Generate.
45553 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45554 * configure: Regenerate.
45555 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45556 * config.make.in (have-as-vis3): New.
45557 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45558 available use -Av9d instead of -Av9a.
45559 * sysdeps/sparc/sparc64/Makefile: Likewise.
45560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45562 New file.
45563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45564 file.
45565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45566 New file.
45567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45568 file.
45569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45574
45575 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45576 fzeros/fnegs to load 0x80000000 into a float register instead of
45577 using the stack.
45578 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45579
45580 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45581
45582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45583 bits/syscall.h.
45584 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45585 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45586 ($(inst_includedir)/bits/syscall.h): Remove rule.
45587 ($(objpfx)bits/syscall.d): Include instead of
45588 $(objpfx)syscall-list.d.
45589 (generated): Change syscall-list.h and syscall-list.d to
45590 bits/syscall.h and bits/syscall.d.
45591
45592 2012-03-14 Roland McGrath <roland@hack.frob.com>
45593
45594 [BZ #13846]
45595 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45596
45597 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45598
45599 [BZ #13841]
45600 * math/s_csqrt.c: Include <float.h>.
45601 (__csqrt): Scale large or subnormal inputs.
45602 * math/s_csqrtf.c: Likewise.
45603 * math/s_csqrtl.c: Likewise.
45604 * math/libm-test.inc (csqrt_test): Add more tests.
45605 * sysdeps/i386/fpu/libm-test-ulps: Update.
45606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45607
45608 [BZ #13840]
45609 * math/libm-test.inc (hypot_test): Add more tests.
45610
45611 2012-03-13 David S. Miller <davem@davemloft.net>
45612
45613 [BZ #13840]
45614 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45615 double-precision for the calculation instead of scaling.
45616
45617 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45618
45619 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45620 manipulate bits before adding and subtracting TWO52[sx].
45621 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45623 Likewise.
45624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45625
45626 2012-03-13 David S. Miller <davem@davemloft.net>
45627
45628 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45629 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45631 rtld-global-offsets.h
45632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45633
45634 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45635 large parameters.
45636
45637 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45638
45639 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45640 'err' in the ifdef scope in which it is actually used.
45641
45642 * nss/nss_db/db-init.c: Include string.h
45643
45644 2012-03-12 David S. Miller <davem@davemloft.net>
45645
45646 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45647 masking out of the most significant byte of random value used.
45648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45649 Fix coding style in previous change.
45650
45651 * sysdeps/unix/sysv/linux/kernel-features.h
45652 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45653 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45654 expression.
45655 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45656 later.
45657
45658 2012-03-11 David S. Miller <davem@davemloft.net>
45659
45660 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45661 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45663 for 'resultvar' otherwise things get truncated on 64-bit.
45664
45665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45666 Fix masking out of the most significant byte of random value used.
45667
45668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45669
45670 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45671
45672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45673
45674 2012-03-09 David S. Miller <davem@davemloft.net>
45675
45676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45677 variables with appropriate CPP guards.
45678 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45679 from the frame pointer, not the stack pointer. Correct layout
45680 comments. Fix test on resulting framesize and the management of
45681 the outregs buffer for pltexit. Preserve floating point return
45682 values across _dl_call_pltexit call.
45683 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45684 framesize and the management of the outregs buffer for pltexit.
45685 Preserve floating point return values across _dl_call_pltexit
45686 call.
45687 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45688 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45689 (la_sparc64_gnu_pltexit): New functions.
45690 (print_exit): Fix format string for return register value.
45691
45692 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45693
45694 * sunrpc/Makefile (others): Add rpcgen.
45695 ($(objpfx)rpcgen): Remove special build rule and dependency on
45696 libc.
45697 * sunrpc/rpcgen.c: New file.
45698
45699 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45700
45701 [BZ #13673]
45702 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45703 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45704 * sysdeps/i386/crti.S: Likewise.
45705 * sysdeps/i386/crtn.S: Likewise.
45706 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45707 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45708 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45709 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45710 * sysdeps/sh/crti.S: Likewise.
45711 * sysdeps/sh/crtn.S: Likewise.
45712 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45713
45714 [BZ #13673]
45715 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45716 with URL.
45717 * locale/programs/locfile-kw.gperf: Likewise.
45718 * locale/programs/charmap-kw.h: Regenerated.
45719 * locale/programs/locfile-kw.h: Likewise.
45720
45721 [BZ #13673]
45722 * intl/plural.y: Replace FSF snail mail address with URL.
45723 * intl/plural.c: Regenerated.
45724
45725 2012-03-09 Richard Henderson <rth@twiddle.net>
45726
45727 * include/math_private.h: Remove file.
45728 * math/math_private.h: Move file ...
45729 * sysdeps/generic/math_private.h: ... here.
45730
45731 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45732 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45733 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45734
45735 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45736 and <math_private.h>.
45737 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45738 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45739 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45740 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45741 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45742 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45743 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45745 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45746 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45747 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45748 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45749 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45751 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45752 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45753 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45754 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45755 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45756 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45757 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45758 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45759 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45762 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45770 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45783 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45784 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45785 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45788 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45789 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45791 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45792 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45793 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45795 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45796 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45797 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45798 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45799 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45801 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45802 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45803 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45804 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45805 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45806 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45818 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45819 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45820 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45824 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45825 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45826 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45827 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45828 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45829 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45830 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45831 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45832 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45834 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45837 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45838 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45839 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45840 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45841 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45842 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45843 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45844 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45845 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45846 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45847 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45848 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45849 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45850 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45851 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45852 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45853 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45854 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45855 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45856 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45857 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45858 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45859 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45860 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45861 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45862 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45864 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45865 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45866 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45867 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45868 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45869 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45870 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45871 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45872 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45873 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45874 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45875 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45876 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45877 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45878 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45879 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45880 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45881 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45882 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45883 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45884 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45885 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45886 * sysdeps/ieee754/k_standard.c: Likewise.
45887 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45888 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45889 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45890 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45891 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45892 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45893 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45894 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45970 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46002 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46004 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46006 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46007 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46008 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46009 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46013 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46014 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46019 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46027 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46035 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46036 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46037 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46047 * sysdeps/ieee754/s_lib_version.c: Likewise.
46048 * sysdeps/ieee754/s_matherr.c: Likewise.
46049 * sysdeps/ieee754/s_signgam.c: Likewise.
46050 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46051 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46052 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46053 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46054 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46055 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46056 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46057 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46058 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46059 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46060 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46061 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46062 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46063 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46064 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46065 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46066 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46067 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46068 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46070 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46071
46072 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46073
46074 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46075 * sunrpc/rpc_main.c: Likewise.
46076 * sunrpc/rpc_svcout.c: Likewise.
46077
46078 2012-03-09 David S. Miller <davem@davemloft.net>
46079
46080 * include/math_private.h: New file.
46081
46082 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46083
46084 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46085 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46086 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46087 from <bits/socket_type.h>.
46088 (enum __socket_type): Don't define here.
46089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46091 bits/socket_type.h.
46092
46093 [BZ #13566]
46094 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46095 checking __USE_GNU.
46096
46097 * Makerules ($(inst_includedir)/%.h): New rule.
46098 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46099 (install-others): Remove variable setting.
46100 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46101
46102 2012-03-08 Richard Henderson <rth@twiddle.net>
46103
46104 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46105 from macro to inline function; merge with the
46106 !__LIBC_INTERNAL_MATH_INLINES version.
46107 (__ieee754_sqrtf): Likewise.
46108
46109 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46110 to inline function.
46111 (__rintf, __floor, __floorf): Likewise.
46112
46113 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46114 macro to inline function.
46115 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46116
46117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46118 not <math/math_private.h>.
46119
46120 2012-03-08 David S. Miller <davem@davemloft.net>
46121
46122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46123 copyright year.
46124 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46125
46126 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46127
46128 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46129 normalization.
46130 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46131 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46132
46133 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46134
46135 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46136 be defined individually, they must be defined as a block. Define
46137 S for printing a string instead of hidint the different by using a
46138 macro for adding the 'l'.
46139 * stdio-common/tst-fphex-wide.c: Adjust.
46140
46141 2012-03-07 Marek Polacek <polacek@redhat.com>
46142
46143 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46144
46145 2012-03-08 Marek Polacek <polacek@redhat.com>
46146
46147 [BZ #13806]
46148 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46149 * stdio-common/tst-fphex.c: Define a few macros to make the
46150 test reusable. Use them.
46151 * stdio-common/tst-fphex-wide.c: New file.
46152
46153 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46154
46155 [BZ #6911]
46156 * manual/macros.texi (gnusystems): New macro.
46157 (nongnusystems): Likewise.
46158 (gnulinuxhurdsystems): Likewise.
46159 (gnuhurdsystems): Likewise..
46160 (gnulinuxsystems): Likewise.
46161 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46162 variants of the GNU system, not "GNU system".
46163 * manual/conf.texi: Likewise.
46164 * manual/errno.texi: Likewise. Update example of errno macro
46165 expansion.
46166 * manual/filesys.texi: Likewise.
46167 (getumask): Document as specific to GNU/Hurd.
46168 * manual/install.texi: Likewise. Reword some references to
46169 GNU/Linux.
46170 * manual/intro.texi: Likewise.
46171 * manual/io.texi: Likewise.
46172 (File Name Portability): Detail which constraints are inapplicable
46173 to all GNU systems and which are only inapplicable to GNU/Hurd.
46174 * manual/job.texi: Likewise.
46175 * manual/llio.texi: Likewise.
46176 (O_NOCTTY): Document as present on GNU/Linux.
46177 * manual/maint.texi: Likewise.
46178 * manual/memory.texi: Likewise.
46179 * manual/pattern.texi: Likewise.
46180 * manual/pipe.texi: Likewise.
46181 * manual/process.texi: Likewise.
46182 * manual/resource.texi: Likewise.
46183 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46184 child on GNU/Hurd.
46185 * manual/setjmp.texi: Likewise.
46186 * manual/signal.texi: Likewise.
46187 * manual/startup.texi: Likewise.
46188 * manual/stdio.texi: Likewise.
46189 * manual/terminal.texi: Likewise.
46190 (ONLCR): Document as POSIX.
46191 (OXTABS): Document availability on GNU/Linux as XTABS.
46192 (ONOEOT): Document availability separately from other bits.
46193 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46194 * manual/time.texi: Likewise.
46195 * manual/users.texi: Likewise.
46196 * INSTALL: Regenerated.
46197 * sysdeps/gnu/errlist.c: Regenerated.
46198
46199 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46200 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46201 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46202 puts.
46203 * configure: Regenerated.
46204
46205 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46206
46207 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46208 default includes instead of AC_HEADER_CHECK.
46209 * sysdeps/i386/configure: Regenerated.
46210
46211 [BZ #10716]
46212 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46213 * math/s_cacoshf.c (__cacoshf): Likewise.
46214 * math/s_cacoshl.c (__cacoshl): Likewise.
46215 * math/s_casinh.c (__casinh): Set signs of result from argument.
46216 * math/s_casinhf.c (__casinhf): Likewise.
46217 * math/s_casinhl.c (__casinhl): Likewise.
46218 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46219 (casinh_test): Add more tests.
46220 * sysdeps/i386/fpu/libm-test-ulps: Update.
46221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46222
46223 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46224
46225 * po/zh_TW.po: Update from translation team.
46226
46227 * login/Makefile (distribute): Remove variable.
46228 * catgets/Makefile: Likewise.
46229 * mach/Makefile: Likewise.
46230 * malloc/Makefile: Likewise.
46231 * misc/Makefile: Likewise.
46232 * iconv/Makefile: Likewise.
46233 * nscd/Makefile: Likewise.
46234 * hurd/Makefile: Likewise.
46235 * manual/Makefile: Likewise.
46236 * locale/Makefile: Likewise.
46237 * intl/Makefile: Likewise.
46238 * conform/Makefile: Likewise.
46239 * nss/Makefile: Likewise.
46240 * time/Makefile: Likewise.
46241 * soft-fp/Makefile: Likewise.
46242 * dirent/Makefile: Likewise.
46243 * gmon/Makefile: Likewise.
46244 * po/Makefile: Likewise.
46245 * rt/Makefile: Likewise.
46246 * socket/Makefile: Likewise.
46247 * math/Makefile: Likewise.
46248 * signal/Makefile: Likewise.
46249 * debug/Makefile: Likewise.
46250 * elf/Makefile: Likewise.
46251 * timezone/Makefile: Likewise.
46252 * stdlib/Makefile: Likewise.
46253 * iconvdata/Makefile: Likewise.
46254 * sunrpc/Makefile: Likewise.
46255 * io/Makefile: Likewise.
46256 * argp/Makefile: Likewise.
46257 * inet/Makefile: Likewise.
46258 * hesiod/Makefile: Likewise.
46259 * grp/Makefile: Likewise.
46260 * csu/Makefile: Likewise.
46261 * wctype/Makefile: Likewise.
46262 * crypt/Makefile: Likewise.
46263 * libio/Makefile: Likewise.
46264 * string/Makefile: Likewise.
46265 * nis/Makefile: Likewise.
46266 * resolv/Makefile: Likewise.
46267 * stdio-common/Makefile: Likewise.
46268 * wcsmbs/Makefile: Likewise.
46269 * dlfcn/Makefile: Likewise.
46270 * posix/Makefile: Likewise.
46271
46272 [BZ #6959]
46273 * timezone/Makefile: Don't install timezone files, just the programs
46274 and scripts.
46275
46276 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46277
46278 * nss/databases.def: Add missing gshadow entry.
46279
46280 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46281
46282 2012-03-06 Marek Polacek <polacek@redhat.com>
46283
46284 [BZ #13726]
46285 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46286 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46287 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46288 * stdio-common/tst-long-dbl-fphex.c: New file.
46289
46290 2012-03-06 David S. Miller <davem@davemloft.net>
46291
46292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46293 (set_obp_int): New function.
46294 (get_obp_int): New function.
46295 (__get_clockfreq_via_dev_openprom): Likewise.
46296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46297 Avoid unused variable warnings on 'val' and use builtin_expect.
46298 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46299 __builtin_expect.
46300 (INLINE_CLONE_SYSCALL): Likewise.
46301
46302 2012-03-05 David S. Miller <davem@davemloft.net>
46303
46304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46305
46306 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46307
46308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46309
46310 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46311 only for |x| >= 40.
46312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46313
46314 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46315
46316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46317 Replace gettimeofday with __vdso_gettimeofday.
46318
46319 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46320 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46321 __vdso_clock_gettime and __vdso_getcpu.
46322
46323 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46324 time with __vdso_time.
46325
46326 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46327
46328 * manual/lang.texi (size_t): Note types to which size_t may be
46329 equivalent with the GNU C Library, but do not describe when
46330 differences between them are significant.
46331
46332 2012-03-05 Andreas Jaeger <aj@suse.de>
46333
46334 * sysdeps/i386/fpu/libm-test-ulps: Update.
46335
46336 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46337
46338 [BZ #3976]
46339 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46340 (__ieee754_pow): Save and restore rounding mode and use
46341 round-to-nearest for main computations.
46342 * math/libm-test.inc (pow_test_tonearest): New function.
46343 (pow_test_towardzero): Likewise.
46344 (pow_test_downward): Likewise.
46345 (pow_test_upward): Likewise.
46346 (main): Call the new functions.
46347 * sysdeps/i386/fpu/libm-test-ulps: Update.
46348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46349
46350 [BZ #3976]
46351 * math/libm-test.inc (cosh_test_tonearest): New function.
46352 (cosh_test_towardzero): Likewise.
46353 (cosh_test_downward): Likewise.
46354 (cosh_test_upward): Likewise.
46355 (sinh_test_tonearest): Likewise.
46356 (sinh_test_towardzero): Likewise.
46357 (sinh_test_downward): Likewise.
46358 (sinh_test_upward): Likewise.
46359 (main): Call the new functions.
46360 * sysdeps/i386/fpu/libm-test-ulps: Update.
46361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46362
46363 2012-03-05 Tom de Vries <tom@codesourcery.com>
46364
46365 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46366 default stack guard is set in last bytes.
46367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46368
46369 2012-03-05 Kees Cook <keescook@chromium.org>
46370
46371 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46372
46373 [BZ #13656]
46374 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46375 possibly allocate from heap instead of stack.
46376 * stdio-common/bug-vfprintf-nargs.c: New file.
46377 * stdio-common/Makefile (tests): Add nargs overflow test.
46378
46379 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46380
46381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46382
46383 2012-03-03 Marek Polacek <polacek@redhat.com>
46384
46385 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46386 * math/math_private.h: Likewise.
46387 * stdlib/tst-strtod.c: Likewise.
46388 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46389 * sysdeps/x86_64/bits/atomic.h: Likewise.
46390
46391 2012-03-02 David S. Miller <davem@davemloft.net>
46392
46393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46397 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46398 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46399 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46400 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46401
46402 2012-03-02 Roland McGrath <roland@hack.frob.com>
46403
46404 [BZ #13792]
46405 * manual/examples/README: New file, says the example source files
46406 can be used under GPL>=2.
46407 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46408 line containing just "*/".
46409 * manual/examples/add.c: Add copyright header (GPL>=2).
46410 * manual/examples/argp-ex1.c: Likewise.
46411 * manual/examples/argp-ex2.c: Likewise.
46412 * manual/examples/argp-ex3.c: Likewise.
46413 * manual/examples/argp-ex4.c: Likewise.
46414 * manual/examples/atexit.c: Likewise.
46415 * manual/examples/db.c: Likewise.
46416 * manual/examples/dir.c: Likewise.
46417 * manual/examples/dir2.c: Likewise.
46418 * manual/examples/execinfo.c: Likewise.
46419 * manual/examples/filecli.c: Likewise.
46420 * manual/examples/filesrv.c: Likewise.
46421 * manual/examples/fmtmsgexpl.c: Likewise.
46422 * manual/examples/genpass.c: Likewise.
46423 * manual/examples/inetcli.c: Likewise.
46424 * manual/examples/inetsrv.c: Likewise.
46425 * manual/examples/isockad.c: Likewise.
46426 * manual/examples/longopt.c: Likewise.
46427 * manual/examples/memopen.c: Likewise.
46428 * manual/examples/memstrm.c: Likewise.
46429 * manual/examples/mkfsock.c: Likewise.
46430 * manual/examples/mkisock.c: Likewise.
46431 * manual/examples/mygetpass.c: Likewise.
46432 * manual/examples/pipe.c: Likewise.
46433 * manual/examples/popen.c: Likewise.
46434 * manual/examples/rprintf.c: Likewise.
46435 * manual/examples/search.c: Likewise.
46436 * manual/examples/select.c: Likewise.
46437 * manual/examples/setjmp.c: Likewise.
46438 * manual/examples/sigh1.c: Likewise.
46439 * manual/examples/sigusr.c: Likewise.
46440 * manual/examples/stpcpy.c: Likewise.
46441 * manual/examples/strdupa.c: Likewise.
46442 * manual/examples/strftim.c: Likewise.
46443 * manual/examples/strncat.c: Likewise.
46444 * manual/examples/subopt.c: Likewise.
46445 * manual/examples/swapcontext.c: Likewise.
46446 * manual/examples/termios.c: Likewise.
46447 * manual/examples/testopt.c: Likewise.
46448 * manual/examples/testpass.c: Likewise.
46449 * manual/examples/timeval_subtract.c: Likewise.
46450
46451 [BZ #13792]
46452 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46453 function to ...
46454 * manual/timeval_subtract.c.texi: ... here, new file.
46455
46456 2012-03-02 David S. Miller <davem@davemloft.net>
46457
46458 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46459
46460 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46461
46462 [BZ #3976]
46463 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46464 (__sin): Save and restore rounding mode and use round-to-nearest
46465 for all computations.
46466 (__cos): Save and restore rounding mode and use round-to-nearest
46467 for all computations.
46468 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46469 <fenv.h>.
46470 (tan): Save and restore rounding mode and use round-to-nearest for
46471 all computations.
46472 * math/libm-test.inc (cos_test_tonearest): New function.
46473 (cos_test_towardzero): Likewise.
46474 (cos_test_downward): Likewise.
46475 (cos_test_upward): Likewise.
46476 (sin_test_tonearest): Likewise.
46477 (sin_test_towardzero): Likewise.
46478 (sin_test_downward): Likewise.
46479 (sin_test_upward): Likewise.
46480 (tan_test_tonearest): Likewise.
46481 (tan_test_towardzero): Likewise.
46482 (tan_test_downward): Likewise.
46483 (tan_test_upward): Likewise.
46484 (main): Call the new functions.
46485 * sysdeps/i386/fpu/libm-test-ulps: Update.
46486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46487
46488 [BZ #10135]
46489 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46490 small n, then large n, before computing and testing k+n.
46491 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46492 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46493 Likewise.
46494 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46495 Likewise.
46496 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46497 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46498 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46499 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46503 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46504 * math/libm-test.inc (scalbn_test): Add more tests.
46505 (scalbln_test): Likewise.
46506
46507 * manual/filesys.texi (mode_t): Describe constraints on size and
46508 signedness, not exact equivalence to a particular type.
46509 (ino_t): Likewise.
46510 (ino64_t): Likewise.
46511 (dev_t): Likewise.
46512 (nlink_t): Likewise.
46513 (blkcnt_t): Likewise.
46514 (blkcnt64_t): Likewise.
46515 * manual/llio.texi (off_t): Likewise.
46516
46517 [BZ #3976]
46518 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46519 (__ieee754_exp): Save and restore rounding mode and use
46520 round-to-nearest for all computations.
46521 * math/libm-test.inc (exp_test_tonearest): New function.
46522 (exp_test_towardzero): Likewise.
46523 (exp_test_downward): Likewise.
46524 (exp_test_upward): Likewise.
46525 (main): Call the new functions.
46526 * sysdeps/i386/fpu/libm-test-ulps: Update.
46527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46528
46529 2012-03-01 Chris Demetriou <cgd@google.com>
46530
46531 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46532 have predictable order.
46533
46534 2012-03-01 David S. Miller <davem@davemloft.net>
46535
46536 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46537
46538 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46539 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46540 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46541 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46542
46543 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46544 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46545 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46547 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46548 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46549 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46550 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46551 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46552
46553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46554
46555 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46556 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46557 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46558
46559 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46560 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46561 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46562 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46563 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46564 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46565 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46566 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46567 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46568 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46569 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46570 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46572 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46573 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46575 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46576 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46577 * sysdeps/sparc/elf/configure: Regenerated.
46578
46579 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46580
46581 * configure.in (AS, LD): Require binutils 2.20 or later.
46582 * configure: Regenerated.
46583 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46584 as required minimum version.
46585 * INSTALL: Regenerated.
46586
46587 [BZ #2541]
46588 [BZ #4108]
46589 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46590 before squaring exponent.
46591 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46592 bottom long double and 27 bits of top long double before squaring
46593 exponent.
46594 * math/libm-test.inc (erfc_test): Add more tests.
46595 * sysdeps/i386/fpu/libm-test-ulps: Update.
46596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46598
46599 2012-03-01 Kai Tietz <ktietz@redhat.com>
46600
46601 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46602 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46603 containing bit-fields.
46604 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46605 * soft-fp/single.h (_FP_UNION_S): Likewise.
46606 * soft-fp/double.h (_FP_UNION_D): Likewise.
46607
46608 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46609
46610 [BZ #13786]
46611 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46612 not include ../strcmp.S.
46613 [USE_AS_STRNCASECMP_L]: Likewise.
46614 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46615 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46616 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46617 (__strncasecmp_l_ia32): Define as alias to
46618 __strncasecmp_l_nonascii.
46619
46620 [BZ #5794]
46621 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46622 * sysdeps/i386/fpu/libm-test-ulps: Update.
46623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46624
46625 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46627
46628 2012-02-29 Jeff Law <law@redhat.com>
46629
46630 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46631 out of bounds read.
46632
46633 2012-02-29 Marek Polacek <polacek@redhat.com>
46634
46635 [BZ #13706]
46636 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46637 * elf/Makefile: Add rules to run tst-unused-dep.out.
46638
46639 2012-02-28 David S. Miller <davem@davemloft.net>
46640
46641 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46642 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46644 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46645 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46646 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46647
46648 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46649
46650 * math/libm-test.inc (llround_test): Move one test from
46651 lround_test. Use TEST_f_L in moved test.
46652 (lround_test): Move misplaced test to llround_test. Add testcase
46653 from bug 2561.
46654
46655 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46656
46657 * sysdeps/x86_64/fpu/e_expf.S: New file.
46658 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46659
46660 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46661
46662 [BZ #13637]
46663 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46664 of remain_len that may cause incomplete multi-byte character and
46665 false match.
46666 * posix/bug-regex33.c: New file.
46667 * posix/Makefile (tests): Add bug-regex33.
46668
46669 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46670
46671 * manual/macros.texi: New file.
46672 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46673 * manual/libc.texinfo: Include macros.texi.
46674 * manual/creatute.texi: Likewise.
46675 * manual/install.texi: Likewise.
46676 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46677 @glibcadj{} in references to the GNU C Library.
46678 * manual/charset.texi: Likewise.
46679 * manual/conf.texi: Likewise.
46680 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46681 when not using those macros.
46682 * manual/creature.texi: Likewise.
46683 * manual/crypt.texi: Likewise.
46684 * manual/errno.texi: Likewise.
46685 * manual/filesys.texi: Likewise.
46686 * manual/header.texi: Likewise.
46687 * manual/install.texi: Likewise.
46688 * manual/intro.texi: Likewise.
46689 * manual/io.texi: Likewise.
46690 * manual/job.texi: Likewise.
46691 * manual/lang.texi: Likewise.
46692 * manual/libc.texiinfo: Likewise.
46693 * manual/llio.texi: Likewise.
46694 * manual/locale.texi: Likewise.
46695 * manual/maint.texi: Likewise.
46696 * manual/math.texi: Likewise.
46697 * manual/memory.texi: Likewise.
46698 * manual/message.texi: Likewise.
46699 * manual/nss.texi: Likewise.
46700 * manual/pattern.texi: Likewise.
46701 * manual/process.texi: Likewise.
46702 * manual/resource.texi: Likewise.
46703 * manual/search.texi: Likewise.
46704 * manual/setjmp.texi: Likewise.
46705 * manual/signal.texi: Likewise.
46706 * manual/socket.texi: Likewise.
46707 * manual/startup.texi: Likewise.
46708 * manual/stdio.texi: Likewise.
46709 * manual/string.texi: Likewise.
46710 * manual/sysinfo.texi: Likewise.
46711 * manual/syslog.texi: Likewise.
46712 * manual/terminal.texi: Likewise.
46713 * manual/time.texi: Likewise.
46714 * manual/users.texi: Likewise.
46715 * INSTALL: Regenerated.
46716 * NOTES: Regenerated.
46717 * sysdeps/gnu/errlist.c: Regenerated.
46718
46719 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46720
46721 * include/dirent.h: Include <dirstream.h> before
46722 <dirent/dirent.h>.
46723
46724 2012-02-28 David S. Miller <davem@davemloft.net>
46725
46726 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46727 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46728 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46729 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46730
46731 2012-02-27 David S. Miller <davem@davemloft.net>
46732
46733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46735 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46736 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46737
46738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46739 frame pointer instead of stack pointer relative arg slot.
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46741 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46742 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46743
46744 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46745
46746 [BZ #3992]
46747 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46748
46749 2012-02-27 David S. Miller <davem@davemloft.net>
46750
46751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46755 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46756 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46757 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46758 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46759
46760 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46761
46762 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46763 later. Allow versions 5-9.
46764 * configure: Regenerated.
46765 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46766 required minimum version and 4.6 as recommended version. Do not
46767 mention bugs in GCC 2.7 and 2.8.
46768 * INSTALL: Regenerated.
46769
46770 2012-02-27 David S. Miller <davem@davemloft.net>
46771
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46776 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46777 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46778 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46779 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46780
46781 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46782 manipulate bits before adding and subtracting TWO112[sx].
46783 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46784
46785 2012-02-27 Roland McGrath <roland@hack.frob.com>
46786
46787 [BZ #13775]
46788 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46789 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46790 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46791 being in POSIX, because they are in 1003.1-2008.
46792
46793 * rt/tst-aio.c: Include <fcntl.h>.
46794 * rt/tst-aio7.c: Likewise.
46795 * rt/tst-aio64.c: Likewise.
46796
46797 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46798
46799 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46800
46801 * manual/install.texi (--with-headers): Describe headers as
46802 interface headers, not private headers.
46803 (Specific advice for GNU/Linux systems): Describe use of headers
46804 from "make headers_install", not private headers from older
46805 kernels.
46806 * INSTALL: Regenerated.
46807 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46808 Change to 2.6.19.
46809 * sysdeps/unix/sysv/linux/configure: Regenerated.
46810
46811 * manual/llio.texi (fclean): Remove documentation.
46812
46813 * manual/Makefile (libc-texi-generated): New variable. Include
46814 version.texi.
46815 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46816 $(libc-texi-generated), not duplicated list of files.
46817 (version.texi, stamp-version): New rules.
46818 (realclean): Remove $(libc-texi-generated), not individual files
46819 from that list. Do not remove dir-add.texinfo.
46820 * manual/libc.texinfo: Comment out uses of edition numbers and
46821 references to printed manual. Remove last-updated dates.
46822 (EDITION): Comment out.
46823 (ISBN): Likewise.
46824 (VERSION, UPDATED): Remove.
46825 (version.texi): Include.
46826
46827 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46828
46829 * sysdeps/posix/spawni.c: Include <signal.h>.
46830 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46831 * sysdeps/pthread/aio_fsync.c: Likewise.
46832
46833 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46834
46835 * conform/Makefile (tests): Run only when not cross-compiling and
46836 when fast-check is not defined.
46837
46838 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46839 * conform/data/limits.h-data: Fixes for POSIX2008.
46840 * conform/run-conformtest.sh: Run all tests.
46841 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46842 headers.
46843 * include/bits/dlfcn.h: Likewise.
46844 * include/langinfo.h: Likewise.
46845 * include/monetary.h: Likewise.
46846 * include/sys/poll.h: Likewise.
46847
46848 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46849 for __USE_GNU.
46850 * posix/spawn.h: Define __need_sigset_t.
46851 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46852 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46853 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46854 to get sigevent_t only.
46855 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46856 only for __USE_GNU.
46857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46858 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46859 process_vm_writev only for __USE_GNU.
46860 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46861
46862 * conform/Makefile: For now ignore errors from run-conformtest.
46863 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46864 POSIX to avoid namespace pollution. Don't prepend headers.
46865 * conform/data/aio.h-data: Fixes for POSIX testing.
46866 * conform/data/fcntl.h-data: Likewise.
46867 * conform/data/glob.h-data: Likewise.
46868 * conform/data/grp.h-data: Likewise.
46869 * conform/data/pthread.h-data: Likewise.
46870 * conform/data/pwd.h-data: Likewise.
46871 * conform/data/signal.h-data: Likewise.
46872 * conform/data/spawn.h-data: Likewise.
46873 * conform/data/stdio.h-data: Likewise.
46874 * conform/data/stdlib.h-data: Likewise.
46875 * conform/data/stropts.h-data: Likewise.
46876 * conform/data/sys/mman.h-data: Likewise.
46877 * conform/data/sys/stat.h-data: Likewise.
46878 * conform/data/sys/types.h-data: Likewise.
46879 * conform/data/sys/wait.h-data: Likewise.
46880 * conform/data/time.h-data: Likewise.
46881 * conform/data/unistd.h-data: Likewise.
46882 * conform/data/utime.h-data: Likewise.
46883
46884 * io/sys/stat.h: fchmod was always in POSIX.
46885 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46886 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46887 * rt/aio.h: Define __need_timespec before including <time.h>.
46888 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46889 struct. Add forward declaration of pthread_attr_t and use it in
46890 sigevent.
46891 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46892 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46893 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46894 always remove CLK_TCK definition.
46895
46896 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46897
46898 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46899
46900 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46901
46902 * conform/run-conformtest.sh: New file.
46903 * conform/Makefile: Run run-conformtest for tests.
46904 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46905 support.
46906
46907 * conform/data/uchar.h-data: New file.
46908 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46909 * conform/data/arpa/inet.h-data: Likewise.
46910 * conform/data/assert.h-data: Likewise.
46911 * conform/data/complex.h-data: Likewise.
46912 * conform/data/cpio.h-data: Likewise.
46913 * conform/data/ctype.h-data: Likewise.
46914 * conform/data/dirent.h-data: Likewise.
46915 * conform/data/dlfcn.h-data: Likewise.
46916 * conform/data/errno.h-data: Likewise.
46917 * conform/data/fcntl.h-data: Likewise.
46918 * conform/data/float.h-data: Likewise.
46919 * conform/data/fmtmsg.h-data: Likewise.
46920 * conform/data/fnmatch.h-data: Likewise.
46921 * conform/data/ftw.h-data: Likewise.
46922 * conform/data/glob.h-data: Likewise.
46923 * conform/data/grp.h-data: Likewise.
46924 * conform/data/iconv.h-data: Likewise.
46925 * conform/data/inttypes.h-data: Likewise.
46926 * conform/data/langinfo.h-data: Likewise.
46927 * conform/data/libgen.h-data: Likewise.
46928 * conform/data/limits.h-data: Likewise.
46929 * conform/data/locale.h-data: Likewise.
46930 * conform/data/math.h-data: Likewise.
46931 * conform/data/monetary.h-data: Likewise.
46932 * conform/data/mqueue.h-data: Likewise.
46933 * conform/data/ndbm.h-data: Likewise.
46934 * conform/data/net/if.h-data: Likewise.
46935 * conform/data/netdb.h-data: Likewise.
46936 * conform/data/netinet/in.h-data: Likewise.
46937 * conform/data/nl_types.h-data: Likewise.
46938 * conform/data/poll.h-data: Likewise.
46939 * conform/data/pthread.h-data: Likewise.
46940 * conform/data/pwd.h-data: Likewise.
46941 * conform/data/regex.h-data: Likewise.
46942 * conform/data/sched.h-data: Likewise.
46943 * conform/data/search.h-data: Likewise.
46944 * conform/data/semaphore.h-data: Likewise.
46945 * conform/data/setjmp.h-data: Likewise.
46946 * conform/data/signal.h-data: Likewise.
46947 * conform/data/spawn.h-data: Likewise.
46948 * conform/data/stdarg.h-data: Likewise.
46949 * conform/data/stdio.h-data: Likewise.
46950 * conform/data/stdlib.h-data: Likewise.
46951 * conform/data/string.h-data: Likewise.
46952 * conform/data/strings.h-data: Likewise.
46953 * conform/data/stropts.h-data: Likewise.
46954 * conform/data/sys/ipc.h-data: Likewise.
46955 * conform/data/sys/mman.h-data: Likewise.
46956 * conform/data/sys/msg.h-data: Likewise.
46957 * conform/data/sys/resource.h-data: Likewise.
46958 * conform/data/sys/select.h-data: Likewise.
46959 * conform/data/sys/sem.h-data: Likewise.
46960 * conform/data/sys/shm.h-data: Likewise.
46961 * conform/data/sys/socket.h-data: Likewise.
46962 * conform/data/sys/stat.h-data: Likewise.
46963 * conform/data/sys/statvfs.h-data: Likewise.
46964 * conform/data/sys/time.h-data: Likewise.
46965 * conform/data/sys/timeb.h-data: Likewise.
46966 * conform/data/sys/times.h-data: Likewise.
46967 * conform/data/sys/types.h-data: Likewise.
46968 * conform/data/sys/uio.h-data: Likewise.
46969 * conform/data/sys/un.h-data: Likewise.
46970 * conform/data/sys/utsname.h-data: Likewise.
46971 * conform/data/sys/wait.h-data: Likewise.
46972 * conform/data/syslog.h-data: Likewise.
46973 * conform/data/tar.h-data: Likewise.
46974 * conform/data/termios.h-data: Likewise.
46975 * conform/data/utime.h-data: Likewise.
46976 * conform/data/utmpx.h-data: Likewise.
46977 * conform/data/varargs.h-data: Likewise.
46978 * conform/data/wchar.h-data: Likewise.
46979 * conform/data/wctype.h-data: Likewise.
46980 * conform/data/wordexp.h-data: Likewise.
46981
46982 * include/stropts.h: New file.
46983 * include/uchar.h: New file.
46984 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46985 * include/assert.h: Likewise.
46986 * include/ctype.h: Likewise.
46987 * include/dirent.h: Likewise.
46988 * include/dlfcn.h: Likewise.
46989 * include/fcntl.h: Likewise.
46990 * include/fnmatch.h: Likewise.
46991 * include/glob.h: Likewise.
46992 * include/grp.h: Likewise.
46993 * include/libio.h: Likewise.
46994 * include/locale.h: Likewise.
46995 * include/math.h: Likewise.
46996 * include/net/if.h: Likewise.
46997 * include/netdb.h: Likewise.
46998 * include/netinet/in.h: Likewise.
46999 * include/pthread.h: Likewise.
47000 * include/pwd.h: Likewise.
47001 * include/regex.h: Likewise.
47002 * include/sched.h: Likewise.
47003 * include/search.h: Likewise.
47004 * include/setjmp.h: Likewise.
47005 * include/signal.h: Likewise.
47006 * include/stdio.h: Likewise.
47007 * include/stdlib.h: Likewise.
47008 * include/string.h: Likewise.
47009 * include/sys/cdefs.h: Likewise.
47010 * include/sys/mman.h: Likewise.
47011 * include/sys/msg.h: Likewise.
47012 * include/sys/resource.h: Likewise.
47013 * include/sys/select.h: Likewise.
47014 * include/sys/socket.h: Likewise.
47015 * include/sys/stat.h: Likewise.
47016 * include/sys/statvfs.h: Likewise.
47017 * include/sys/time.h: Likewise.
47018 * include/sys/times.h: Likewise.
47019 * include/sys/uio.h: Likewise.
47020 * include/sys/utsname.h: Likewise.
47021 * include/sys/wait.h: Likewise.
47022 * include/termios.h: Likewise.
47023 * include/time.h: Likewise.
47024 * include/ulimit.h: Likewise.
47025 * include/unistd.h: Likewise.
47026 * include/utime.h: Likewise.
47027 * include/wchar.h: Likewise.
47028 * include/wctype.h: Likewise.
47029 * include/wordexp.h: Likewise.
47030
47031 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47032
47033 * time/time.h: TIME_UTC must be a macro.
47034 Make timespec_get available for ISO C11 only as well.
47035
47036 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47037
47038 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47039 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47040
47041 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47042
47043 * configure.in: Use -o not -a in test for unsupported multi-arch.
47044
47045 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47046
47047 * manual/texinfo.tex: Update to version 2012-01-19.16.
47048
47049 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47050
47051 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47052
47053 2012-02-24 Roland McGrath <roland@hack.frob.com>
47054
47055 [BZ #13738]
47056 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47057 * manual/fdl-1.3.texi: New file.
47058 * manual/fdl-1.1.texi: File removed.
47059
47060 [BZ #13738]
47061 * manual/libc.texinfo (FDL_VERSION): New @set.
47062 Use it for mention of FDL in cover text.
47063 (Documentation License): Use it in @include file name.
47064
47065 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47066 Roland McGrath <roland@hack.frob.com>
47067
47068 [BZ #5461]
47069 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47070 (not LONG_LONG_MAX and LONG_LONG_MIN.
47071 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47072 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47073 name.
47074 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47075
47076 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47077
47078 [BZ #2547]
47079 [BZ #11365]
47080 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47081 manipulate bits before adding and subtracting TWO23[sx].
47082 * math/libm-test.inc (nearbyint_test): Add more tests.
47083
47084 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47085
47086 [BZ #2548]
47087 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47088 bits before adding and subtracting TWO23[sx].
47089 * math/libm-test.inc (rint_test): Add more tests.
47090 (rint_test_tonearest): Likewise.
47091 (rint_test_towardzero): Likewise.
47092 (rint_test_downward): Likewise.
47093 (rint_test_upward: Likewise.
47094
47095 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47096
47097 [BZ #10110]
47098 * include/stdc-predef.h: New file. Extracted from features.h.
47099 * include/features.h: Include stdc-predef.h.
47100 * Makefile (headers): Add stdc-predef.h.
47101 * CONFORMANCE (Compiler limitations): Update.
47102
47103 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47104
47105 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47106
47107 2012-02-21 David S. Miller <davem@davemloft.net>
47108
47109 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47110 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47111
47112 2012-02-20 David S. Miller <davem@davemloft.net>
47113
47114 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47115 using a normal save/restore sequence, rather than allocating a
47116 dummy stack frame just to store a frame pointer and restore.
47117 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47118
47119 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47120
47121 * manual/install.texi: Fix stray word in line-wrapped comment.
47122
47123 2012-02-20 David S. Miller <davem@davemloft.net>
47124
47125 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47126 both binutils and gcc support GOTDATA.
47127
47128 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47129 "rd %pc" in the PIC register setup sequences.
47130
47131 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47132 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47133 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47134 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47135 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47137 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47140 (SYSCALL_ERROR_HANDLER): Likewise.
47141 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47142 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47144 (SYSCALL_ERROR_HANDLER): Likewise.
47145
47146 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47147 (HAVE_GCC_GOTDATA): New.
47148 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47149 relocation support in both binutils and gcc.
47150 * sysdeps/sparc/elf/configure: Regenerate.
47151
47152 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47153 * sysdeps/sparc/sparc32/elf/configure: Delete.
47154 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47155 * sysdeps/sparc/sparc64/elf/configure: Delete.
47156 * sysdeps/sparc/elf/configure.in: New file.
47157 * sysdeps/sparc/elf/configure: Generate.
47158
47159 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47160 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47161 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47162 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47163 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47164
47165 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47166
47167 * manual/install.texi: Do not mention specific glibc version
47168 numbers.
47169 * manual/libc.texinfo (VERSION, UPDATED): Update.
47170 (@copying): Use @copyright{} and range of years.
47171
47172 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47173
47174 [BZ #13695]
47175 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47176 [crti.S not in sysdirs] (generated): Do not append.
47177 [crti.S not in sysdirs] (omit-deps): Likewise.
47178 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47179 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47180 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47181 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47182 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47183 Likewise.
47184 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47185 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47186 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47187 * csu/defs.awk: Remove file.
47188 * sysdeps/generic/initfini.c: Likewise.
47189 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47190 variable.
47191 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47192 Likewise.
47193
47194 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47195
47196 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47197 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47198 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47199 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47200 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47201 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47202 <bits/epoll.h>.
47203 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47204 (__EPOLL_PACKED): Define to empty if not defined by
47205 <bits/epoll.h>.
47206 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47208 bits/epoll.h.
47209
47210 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47211
47212 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47213 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47214 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47215 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47216 <bits/timerfd.h>.
47217 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47219 bits/timerfd.h.
47220
47221 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47222
47223 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47224 in C locale.
47225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47226 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47227 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47229
47230 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47231
47232 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47233 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47234
47235 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47236
47237 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47238 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47239 defined.
47240 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47241 Likewise.
47242 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47243 entry for 2.16.
47244
47245 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47246
47247 * math/w_acos.c: Use non-signaling floating-point comparisons.
47248 * math/w_acosf.c: Likewise.
47249 * math/w_acosh.c: Likewise.
47250 * math/w_acoshf.c: Likewise.
47251 * math/w_acoshl.c: Likewise.
47252 * math/w_acosl.c: Likewise.
47253 * math/w_asin.c: Likewise.
47254 * math/w_asinf.c: Likewise.
47255 * math/w_asinl.c: Likewise.
47256 * math/w_atanh.c: Likewise.
47257 * math/w_atanhf.c: Likewise.
47258 * math/w_atanhl.c: Likewise.
47259 * math/w_exp2.c: Likewise.
47260 * math/w_exp2f.c: Likewise.
47261 * math/w_exp2l.c: Likewise.
47262 * math/w_j0.c: Likewise.
47263 * math/w_j0f.c: Likewise.
47264 * math/w_j0l.c: Likewise.
47265 * math/w_j1.c: Likewise.
47266 * math/w_j1f.c: Likewise.
47267 * math/w_j1l.c: Likewise.
47268 * math/w_jn.c: Likewise.
47269 * math/w_jnf.c: Likewise.
47270 * math/w_log.c: Likewise.
47271 * math/w_log10.c: Likewise.
47272 * math/w_log10f.c: Likewise.
47273 * math/w_log10l.c: Likewise.
47274 * math/w_log2.c: Likewise.
47275 * math/w_log2f.c: Likewise.
47276 * math/w_log2l.c: Likewise.
47277 * math/w_logf.c: Likewise.
47278 * math/w_logl.c: Likewise.
47279 * math/w_sqrt.c: Likewise.
47280 * math/w_sqrtf.c: Likewise.
47281 * math/w_sqrtl.c: Likewise.
47282 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47283 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47284 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47285 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47286 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47287
47288 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47289
47290 [BZ #9739]
47291 * manual/string.texi (strnlen): Use correct parameter name in
47292 equivalent expression.
47293
47294 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47295
47296 [BZ #11174]
47297 * manual/users.texi (seteuid): Consistently use neweuid for
47298 argument name.
47299
47300 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47301
47302 [BZ #13704]
47303 * manual/nss.texi (Services in the NSS configuration): Correct
47304 list of services in example configuration file.
47305
47306 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47307
47308 [BZ #11322]
47309 * manual/arith.texi: Remove statements about negative zero
47310 behaving identically to zero.
47311
47312 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47313
47314 [BZ #5993]
47315 * manual/install.texi: Do not document upgrading from libc5.
47316
47317 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47318
47319 [BZ #4596]
47320 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47321
47322 2012-02-18 David S. Miller <davem@davemloft.net>
47323
47324 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47325 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47326 %o7 across the call.
47327 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47328 instead.
47329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47330 SETUP_PIC_REG_LEAF.
47331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47332 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47333 * sysdeps/sparc/crtn.S: Likewise.
47334
47335 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47336
47337 * aout/Makefile: Remove.
47338
47339 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47340
47341 [BZ #13058]
47342 * manual/examples/argp-ex1.c (main): Format definition in GNU
47343 style.
47344 * manual/examples/argp-ex2.c (main): Likewise.
47345 * manual/examples/argp-ex3.c (main): Likewise.
47346 * manual/examples/argp-ex4.c (main): Likewise.
47347 * manual/examples/longopt.c (main): Use new-style prototype
47348 definition.
47349 * manual/examples/strncat.c (main): Specify return type and use
47350 (void) for arguments.
47351 * manual/examples/subopt.c (main): Use char **argv argument.
47352
47353 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47354
47355 [BZ #5077]
47356 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47357 rounding modes.
47358
47359 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47360
47361 [BZ #6907]
47362 * manual/string.texi (strchr): Change when strchrnul is
47363 recommended.
47364
47365 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47366
47367 [BZ #174]
47368 * manual/locale.texi (setlocale): Document LOCPATH.
47369
47370 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47371
47372 [BZ #10210]
47373 * manual/process.texi (execle): Move @dots{} before last argument.
47374
47375 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47376
47377 [BZ #12047]
47378 * manual/charset.texi (Generic Charset Conversion): Fix typo
47379 (LC_TYPE -> LC_CTYPE).
47380
47381 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47382
47383 [BZ #5805]
47384 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47385 (scalbnf): Likewise.
47386 (scalbnl): Likewise.
47387 (scalbln): Likewise.
47388 (scalblnf): Likewise.
47389 (scalblnl): Likewise.
47390 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47391 (vwarnx): Likewise.
47392 (verr): Likewise.
47393 (verrx): Likewise.
47394 * manual/filesys.texi (telldir): Use braces around return type.
47395 * manual/llio.texi (mmap): Add space after comma.
47396 (mmap64): Likewise.
47397 * manual/math.texi (jn): Use @var{} on parameter names.
47398 (jnf): Likewise.
47399 (jnl): Likewise.
47400 (yn): Likewise.
47401 (ynf): Likewise.
47402 (ynl): Likewise.
47403 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47404 line.
47405 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47406 "...".
47407 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47408 (sched_get_priority_max): Likewise.
47409 * manual/signal.texi (sigvec): Add space after comma.
47410 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47411 names.
47412 (if_indextoname): Likewise.
47413 (if_freenameindex): Likewise.
47414 (sendto): Use ',' instead of '.' in prototype.
47415 * manual/startup.texi (syscall): Use @dots{} instead of literal
47416 "...".
47417 * manual/stdio.texi (__fpending): Separate initial words of
47418 paragraph from @deftypefun line.
47419 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47420 "...".
47421 (vsyslog): Use @var{} on parameter names.
47422 * manual/terminal.texi (stty): Use @var{} on parameter names.
47423 * manual/users.texi (getutmp): Use @var{} on parameter names.
47424 (getutmpx): Likewise.
47425
47426 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47427
47428 [BZ #6884]
47429 * manual/stdio.texi (fopen): Fix typos in description of
47430 ",ccs=STRING".
47431
47432 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47433
47434 [BZ #4026]
47435 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47436 get clock_id definition.
47437
47438 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47439
47440 [BZ #4822]
47441 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47442 (madvise): Cast every argument to void on its own.
47443
47444 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47445
47446 [BZ #9902]
47447 * manual/startup.texi (Exit Status): Fix typo.
47448
47449 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47450
47451 [BZ #10140]
47452 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47453 * manual/examples/argp-ex2.c: Likewise.
47454 * manual/examples/argp-ex3.c: Likewise.
47455
47456 2012-02-16 Richard Henderson <rth@redhat.com>
47457
47458 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47459 * sysdeps/s390/s390-32/initfini.c: Remove.
47460 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47461 * sysdeps/s390/s390-64/initfini.c: Remove.
47462
47463 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47464
47465 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47466 compiler output for sysdeps/generic/initfini.c.
47467 * sysdeps/sh/elf/initfini.c: Remove file.
47468
47469 2012-02-16 David S. Miller <davem@davemloft.net>
47470
47471 [BZ #11494]
47472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47473
47474 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47475 * sysdeps/sparc/crti.S: New file.
47476 * sysdeps/sparc/crtn.S: New file.
47477 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47478 * sysdeps/sparc/sparc64/Makefile: Likewise.
47479
47480 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47481
47482 [BZ #3335]
47483 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47484
47485 2012-02-15 Roland McGrath <roland@hack.frob.com>
47486
47487 [BZ #4822]
47488 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47489
47490 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47491 (write, read, close): Likewise.
47492 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47493
47494 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47495
47496 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47497 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47498 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47499 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47500 <bits/signalfd.h>.
47501 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47503 bits/signalfd.h.
47504
47505 2012-02-14 Marek Polacek <polacek@redhat.com>
47506
47507 * sysdeps/x86_64/crti.S: New file.
47508 * sysdeps/x86_64/crtn.S: New file.
47509 * sysdeps/x86_64/elf/initfini.c: Remove file.
47510
47511 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47512
47513 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47514 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47515 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47516 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47517 <bits/inotify.h>.
47518 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47520 bits/inotify.h.
47521
47522 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47523
47524 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47525 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47526 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47527 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47528 <bits/eventfd.h>.
47529 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47531 bits/eventfd.h.
47532
47533 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47534
47535 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47536 __feraiseexcept instead of feraiseexcept.
47537
47538 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47539 nanosleep invocations.
47540 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47541 strings, and add error checking for a nanosleep invocations.
47542
47543 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47544
47545 Replace FSF snail mail address with URLs, as per GNU coding standards.
47546 Most of the snail mail addresses were wrong anyway, and omitting
47547 them makes the source code easier to maintain. Almost all of the
47548 changes are to license notices and to locale LC_IDENTIFICATION
47549 addresses, except for this one:
47550 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47551 not its snail mail address.
47552
47553 2012-02-09 Richard Henderson <rth@twiddle.net>
47554
47555 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47556 of kernel-features.h.
47557
47558 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47559
47560 2012-02-08 Marek Polacek <polacek@redhat.com>
47561
47562 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47563 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47564 * sysdeps/gnu/_G_config.h: Likewise.
47565 * sysdeps/generic/_G_config.h: Likewise.
47566
47567 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47568
47569 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47570 tests.
47571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47572
47573 * sysdeps/powerpc/powerpc32/crti.S: New file.
47574 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47575 * sysdeps/powerpc/powerpc64/crti.S: New file.
47576 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47577
47578 * Makeconfig (have-initfini): Don't set.
47579 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47580 * configure.in (nopic_initfini): Don't substitute.
47581 * config.h.in (HAVE_INITFINI): Don't #undef.
47582 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47583 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47584
47585 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47586
47587 Support crti.S and crtn.S provided directly by architectures.
47588 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47589 [crti.S in sysdirs] (omit-deps): Likewise.
47590 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47591 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47592 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47593 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47594 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47595 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47596 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47597 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47598 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47599 compiler output for sysdeps/generic/initfini.c.
47600 * sysdeps/i386/elf/Makefile: Remove file.
47601 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47602
47603 2012-02-07 Marek Polacek <polacek@redhat.com>
47604
47605 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47606 * sysdeps/gnu/_G_config.h: Likewise.
47607 * sysdeps/mach/hurd/_G_config.h: Likewise.
47608
47609 2012-02-07 Marek Polacek <polacek@redhat.com>
47610
47611 * math/Makefile (tests): Add tst-CMPLX2.
47612 * math/tst-CMPLX2.c: New file.
47613
47614 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47615
47616 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47617
47618 * math/libm-test.inc (jn_test): Add missing L suffix.
47619
47620 2012-02-06 Marek Polacek <polacek@redhat.com>
47621
47622 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47623 * sysdeps/i386/fpu/e_powf.S: Likewise.
47624 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47625 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47626 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47627 * sysdeps/i386/fpu/e_pow.S: Likewise.
47628 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47629 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47630 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47631 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47632 * sysdeps/i386/fpu/e_log2.S: Likewise.
47633 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47634 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47635 * sysdeps/i386/fpu/e_powl.S: Likewise.
47636 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47637 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47638 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47639 * sysdeps/i386/fpu/e_logl.S: Likewise.
47640 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47641 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47642 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47643 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47644 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47646 * sysdeps/i386/fpu/e_log.S: Likewise.
47647 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47648 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47649 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47650 * sysdeps/i386/fpu/e_logf.S: Likewise.
47651 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47652 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47653 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47654 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47655 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47656 * sysdeps/i386/fpu/e_log10.S: Likewise.
47657 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47659 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47660 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47661 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47662 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47663 * sysdeps/i386/asm-syntax.h: Likewise.
47664 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47666 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47667 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47668 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47669 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47670 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47671 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47672 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47673 * sysdeps/powerpc/sysdep.h: Likewise.
47674 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47675 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47676
47677 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47678
47679 [BZ #411]
47680 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47681
47682 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47683
47684 * sysdeps/i386/sysdep.h: Include <features.h>.
47685 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47686 version.
47687
47688 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47689
47690 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47691 Define.
47692 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47693 LOAD_PIC_REG_STR.
47694
47695 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47696
47697 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47698 (SETUP_PIC_REG): Use GET_PC_THUNK.
47699 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47700 macro.
47701
47702 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47703
47704 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47705 for non-PIC compilation.
47706 (SETUP_PIC_REG): Add .p2align directive.
47707 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47708 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47709 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47710 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47711 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47712 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47713 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47714 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47715 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47716 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47717 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47718 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47719 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47720 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47721 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47722 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47723 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47724 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47725 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47726 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47727 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47728 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47729 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47730 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47731 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47732 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47733 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47734 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47735 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47736 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47737 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47738 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47739 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47740 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47741 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47742 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47743 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47744 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47745 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47746 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47747 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47748
47749 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47750
47751 * math/tst-CMPLX.c: Include <stdio.h>.
47752
47753 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47754
47755 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47756 float.
47757 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47758 * sysdeps/sparc/bits/mathdef.h: Likewise.
47759
47760 2012-01-31 Marek Polacek <polacek@redhat.com>
47761
47762 * libio/libio.h: Don't define _PARAMS.
47763 * locale/programs/config.h: Don't define PARAMS.
47764 * stdlib/strtol_l.c: Likewise.
47765 (__strtol_l): Remove PARAMS from the prototype.
47766
47767 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47768
47769 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47770 names. Just use the correct names. Remove unnecessary wrapper
47771 functions.
47772 * malloc/arena.c: Likewise.
47773 * malloc/hooks.c: Likewise.
47774
47775 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47776 ARENA_TEST says not to. Simplify test for creation of a new arena.
47777 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47778
47779 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47780
47781 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47782 into tail calls.
47783 (update_get_addr): New function.
47784 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47785 GET_ADDR_MODULE parameter.
47786
47787 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47788
47789 * crypt/cert.c: Remove __STDC__ conditionals.
47790 * crypt/crypt-entry.c: Likewise.
47791 * crypt/crypt_util.c: Likewise.
47792 * libio/filedoalloc.c: Likewise.
47793 * libio/fileops.c: Likewise.
47794 * libio/genops.c: Likewise.
47795 * libio/iofclose.c: Likewise.
47796 * libio/iofdopen.c: Likewise.
47797 * libio/iofopen.c: Likewise.
47798 * libio/iofopen64.c: Likewise.
47799 * libio/iogetdelim.c: Likewise.
47800 * libio/iopopen.c: Likewise.
47801 * libio/obprintf.c: Likewise.
47802 * libio/oldfileops.c: Likewise.
47803 * libio/oldiofclose.c: Likewise.
47804 * libio/oldiofdopen.c: Likewise.
47805 * libio/oldiofopen.c: Likewise.
47806 * libio/oldiopopen.c: Likewise.
47807 * libio/wfiledoalloc.c: Likewise.
47808 * libio/wgenops.c: Likewise.
47809 * locale/programs/xmalloc.c: Likewise.
47810 * misc/syslog.c: Likewise.
47811 * stdio-common/xbug.c: Likewise.
47812 * string/memchr.c: Likewise.
47813 * string/memcmp.c: Likewise.
47814 * string/memrchr.c: Likewise.
47815 * string/rawmemchr.c: Likewise.
47816 * sysdeps/posix/getcwd.c: Likewise.
47817 * time/strftime_l.c: Likewise.
47818
47819 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47820
47821 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47822 * config.make.in (config-cflags-sse2avx): Define.
47823 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47824 Fix typo.
47825
47826 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47827
47828 * scripts/config.guess: Update from upstream config git repository.
47829 * scripts/config.sub: Likewise.
47830
47831 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47832
47833 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47834 (EM_NUM): Update.
47835 (R_TILEPRO_*, R_TILEGX_*): New macros.
47836
47837 * scripts/firstversions.awk: Fix bug in version range handling.
47838
47839 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47840
47841 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47842
47843 * include/sys/epoll.h: New file.
47844 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47845 libc_hidden_def.
47846
47847 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47848
47849 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47850 Avoid unnecessary __WORDSIZE == 64 test.
47851 (fmaxf): Use VEX format if possible.
47852 (fmax): Likewise.
47853 (fminf): Likewise.
47854 (fmin): Likewise.
47855
47856 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47857 * math/math_private.h: Remove libc_fegetround* and
47858 libc_fesetround*.
47859 * sysdeps/i386/configure.in: Check for -msse2avx.
47860 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47861 also if SSE2AVX is defined.
47862 Remove libc_fegetround* and libc_fesetround*.
47863 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47864 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47865 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47866 of HAS_YMM_USABLE.
47867 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47868 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47869 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47870 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47871 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47872
47873 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47874
47875 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47876
47877 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47878 size is not set.
47879 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47880
47881 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47882
47883 [BZ #13618]
47884 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47885 relocation.
47886 * Makeconfig (libm): Define.
47887 * elf/Makefile: Add rules to build and run tst-relsort1.
47888 * elf/tst-relsort1.c: New file.
47889 * elf/tst-relsort1mod1.c: New file.
47890 * elf/tst-relsort1mod2.c: New file.
47891
47892 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47893
47894 * math/s_ldexp.c: Remove __STDC__ conditionals.
47895 * math/s_ldexpf.c: Likewise.
47896 * math/s_ldexpl.c: Likewise.
47897 * math/s_nextafter.c: Likewise.
47898 * math/s_nexttowardf.c: Likewise.
47899 * math/s_significand.c: Likewise.
47900 * math/s_significandf.c: Likewise.
47901 * math/s_significandl.c: Likewise.
47902 * math/w_jnl.c: Likewise.
47903 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47904 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47905 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47906 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47907 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47909 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47910 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47911 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47912 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47913 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47915 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47916 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47917 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47918 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47919 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47920 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47922 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47923 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47924 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47925 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47926 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47927 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47928 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47929 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47930 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47931 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47932 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47933 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47934 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47935 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47936 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47937 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47938 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47939 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47940 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47941 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47942 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47943 * sysdeps/ieee754/k_standard.c: Likewise.
47944 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47945 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47946 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47947 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47948 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47949 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47950 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47951 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47952 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47953 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47954 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47955 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47956 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47957 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47958 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47959 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47960 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47961 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48005 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48007 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48010 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48011 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48016 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48018 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48019 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48023 * sysdeps/ieee754/s_matherr.c: Likewise.
48024 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48025 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48026 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48027 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48028
48029 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48030
48031 * crypt/md5.h: Remove __STDC__ conditionals.
48032 * libio/libioP.h: Likewise.
48033 * locale/programs/config.h: Likewise.
48034 * sysdeps/generic/sysdep.h: Likewise.
48035 * sysdeps/i386/asm-syntax.h: Likewise.
48036 * sysdeps/s390/asm-syntax.h: Likewise.
48037 * sysdeps/unix/sysdep.h: Likewise.
48038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48040
48041 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48042
48043 * libio/libio.h: Remove __STDC__ conditionals.
48044 * malloc/obstack.h: Likewise.
48045 * math/complex.h: Likewise.
48046 * math/math.h: Likewise.
48047 * sysdeps/generic/_G_config.h: Likewise.
48048 * sysdeps/gnu/_G_config.h: Likewise.
48049 * sysdeps/mach/hurd/_G_config.h: Likewise.
48050 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48051 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48052 * sysdeps/sparc/bits/mathdef.h: Likewise.
48053
48054 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48055
48056 [BZ #13583]
48057 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48058 Clean up HAS_* macros.
48059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48060 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48061 possible.
48062 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48063 HAS_AVX.
48064 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48065 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48066 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48067 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48068 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48069
48070 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48071
48072 * elf/tst-unique3.cc (gets): Remove declaration.
48073 * elf/tst-unique3lib.cc (gets): Likewise.
48074 * elf/tst-unique3lib2.cc (gets): Likewise.
48075 * elf/tst-unique4.cc (gets): Likewise.
48076
48077 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48078
48079 * include/stdio.h: Add C++ protection. Add gets declarations and
48080 definitions.
48081 * debug/tst-chk1.c: Don't declare gets here.
48082 * stdio-common/tst-gets.c: Likewise.
48083
48084 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48085
48086 * posix/glob: Remove directory.
48087
48088 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48089
48090 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48091
48092 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48093
48094 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48095 of the non-standard EPFNOSUPPORT.
48096
48097 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48098
48099 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48100 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48101 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48102
48103 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48104
48105 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48106
48107 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48108
48109 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48110 transient errors.
48111 * nscd/grpcache.c (cache_addgr): Likewise.
48112 * nscd/hstcache.c (cache_addhst): Likewise.
48113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48114 * nscd/pwdcache.c (cache_addpw): Likewise.
48115 * nscd/servicescache.c (cache_addserv): Likewise.
48116
48117 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48118
48119 * malloc/malloc.c: Various cleanups.
48120 * malloc/hooks.c: Likewise.
48121
48122 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48123 * stdlib/bug-fmtmsg1.c: New file.
48124
48125 * stdlib/fmtmsg.c (init): Add missing unlock.
48126 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48127
48128 2012-01-12 Marek Polacek <polacek@redhat.com>
48129
48130 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48131 and _GNU_SOURCE.
48132
48133 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48134
48135 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48136 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48137 macro to ensure uniqueness of label name.
48138 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48139 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48140
48141 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48142
48143 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48144
48145 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48146 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48147 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48148 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48149
48150 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48151
48152 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48153
48154 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48155 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48156 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48157
48158 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48159
48160 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48161 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48162 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48164
48165 * math/bits/math-finite.h: Add ldexp support.
48166
48167 2012-01-10 Marek Polacek <polacek@redhat.com>
48168
48169 * locale/programs/localedef.h (show_archive_content): Add noreturn
48170 attribute.
48171
48172 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48173
48174 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48175
48176 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48177
48178 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48179
48180 * io/Makefile (headers): Add bits/poll2.h.
48181
48182 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48183
48184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48185 typo #include statement.
48186
48187 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48188
48189 * include/sys/cdefs.h: Define __attribute_alloc_size.
48190 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48191 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48192 * elf/pldd.c: Likewise.
48193 * iconv/iconv_charmap.c: Likewise.
48194 * iconv/iconvconfig.c: Likewise.
48195 * iconv/strtab.c: Likewise.
48196 * locale/programs/locale.c: Likewise.
48197 * locale/programs/localedef.h: Likewise.
48198 * locale/programs/simple-hash.c: Likewise.
48199 * nscd/nscd.h: Likewise.
48200 * nss/makedb.c: Likewise.
48201 * sysdeps/generic/ldconfig.h: Likewise.
48202 * locale/programs/localedef.c: Remove xmalloc prototype.
48203 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48204
48205 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48206
48207 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48208 appropriate.
48209
48210 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48211
48212 * math/Makefile (tests): Add tst-CMPLX.
48213 * math/tst-CMPLX.c: New file.
48214
48215 * math/complex.h (CMPLXL): Fix typo.
48216
48217 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48218 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48219 GLIBC_2.16.
48220 * debug/tst-chk1.c: Add poll and ppoll tests.
48221 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48222 * include/sys/poll.h: Add hidden proto for ppoll.
48223 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48224 * sysdeps/mach/hurd/ppoll.c: Likewise.
48225 * io/ppoll.c: Likewise.
48226 * debug/poll_chk.c: New file.
48227 * debug/ppoll_chk.c: New file.
48228 * include/bits/poll2.h: New file.
48229 * io/bits/poll2.h: New file.
48230
48231 [BZ #1350]
48232 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48233
48234 * configure.in: static is always set to yes. Remove.
48235 * config.make.in: Don't set build-static.
48236 * Makeconfig: Remove use of build-static.
48237 * dlfcn/Makefile: Likewise.
48238 * elf/Makefile: Likewise.
48239 * math/Makefile: Likewise.
48240 * misc/Makefile: Likewise.
48241 * nptl/Makefile: Likewise.
48242 * sysdeps/mach/hurd/Makefile: Likewise.
48243
48244 * configure.in: PWD_P is not used anymore.
48245 * config.make.in: Remove PWD_P entry.
48246
48247 * configure.in: Remove last remnants of RANLIB.
48248 No need to check for signed size_t anymore.
48249 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48250 and IA-64.
48251 Remove __builtin_expect test because we require at least gcc 3.4.
48252 * aclocal.m4: Likewise.
48253
48254 * wcsmbs/mbrtoc16.c: Implement using towc function.
48255 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48256 * wcsmbs/wcsmbsload.c: Likewise.
48257 * iconv/gconv_simple.c: Likewise.
48258 * iconv/gconv_int.h: Likewise.
48259 * iconv/gconv_builtin.h: Likewise.
48260 * iconv/iconv_prog.c: Remove CHAR16 handling.
48261
48262 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48263
48264 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48265
48266 * configure.in: Remove --with-elf and --enable-bounded options.
48267 Dont set base_machine for ia64. More non-ELF conditions removed.
48268 Remove testing and setting of leading underscore information.
48269 * config.make.in (build-bounded): Set to no.
48270 * config.h.in: Remove NO_UNDERSCORES entry.
48271 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48272 them.
48273 * csu/start.c: Remove !NO_UNDERSCORE code.
48274 * locale/localeinfo.h: Likewise.
48275 * sysdeps/generic/machine-gmon.h: Likewise.
48276 * sysdeps/generic/sysdep.h: Likewise.
48277 * sysdeps/i386/sysdep.h: Likewise.
48278 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48279 * sysdeps/mach/sysdep.h: Likewise.
48280 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48282 * sysdeps/sh/sysdep.h: Likewise.
48283 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48284 * sysdeps/unix/i386/sysdep.S: Likewise.
48285 * sysdeps/unix/sparc/start.c: Likewise.
48286 * sysdeps/unix/sparc/sysdep.S: Likewise.
48287 * sysdeps/unix/sparc/sysdep.h: Likewise.
48288 * sysdeps/unix/start.c: Likewise.
48289 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48290 * sysdeps/x86_64/sysdep.h: Likewise.
48291
48292 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48293
48294 [BZ #13553]
48295 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48296 for non-gcc.
48297 * argp/argp-fmtstream.h: Use const instead __const.
48298 * argp/argp.h: Likewise.
48299 * assert/assert.h: Likewise.
48300 * bits/fenv.h: Likewise.
48301 * bits/sched.h: Likewise.
48302 * bits/sigset.h: Likewise.
48303 * bits/sigthread.h: Likewise.
48304 * catgets/nl_types.h: Likewise.
48305 * conform/data/pthread.h-data: Likewise.
48306 * crypt/crypt-private.h: Likewise.
48307 * crypt/crypt.h: Likewise.
48308 * crypt/crypt_util.c: Likewise.
48309 * ctype/ctype.h: Likewise.
48310 * debug/execinfo.h: Likewise.
48311 * debug/mbsnrtowcs_chk.c: Likewise.
48312 * debug/mbsrtowcs_chk.c: Likewise.
48313 * debug/wcsnrtombs_chk.c: Likewise.
48314 * debug/wcsrtombs_chk.c: Likewise.
48315 * debug/wcstombs_chk.c: Likewise.
48316 * dirent/dirent.h: Likewise.
48317 * dlfcn/dlfcn.h: Likewise.
48318 * elf/neededtest4.c: Likewise.
48319 * grp/grp.h: Likewise.
48320 * gshadow/gshadow.h: Likewise.
48321 * iconv/gconv.h: Likewise.
48322 * iconv/gconv_int.h: Likewise.
48323 * iconv/gconv_simple.c: Likewise.
48324 * iconv/iconv.h: Likewise.
48325 * iconv/loop.c: Likewise.
48326 * iconv/skeleton.c: Likewise.
48327 * include/aio.h: Likewise.
48328 * include/aliases.h: Likewise.
48329 * include/argz.h: Likewise.
48330 * include/arpa/inet.h: Likewise.
48331 * include/assert.h: Likewise.
48332 * include/dirent.h: Likewise.
48333 * include/dlfcn.h: Likewise.
48334 * include/execinfo.h: Likewise.
48335 * include/fcntl.h: Likewise.
48336 * include/fenv.h: Likewise.
48337 * include/glob.h: Likewise.
48338 * include/grp.h: Likewise.
48339 * include/libintl.h: Likewise.
48340 * include/mntent.h: Likewise.
48341 * include/netdb.h: Likewise.
48342 * include/pwd.h: Likewise.
48343 * include/rpc/netdb.h: Likewise.
48344 * include/sched.h: Likewise.
48345 * include/search.h: Likewise.
48346 * include/shadow.h: Likewise.
48347 * include/signal.h: Likewise.
48348 * include/stdio.h: Likewise.
48349 * include/stdlib.h: Likewise.
48350 * include/string.h: Likewise.
48351 * include/sys/socket.h: Likewise.
48352 * include/sys/stat.h: Likewise.
48353 * include/sys/statfs.h: Likewise.
48354 * include/sys/statvfs.h: Likewise.
48355 * include/sys/syslog.h: Likewise.
48356 * include/sys/time.h: Likewise.
48357 * include/sys/uio.h: Likewise.
48358 * include/time.h: Likewise.
48359 * include/unistd.h: Likewise.
48360 * include/utmp.h: Likewise.
48361 * include/wchar.h: Likewise.
48362 * include/wctype.h: Likewise.
48363 * inet/aliases.h: Likewise.
48364 * inet/arpa/inet.h: Likewise.
48365 * inet/netinet/ether.h: Likewise.
48366 * inet/netinet/in.h: Likewise.
48367 * intl/libintl.h: Likewise.
48368 * io/bits/fcntl2.h: Likewise.
48369 * io/fcntl.h: Likewise.
48370 * io/ftw.h: Likewise.
48371 * io/sys/poll.h: Likewise.
48372 * io/sys/stat.h: Likewise.
48373 * io/sys/statfs.h: Likewise.
48374 * io/sys/statvfs.h: Likewise.
48375 * io/utime.h: Likewise.
48376 * libio/bits/stdio.h: Likewise.
48377 * libio/bits/stdio2.h: Likewise.
48378 * libio/libio.h: Likewise.
48379 * libio/libioP.h: Likewise.
48380 * libio/stdio.h: Likewise.
48381 * locale/lc-ctype.c: Likewise.
48382 * locale/locale.h: Likewise.
48383 * login/utmp.h: Likewise.
48384 * malloc/arena.c: Likewise.
48385 * malloc/malloc.c: Likewise.
48386 * malloc/malloc.h: Likewise.
48387 * malloc/mcheck.c: Likewise.
48388 * malloc/mtrace.c: Likewise.
48389 * math/bits/mathcalls.h: Likewise.
48390 * math/fenv.h: Likewise.
48391 * math/math_private.h: Likewise.
48392 * misc/bits/error.h: Likewise.
48393 * misc/bits/syslog.h: Likewise.
48394 * misc/err.h: Likewise.
48395 * misc/error.h: Likewise.
48396 * misc/fstab.h: Likewise.
48397 * misc/mntent.h: Likewise.
48398 * misc/regexp.h: Likewise.
48399 * misc/search.h: Likewise.
48400 * misc/sgtty.h: Likewise.
48401 * misc/sys/mman.h: Likewise.
48402 * misc/sys/syslog.h: Likewise.
48403 * misc/sys/uio.h: Likewise.
48404 * misc/sys/xattr.h: Likewise.
48405 * misc/ttyent.h: Likewise.
48406 * nis/rpcsvc/ypclnt.h: Likewise.
48407 * nss/nss.h: Likewise.
48408 * posix/bits/unistd.h: Likewise.
48409 * posix/fnmatch.h: Likewise.
48410 * posix/glob.h: Likewise.
48411 * posix/sched.h: Likewise.
48412 * posix/spawn.h: Likewise.
48413 * posix/sys/wait.h: Likewise.
48414 * posix/unistd.h: Likewise.
48415 * posix/wordexp.h: Likewise.
48416 * pwd/pwd.h: Likewise.
48417 * resolv/netdb.h: Likewise.
48418 * resource/sys/resource.h: Likewise.
48419 * rt/aio.h: Likewise.
48420 * rt/bits/mqueue2.h: Likewise.
48421 * rt/mqueue.h: Likewise.
48422 * shadow/shadow.h: Likewise.
48423 * signal/signal.h: Likewise.
48424 * socket/send.c: Likewise.
48425 * socket/sendto.c: Likewise.
48426 * socket/sys/socket.h: Likewise.
48427 * stdio-common/printf.h: Likewise.
48428 * stdlib/bits/stdlib.h: Likewise.
48429 * stdlib/fmtmsg.h: Likewise.
48430 * stdlib/monetary.h: Likewise.
48431 * stdlib/stdlib.h: Likewise.
48432 * stdlib/ucontext.h: Likewise.
48433 * streams/stropts.h: Likewise.
48434 * string/argz.h: Likewise.
48435 * string/bits/string2.h: Likewise.
48436 * string/string.h: Likewise.
48437 * string/strings.h: Likewise.
48438 * sunrpc/rpc/auth.h: Likewise.
48439 * sunrpc/rpc/auth_des.h: Likewise.
48440 * sunrpc/rpc/clnt.h: Likewise.
48441 * sunrpc/rpc/netdb.h: Likewise.
48442 * sunrpc/rpc/pmap_clnt.h: Likewise.
48443 * sunrpc/rpc/xdr.h: Likewise.
48444 * sysdeps/generic/inttypes.h: Likewise.
48445 * sysdeps/generic/net/if.h: Likewise.
48446 * sysdeps/generic/sys/swap.h: Likewise.
48447 * sysdeps/gnu/net/if.h: Likewise.
48448 * sysdeps/gnu/utmpx.h: Likewise.
48449 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48450 * sysdeps/i386/i486/bits/string.h: Likewise.
48451 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48452 * sysdeps/s390/bits/string.h: Likewise.
48453 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48454 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48455 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48456 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48457 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48458 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48459 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48460 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48461 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48462 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48463 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48464 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48465 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48466 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48467 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48468 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48469 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48471 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48473 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48474 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48475 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48476 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48477 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48478 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48479 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48481 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48482 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48483 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48484 * sysvipc/sys/ipc.h: Likewise.
48485 * sysvipc/sys/msg.h: Likewise.
48486 * sysvipc/sys/sem.h: Likewise.
48487 * sysvipc/sys/shm.h: Likewise.
48488 * termios/termios.h: Likewise.
48489 * time/sys/time.h: Likewise.
48490 * time/time.h: Likewise.
48491 * wcsmbs/bits/wchar2.h: Likewise.
48492 * wcsmbs/uchar.h: Likewise.
48493 * wcsmbs/wchar.h: Likewise.
48494 * wctype/wctype.h: Likewise.
48495
48496 [BZ #13551]
48497 * Makeconfig: Remove all but ELF support including AIX support.
48498 * Makerules: Likewise.
48499 * config.h.in: Likewise.
48500 * config.make.in: Likewise.
48501 * configure: Likewise.
48502 * configure.in: Likewise.
48503 * csu/Makefile: Likewise.
48504 * csu/version.c: Likewise.
48505 * debug/Makefile: Likewise.
48506 * dlfcn/Makefile: Likewise.
48507 * elf/Makefile: Likewise.
48508 * extra-lib.mk: Likewise.
48509 * iconv/Makefile: Likewise.
48510 * include/libc-symbols.h: Likewise.
48511 * include/shlib-compat.h: Likewise.
48512 * resolv/Makefile: Likewise.
48513 * resolv/res_libc.c: Likewise.
48514 * rt/Makefile: Likewise.
48515 * sysdeps/i386/asm-syntax.h: Likewise.
48516 * sysdeps/i386/sysdep.h: Likewise.
48517 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48518 * sysdeps/mach/sysdep.h: Likewise.
48519 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48520 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48521 * sysdeps/s390/asm-syntax.h: Likewise.
48522 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48523 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48524 * sysdeps/sh/sysdep.h: Likewise.
48525 * sysdeps/unix/sparc/sysdep.h: Likewise.
48526 * sysdeps/wordsize-32/divdi3.c: Likewise.
48527 * sysdeps/x86_64/sysdep.h: Likewise.
48528
48529 * argp/Versions: Remove _argp_unlock_xxx.
48530
48531 [BZ #13559]
48532 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48533 * abilist/libBrokenLocale.abilist: Likewise.
48534 * abilist/libanl.abilist: Likewise.
48535 * abilist/libc.abilist: Likewise.
48536 * abilist/libcrypt.abilist: Likewise.
48537 * abilist/libdl.abilist: Likewise.
48538 * abilist/libm.abilist: Likewise.
48539 * abilist/libnsl.abilist: Likewise.
48540 * abilist/libpthread.abilist: Likewise.
48541 * abilist/libresolv.abilist: Likewise.
48542 * abilist/librt.abilist: Likewise.
48543 * abilist/libthread_db.abilist: Likewise.
48544 * abilist/libutil.abilist: Likewise.
48545 * abilist/libnss_db.abilist: New file.
48546
48547 * scripts/abilist.awk: Add support for indirect functions.
48548
48549 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48550
48551 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48552
48553 * shlib-versions: Remove entries for ports architectures.
48554
48555 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48556 files in ports.
48557 * elf/stackguard-macros.h: Remove support for IA-64.
48558 * elf/tst-auditmod1.c: Likewise.
48559 * sysdeps/generic/ldsodefs.h: Likewise.
48560
48561 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48562 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48563 configure files.
48564
48565 [BZ #13552]
48566 * configure.in: Remove --enable-omitfp support.
48567 * FAQ.in: Adjust.
48568 * config.make.in: Likewise.
48569 * Makeconfig: Likewise.
48570 * manual/install.texi: Likewise.
48571
48572 In case anyone cares, the IA-64 architecture could move to ports.
48573 * sysdeps/ia64/*: Removed.
48574 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48575 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48576
48577 [BZ #13555]
48578 * configure.in: Remove entries for unsupported architectures.
48579
48580 [BZ #13533]
48581 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48582 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48583 routines.
48584 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48585 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48586 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48587 fall back to using wcrtomb.
48588 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48589 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48590 renaming.
48591 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48592 * wcsmbs/tst-c16c32-1.c: New file.
48593
48594 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48595 local variable.
48596
48597 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48598
48599 * elf/tst-unique3.cc: Add explicit declaration of gets.
48600 * elf/tst-unique3lib.cc: Likewise.
48601 * elf/tst-unique3lib2.cc: Likewise.
48602 * elf/tst-unique4.cc: Likewise.
48603
48604 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48605
48606 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48607
48608 [BZ #13566]
48609 * assert/assert.h (static_assert): Don't define for C++.
48610 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48611 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48612
48613 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48614
48615 * iconv/loop.c (single loop): Fix assertion in storing of
48616 remaining bytes.
48617
48618 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48619
48620 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48621
48622 * posix/getconf.c: Update copyright year.
48623 * nss/getent.c: Likewise.
48624 * nss/makedb.c: Likewise.
48625 * iconv/iconvconfig.c: Likewise.
48626 * iconv/iconv_prog.c: Likewise.
48627 * elf/ldconfig.c: Likewise.
48628 * elf/pldd.c: Likewise.
48629 * elf/sotruss.ksh: Likewise.
48630 * catgets/gencat.c: Likewise.
48631 * csu/version.c: Likewise.
48632 * elf/ldd.bash.in: Likewise.
48633 * elf/sprof.c (print_version): Likewise.
48634 * locale/programs/locale.c: Likewise.
48635 * locale/programs/localedef.c: Likewise.
48636 * login/programs/pt_chown.c: Likewise.
48637 * nscd/nscd.c (print_version): Likewise.
48638 * debug/xtrace.sh: Likewise.
48639 * malloc/memusage.sh: Likewise.
48640 * malloc/mtrace.pl: Likewise.
48641 * debug/catchsegv.sh: Likewise.
48642
48643 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48644
48645 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48646 pure attribute.
48647
48648 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48649
48650 [BZ #13533]
48651 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48652 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48653 transformations.
48654 * iconv/gconv_int.h: Likewise.
48655 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48656 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48657 from libc for GLIBC_2.16.
48658 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48659 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48660 * wcsmbs/uchar.h: Really define mbstate_t.
48661 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48662 * wcsmbs/c16rtomb.c: New file.
48663 * wcsmbs/mbrtoc16.c: New file.
48664 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48665 for C/POSIX locale.
48666 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48667 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48668
48669 * wcsmbs/wchar.h: Add missing __restrict.
48670
48671 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48672
48673 [BZ #13532]
48674 * time/Makefile (routines): Add timespec_get.
48675 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48676 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48677 timespec for ISO C11.
48678 * time/timespec_get.c: New file.
48679 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48680 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48681
48682 [BZ #13531]
48683 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48684 * stdlib/stdlib.h: Declare aligned_alloc.
48685 * Versions.def: Add GLIBC_2.16 for libc.
48686 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48687
48688 [BZ 13527]
48689 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48690 ISO C11.
48691
48692 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48693 code.
48694
48695 [BZ #13528]
48696 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48697
48698 [BZ #13529]
48699 * assert/assert.h (static_assert): Define.
48700
48701 * version.h: Update for 2.16 development version.
48702
48703 [BZ #13526]
48704 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48705 _ISOC11_SOURCE.
48706
48707 * version.h (RELEASE): Bump for 2.15 release.
48708 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48709
48710 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48711 Patch by Marek Polacek <mpolacek@redhat.com>.
48712
48713 * bits/byteswap.h: Protect long long constants with __extension__.
48714 * sysdeps/i386/bits/byteswap.h: Likewise.
48715 * sysdeps/ia64/bits/byteswap.h: Likewise.
48716 * sysdeps/s390/bits/byteswap.h: Likewise.
48717 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48718
48719 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48720
48721 [BZ #13540]
48722 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48723 destination buffer.
48724 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48725
48726 2011-12-23 Marek Polacek <polacek@redhat.com>
48727
48728 * elf/dl-addr.c (determine_info): Add inline keyword.
48729 * elf/tst-auditmod4b.c (check_avx): Likewise.
48730 * elf/tst-auditmod6b.c (check_avx): Likewise.
48731 * elf/tst-auditmod6c.c (check_avx): Likewise.
48732 * elf/tst-auditmod7b.c (check_avx): Likewise.
48733
48734 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48735
48736 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48737 !__SSE_MATH__.
48738
48739 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48740
48741 [BZ #13540]
48742 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48743 processing for last bytes.
48744
48745 2011-08-06 Bruno Haible <bruno@clisp.org>
48746
48747 [BZ #13061]
48748 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48749 U+0385, not to U+1FEE.
48750
48751 [BZ #13062]
48752 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48753 entry for U+00A5 U+0301.
48754
48755 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48756
48757 [BZ #13166]
48758 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48759 buffer for the output is too small.
48760
48761 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48762 optimization.
48763
48764 [BZ #13185]
48765 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48766 SSE flags if possible.
48767
48768 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48769
48770 [BZ #13540]
48771 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48772 processing for last bytes.
48773
48774 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48775
48776 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48777 (syscall-list-default-options, syscall-list-default-condition)
48778 (syscall-list-includes): Define.
48779 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48780 list of ABIs and options and #if conditions for each ABI. Do not
48781 handle common syscalls between ABIs specially.
48782 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48783 Remove.
48784 (syscall-list-variants, syscall-list-32bit-options)
48785 (syscall-list-32bit-condition, syscall-list-64bit-options)
48786 (syscall-list-64bit-condition): Define.
48787 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48788 (syscall-list-variants, syscall-list-32bit-options)
48789 (syscall-list-32bit-condition, syscall-list-64bit-options)
48790 (syscall-list-64bit-condition): Define.
48791 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48792 Remove.
48793 (syscall-list-variants, syscall-list-32bit-options)
48794 (syscall-list-32bit-condition, syscall-list-64bit-options)
48795 (syscall-list-64bit-condition): Define.
48796 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48797 Remove.
48798 (syscall-list-variants, syscall-list-32bit-options)
48799 (syscall-list-32bit-condition, syscall-list-64bit-options)
48800 (syscall-list-64bit-condition): Define.
48801
48802 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48803
48804 * locale/iso-639.def: Add brx entry.
48805
48806 [BZ #13328]
48807 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48808 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48809
48810 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48811 __feraiseexcept_renamed.
48812
48813 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48814
48815 [BZ #13538]
48816 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48817 EPOLLET with unsigned values.
48818 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48819 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48820
48821 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48822 to large cancellation.
48823 * math/s_cacoshf.c: Likewise.
48824 * math/s_cacoshl.c: Likewise.
48825
48826 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48827
48828 [BZ #13305]
48829 [BZ #12786]
48830 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48831 * math/s_cacoshf.c: Likewise.
48832 * math/s_cacoshl.c: Likewise.
48833
48834 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48835
48836 [BZ #13439]
48837 * iconv/gconv.h: Define __GCONV_SWAP.
48838 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48839 * iconvdata/utf-16.c: Likewise.
48840 * iconvdata/utf-32.c: Likewise.
48841
48842 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48843
48844 [BZ #13524]
48845 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48846 numerator after shifting it by one limb.
48847
48848 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48849
48850 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48851 under [__USE_EXTERN_INLINES].
48852
48853 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48854
48855 [BZ #13446]
48856 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48857
48858 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48859
48860 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48861 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48862 optimized code.
48863 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48864 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48865 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48866 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48867 for strncasecmp/strncasecmp_l compilation.
48868 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48869 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48870
48871 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48872
48873 [BZ #13484]
48874 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48875 of __asm__.
48876
48877 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48878
48879 [BZ #13506]
48880 * time/tzfile.c (__tzfile_read): Check values from file header.
48881
48882 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48883
48884 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48885 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48886 * powerpc/powerpc32/dl-start.S: Likewise.
48887 * powerpc/powerpc32/elf/start.S: Likewise.
48888 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48889 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48890 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48891 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48892 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48893 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48894 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48895 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48896 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48897 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48898 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48899 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48900 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48901 * powerpc/powerpc32/memset.S: Likewise.
48902 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48903 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48904 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48905 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48906 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48907 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48908 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48909 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48910 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48911 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48912 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48915
48916 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48917
48918 * math/libm-test.inc: Added more nearbyint tests.
48919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48920 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48922 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48923
48924 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48925
48926 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48927 FD_CLOEXEC.
48928
48929 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48930
48931 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48932 Add wcscpy-ssse3 wcscpy-c.
48933 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48934 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48935 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48936 * sysdeps/x86_64/wcschr.S: New file.
48937 * sysdeps/x86_64/wcsrchr.S: New file.
48938 * string/test-strcmp.c: Remove checking of wcscmp function for
48939 wrong alignments.
48940 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48941 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48942 wcsrchr-sse2 wcsrchr-c.
48943 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48944 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48945 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48946 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48947 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48948 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48949 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48950 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48951 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48952 * wcsmbc/wcschr.c (WCSCHR): New macro.
48953
48954 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48955
48956 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48957 * wcsmbs/test-wcsrchr.c: New file.
48958 * string/test-strrchr.c: Add wcsrchr support.
48959 (WIDE): New macro.
48960 * wcsmbs/test-wcscpy.c: New file.
48961 * string/test-strcpy.c: Add wcscpy support.
48962 (WIDE): New macro.
48963
48964 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48965
48966 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48967 the inner loop.
48968
48969 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48970
48971 [BZ #13472]
48972 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48973
48974 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48975
48976 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48977 Minor optimizations.
48978
48979 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48980 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48981 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48982
48983 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48984
48985 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48986 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48987 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48988 for gcc to avoid warnings.
48989 * inet/Makefile (tests): Add tst-checks.
48990 * inet/tst-checks.c: New file.
48991
48992 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48993 warning.
48994
48995 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48996 __wmemcmp_sse2.
48997
48998 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48999 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49000
49001 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49002
49003 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49004
49005 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49006 problem.
49007
49008 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49009
49010 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49011
49012 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49013 conditional on GCC version.
49014 (__arch_compare_and_exchange_val_8_acq)
49015 (__arch_compare_and_exchange_val_16_acq)
49016 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49017 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49018 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49019
49020 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49021
49022 * sysdeps/sh/backtrace.c: New file.
49023
49024 2011-12-02 Andreas Schwab <schwab@redhat.com>
49025
49026 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49027 parenthesis.
49028
49029 2011-12-01 Andreas Schwab <schwab@redhat.com>
49030
49031 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49032 falling back to utime.
49033
49034 2011-11-30 Andreas Schwab <schwab@redhat.com>
49035
49036 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49037 expectations for float.
49038
49039 2011-11-29 Andreas Schwab <schwab@redhat.com>
49040
49041 * locale/weight.h (findidx): Add parameter len.
49042 * locale/weightwc.h (findidx): Likewise.
49043 * posix/fnmatch_loop.c (FCT): Adjust caller.
49044 * posix/regcomp.c (build_equiv_class): Likewise.
49045 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49046 * posix/regexec.c (check_node_accept_bytes): Likewise.
49047 * string/strcoll_l.c (STRCOLL): Likewise.
49048 * string/strxfrm_l.c (STRXFRM): Likewise.
49049
49050 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49051
49052 * Makefile.in: Remove CVSOPT handling.
49053 * configure.in: Remove use of AC_REVISION.
49054 * iconvdata/Makefile (distribute): No need to filter out CVS.
49055 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49056 handling.
49057
49058 2011-11-16 Andreas Schwab <schwab@redhat.com>
49059
49060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49061 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49062 [USE_AS_STRNCASECMP_L]: Likewise.
49063 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49064 NO_TLS_DIRECT_SEG_REFS.
49065 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49066 Fix argument offsets for non-PIC.
49067 [USE_AS_STRNCASECMP_L]: Likewise.
49068 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49069 NO_TLS_DIRECT_SEG_REFS.
49070
49071 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49072
49073 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49074 O_CLOEXEC.
49075 * locale/loadlocale.c (_nl_load_locale): Likewise.
49076
49077 2011-11-15 Andreas Schwab <schwab@redhat.com>
49078
49079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49080 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49082 (SYSCALL_GETTIME): Set errno on error.
49083
49084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49085 count references to noai6ai_cached.
49086
49087 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49088
49089 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49090
49091 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49092 FD_CLOEXEC for /proc/self/maps.
49093
49094 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49095 FD_CLOEXEC for /proc/meminfo.
49096
49097 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49098 gai.conf.
49099
49100 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49101 FD_CLOEXEC for given file.
49102
49103 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49104
49105 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49106 FD_CLOEXEC for /etc/hosts.
49107 (_gethtent): Likewise.
49108
49109 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49110
49111 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49112 cancellation and set FD_CLOEXEC for /etc/netgroup.
49113
49114 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49115 reading /etc/publickey.
49116
49117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49118 allow cancellation when reading /etc/group.
49119
49120 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49121 cancellation.
49122 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49123
49124 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49125 when using data file.
49126
49127 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49128
49129 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49130 (write_nis_obj): Use "c" and "e" in fopen.
49131
49132 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49133
49134 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49135
49136 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49137
49138 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49139
49140 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49141 locale.alias.
49142
49143 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49144
49145 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49146
49147 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49148
49149 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49150 file parsing and set FD_CLOEXEC.
49151
49152 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49153
49154 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49155
49156 2011-11-14 Andreas Schwab <schwab@redhat.com>
49157
49158 * malloc/arena.c (arena_get2): Don't call reused_arena when
49159 _int_new_arena failed.
49160
49161 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49162
49163 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49164 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49165 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49166 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49167 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49168 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49169 to compile strcasecmp and strncasecmp.
49170 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49171 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49172
49173 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49174
49175 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49176
49177 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49178 locale-defines.sym to gen-as-const-headers.
49179 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49180 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49182 to compile strcasecmp and strncasecmp.
49183 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49184 strcasecmp_l and strncasecmp_l.
49185 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49186 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49187 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49188 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49189 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49190 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49191 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49192 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49193 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49194 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49195 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49196
49197 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49198
49199 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49200 result of SYSDEP_GETTIME_CPU to retval.
49201 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49202 parameter list to macro. Remove trailing semicolon. Adjust users.
49203
49204 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49205 variable.
49206
49207 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49208 mantissa words.
49209 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49210
49211 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49212 from unused variable.
49213
49214 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49215 DWARF definitions.
49216 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49217 for assembling.
49218
49219 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49220 over namespaces.
49221
49222 * sunrpc/rpc_prot.c (rejected): Fix case value.
49223
49224 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49225 unsigned long long int to avoid warnings in shift.
49226
49227 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49228 of use of trans.
49229 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49230 variable tmp.
49231
49232 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49233 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49234 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49235
49236 * nis/nis_table.c (nis_list): Use variable of correct type for
49237 result of __follow_path call.
49238
49239 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49240
49241 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49242 of math functions ceil, trunc, floor, round, and sqrt, when
49243 avaliable on the platform.
49244 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49245 name clash.
49246 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49247 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49248 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49249
49250 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49251
49252 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49253 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49254
49255 2011-11-11 Roland McGrath <roland@hack.frob.com>
49256
49257 * include/unistd.h: Fix __readlink return type.
49258 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49259
49260 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49261
49262 * stdlib/ucontext.h: Undo last change for makecontext.
49263
49264 2011-11-11 Andreas Schwab <schwab@redhat.com>
49265
49266 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49267
49268 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49269 * setjmp/setjmp.h: Mark functions as non-leaf.
49270 * setjmp/bits/setjmp2.h: Likewise.
49271 * stdlib/ucontext.h: Likewise.
49272
49273 2011-11-10 Andreas Schwab <schwab@redhat.com>
49274
49275 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49276 (reused_arena): Don't check arena limit.
49277 (arena_get2): Atomically check arena limit.
49278
49279 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49280
49281 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49282 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49283
49284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49285 instructions.
49286
49287 2011-11-07 Andreas Schwab <schwab@redhat.com>
49288
49289 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49290 handler when locking.
49291
49292 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49293 Fix size of allocated buffer.
49294
49295 2011-11-04 Andreas Schwab <schwab@redhat.com>
49296
49297 [BZ #10103]
49298 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49299 declarations for long double functions.
49300 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49301
49302 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49303
49304 2011-11-03 Andreas Schwab <schwab@redhat.com>
49305
49306 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49307 installed.
49308
49309 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49310 is disabled.
49311
49312 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49313
49314 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49315
49316 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49317
49318 * include/alloca.h (stackinfo_alloca_round): Define.
49319 (extend_alloca): Use it.
49320 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49321 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49322 here.
49323
49324 * scripts/check-local-headers.sh: Ignore libaudit.h.
49325
49326 * nscd/Makefile (extra-objs): Make recursively expanded.
49327
49328 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49329
49330 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49332
49333 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49334 * posix/tst-rfc3484-2.c: Likewise.
49335 * posix/tst-rfc3484-3.c: Likewise.
49336
49337 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49338 process_vm_writev.
49339 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49340 process_vm_writev.
49341 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49342 process_vm_writev from libc using GLIBC_2.15 version.
49343
49344 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49345
49346 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49347
49348 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49349 stack usage.
49350
49351 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49352
49353 [BZ #13367]
49354 * nss/getent.c (initgroups_keys): Show error message in case no group
49355 names are given.
49356
49357 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49358 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49359 __bump_nl_timestamp.
49360 * nscd/connections (nscd_init): When host database is served open
49361 netlink socket and request notification about configuration changes.
49362 (main_loop_poll): Track netlink file descriptor and bump timestamp
49363 in case data becomes available.
49364 (main_loop_epoll): Likewise.
49365 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49366 (database_pers_head): Add extra_data fileds.
49367 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49368 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49369 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49370 Adjust caller.
49371 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49372 in6ai data, call __free_in6ai.
49373 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49374 Add -DHAVE_NETLINK.
49375 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49376 interface information. Reuse previous data if netlink timestamp
49377 is not changed.
49378 (__bump_nl_timestamp): New function.
49379 (__free_in6ai): New function.
49380
49381 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49382
49383 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49384 close_not_cancel_no_status here.
49385 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49386
49387 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49388
49389 [BZ #13276]
49390 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49391 return value.
49392
49393 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49394 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49395 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49396
49397 2011-07-03 Andreas Jaeger <aj@suse.de>
49398
49399 [BZ #10709]
49400 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49401 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49402 * math/libm-test.inc (sin_test): Add test case.
49403
49404 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49405
49406 [BZ #13337]
49407 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49408 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49409
49410 * elf/chroot_canon.c (chroot_canon): Cleanups.
49411
49412 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49413
49414 [BZ #13335]
49415 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49416 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49417
49418 * string/test-strchr.c: Make usable for strchrnul testing.
49419 * string/test-strchrnul.c: New file.
49420 * string/Makefile (strop-tests): Add strchrnul.
49421
49422 * po/it.po: Update from translation team.
49423 * po/es.po: Likewise.
49424
49425 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49426
49427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49428 the three constants needed as parameters. Drop the others.
49429 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49430 __m128i_strloadu_tolower.
49431 Create and initialize variable zero and use it in all the places
49432 where _mm_setzero_si128 was used.
49433
49434 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49435 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49436 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49437 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49438 anymore.
49439 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49440 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49441 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49442 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49443 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49444 __mpranred, __mptan.
49445 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49446 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49447 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49448 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49449 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49450 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49451 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49452 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49453 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49454
49455 2011-10-28 Andreas Schwab <schwab@redhat.com>
49456
49457 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49458 redefine if SHARED.
49459 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49460
49461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49462 wide char related routines to wcsmbs subdir.
49463
49464 2011-10-27 Andreas Schwab <schwab@redhat.com>
49465
49466 [BZ #13344]
49467 * misc/sys/cdefs.h (__THROWNL): Define.
49468 * posix/unistd.h: Use __THREADNL instead of __THREAD
49469 for memory synchronization functions.
49470
49471 2011-10-26 Roland McGrath <roland@hack.frob.com>
49472
49473 [BZ #13349]
49474 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49475 doesn't exist.
49476 * manual/stdio.texi (Obstack Streams): Node removed.
49477
49478 2011-10-26 Andreas Schwab <schwab@redhat.com>
49479
49480 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49481 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49482 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49483
49484 * math/math_private.h (math_force_eval): Allow non-addressable
49485 arguments.
49486 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49487
49488 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49489
49490 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49491 file is not needed.
49492
49493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49499 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49500 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49501 Add AVX variants.
49502 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49503 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49504 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49505 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49506 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49507 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49508 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49509 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49510 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49511 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49512 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49513 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49514 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49515 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49516 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49517 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49518 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49519 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49520 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49521
49522 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49523 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49524
49525 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49526 place. Use VEX encoding when compiling for AVX.
49527
49528 2011-10-25 Andreas Schwab <schwab@redhat.com>
49529
49530 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49531 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49532
49533 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49534
49535 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49536
49537 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49538 useless if() expression.
49539 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49540 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49541 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49542 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49543 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49544 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49545 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49547 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49548 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49549 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49550 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49551 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49552 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49553 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49554 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49555 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49556 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49557 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49558
49559 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49560
49561 2011-10-25 Andreas Schwab <schwab@redhat.com>
49562
49563 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49564 condition.
49565 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49566
49567 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49568
49569 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49570 .text section. Avoid duplicate constants.
49571 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49573 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49579 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49580 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49581 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49582 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49583 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49584 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49585 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49586 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49587 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49588 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49589 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49590 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49591 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49592 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49593 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49594 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49595 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49596 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49597 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49598 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49599 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49600 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49601 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49602 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49603 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49604 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49605 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49606 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49607 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49608 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49609 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49610 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49611 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49612 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49613 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49614 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49615 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49616
49617 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49618
49619 * sysdeps/x86_64/dla.h: Move to ...
49620 * sysdeps/x86_64/fpu/dla.h: ...here.
49621 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49622 situations. Use __builtin_fma only for gcc 4.6 and up.
49623
49624 * config.make.in: Add have-mfma4 entry.
49625 * configure.in: Substitute libc_cv_cc_fma4.
49626 * math/Makefile (dbl-only-routines): Add sincostab.
49627 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49628 Use __sincostab not sincos.
49629 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49630 name is a macro.
49631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49635 using __copysign.
49636 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49637 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49638 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49639 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49640 and __inv.
49641 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49642 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49643 __copysign.
49644 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49645 define aliases when function name is a macro.
49646 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49647 sysdeps/ieee754/dbl-64/sincos.tbl.
49648 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49649 fma4-enabled routines.
49650 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49651 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49652 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49653 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49654 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49655 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49657 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49659 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49660 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49661 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49662 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49663 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49664 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49665 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49666 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49667 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49668 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49669 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49670 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49671 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49672 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49673 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49675 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49676 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49677 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49678 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49679 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49680
49681 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49682 rename.
49683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49691
49692 2011-10-24 Andreas Schwab <schwab@redhat.com>
49693
49694 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49695
49696 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49697
49698 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49699
49700 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49701 prediction.
49702 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49703
49704 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49705 Remove unused variable magic_bits.
49706 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49707
49708 * string/strnlen.c: Define and use STRNLEN macro.
49709 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49710 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49711 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49712 * wcsmbs/wcslen.c: Define and use WCSLEN.
49713 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49714 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49715 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49716 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49717 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49718 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49719 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49720
49721 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49722
49723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49724 strnlen-sse2-no-bsf.
49725 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49727 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49728 Add strnlen support.
49729 (USE_AS_STRNLEN): New macro.
49730 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49731 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49732 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49733 * sysdeps/x86_64/wcslen.S: New file.
49734
49735 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49736
49737 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49738 XMM-moves are used for copying on small sizes.
49739
49740 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49741
49742 * wcsmbs/Makefile (strop-tests): Add wcschr.
49743 * wcsmbs/test-wcschr.c: New file.
49744 * string/test-strchr.c: Update.
49745 Add wcschr support.
49746 (WIDE): New macro.
49747
49748 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49749
49750 * wcsmbs/Makefile (strop-tests): Add wcslen.
49751 * wcsmbs/test-wcslen.c: New file.
49752 * string/test-strlen.c: Update.
49753 Add wcslen support.
49754 (WIDE): New macro.
49755
49756 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49757
49758 * po/it.po: Update from translation team.
49759
49760 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49761
49762 * sysdeps/x86_64/wcscmp.S: Update.
49763 Fix wrong comparison semantics.
49764 wcscmp shall use signed comparison not unsigned.
49765 Don't use substraction to avoid overflow bug.
49766 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49767 * wcsmbc/wcscmp.c: Likewise.
49768 * string/test-strcmp.c: Likewise.
49769 Add new tests to check cases with negative values.
49770
49771 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49772
49773 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49774 * sysdeps/x86_64/dla.h: ...here. New file.
49775 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49779 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49780 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49782 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49784
49785 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49786
49787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49788 __ynl_finite aliases.
49789
49790 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49791
49792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49793
49794 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49795 define DLA_FMA.
49796 [DLA_FMA] (EMULV): Use DLA_FMA.
49797 [DLA_FMA] (MUL12): Use EMULV.
49798 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49799 that are not needed.
49800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49801 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49807
49808 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49809
49810 * math/s_nan.c: Undef __nan.
49811 * math/s_nanf.c: Undef __nanf.
49812 * math/s_nanl.c: Undef __nanl.
49813 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49814 "math_private.h".
49815
49816 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49817
49818 * math/s_catan.c: Add branch predictions.
49819 * math/s_catanf.c: Likewise.
49820 * math/s_catanh.c: Likewise.
49821 * math/s_catanhf.c: Likewise.
49822 * math/s_catanhl.c: Likewise.
49823 * math/s_catanl.c: Likewise.
49824 * math/s_cexp.c: Likewise.
49825 * math/s_cexpf.c: Likewise.
49826 * math/s_cexpl.c: Likewise.
49827 * math/s_clog.c: Likewise.
49828 * math/s_clog10.c: Likewise.
49829 * math/s_clog10f.c: Likewise.
49830 * math/s_clog10l.c: Likewise.
49831 * math/s_clogf.c: Likewise.
49832 * math/s_clogl.c: Likewise.
49833 * math/s_csqrt.c: Likewise.
49834 * math/s_csqrtf.c: Likewise.
49835 * math/s_csqrtl.c: Likewise.
49836 * math/s_ctanf.c: Likewise.
49837 * math/s_ctanh.c: Likewise.
49838 * math/s_ctanhf.c: Likewise.
49839 * math/s_ctanhl.c: Likewise.
49840 * math/s_ctanl.c: Likewise.
49841
49842 * math/math_private.h: Define __nan, __nanf, __nanl.
49843 * math/s_cacosh.c: Include <math_private.h>.
49844 * math/s_cacoshl.c: Likewise.
49845 * math/s_casinh.c: Likewise.
49846 * math/s_casinhf.c: Likewise.
49847 * math/s_casinhl.c: Likewise.
49848 * math/s_ccos.c: Rely entire on ccosh.
49849 * math/s_ccosf.c: Rely entire on ccoshf.
49850 * math/s_ccosl.c: Rely entirely on ccoshl.
49851 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49852 Remove tests for FE_INVALID.
49853 * math/s_ccoshf.c: Likewise.
49854 * math/s_ccoshl.c: Likewise.
49855 * math/s_csin.c: Likewise.
49856 * math/s_csinf.c: Likewise.
49857 * math/s_csinh.c Likewise.
49858 * math/s_csinhf.c: Likewise.
49859 * math/s_csinhl.c: Likewise.
49860 * math/s_csinl.c: Likewise.
49861 * math/s_ctan.c: Likewise.
49862 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49863 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49864 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49865
49866 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49867
49868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49869 compilation problems.
49870
49871 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49872 __builtin_expect.
49873
49874 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49875
49876 * sysdeps/i386/configure.in: Test for -mfma4 option.
49877 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49878 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49879 COMMON_CPUID_INDEX_80000001.
49880 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49881 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49882 use it if FMA3 is not supported.
49883 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49884
49885 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49886 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49887
49888 2011-10-20 Andreas Schwab <schwab@redhat.com>
49889
49890 [BZ #12892]
49891 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49892 it would create a cycle with a link time dependency.
49893
49894 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49895
49896 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49897 instruction.
49898 * string/Makefile (strop-tests): Add rawmemchr.
49899 * string/test-rawmemchr.c: New file.
49900
49901 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49903 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49904 when compiling str{,n}casecmp and when AVX is available. Hook up
49905 new optimized code in initializers.
49906
49907 2011-10-19 Andreas Schwab <schwab@redhat.com>
49908
49909 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49910 __feraiseexcept instead of feraiseexcept.
49911
49912 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49913
49914 * math/math_private.h: Define defaults for libc_fetestexcept and
49915 libc_feupdateenv.
49916 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49917 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49918 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49919 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49921 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49922 libc_fetestexcept and libc_feupdateenv.
49923
49924 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49925 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49926 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49927 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49928 libc_feholdexcept_setround.
49929
49930 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49931 Add s_nearbyint-c and s_nearbyintf-c.
49932 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49933 nearbyintf inlines.
49934 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49935 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49936 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49937 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49938
49939 * math/math_private.h: Define defaults for libc_fegetround,
49940 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49941 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49942 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49943 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49944 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49945 standard functions.
49946 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49947 Remove comments and hacks for old compiler versions.
49948 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49949 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49950 libc_feholdexceptl.
49951
49952 2011-10-18 Andreas Schwab <schwab@redhat.com>
49953
49954 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49955 (__feraiseexcept_renamed): Add __NTH.
49956 (feraiseexcept): Add __NTH. Rename local variables to fix
49957 namespace violations.
49958
49959 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49960
49961 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49962
49963 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49964
49965 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49966 recently added interfaces.
49967 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49968
49969 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49970 about macro parameter expansion.
49971
49972 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49973 __NO_MATH_INLINES is defined. Cleanups.
49974
49975 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49976 and __floorf is target has SSE4.1.
49977 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49978 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49979 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49980 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49981
49982 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49983 name.
49984 (floorf): Likewise.
49985
49986 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49987
49988 2011-10-17 Andreas Schwab <schwab@redhat.com>
49989
49990 * misc/sys/cdefs.h: Fix last change.
49991
49992 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49993 database lookup.
49994
49995 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49996
49997 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49998
49999 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50000 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50001 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50002 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50003 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50005 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50006 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50007 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50008 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50009 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50010 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50011 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50012 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50013 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50014 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50015 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50016 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50017 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50018 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50019 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50020 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50021
50022 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50023 ceil, ceilf, floor, floorf.
50024
50025 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50026 Perform IRELATIVE relocations last.
50027
50028 * elf/do-rel.h: Add another parameter nrelative, replacing the
50029 local variable with the same name. Change name of the function
50030 to end in Rel or Rela (uppercase).
50031 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50032 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50033 elf_dynamic_do_##reloc function.
50034
50035 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50036
50037 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50038 is sufficient, at least on modern CPUs.
50039
50040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50041
50042 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50043 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50044
50045 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50046 __expl_finite.
50047 * math/bits/math-finite.h: Add entries for exp.
50048 * math/e_expl.c: Add __*_finite alias.
50049 * sysdeps/i386/fpu/e_exp.S: Likewise.
50050 * sysdeps/i386/fpu/e_expf.S: Likewise.
50051 * sysdeps/i386/fpu/e_expl.c: Likewise.
50052 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50053 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50054 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50055 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50056 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50057 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50058 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50059
50060 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50061 is sufficient, at least on modern CPUs.
50062
50063 * ctype/ctype-info.c (__ctype_init): Define.
50064 * include/ctype.h (__ctype_init): Declare.
50065 (__ctype_b_loc): The variable is always initialized.
50066 (__ctype_toupper_loc): Likewise.
50067 (__ctype_tolower_loc): Likewise.
50068 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50069 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50070
50071 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50072
50073 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50074
50075 * configure.in: Also look in $cxxmachine/include for C++ system
50076 headers.
50077
50078 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50079
50080 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50081 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50082 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50083 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50084 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50085 (USE_AS_WMEMCMP): New macro.
50086 Fixing indents.
50087 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50088 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50089 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50090 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50092 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50093 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50094 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50095 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50096 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50097 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50098 (USE_AS_WMEMCMP): New macro.
50099 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50100 * sysdeps/string/test-memcmp.c: Update.
50101 Fix simple_wmemcmp.
50102 Add new tests.
50103 * wcsmbs/wmemcmp.c: Update.
50104 (WMEMCMP): New macro.
50105 Fix overflow bug.
50106
50107 2011-10-12 Andreas Jaeger <aj@suse.de>
50108
50109 [BZ #13268]
50110 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50111
50112 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50113
50114 * libio/iofwide.c (do_length): Avoid warning.
50115
50116 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50117
50118 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50119
50120 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50121
50122 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50123 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50124 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50125 * sysdeps/i386/i686/fpu/e_log.S: New file.
50126 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50127 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50128
50129 * ctype/ctype.h: Add support for inlined isXXX functions when
50130 compiling C++ code.
50131
50132 2011-10-14 Andreas Schwab <schwab@redhat.com>
50133
50134 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50135
50136 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50137
50138 2011-10-13 Roland McGrath <roland@hack.frob.com>
50139
50140 [BZ #13291]
50141 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50142
50143 2011-10-13 Andreas Schwab <schwab@redhat.com>
50144
50145 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50146 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50147 feraiseexcept.
50148
50149 * sysdeps/x86_64/memrchr.S: Check for zero size.
50150
50151 * string/stratcliff.c: Add memrchr tests.
50152
50153 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50154
50155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50156 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50157 rawmemchr-sse2 rawmemchr-sse2-bsf.
50158 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50159 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50160 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50161 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50162 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50163 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50164 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50165 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50166 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50167 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50168 * string/memrchr.c (MEMRCHR): New macro.
50169
50170 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50171
50172 Add integration with gcc's -ffinite-math-only and optimize wrapper
50173 functions in libm.
50174 * Versions.def: Define GLIBC_2.15 version for libm.
50175 * math/Makefile (headers): Add bits/math-finite.h.
50176 * math/bits/math-finite.h: New file.
50177 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50178 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50179 * math/e_acoshl.c: Add __*_finite alias.
50180 * math/e_acosl.c: Likewise.
50181 * math/e_asinl.c: Likewise.
50182 * math/e_atan2l.c: Likewise.
50183 * math/e_atanhl.c: Likewise.
50184 * math/e_coshl.c: Likewise.
50185 * math/e_exp10.c: Likewise.
50186 * math/e_exp10f.c: Likewise.
50187 * math/e_exp10l.c: Likewise.
50188 * math/e_exp2l.c: Likewise.
50189 * math/e_fmodl.c: Likewise.
50190 * math/e_gammal_r.c: Likewise.
50191 * math/e_hypotl.c: Likewise.
50192 * math/e_j0l.c: Likewise.
50193 * math/e_j1l.c: Likewise.
50194 * math/e_jnl.c: Likewise.
50195 * math/e_lgammal_r.c: Likewise.
50196 * math/e_log10l.c: Likewise.
50197 * math/e_log2l.c: Likewise.
50198 * math/e_logl.c: Likewise.
50199 * math/e_powl.c: Likewise.
50200 * math/e_sinhl.c: Likewise.
50201 * math/e_sqrtl.c: Likewise.
50202 * math/e_scalb.c: Completely rewritten and optimized.
50203 * math/e_scalbf.c: Likewise.
50204 * math/e_scalbl.c: Likewise.
50205 * math/w_acos.c: Likewise.
50206 * math/w_acosf.c: Likewise.
50207 * math/w_acosl.c: Likewise.
50208 * math/w_acosh.c: Likewise.
50209 * math/w_acoshf.c: Likewise.
50210 * math/w_acoshl.c: Likewise.
50211 * math/w_asin.c: Likewise.
50212 * math/w_asinf.c: Likewise.
50213 * math/w_asinl.c: Likewise.
50214 * math/w_atan2.c: Likewise.
50215 * math/w_atan2f.c: Likewise.
50216 * math/w_atan2l.c: Likewise.
50217 * math/w_atanh.c: Likewise.
50218 * math/w_atanhf.c: Likewise.
50219 * math/w_atanhl.c: Likewise.
50220 * math/w_exp10.c: Likewise.
50221 * math/w_exp10f.c: Likewise.
50222 * math/w_exp10l.c: Likewise.
50223 * math/w_fmod.c: Likewise.
50224 * math/w_fmodf.c: Likewise.
50225 * math/w_fmodl.c: Likewise.
50226 * math/w_j0.c: Likewise.
50227 * math/w_j0f.c: Likewise.
50228 * math/w_j0l.c: Likewise.
50229 * math/w_j1.c: Likewise.
50230 * math/w_j1f.c: Likewise.
50231 * math/w_j1l.c: Likewise.
50232 * math/w_jn.c: Likewise.
50233 * math/w_jnf.c: Likewise.
50234 * math/w_log.c: Likewise.
50235 * math/w_logf.c: Likewise.
50236 * math/w_logl.c: Likewise.
50237 * math/w_log10.c: Likewise.
50238 * math/w_log10f.c: Likewise.
50239 * math/w_log10l.c: Likewise.
50240 * math/w_log2.c: Likewise.
50241 * math/w_log2f.c: Likewise.
50242 * math/w_log2l.c: Likewise.
50243 * math/w_pow.c: Likewise.
50244 * math/w_powf.c: Likewise.
50245 * math/w_powl.c: Likewise.
50246 * math/w_remainder.c: Likewise.
50247 * math/w_remainderf.c: Likewise.
50248 * math/w_remainderl.c: Likewise.
50249 * math/w_scalb.c: Likewise.
50250 * math/w_scalbf.c: Likewise.
50251 * math/w_scalbl.c: Likewise.
50252 * math/w_sqrt.c: Likewise.
50253 * math/w_sqrtf.c: Likewise.
50254 * math/w_sqrtl.c: Likewise.
50255 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50256 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50257 used.
50258 * math/math_private.h: Declare __kernel_standard_f.
50259 * math/w_cosh.c: Remove cruft and optimize a bit.
50260 * math/w_coshf.c: Likewise.
50261 * math/w_coshl.c: Likewise.
50262 * math/w_exp2.c: Likewise.
50263 * math/w_exp2f.c: Likewise.
50264 * math/w_exp2l.c: Likewise.
50265 * math/w_hypot.c: Likewise.
50266 * math/w_hypotf.c: Likewise.
50267 * math/w_hypotl.c: Likewise.
50268 * math/w_lgamma.c: Likewise.
50269 * math/w_lgamma_r.c: Likewise.
50270 * math/w_lgammaf.c: Likewise.
50271 * math/w_lgammaf_r.c: Likewise.
50272 * math/w_lgammal.c: Likewise.
50273 * math/w_lgammal_r.c: Likewise.
50274 * math/w_sinh.c: Likewise.
50275 * math/w_sinhf.c: Likewise.
50276 * math/w_sinhl.c: Likewise.
50277 * math/w_tgamma.c: Likewise.
50278 * math/w_tgammaf.c: Likewise.
50279 * math/w_tgammal.c: Likewise.
50280 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50282 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50283 Minor optimizations. Pretty printing. Remove cruft.
50284 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50285 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50286 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50287 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50288 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50289 * sysdeps/i386/fpu/e_asin.S: Likewise.
50290 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50291 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50292 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50293 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50294 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50295 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50296 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50297 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50298 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50299 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50300 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50301 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50302 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50303 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50304 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50305 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50306 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50307 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50308 * sysdeps/i386/fpu/e_log.S: Likewise.
50309 * sysdeps/i386/fpu/e_log10.S: Likewise.
50310 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50311 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50312 * sysdeps/i386/fpu/e_log2.S: Likewise.
50313 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50314 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50315 * sysdeps/i386/fpu/e_logf.S: Likewise.
50316 * sysdeps/i386/fpu/e_logl.S: Likewise.
50317 * sysdeps/i386/fpu/e_pow.S: Likewise.
50318 * sysdeps/i386/fpu/e_powf.S: Likewise.
50319 * sysdeps/i386/fpu/e_powl.S: Likewise.
50320 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50321 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50322 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50323 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50324 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50325 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50326 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50327 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50328 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50329 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50332 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50333 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50334 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50335 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50336 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50337 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50338 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50339 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50340 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50342 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50343 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50345 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50346 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50347 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50348 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50349 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50350 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50351 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50352 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50353 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50354 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50355 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50356 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50357 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50358 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50359 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50360 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50361 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50362 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50363 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50364 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50365 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50366 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50367 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50368 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50369 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50370 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50373 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50374 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50375 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50376 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50377 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50379 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50381 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50382 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50383 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50384 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50385 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50386 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50387 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50388 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50390 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50391 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50393 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50394 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50397 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50398 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50399 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50400 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50401 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50403 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50404 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50405 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50406 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50407 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50409 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50410 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50411 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50412 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50414 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50415 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50417 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50418 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50419 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50420 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50421 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50422 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50423 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50424 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50425 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50426 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50427 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50428 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50429 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50430 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50431 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50432 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50433 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50434 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50435 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50436 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50437 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50438 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50439 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50440 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50441 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50442 (__isnanf): Likewise.
50443 (__isinf_ns): Likewise.
50444 (__isinf_nsf): Likewise.
50445 (__finite): Likewise.
50446 (__finitef): Likewise.
50447 (__ieee754_sqrt): Define as macro.
50448 (__ieee754_sqrtf): Define as macro.
50449 (__ieee754_sqrtl): Define as macro.
50450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50451 inlined copy.
50452 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50453 __FINITE_MATH_ONLY__ consistent.
50454 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50455
50456 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50457
50458 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50459 of rawmemchr.
50460
50461 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50462
50463 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50464
50465 * po/ja.po: Update from translation team.
50466
50467 2011-10-08 Roland McGrath <roland@hack.frob.com>
50468
50469 * locale/programs/locarchive.c (prepare_address_space): New function.
50470 (create_archive, enlarge_archive, open_archive): Use it.
50471
50472 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50473 inside [SHARED], where it is used.
50474
50475 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50476
50477 * nss/getent.c (netgroup_keys): Remove unused variable.
50478 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50479
50480 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50481
50482 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50483 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50485 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50486 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50487 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50488 * math/Makefile (libm-calls): Add s_isinf_ns.
50489 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50490 * math/multc3.c: Likewise.
50491 * math/s_casin.c: Likewise.
50492 * math/s_casinf.c: Likewise.
50493 * math/s_casinl.c: Likewise.
50494 * math/s_ccos.c: Likewise.
50495 * math/s_ccosf.c: Likewise.
50496 * math/s_ccosl.c: Likewise.
50497 * math/s_ctan.c: Likewise.
50498 * math/s_ctanf.c: Likewise.
50499 * math/s_ctanh.c: Likewise.
50500 * math/s_ctanhf.c: Likewise.
50501 * math/s_ctanhl.c: Likewise.
50502 * math/s_ctanl.c: Likewise.
50503 * math/w_fmod.c: Likewise.
50504 * math/w_fmodf.c: Likewise.
50505 * math/w_fmodl.c: Likewise.
50506 * math/w_remainder.c: Likewise.
50507 * math/w_remainderf.c: Likewise.
50508 * math/w_remainderl.c: Likewise.
50509 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50510 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50511 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50513 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50514 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50515 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50516 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50517
50518 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50519 of the number.
50520 * stdio-common/printf_fphex.c: Likewise.
50521 * stdio-common/printf_size.c: Likewise.
50522
50523 * math/e_exp10.c: Include math_private.h using <...> not "...".
50524 * math/e_exp10f.c: Likewise.
50525 * math/e_exp10l.c: Likewise.
50526 * math/e_exp2l.c: Likewise.
50527 * math/e_j0l.c: Likewise.
50528 * math/e_j1l.c: Likewise.
50529 * math/e_jnl.c: Likewise.
50530 * math/e_lgammal_r.c: Likewise.
50531 * math/e_rem_pio2l.c: Likewise.
50532 * math/e_scalb.c: Likewise.
50533 * math/e_scalbf.c: Likewise.
50534 * math/e_scalbl.c: Likewise.
50535 * math/k_cosl.c: Likewise.
50536 * math/k_sinl.c: Likewise.
50537 * math/k_tanl.c: Likewise.
50538 * math/s_cacoshf.c: Likewise.
50539 * math/s_catan.c: Likewise.
50540 * math/s_catanf.c: Likewise.
50541 * math/s_catanh.c: Likewise.
50542 * math/s_catanhf.c: Likewise.
50543 * math/s_catanhl.c: Likewise.
50544 * math/s_catanl.c: Likewise.
50545 * math/s_ccosh.c: Likewise.
50546 * math/s_ccoshf.c: Likewise.
50547 * math/s_ccoshl.c: Likewise.
50548 * math/s_cexp.c: Likewise.
50549 * math/s_cexpf.c: Likewise.
50550 * math/s_cexpl.c: Likewise.
50551 * math/s_clog.c: Likewise.
50552 * math/s_clog10.c: Likewise.
50553 * math/s_clog10f.c: Likewise.
50554 * math/s_clog10l.c: Likewise.
50555 * math/s_clogf.c: Likewise.
50556 * math/s_clogl.c: Likewise.
50557 * math/s_csin.c: Likewise.
50558 * math/s_csinf.c: Likewise.
50559 * math/s_csinh.c: Likewise.
50560 * math/s_csinhf.c: Likewise.
50561 * math/s_csinhl.c: Likewise.
50562 * math/s_csinl.c: Likewise.
50563 * math/s_csqrt.c: Likewise.
50564 * math/s_csqrtf.c: Likewise.
50565 * math/s_csqrtl.c: Likewise.
50566 * math/s_ctan.c: Likewise.
50567 * math/s_ctanf.c: Likewise.
50568 * math/s_ctanh.c: Likewise.
50569 * math/s_ctanhf.c: Likewise.
50570 * math/s_ctanhl.c: Likewise.
50571 * math/s_ctanl.c: Likewise.
50572 * math/s_ldexp.c: Likewise.
50573 * math/s_ldexpf.c: Likewise.
50574 * math/s_ldexpl.c: Likewise.
50575 * math/s_significand.c: Likewise.
50576 * math/s_significandf.c: Likewise.
50577 * math/s_significandl.c: Likewise.
50578 * math/w_acos.c: Likewise.
50579 * math/w_acosf.c: Likewise.
50580 * math/w_acosh.c: Likewise.
50581 * math/w_acoshf.c: Likewise.
50582 * math/w_acoshl.c: Likewise.
50583 * math/w_acosl.c: Likewise.
50584 * math/w_asin.c: Likewise.
50585 * math/w_asinf.c: Likewise.
50586 * math/w_asinl.c: Likewise.
50587 * math/w_atan2.c: Likewise.
50588 * math/w_atan2f.c: Likewise.
50589 * math/w_atan2l.c: Likewise.
50590 * math/w_atanh.c: Likewise.
50591 * math/w_atanhf.c: Likewise.
50592 * math/w_atanhl.c: Likewise.
50593 * math/w_cosh.c: Likewise.
50594 * math/w_coshf.c: Likewise.
50595 * math/w_coshl.c: Likewise.
50596 * math/w_dremf.c: Likewise.
50597 * math/w_exp10.c: Likewise.
50598 * math/w_exp10f.c: Likewise.
50599 * math/w_exp10l.c: Likewise.
50600 * math/w_exp2.c: Likewise.
50601 * math/w_exp2f.c: Likewise.
50602 * math/w_fmod.c: Likewise.
50603 * math/w_fmodf.c: Likewise.
50604 * math/w_fmodl.c: Likewise.
50605 * math/w_hypot.c: Likewise.
50606 * math/w_hypotf.c: Likewise.
50607 * math/w_hypotl.c: Likewise.
50608 * math/w_j0.c: Likewise.
50609 * math/w_j0f.c: Likewise.
50610 * math/w_j0l.c: Likewise.
50611 * math/w_j1.c: Likewise.
50612 * math/w_j1f.c: Likewise.
50613 * math/w_j1l.c: Likewise.
50614 * math/w_jn.c: Likewise.
50615 * math/w_jnf.c: Likewise.
50616 * math/w_jnl.c: Likewise.
50617 * math/w_lgamma.c: Likewise.
50618 * math/w_lgamma_r.c: Likewise.
50619 * math/w_lgammaf.c: Likewise.
50620 * math/w_lgammaf_r.c: Likewise.
50621 * math/w_lgammal.c: Likewise.
50622 * math/w_lgammal_r.c: Likewise.
50623 * math/w_log.c: Likewise.
50624 * math/w_log10.c: Likewise.
50625 * math/w_log10f.c: Likewise.
50626 * math/w_log10l.c: Likewise.
50627 * math/w_log2.c: Likewise.
50628 * math/w_log2f.c: Likewise.
50629 * math/w_log2l.c: Likewise.
50630 * math/w_logf.c: Likewise.
50631 * math/w_logl.c: Likewise.
50632 * math/w_pow.c: Likewise.
50633 * math/w_powf.c: Likewise.
50634 * math/w_powl.c: Likewise.
50635 * math/w_remainder.c: Likewise.
50636 * math/w_remainderf.c: Likewise.
50637 * math/w_remainderl.c: Likewise.
50638 * math/w_scalb.c: Likewise.
50639 * math/w_scalbf.c: Likewise.
50640 * math/w_scalbl.c: Likewise.
50641 * math/w_sinh.c: Likewise.
50642 * math/w_sinhf.c: Likewise.
50643 * math/w_sinhl.c: Likewise.
50644 * math/w_sqrt.c: Likewise.
50645 * math/w_sqrtf.c: Likewise.
50646 * math/w_sqrtl.c: Likewise.
50647 * math/w_tgamma.c: Likewise.
50648 * math/w_tgammaf.c: Likewise.
50649 * math/w_tgammal.c: Likewise.
50650
50651 * po/ja.po: Update from translation team.
50652
50653 2011-09-29 Andreas Jaeger <aj@suse.de>
50654
50655 [BZ #13179]
50656 * sunrpc/netname.c (netname2host): Fix logic.
50657
50658 [BZ #6779]
50659 [BZ #6783]
50660 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50661 correctly.
50662 * math/w_remainder.c (__remainder): Likewise.
50663 * math/w_remainderf.c (__remainderf): Likewise.
50664 * math/libm-test.inc (remainder_test): Add test cases.
50665
50666 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50667
50668 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50669 sdiv_qrnnd.
50670
50671 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50672
50673 * string/test-memcmp.c: Avoid unncessary #defines.
50674 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50675
50676 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50677
50678 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50679 Use new sse2 version for core i3 - i7 as it's faster
50680 than sse42 version.
50681 (bit_Prefer_PMINUB_for_stringop): New.
50682 * sysdeps/x86_64/rawmemchr.S: Update.
50683 Replace with faster SSE2 version.
50684 * sysdeps/x86_64/memrchr.S: New file.
50685 * sysdeps/x86_64/memchr.S: Update.
50686 Replace with faster SSE2 version.
50687
50688 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50689
50690 * elf/dl-load.c (lose): Add cast to avoid warning.
50691
50692 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50693
50694 * po/ca.po: Update from translation team.
50695
50696 * inet/getnetgrent_r.c: Hook up nscd.
50697 * nscd/Makefile (routines): Add nscd_netgroup.
50698 (nscd-modules): Add netgroupcache.
50699 (CFLAGS-netgroupcache.c): Define.
50700 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50701 (cache_search): Add const to second parameter.
50702 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50703 INNETGR.
50704 (dbs): Add netgrdb entry.
50705 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50706 (verify_persistent_db): Handle netgrdb.
50707 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50708 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50709 GETFDNETGR.
50710 (netgroup_response_header): Define.
50711 (innetgroup_response_header): Define.
50712 (datahead): Add netgroup_response_header and innetgroup_response_header
50713 elements.
50714 * nscd/nscd.conf: Add entries for netgroup cache.
50715 * nscd/nscd.h (dbtype): Add netgrdb.
50716 (_PATH_NSCD_NETGROUP_DB): Define.
50717 (netgroup_iov_disabled): Declare.
50718 (xmalloc, xcalloc, xrealloc): Move declarations here.
50719 (cache_search): Adjust prototype.
50720 Add netgroup-related prototypes.
50721 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50722 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50723 (__nscd_innetgr): Declare.
50724 * nscd/selinux.c (perms): Use access_vector_t as element type and
50725 add netgroup-related initializers.
50726 * nscd/netgroupcache.c: New file.
50727 * nscd/nscd_netgroup.c: New file.
50728 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50729 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50730 For four parameters use innetgr.
50731 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50732 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50733 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50734 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50735
50736 * nscd/connections.c (register_traced_file): Don't register file
50737 for disabled databases.
50738
50739 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50740
50741 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50742
50743 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50744 from tree and freeing node.
50745
50746 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50747
50748 * nss/nsswitch.c (__nss_database_lookup): Handle
50749 nss_parse_service_list out of memory case.
50750
50751 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50752
50753 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50754 out of memory case.
50755
50756 2011-10-04 Andreas Schwab <schwab@redhat.com>
50757
50758 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50759 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50760 pass it down.
50761 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50762 elf_machine_rela, elf_machine_lazy_rel.
50763 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50764 (ELF_DYNAMIC_DO_REL): Likewise.
50765 (ELF_DYNAMIC_DO_RELA): Likewise.
50766 (ELF_DYNAMIC_RELOCATE): Likewise.
50767 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50768 to ELF_DYNAMIC_DO_REL.
50769 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50770 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50771 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50772 elf_machine_rela.
50773 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50774 skip_ifunc, don't call ifunc function if non-zero.
50775 (elf_machine_rela): Likewise.
50776 (elf_machine_lazy_rel): Likewise.
50777 (elf_machine_lazy_rela): Likewise.
50778 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50779 (elf_machine_lazy_rel): Likewise.
50780 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50781 Likewise.
50782 (elf_machine_lazy_rel): Likewise.
50783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50784 Likewise.
50785 (elf_machine_lazy_rel): Likewise.
50786 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50787 (elf_machine_lazy_rel): Likewise.
50788 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50789 (elf_machine_lazy_rel): Likewise.
50790 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50791 (elf_machine_lazy_rel): Likewise.
50792 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50793 (elf_machine_lazy_rel): Likewise.
50794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50795 (elf_machine_lazy_rel): Likewise.
50796 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50797 (elf_machine_lazy_rel): Likewise.
50798
50799 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50800
50801 * nss/nss_files/files-init.c (_nss_files_init): Use static
50802 initialization for all the *_traced_file variables.
50803
50804 2011-09-28 Andreas Schwab <schwab@redhat.com>
50805
50806 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50807
50808 2011-09-27 Roland McGrath <roland@hack.frob.com>
50809
50810 [BZ #13226]
50811 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50812
50813 2011-09-27 Andreas Schwab <schwab@redhat.com>
50814
50815 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50816 Reread the line before reparsing it.
50817
50818 2011-09-26 Andreas Schwab <schwab@redhat.com>
50819
50820 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50821
50822 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50823 Maxim Kuvyrkov <maxim@codesourcery.com>
50824 Joseph Myers <joseph@codesourcery.com>
50825
50826 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50827 if needed for __stack_chk_guard.
50828
50829 2011-09-19 Roland McGrath <roland@hack.frob.com>
50830
50831 * sysdeps/posix/spawni.c (script_execute): Always define it.
50832 It will be optimized away if unused.
50833 (maybe_script_execute): New function.
50834 (__spawni): Call it.
50835
50836 * Makerules: Don't include tls.make.
50837 (config-tls): Always set to thread.
50838 * tls.make.c: File removed.
50839
50840 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50841
50842 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50843 * config.make.in (CPPFLAGS-config): New substituted variable.
50844
50845 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50846
50847 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50848
50849 [BZ #13192]
50850 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50851 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50852
50853 2011-09-15 Roland McGrath <roland@hack.frob.com>
50854
50855 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50856 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50858 (CALL_FAIL): Likewise.
50859 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50860 (CALL_FAIL): Macro removed.
50861 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50862
50863 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50864
50865 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50866 for __FINITE_MATH_ONLY__ == 1.
50867
50868 2011-09-15 Andreas Schwab <schwab@redhat.com>
50869
50870 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50871 __ieee754_sqrt instead of sqrt.
50872 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50873 __ieee754_sqrtf instead of sqrtf.
50874 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50875 __floorf instead of floorf.
50876 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50877 __floorf, __truncf instead of floorf, truncf.
50878
50879 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50880
50881 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50882
50883 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50884 __extern_always_inline.
50885 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50886 32-bit.
50887
50888 2011-09-14 Andreas Schwab <schwab@redhat.com>
50889
50890 * elf/rtld.c (dl_main): Also relocate in dependency order when
50891 doing symbol dependency testing.
50892
50893 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50894
50895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50896 Always define `refsym'.
50897
50898 2011-09-13 Andreas Schwab <schwab@redhat.com>
50899
50900 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50901 (__FD_ELT): Renamed from __FDELT.
50902 * misc/bits/select2.h (__FD_ELT): Likewise.
50903 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50904 __FD_MASK instead of __FDELT, __FDMASK.
50905 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50906 Likewise.
50907 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50908 Likewise.
50909
50910 * elf/Makefile (gen-ldd): Fix pattern.
50911
50912 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50913 (init_tls): Likewise.
50914
50915 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50916
50917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50918
50919 2011-09-12 Andreas Schwab <schwab@redhat.com>
50920
50921 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50922 `struct cmsghdr *' instead of `void *'.
50923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50924 Likewise.
50925
50926 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50927
50928 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50929 if non-absolute.
50930 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50931 ldd_rewrite_script.
50932
50933 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50934
50935 * configure.in: Remove --with-tls option.
50936 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50937 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50938 out in case it is missing.
50939 * sysdeps/ia64/elf/configure.in: Likewise.
50940 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50941 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50942 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50943 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50944 * sysdeps/sh/elf/configure.in: Likewise.
50945 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50946 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50947 * sysdeps/x86_64/elf/configure.in: Likewise.
50948 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50949 * sysdeps/mach/hurd/tls.h: Likewise.
50950
50951 [BZ #13067]
50952 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50953
50954 [BZ #13090]
50955 * configure.in: Fix use of AC_INIT.
50956
50957 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50958
50959 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50960
50961 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50962 __set_errno.
50963 * malloc/hooks.c: Likewise.
50964
50965 [BZ #11929]
50966 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50967 variables statically.
50968 (narenas): Initialize.
50969 (list_lock): Initialize.
50970 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50971 initializtion of main_arena and list_lock. Small cleanups.
50972 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50973 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50974 Add initializers to main_arena and mp_.
50975 (malloc_state): Remove pagesize member. Change all users to use
50976 GLRO(dl_pagesize).
50977
50978 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50979 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50980 is always initialized.
50981
50982 * malloc/malloc.c: Removed unused configurations and dead code.
50983 * malloc/arena.c: Likewise.
50984 * malloc/hooks.c: Likewise.
50985 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50986
50987 * include/tls.h: Removed. USE___THREAD must always be defined.
50988 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50989 * elf/dl-libc.c: Likewise.
50990 * elf/dl-tsd.c: Likewise.
50991 * include/errno.h: Likewise.
50992 * include/netdb.h: Likewise.
50993 * include/resolv.h: Likewise.
50994 * inet/herrno-loc.c: Likewise.
50995 * inet/herrno.c: Likewise.
50996 * malloc/arena.c: Likewise.
50997 * malloc/hooks.c: Likewise.
50998 * malloc/malloc.c: Likewise.
50999 * resolv/res-state.c: Likewise.
51000 * resolv/res_libc.c: Likewise.
51001 * sysdeps/i386/dl-machine.h: Likewise.
51002 * sysdeps/ia64/dl-machine.h: Likewise.
51003 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51004 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51005 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51006 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51007 * sysdeps/sh/dl-machine.h: Likewise.
51008 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51009 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51010 * sysdeps/unix/i386/sysdep.S: Likewise.
51011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51012 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51013 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51014 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51016 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51017 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51018 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51021 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51022 * sysdeps/x86_64/dl-machine.h: Likewise.
51023 * tls.make.c: Likewise.
51024
51025 * configure.in: Remove --with-__thread option. Make tests for
51026 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51027 tls_model attribute fail if no support is available. Remove
51028 USE_IN_LIBIO.
51029 * Makeconfig: Adjust for dropped configure option. All features are
51030 now mandatory.
51031 * Makerules: Likewise.
51032 * Versions.def: Likewise.
51033 * argp/argp-fmtstream.c: Likewise.
51034 * argp/argp-fmtstream.h: Likewise.
51035 * argp/argp-help.c: Likewise.
51036 * assert/assert.c: Likewise.
51037 * config.h.in: Likewise.
51038 * config.make.in: Likewise.
51039 * configure: Likewise.
51040 * configure.in: Likewise.
51041 * csu/Versions: Likewise.
51042 * csu/init.c: Likewise.
51043 * elf/tst-audit2.c: Likewise.
51044 * elf/tst-tls10.c: Likewise.
51045 * elf/tst-tls10.h: Likewise.
51046 * elf/tst-tls11.c: Likewise.
51047 * elf/tst-tls12.c: Likewise.
51048 * elf/tst-tls14.c: Likewise.
51049 * elf/tst-tlsmod11.c: Likewise.
51050 * elf/tst-tlsmod12.c: Likewise.
51051 * elf/tst-tlsmod13.c: Likewise.
51052 * elf/tst-tlsmod13a.c: Likewise.
51053 * elf/tst-tlsmod14a.c: Likewise.
51054 * elf/tst-tlsmod15b.c: Likewise.
51055 * elf/tst-tlsmod16a.c: Likewise.
51056 * elf/tst-tlsmod16b.c: Likewise.
51057 * elf/tst-tlsmod7.c: Likewise.
51058 * elf/tst-tlsmod8.c: Likewise.
51059 * elf/tst-tlsmod9.c: Likewise.
51060 * gmon/gmon.c: Likewise.
51061 * grp/fgetgrent_r.c: Likewise.
51062 * grp/putgrent.c: Likewise.
51063 * hurd/fopenport.c: Likewise.
51064 * include/libc-symbols.h: Likewise.
51065 * include/tls.h: Likewise.
51066 * intl/gettextP.h: Likewise.
51067 * intl/loadinfo.h: Likewise.
51068 * locale/global-locale.c: Likewise.
51069 * locale/localeinfo.h: Likewise.
51070 * mach/devstream.c: Likewise.
51071 * malloc/arena.c: Likewise.
51072 * malloc/set-freeres.c: Likewise.
51073 * misc/err.c: Likewise.
51074 * misc/getttyent.c: Likewise.
51075 * misc/mntent_r.c: Likewise.
51076 * posix/getopt.c: Likewise.
51077 * posix/wordexp.c: Likewise.
51078 * pwd/fgetpwent_r.c: Likewise.
51079 * resolv/Versions: Likewise.
51080 * resolv/res_hconf.c: Likewise.
51081 * shadow/fgetspent_r.c: Likewise.
51082 * shadow/putspent.c: Likewise.
51083 * stdio-common/printf_fphex.c: Likewise.
51084 * stdio-common/tmpfile.c: Likewise.
51085 * stdlib/abort.c: Likewise.
51086 * stdlib/fmtmsg.c: Likewise.
51087 * sunrpc/auth_unix.c: Likewise.
51088 * sunrpc/clnt_perr.c: Likewise.
51089 * sunrpc/clnt_tcp.c: Likewise.
51090 * sunrpc/clnt_udp.c: Likewise.
51091 * sunrpc/clnt_unix.c: Likewise.
51092 * sunrpc/openchild.c: Likewise.
51093 * sunrpc/svc_simple.c: Likewise.
51094 * sunrpc/svc_tcp.c: Likewise.
51095 * sunrpc/svc_udp.c: Likewise.
51096 * sunrpc/svc_unix.c: Likewise.
51097 * sunrpc/xdr.c: Likewise.
51098 * sunrpc/xdr_array.c: Likewise.
51099 * sunrpc/xdr_rec.c: Likewise.
51100 * sunrpc/xdr_ref.c: Likewise.
51101 * sunrpc/xdr_stdio.c: Likewise.
51102
51103 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51104
51105 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51106
51107 2011-07-03 Andreas Jaeger <aj@suse.de>
51108
51109 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51110 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51111 regenerate with gen-libm-tests.pl.
51112
51113 2010-05-12 Petr Baudis <pasky@suse.cz>
51114
51115 [BZ #11589]
51116 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51117 around j0() zero points by switching to j1().
51118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51119 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51121 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51122
51123 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51124
51125 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51126 instead of 0.
51127 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51128 instead of 0.
51129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51130 Patch in part by Pavel Roskin <proski@gnu.org>.
51131
51132 [BZ #13138]
51133 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51134 realloc.
51135 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51136 Free memory block if necessary.
51137
51138 [BZ #12847]
51139 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51140 be NULL. Don't lock in this case.
51141
51142 2011-09-09 Roland McGrath <roland@hack.frob.com>
51143
51144 * elf/elf.h (ELFOSABI_GNU): New macro.
51145 (ELFOSABI_LINUX): Define to that.
51146
51147 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51148
51149 * string/strncat.c (strncat): Undef the symbol in case it has been
51150 defined in bits/string.h.
51151
51152 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51153
51154 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51155
51156 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51157 link map.
51158
51159 2011-08-17 Andreas Jaeger <aj@suse.de>
51160
51161 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51162
51163 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51164 Ian Lance Taylor <iant@google.com>
51165
51166 * math/libm-test.inc (lround_test): New testcase.
51167 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51168
51169 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51170
51171 * Makefile: Remove support for automatic cvs check-ins.
51172 * Makerules: Likewise.
51173 * config.make.in: Likewise.
51174 * configure.in: Likewise.
51175 * intl/Makefile: Likewise.
51176 * locale/Makefile: Likewise.
51177 * po/Makefile: Likewise.
51178 * posix/Makefile: Likewise.
51179 * sysdeps/gnu/Makefile: Likewise.
51180 * sysdeps/mach/hurd/Makefile: Likewise.
51181 * sysdeps/sparc/sparc32/Makefile: Likewise.
51182
51183 [BZ #13118]
51184 * posix/Makefile (bug-regex32-ENV): Define.
51185 Patch by John Stanley <jpsinthemix@verizon.net>.
51186
51187 * misc/Makefile (headers): Add bits/select2.h.
51188 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51189 * misc/bits/select2.h: New file.
51190 * include/bits/select2.h: New file.
51191 * debug/Makefile (routines): Add fdelt_chk.
51192 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51193 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51194 FD_ISSET.
51195 * debug/fdelt_chk.c: New file.
51196
51197 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51198 * wcsmbs/test-wmemcmp.c: Likewise.
51199 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51200 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51201
51202 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51203
51204 * string/Makefile (strop-tests): Add memcmp.
51205 * string/test-wmemcmp.c: New file.
51206 * string/test-memcmp.c: Add wmemcmp support.
51207
51208 2011-09-08 Roland McGrath <roland@hack.frob.com>
51209
51210 [BZ #13153]
51211 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51212 2011-07-19 change.
51213
51214 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51215 garbage value in a __mach_port_mod_refs call in the cases of the
51216 task-self and thread-self ports.
51217
51218 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51219
51220 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51221
51222 2011-09-08 Andreas Schwab <schwab@redhat.com>
51223
51224 * elf/dl-load.c (lose): Check for non-null L.
51225
51226 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51227
51228 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51229
51230 * elf/dl-libc.c (dlerror_run): Pass back error code from
51231 dl_catch_error.
51232
51233 [BZ #13123]
51234 * elf/dl-load.c (lose): Free l_origin if it is valid.
51235
51236 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51237 names.
51238 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51239 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51240 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51241 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51242 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51243 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51244
51245 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51246
51247 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51248 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51249 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51250 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51251 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51252 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51253 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51254 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51255 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51256 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51257
51258 2011-08-15 Alan Modra <amodra@gmail.com>
51259
51260 [BZ #13092]
51261 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51262 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51263 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51264 ppc_mcount to static-only-routines.
51265 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51266 __mcount_internal.
51267 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51268 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51269
51270 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51271
51272 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51273 for finite and infinity parameters.
51274
51275 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51276
51277 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51278 and add nop instructions for throughput optimization.
51279 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51280
51281 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51282
51283 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51284 aligned copy for power7 with vector-scalar instructions.
51285 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51286
51287 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51288
51289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51290 AVX check.
51291
51292 2011-09-07 Andreas Schwab <schwab@redhat.com>
51293
51294 [BZ #13144]
51295 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51296 last change.
51297
51298 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51299
51300 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51301 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51302 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51303 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51304 clock_gettime.
51305
51306 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51307
51308 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51309 Forgot to demangle the pointer.
51310
51311 * sysdeps/i386/sysdep.h: Define atom_text_section.
51312 * sysdeps/x86_64/sysdep.h: Likewise.
51313 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51314 section with atom_text_section.
51315 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51316 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51317 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51319 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51320
51321 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51322 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51323 already be defined. Change to take two parameters and don't assign
51324 result to variable. Adjust all users.
51325 Define INTERNAL_GETTIME if not already defined.
51326 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51327 call.
51328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51329 HAVE_CLOCK_GETTIME_VSYSCALL.
51330 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51331
51332 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51333 gettimeofday vsyscall, just use time.
51334
51335 2011-09-06 Andreas Schwab <schwab@redhat.com>
51336
51337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51338 <errno.h>.
51339
51340 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51341
51342 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51343 syscall on x86-64.
51344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51345 syscall.
51346 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51348 syscall if possible.
51349
51350 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51351
51352 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51353 e_ident. Don't pass to find_mapsXX.
51354 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51355
51356 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51357
51358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51359 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51360 * sysdeps/x86_64/multiarch/strchr.S: Update.
51361 Check bit_slow_BSF bit.
51362 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51363 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51364 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51365
51366 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51367
51368 [BZ #13134]
51369 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51370 before glibc 2.15.
51371 (tryshell): Define.
51372 (__spawni): Change last parameter to be flag. Test
51373 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51374 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51375 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51376 * posix/spawni.c: Likewise.
51377 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51378 * posix/spawnp.c: Likewise. Change normal version to use
51379 SPAWN_XFLAGS_USE_PATH.
51380 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51381 SPAWN_XFLAGS_TRY_SHELL.
51382
51383 [BZ #13150]
51384 * posix/glob.h: Remove gcc 1.x support.
51385
51386 [BZ #13068]
51387 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51388
51389 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51390
51391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51392 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51393 strrchr-sse2-bsf
51394 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51395 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51396 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51397 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51398 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51399 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51400
51401 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51402
51403 * sysdeps/x86_64/wcscmp.S: New file.
51404
51405 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51406 wcscmp-c wcscmp-sse2
51407 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51408 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51409 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51410 * wcsmbs/wcscmp.c: Allow renaming.
51411
51412 2011-09-05 David S. Miller <davem@davemloft.net>
51413
51414 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51415 stack slot, rather than the struct return pointer slot.
51416 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51417 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51419 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51420
51421 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51422
51423 * po/ja.po: Update from translation team.
51424
51425 [BZ #13144]
51426 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51427 kernel in 64-bit binaries.
51428
51429 2011-09-01 David S. Miller <davem@davemloft.net>
51430
51431 * elf/elf.h (HWCAP_SPARC_*): Move to..
51432 * sysdeps/sparc/sysdep.h: this new file and add new values.
51433 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51434 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51435 _DL_HWCAP_COUNT to 24.
51436 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51437 entries.
51438 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51439 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51440 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51442 instead of magic constants.
51443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51444
51445 2011-08-31 David S. Miller <davem@davemloft.net>
51446
51447 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51449 Reimplement to do errno handling inline.
51450 (SYSCALL_ERROR_HANDLER): New macro.
51451 (__SYSCALL_STRING): Do not do errno handling in asm.
51452 (__CLONE_SYSCALL_STRING): Delete.
51453 (__INTERNAL_SYSCALL_STRING): Delete.
51454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51455 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51456 (PSEUDO): Reimplement to do errno handling inline.
51457 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51458 (SYSCALL_ERROR_HANDLER): New macro.
51459 (__SYSCALL_STRING): Do not do errno handling in asm.
51460 (__CLONE_SYSCALL_STRING): Delete.
51461 (__INTERNAL_SYSCALL_STRING): Delete.
51462 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51463 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51464 i386.
51465 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51466 (inline_syscall*): Add 'err' argument.
51467 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51468 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51469 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51470 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51471
51472 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51473 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51474
51475 2011-08-30 Andreas Schwab <schwab@redhat.com>
51476
51477 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51478
51479 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51480
51481 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51482 directive.
51483
51484 2011-08-24 David S. Miller <davem@davemloft.net>
51485
51486 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51487
51488 2011-08-24 Andreas Schwab <schwab@redhat.com>
51489
51490 * elf/Makefile: Add rules to build and run unload8 test.
51491 * elf/unload8.c: New file.
51492 * elf/unload8mod1.c: New file.
51493 * elf/unload8mod1x.c: New file.
51494 * elf/unload8mod2.c: New file.
51495 * elf/unload8mod3.c: New file.
51496
51497 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51498 it wasn't used.
51499
51500 2011-08-23 David S. Miller <davem@davemloft.net>
51501
51502 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51503 subtract stack bias.
51504 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51505 %sp not %fp in calculations.
51506 (_JMPBUF_UNWINDS_ADJ): Likewise.
51507
51508 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51509 (aio_suspend): Call it to force an exception region around the
51510 AIO_MISC_WAIT() invocation.
51511
51512 2011-08-23 Andreas Schwab <schwab@redhat.com>
51513
51514 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51515 backslash.
51516
51517 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51518
51519 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51520 protection macro.
51521 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51522 and <dl-machine.h>.
51523 (Elf64_FuncDesc): Remove.
51524
51525 2011-08-22 David S. Miller <davem@davemloft.net>
51526
51527 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51528 sigaltstack check, add missing cfi directives.
51529 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51530 missing cfi directives, and sigaltstack handling.
51531
51532 2011-08-16 Andreas Schwab <schwab@redhat.com>
51533
51534 [BZ #11724]
51535 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51536 object is seen twice.
51537 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51538
51539 * elf/Makefile (distribute): Add tst-initorder2.c.
51540 (tests): Add tst-initorder2.
51541 (modules-names): Add tst-initorder2a tst-initorder2b
51542 tst-initorder2c tst-initorder2d. Add rules to build them.
51543 ($(objpfx)tst-initorder2.out): New rule.
51544 * elf/tst-initorder2.c: New file.
51545 * elf/tst-initorder2.exp: New file.
51546
51547 2011-08-22 Andreas Schwab <schwab@redhat.com>
51548
51549 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51550
51551 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51552 dependencies back to end of function.
51553
51554 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51555 $(elfobjdir)/ld.so.
51556
51557 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51558
51559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51560 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51561 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51562 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51563 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51564 of __vdso_gettimeofday.
51565 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51566 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51567 attribute_hidden.
51568 (_libc_vdso_platform_setup): Remove initialization of
51569 __vdso_gettimeofday and __vdso_time.
51570
51571 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51572
51573 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51574 and fgetc_unlocked.
51575 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51576 getc_unlocked.
51577
51578 * elf/dl-open.c (add_to_global): Report additions to the global scope
51579 for LD_DEBUG=scopes.
51580 (dl_open_worker): Also print scope of newly loaded dependencies.
51581 (_dl_show_scope): Indicate if there is no scope.
51582
51583 [BZ #13114]
51584 * stdio-common/Makefile (tests): Add bug24.
51585 * stdio-common/bug24.c: New file.
51586
51587 2011-08-19 Andreas Jaeger <aj@suse.de>
51588
51589 [BZ #13114]
51590 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51591 non-existant file when using close-on-exec mode.
51592
51593 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51594
51595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51596 the very first instruction.
51597
51598 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51599 the CFI state in the end.
51600 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51601 inclusion of dl-trampoline.h.
51602 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51603
51604 2011-08-19 Andreas Schwab <schwab@redhat.com>
51605
51606 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51607 expectations for long double.
51608
51609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51610 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51611
51612 2011-08-14 David S. Miller <davem@davemloft.net>
51613
51614 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51615 artificual limit depends upon the system page size.
51616
51617 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51618
51619 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51620 * resolv/Makefile: Define CFLAGS-libresolv.
51621
51622 2011-08-17 Andreas Schwab <schwab@redhat.com>
51623
51624 * nss/makedb.c (compute_tables): Make variables used in nested
51625 function static.
51626
51627 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51628
51629 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51630 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51631 if buffer was too small.
51632
51633 * elf/pldd.c (main): Attach to all threads in the process.
51634 Rewrite /proc handling to use *at functions.
51635
51636 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51637
51638 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51639 specifies first scope to show.
51640 (dl_open_worker): Update callers. Move printing scope of new
51641 object to before the relocation.
51642 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51643 * sysdeps/generic/ldsodefs.h: Update declaration.
51644
51645 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51646 string for the scope number.
51647
51648 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51649
51650 * nscd/servicescache.c (cache_addserv): Make sure written is always
51651 initialized.
51652
51653 2011-08-14 Roland McGrath <roland@hack.frob.com>
51654
51655 * sysdeps/i386/i486/bits/atomic.h
51656 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51657 statement expression, so as to suppress "set but not used" warning.
51658 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51659
51660 * string/strncat.c (STRNCAT): Use prototype definition.
51661
51662 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51663 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51664 -Iprograms here.
51665 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51666 (localedef-modules): Add localedef.
51667 (locale-modules): Add locale.
51668
51669 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51670 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51671 to avoid a warning.
51672
51673 2011-08-14 David S. Miller <davem@davemloft.net>
51674
51675 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51676 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51677
51678 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51679
51680 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51681 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51682 * elf/rtld.c (dl_main): Set l_name of vDSO.
51683 Call _dl_show_scope when DL_DEBUG_SCOPES.
51684 (process_dl_debug): Recognize scopes flag and also set it for all.
51685 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51686 Declare _dl_show_scope.
51687
51688 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51689 (do_dlopen): Pass caller_dlopen to dl_open.
51690 (__libc_dlopen_mode): Initialize caller_dlopen.
51691
51692 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51693 of libc. Make tolower call locale-independent. Optimize a bit by
51694 using isdigit instead of isalnum.
51695 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51696
51697 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51698
51699 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51700 was a dependency or dynamically loaded.
51701
51702 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51703
51704 * intl/l10nflist.c: Allow architecture-specific pop function.
51705 * sysdeps/x86_64/l10nflist.c: New file.
51706
51707 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51708 classification.
51709
51710 2011-08-10 Andreas Schwab <schwab@redhat.com>
51711
51712 * include/dirent.h: Add libc_hidden_proto for scandirat and
51713 scandirat64. Don't declare __scandirat64.
51714 * dirent/scandirat.c: Add libc_hidden_def.
51715 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51716 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51717
51718 2011-08-10 David S. Miller <davem@davemloft.net>
51719
51720 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51721 enum.
51722 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51723 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51725
51726 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51727
51728 * Versions.def [libc]: Add GLIBC_2.15.
51729 * dirent/Makefile (routines): Add scandirat and scandirat64.
51730 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51731 GLIBC_2.15.
51732 * dirent/dirent.h: Declare scandirat and scandirat64.
51733 * dirent/scandirat.c: New file.
51734 * dirent/scandirat64.c: New file.
51735 * sysdeps/wordsize-64/scandirat.c: New file.
51736 * sysdeps/wordsize-64/scandirat64.c: New file.
51737 * dirent/opendir.c: Define opendirat.
51738 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51739 using scandirat.
51740 * dirent/scandir64.c: Adjust for scandir.c change.
51741 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51742 __scandirat64, and __scandir_cancel_handler.
51743 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51744 additional parameter and use openat instead of open (outside of ld.so).
51745 Add new __opendir as wrapper around __opendirat.
51746 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51747 here without requiring old scandirat implementation.
51748
51749 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51750
51751 * dirent/scandir.c (cancel_handler): Renamed to
51752 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51753 defined. Adjust users.
51754 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51755 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51756
51757 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51758
51759 * string/test-string.h (IMPL): Use __STRING to expand name and then
51760 stringify it.
51761
51762 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51763 of cleanups.
51764
51765 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51766
51767 * string/Makefile: Update.
51768 (strop-tests): Append strncat.
51769 * string/test-wcscmp.c: New file.
51770 New comprehensive test for wcscmp.
51771 * string/test-strcmp.c: Update.
51772 (WIDE): New define.
51773
51774 2011-07-22 Andreas Schwab <schwab@redhat.com>
51775
51776 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51777 line.
51778
51779 2011-07-26 Andreas Schwab <schwab@redhat.com>
51780
51781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51782 encoding to ACE if AI_IDN.
51783
51784 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51785
51786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51787 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51788
51789 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51790
51791 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51792 Fix overflow bug in strncat.
51793 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51794
51795 * string/test-strncat.c: Update.
51796 Add new tests for checking overflow bugs.
51797
51798 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51799
51800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51801 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51802 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51803 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51804 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51805 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51806 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51807 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51808 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51809
51810 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51811 (USE_AS_STRCAT): Define.
51812 Add strcat and strncat support.
51813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51814
51815 2011-07-25 Andreas Schwab <schwab@redhat.com>
51816
51817 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51818 __n bigger than INT_MAX+1.
51819 (__strncmp_g): Likewise.
51820
51821 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51822
51823 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51824 * libio/stido.h: Likewise.
51825
51826 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51827 (AF_NFC): Define.
51828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51829 (AF_NFC): Define.
51830
51831 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51832 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51833 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51834 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51835 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51836
51837 [BZ #13021]
51838 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51839 installed.
51840
51841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51842 typo.
51843 (_dl_x86_64_save_sse): Likewise.
51844
51845 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51846
51847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51848 OSXSAVE.
51849 (_dl_x86_64_save_sse): Likewise.
51850
51851 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51852
51853 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51854
51855 2011-07-21 Andreas Schwab <schwab@redhat.com>
51856
51857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51858 change.
51859 (_dl_x86_64_save_sse): Use correct AVX check.
51860
51861 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51862
51863 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51864 bug in strncpy/strncat.
51865 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51866
51867 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51868
51869 * string/tester.c (test_strcat): Add tests for different alignments
51870 of source and destination.
51871 (test_strncat): Likewise.
51872
51873 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51874
51875 [BZ #12852]
51876 * posix/glob.c (glob): Check passed in values before using them in
51877 expressions to avoid some overflows.
51878 (glob_in_dir): Likewise.
51879
51880 [BZ #13007]
51881 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51882 check for AVX enablement so that we don't crash with old kernels and
51883 new hardware.
51884 * elf/tst-audit4.c: Add same checks here.
51885 * elf/tst-audit6.c: Likewise.
51886
51887 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51888
51889 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51890
51891 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51892
51893 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51894
51895 * po/cs.po: Update from translation team.
51896 * po/bg.po: Likewise.
51897
51898 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51899
51900 * misc/sys/cdefs.h: Add support for const attribute.
51901 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51902 to gnu_dev_{major,minor,makedev} functions.
51903
51904 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51905
51906 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51907
51908 2011-07-20 Andreas Schwab <schwab@redhat.com>
51909
51910 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51911 strlen results.
51912
51913 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51914
51915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51916 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51917 register in order to avoid conflicts with the soft frame pointer
51918 being held in r11 when necessary.
51919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51920 (INTERNAL_VSYSCALL_NCS): Likewise.
51921
51922 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51923
51924 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51925 * elf/dl-fini.c (_dl_fini): Adjust caller.
51926 * elf/dl-close.c (_dl_close_worker): Likewise.
51927 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51928
51929 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51930
51931 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51932 "aux_cache->nlibs < 0".
51933
51934 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51935 in the reload-count case.
51936
51937 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51938
51939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51940 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51941 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51942 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51943 * sysdeps/x86_64/multiarch/strcat.S: New file.
51944 * sysdeps/x86_64/multiarch/strncat.S: New file.
51945 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51946 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51947 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51948 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51949 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51950 (USE_AS_STRCAT): Define.
51951 Add strcat and strncat support.
51952 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51954 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51955 * string/strncat.c: Update.
51956 (USE_AS_STRNCAT): Define.
51957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51958 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51959 and i7.
51960 * sysdeps/x86_64/multiarch/init-arch.h
51961 (bit_Prefer_PMINUB_for_stringop): New.
51962 (index_Prefer_PMINUB_for_stringop): Likewise.
51963 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51964 bit_Prefer_PMINUB_for_stringop.
51965
51966 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51967
51968 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51969 buffer64.
51970 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51971 of casting of buffer.
51972 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51973 buffer32 and buffer64.
51974 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51975 writes instead of casting of buffer.
51976 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51977 buffer32.
51978 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51979 casting of buffer.
51980
51981 2011-07-19 Andreas Schwab <schwab@redhat.com>
51982
51983 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51984
51985 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51986
51987 * nscd/nscd.c (termination_handler): Don't do anything for a database
51988 if it has not yet been initialized.
51989
51990 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51991
51992 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51993
51994 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51995
51996 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51997
51998 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51999
52000 * po/nl.po: Update from translation team.
52001 * po/sv.po: Likewise.
52002
52003 2011-07-16 Roland McGrath <roland@hack.frob.com>
52004
52005 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52006 now disallowed by GCC.
52007
52008 * configure.in (use-default-link): Default to yes if a test -shared
52009 link meets our qualifications.
52010 * configure: Regenerated.
52011
52012 * config.make.in (output-format): New variable.
52013 * configure.in: Check for ld --print-output-format support.
52014 * configure: Regenerated.
52015 * Makerules ($(common-objpfx)format.lds)
52016 [$(output-format) != unknown]: Just use $(output-format),
52017 instead of the linker-script munging.
52018
52019 2011-07-14 Roland McGrath <roland@hack.frob.com>
52020
52021 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52022 of $(common-objpfx)shlib.lds.
52023 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52024
52025 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52026 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52027
52028 * configure.in (-z relro check): Adjust test code to add a large
52029 writable data section after it.
52030 * configure: Regenerated.
52031
52032 2011-07-11 Roland McGrath <roland@hack.frob.com>
52033
52034 * configure.in (-z relro check): Fix test code to make the variable
52035 truly const.
52036 * configure: Regenerated.
52037
52038 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52039
52040 * nscd/nscd.h (struct traced_file): Define.
52041 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52042 elements. Add traced_files.
52043 (inotify_fd): Declare.
52044 (register_traced_file): Declare.
52045 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52046 (inotify_fd): Export.
52047 (resolv_conf_descr): Remove.
52048 (nscd_init): Move inotify descriptor creation to main.
52049 Don't register files for notification here.
52050 (register_traced_file): New function.
52051 (invalidate_cache): Don't use reset_res to determine whether to call
52052 res_init, go through the list of registered files.
52053 (main_loop_poll): The inotify descriptors are now stored in the
52054 structures for the traced files.
52055 (main_loop_epoll): Likewise
52056 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52057 to __nss_disable_nscd.
52058 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52059 for a database anymore. Check the records for all the registered
52060 files instead.
52061 * nss/Makefile (libnss_files-routines): Add files-init.
52062 (libnss_db-routines): Add db-init.
52063 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52064 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52065 * nss/nss_db/db-init.c: New file.
52066 * nss/nss_files/files-init.c: New file.
52067 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52068 __nss_lookup_function.
52069 (__nss_lookup_function): Call nss_load_library.
52070 (nss_load_all_libraries): New function.
52071 (__nss_disable_nscd): Take parameter with callback function for files
52072 to register. Set is_nscd. Load all the DSOs for the NSS modules
52073 used for the cached services.
52074 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52075 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52076 options for features to all the files in nscd.
52077
52078 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52079
52080 2011-07-10 Roland McGrath <roland@hack.frob.com>
52081
52082 * csu/elf-init.c (__libc_csu_init): Comment typo.
52083
52084 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52085
52086 * po/pl.po: Update from translation team.
52087 * po/ja.po: Likewise.
52088 * po/ru.po: Likewise.
52089 * po/ko.po: Likewise.
52090 * po/fr.po: Likewise.
52091
52092 2011-07-09 Roland McGrath <roland@hack.frob.com>
52093
52094 * configure.in (.ctors/.dtors header and trailer check):
52095 Use an empirical test on a built program.
52096 * configure: Regenerated.
52097
52098 * configure.in (-z relro check): Use an empirical test on a built DSO.
52099 Detect, but do not require, on ia64.
52100 * configure: Regenerated.
52101
52102 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52103 Update tests that use readelf to use $READELF instead.
52104 * configure: Regenerated.
52105
52106 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52107
52108 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52109 if the result is not used.
52110
52111 2011-07-05 Andreas Jaeger <aj@suse.de>
52112
52113 [BZ#9696]
52114 * stdlib/tst-strtod.c: Add testcase.
52115
52116 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52117
52118 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52119 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52120 The latter has a higher limit. Take additional parameter to pass to
52121 the new function.
52122 (__pathconf): Pass file to __statfs_link_max.
52123 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52124 __statfs_link_max.
52125 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52126 __statfs_link_max.
52127
52128 [BZ #12868]
52129 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52130 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52131 Handle Lustre.
52132 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52133 (__statfs_filesize_max): Likewise.
52134 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52135
52136 2011-07-05 Andreas Jaeger <aj@suse.de>
52137
52138 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52139
52140 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52141
52142 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52143 `status' variable.
52144 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52145 Likewise.
52146
52147 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52148
52149 * Makefile (strop-tests): Add strncat.
52150 * string/test-strncat.c: New file.
52151
52152 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52153
52154 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52155
52156 2011-06-21 Andreas Jaeger <aj@suse.de>
52157
52158 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52159 Copy rule from iconvdata/Makefile.
52160
52161 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52162
52163 [BZ #12922]
52164 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52165 but no long options are defined, just return 'W'.
52166
52167 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52168
52169 [BZ #9696]
52170 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52171
52172 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52173
52174 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52175 netgroups to read.
52176 (innetgr): Likewise.
52177
52178 2011-07-05 Roland McGrath <roland@hack.frob.com>
52179
52180 * config.make.in (install_root): Default to $(DESTDIR).
52181
52182 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52183
52184 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52185
52186 2011-07-02 Roland McGrath <roland@hack.frob.com>
52187
52188 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52189
52190 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52191 containing directory rather than embedding absolute directory names.
52192
52193 * scripts/check-local-headers.sh: Rewritten using awk.
52194 Match by word, not by line. Print error messages for matches.
52195 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52196
52197 * Makerules [shlib-lds-flags empty]:
52198 ($(common-objpfx)libc_pic.opts): New target.
52199 ($(common-objpfx)libc_pic.os.clean): New target.
52200 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52201
52202 * config.make.in (OBJCOPY): New variable.
52203 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52204 * configure: Regenerated.
52205
52206 * config.make.in (use-default-link): New variable.
52207 * configure.in (use_default_link): Grok --with-default-link to set it.
52208 * configure: Regenerated.
52209 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52210 (shlib-lds, shlib-lds-flags): Define to empty.
52211
52212 * Makerules (shlib-lds): New variable.
52213 (shlib-lds-flags): New variable.
52214 (build-shlib, build-moduile, build-module-asneeded): Use it.
52215 ($(common-objpfx)libc.so): Use $(shlib-lds).
52216 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52217 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52218
52219 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52220 DT_FLAGS/DT_FLAGS_1 with zero flags.
52221
52222 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52223 linker script munging.
52224
52225 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52226
52227 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52228 as 128-bit value.
52229 * crypt/sha512.c (sha512_process_block): Perform total addition using
52230 128-bit if possible.
52231 (__sha512_finish_ctx): Likewise.
52232 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52233 as 64-bit value.
52234 * crypt/sha256.c (SWAP64): Define.
52235 (sha256_process_block): Perform total addition using 64-bit if
52236 possible.
52237 (__sha256_finish_ctx): Likewise.
52238
52239 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52240
52241 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52242 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52243 * nscd/hstcache.c (cache_addhst): Likewise.
52244 * nscd/grpcache.c (cache_addgr): Likewise.
52245 * nscd/aicache.c (addhstaiX): Likewise
52246 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52247
52248 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52249
52250 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52251 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52252 * nscd/hstcache.c (cache_addhst): Likewise.
52253 * nscd/grpcache.c (cache_addgr): Likewise.
52254 * nscd/aicache.c (addhstaiX): Likewise
52255
52256 2011-07-01 Andreas Schwab <schwab@redhat.com>
52257
52258 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52259 domain only when needed.
52260
52261 2011-06-30 Andreas Schwab <schwab@redhat.com>
52262
52263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52264 is always restored.
52265
52266 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52267
52268 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52269 are re-adding the entry.
52270 * nscd/servicescache.c (cache_addserv): Likewise.
52271
52272 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52273
52274 * sysdeps/generic/dl-irel.h: fix protection against multiple
52275 inclusions.
52276 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52277
52278 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52279
52280 [BZ #12935]
52281 * malloc/memusage.sh: Fix quoting in message.
52282 * debug/xtrace.sh: Likewise.
52283
52284 * configure.in: Remove support for --experimental-malloc option, make
52285 it the default.
52286 * config.make.in: Likewise.
52287 * malloc/Makefile: Likewise.
52288
52289 2011-06-27 Andreas Schwab <schwab@redhat.com>
52290
52291 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52292 two-byte characters.
52293
52294 2011-06-27 Roland McGrath <roland@hack.frob.com>
52295
52296 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52297 AC_CACHE_CHECK invocation.
52298 * configure: Regenerated.
52299
52300 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52301
52302 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52303
52304 [BZ #12350]
52305 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52306 bit from old_res_options.
52307
52308 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52309
52310 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52311 value type for setfct.
52312
52313 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52314
52315 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52316 __gettimeofday instead of gettimeofday.
52317
52318 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52319
52320 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52321
52322 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52323
52324 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52325
52326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52327 info.
52328
52329 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52330
52331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52332 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52333 strcpy-sse2-unaligned strncpy-sse2-unaligned
52334 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52335 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52336 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52337 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52338 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52339 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52341 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52342 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52343 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52344 (STRCPY): Support SSE2 and SSSE3 versions.
52345
52346 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52347
52348 [BZ #12874]
52349 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52350 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52351 kernels which artificially limit size of requests.
52352
52353 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52354
52355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52356 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52357 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52358 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52359 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52360 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52361 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52362 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52363 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52364 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52365 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52366 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52367 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52368 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52369 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52371 Enable unaligned load optimization for Intel Core i3, i5 and i7
52372 processors.
52373 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52374 Define.
52375 (index_Fast_Unaligned_Load): Define.
52376 (HAS_FAST_UNALIGNED_LOAD): Define.
52377
52378 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52379
52380 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52381
52382 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52383
52384 [BZ #12907]
52385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52386 until it is clear that the information is realy needed.
52387 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52388
52389 2011-06-22 Andreas Schwab <schwab@redhat.com>
52390
52391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52392
52393 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52394
52395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52396 /sys/devices/system/cpu/online if it is usable.
52397
52398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52399 reading the information from the /proc filesystem to once a second.
52400
52401 2011-06-21 Andreas Jaeger <aj@suse.de>
52402
52403 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52404 NULL after inclusion of kernel headers.
52405
52406 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52407
52408 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52409 calls to internal_setent.
52410
52411 [BZ #12885]
52412 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52413 addresses using gethostbyname4_r ignore IPv4 addresses.
52414
52415 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52416 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52417
52418 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52419
52420 2011-06-20 David S. Miller <davem@davemloft.net>
52421
52422 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52423 inclusions.
52424 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52425
52426 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52427 (elf_irel): Use it.
52428 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52429 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52430 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52431 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52432 * sysdeps/x86_64/dl-irel.h: Likewise.
52433
52434 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52435 * elf/dl-sym.c: Likewise.
52436
52437 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52438
52439 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52440 need to dereference resplen2.
52441
52442 2011-06-14 Andreas Schwab <schwab@redhat.com>
52443
52444 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52445
52446 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52447
52448 * Makeconfig: Define vardbdir and inst_vardbdir.
52449 * nss/Makefile: Add rules to install db-Makefile.
52450
52451 * nss/nss_db/db-XXX.c: Cleanup.
52452
52453 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52454 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52455 GLIBC_PRIVATE.
52456 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52457 * nss/makedb.c: Implement -g option to specify that value strings
52458 are generated and should not be added to table iterated over for
52459 get*ent calls.
52460 * nss/nss_db/db-initgroups.c: New file.
52461
52462 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52463 interface.
52464
52465 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52466 (internal_getgrouplist): Adjust to name change.
52467 Update use_initgroups_entry if this is not the first call.
52468 * nss/databases.def: Add initgroups entry.
52469
52470 * nss/makedb.c (compute_tables): Check result of multiple hash table
52471 sizes to minimize maximum chain length.
52472
52473 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52474
52475 * Versions.def: Add entry for libnss_db.
52476 * shlib-versions: Likewise.
52477 * nss/Makefile: Add rules to build libnss_db.
52478 * nss/Versions: Add libnss_db information. Organize libnss_files
52479 entries better.
52480 * nss/db-Makefile: Add gshadow support. Change rules for the new
52481 makedb progra. Some minor improvements to generate smaller files.
52482 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52483 here from...
52484 * nss/makedb.c: ...here.
52485 Improve database format to be smaller and require less memory at
52486 runtime.
52487 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52488 db anymore.
52489 * nss/nss_db/db-netgrp.c: Likewise.
52490 * nss/nss_db/db-open.c: Likewise.
52491 * nss/nss_files/flies-XXX.x: Adjust comments.
52492 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52493 * nss/nss_files/files-grp.c: Likewise.
52494 * nss/nss_files/files-hosts.c: Likewise.
52495 * nss/nss_files/files-network.c: Likewise.
52496 * nss/nss_files/files-proto.c: Likewise.
52497 * nss/nss_files/files-pwd.c: Likewise.
52498 * nss/nss_files/files-rpc.c: Likewise.
52499 * nss/nss_files/files-service.c: Likewise.
52500 * nss/nss_files/files-sgrp.c: Likewise.
52501 * nss/nss_files/files-spwd.c: Likewise.
52502 * nss/nss_db/db-alias.c: Removed.
52503 * nss/nss_db/dummy-db.h: Removed.
52504
52505 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52506
52507 * nss/makedb.c: Rewritten to not use database library.
52508 * nss/Makefile: Update to build new makedb program.
52509
52510 2011-06-14 Andreas Jaeger <aj@suse.de>
52511
52512 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52513 memset declaration.
52514
52515 2011-06-10 Andreas Schwab <schwab@redhat.com>
52516
52517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52518 tmpbuf.
52519
52520 2011-06-10 Roland McGrath <roland@hack.frob.com>
52521
52522 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52523 * elf/Makefile ($(objpfx)ld.so): Likewise.
52524
52525 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52526 Don't list ld.so twice in dependencies.
52527
52528 * posix/bug-regex31.c: Include <stdlib.h>.
52529
52530 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52531
52532 * nis/nss_compat/compat-spwd.c
52533 (getspent_next_nss_netgr): Remove unused variable.
52534 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52535
52536 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52537 nonmembers" output to use the right array.
52538
52539 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52540
52541 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52542
52543 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52544 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52545 * catgets/gencat.c (read_input_file): Likewise.
52546 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52547
52548 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52549 variable definition inside #if's controlling its use.
52550
52551 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52552
52553 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52554
52555 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52556
52557 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52558 unreachable code.
52559
52560 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52561
52562 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52563 * configure: Regenerated.
52564
52565 * Makerules: Revert last change.
52566 * elf/Makefile: Likewise.
52567
52568 2011-06-09 Roland McGrath <roland@hack.frob.com>
52569
52570 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52571 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52572 (reloc-link): Likewise.
52573
52574 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52575
52576 * elf/Makefile: Add rules to build pldd.
52577 * elf/pldd.c: New file.
52578 * elf/pldd-xx.c: New file.
52579
52580 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52581
52582 * version.h: Update for 2.15 development version.
52583
52584 2011-06-07 David S. Miller <davem@davemloft.net>
52585
52586 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52587 ifuncs.
52588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52589 elf_machine_lazy_rel): Likewise.
52590 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52592 elf_machine_lazy_rel): Likewise.
52593 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52594 dl_hwcap via passed in argument.
52595 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52596 Likewise.
52597
52598 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52599
52600 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52601
52602 2011-06-06 Roland McGrath <roland@hack.frob.com>
52603
52604 [BZ #12849]
52605 * manual/fdl-1.1.texi: New file, verbatim from:
52606 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52607 * manual/lgpl-2.1.texi: New file, verbatim from:
52608 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52609 * manual/Makefile (licenses): New variable, list those new file names.
52610 (texis): Use it.
52611 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52612
52613 * manual/fdl.texi: File removed.
52614 * manual/lesser.texi: File removed.
52615 * manual/libc.texinfo (Copying, Documentation License):
52616 Use new @include file names, put @appendix directive before @include.
52617
52618 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52619
52620 [BZ #12841]
52621 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52622 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52623 (mq_open): Add __NTH.
52624
52625 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52626
52627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52628 Assume Intel Core i3/i5/i7 processor if AVX is available.
52629
52630 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52631
52632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52633 typo.
52634
52635 2011-05-31 Andreas Schwab <schwab@redhat.com>
52636
52637 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52638 memory. Use alloca_account. Fix memory leak when retrying.
52639
52640 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52641
52642 * version.h (RELEASE): Bump for 2.14 release.
52643 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52644
52645 * config.make.in (RANLIB): Remove entry.
52646
52647 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52648
52649 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52650 (libc.pot): Work around missing support for .ksh extension in xgettext.
52651
52652 [BZ #12684]
52653 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52654 if both request failed.
52655 (send_dg): In case of server errors clear resplen or *resplen2.
52656
52657 [BZ #12454]
52658 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52659 when there are multiple maps.
52660 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52661 (_dl_fini): Remove test here.
52662
52663 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52664
52665 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52666
52667 [BZ #12350]
52668 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52669 bit from old_res_options.
52670 (gaih_inet): Likewise.
52671
52672 [BZ #11099]
52673 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52674 as signed.
52675
52676 * resolv/res_init.c (res_setoptions): Make the code more compact.
52677
52678 [BZ #11558]
52679 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52680 set RES_USEVC.
52681
52682 [BZ #11634]
52683 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52684
52685 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52686
52687 [BZ #11781]
52688 * malloc/malloc.h: Declare malloc hook variables as volatile.
52689
52690 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52691 in last patch.
52692
52693 [BZ #11799]
52694 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52695 raise in the comment.
52696 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52697 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52698 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52699
52700 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52701
52702 [BZ #12811]
52703 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52704 grow the buffers more if it already has to be sufficient.
52705 (build_wcs_upper_buffer): Likewise.
52706 * posix/regexec.c (check_matching): Likewise.
52707 (clean_state_log_if_needed): Likewise.
52708 (extend_buffers): Don't enlarge buffers beyond size of the input
52709 buffer.
52710 Patches mostly by Emil Wojak <emil@wojak.eu>.
52711 * posix/bug-regex32.c: New file.
52712 * posix/Makefile (tests): Add bug-regex32.
52713
52714 * locale/findlocale.c (_nl_find_locale): Return right away if
52715 _nl_explode_name failed.
52716 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52717
52718 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52719
52720 * debug/xtrace.sh: Unify messages.
52721 * malloc/memusage.sh: Likewise.
52722
52723 [BZ #12813]
52724 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52725 time symbol from vDSO. Substitute with vsyscall if not available.
52726 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52727 __vdso_time.
52728
52729 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52730 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52731 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52732 Add sendmmsg and internal_sendmmsg.
52733 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52734 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52735 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52736
52737 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52738 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52739 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52740
52741 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52742
52743 [BZ #12813]
52744 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52745 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52746 available.
52747 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52748 __vdso_getcpu.
52749
52750 [BZ #12814]
52751 * iconvdata/Makefile (tests): Add bug-iconv9.
52752 * iconvdata/bug-iconv9.c: New file.
52753
52754 2011-05-27 Andreas Schwab <schwab@redhat.com>
52755
52756 [BZ #12814]
52757 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52758
52759 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52760
52761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52762 (struct user_regs_struct): Change intcs field back to cs.
52763
52764 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52765
52766 * po/ja.po: Update from translation team.
52767
52768 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52769
52770 [BZ #12795]
52771 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52772 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52773
52774 2011-05-20 Andreas Schwab <schwab@redhat.com>
52775
52776 * stdlib/longlong.h: Update from GCC.
52777
52778 2011-05-23 Andreas Schwab <schwab@redhat.com>
52779
52780 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52781 parameter name.
52782 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52783 Add parameter name.
52784 (__sysconf): Pass it down.
52785
52786 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52787
52788 [BZ #12671]
52789 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52790 some situations.
52791 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52792 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52793 add in in __libc_use_alloca calls. Adjust callers.
52794 (glob): Use malloc in some situations.
52795
52796 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52797 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52798 pltexit.
52799
52800 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52801
52802 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52803 and CLOCK_BOOTTIME_ALARM.
52804
52805 [BZ #12782]
52806 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52807 is returned.
52808
52809 * string/_strerror.c (__strerror_r): Print negative errors as signed
52810 numbers.
52811
52812 [BZ #12777]
52813 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52814 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52815 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52816
52817 * configure.in: Fix typo in redirection and correct removal of test
52818 files in two cases.
52819
52820 [BZ #12788]
52821 * locale/setlocale.c (new_composite_name): Fix test to check for
52822 identical name of all categories.
52823
52824 [BZ #12792]
52825 * libio/filedoalloc.c (local_isatty): New function.
52826 (_IO_file_doallocate): Use local_isatty.
52827 * stdio-common/perror.c (perror): In case a new stream is used
52828 forward the stream error.
52829 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52830 error flag.
52831
52832 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52833
52834 [BZ #11869]
52835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52836 alloca.
52837 * include/alloca.h (extend_alloca_account): Define.
52838
52839 [BZ #11857]
52840 * posix/regex.h: Fix comments with documentation of user-accessible
52841 fields after compilation and describe correct free'ing of pattern
52842 after re_compile_pattern.
52843 Patch by Reuben Thomas <rrt@sc3d.org>.
52844
52845 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52846
52847 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52848 and -mno-altivec to prevent the compiler from using Altivec and/or
52849 VSX instructions when the corresponding registers are not available.
52850
52851 2011-05-19 Andreas Schwab <schwab@redhat.com>
52852
52853 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52854
52855 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52856
52857 * libio/freopen.c (freopen): Use __dup2, not dup2.
52858 * libio/freopen64.c (freopen64): Likewise.
52859
52860 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52861
52862 [BZ #12775]
52863 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52864 * math/Makefile (tests): Add test-powl.
52865 (CFLAGS-test-powl.c): Define.
52866 * math/test-powl.c: New file.
52867
52868 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52869
52870 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52871
52872 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52873
52874 [BZ #11837]
52875 * iconvdata/gb18030.c: Update to GB18020-2005.
52876
52877 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52878
52879 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52880 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52881 Patch by Aharon Robbins <arnold@skeeve.com>.
52882
52883 [BZ #11892]
52884 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52885 on the stack.
52886
52887 [BZ #11895]
52888 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52889 through underflows.
52890
52891 [BZ #12766]
52892 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52893 point to strings before performing equality test for error_one_per_line
52894 mode.
52895
52896 [BZ #11697]
52897 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52898
52899 [BZ #11820]
52900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52901 (struct user_fpregs_struct): Avoid __uint*_t types.
52902
52903 [BZ #6420]
52904 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52905 symbol info. Use it instead of calling _dl_addr locally.
52906 (lock_and_info): New function.
52907 (tr_freehook): Call lock_and_info and pass symbol info as additional
52908 parameter to tr_where.
52909 (tr_mallochook): Likewise.
52910 (tr_reallochook): Likewise.
52911 (tr_memalignhook): Likewise.
52912
52913 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52914 used and couldn't be at all thread-safe.
52915
52916 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52917
52918 * libio/freopen.c (freopen): Don't close old file descriptor
52919 before the new one is opened. Instead dup the new file descriptor
52920 to the old one after the new stream is created.
52921 * libio/freopen64.c (freopen64): Likewise.
52922 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52923 * libio/fileops.c (_IO_new_file_close_it): Handle new
52924 _IO_FLAGS2_NOCLOSE flag.
52925 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52926 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52927 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52928 _IO_FLAGS2_NOCLOSE flag.
52929 * include/unistd.h: Add hidden_proto for dup3.
52930 Define __have_dup3.
52931 * io/dup3.c: Define hidden symbol.
52932 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52933
52934 [BZ #7101]
52935 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52936 when an incomplete long option is used.
52937 * posix/tst-getopt_long1.c: New file.
52938 * posix/Makefile (tests): Add tst-getopt_long1.
52939
52940 [BZ #10138]
52941 * scripts/config.guess: Update from autoconf-2.68.
52942 * scripts/config.sub: Likewise.
52943
52944 [BZ #10157]
52945 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52946 tests into ...
52947 (has_cpuclock): ...this. New function.
52948 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52949 macro here based on has_cpuclock code.
52950
52951 [BZ #10149]
52952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52953 First byte (not low byte) is now always NUL.
52954 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52955
52956 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52957 Use non-cancelable interfaces.
52958
52959 [BZ #9809]
52960 * locale/iso-639.def: Add entry for Sorani.
52961
52962 [BZ #11901]
52963 * include/stdlib.h: Move include protection to the right place.
52964 Define abort_msg_s. Declare __abort_msg with it.
52965 * stdlib/abort.c (__abort_msg): Adjust type.
52966 * assert/assert.c (__assert_fail_base): New function. Majority
52967 of code from __assert_fail. Allocate memory for __abort_msg with
52968 mmap.
52969 (__assert_fail): Now call __assert_fail_base.
52970 * assert/assert-perr.c: Remove bulk of implementation. Use
52971 __assert_fail_base.
52972 * include/assert.hL Declare __assert_fail_base.
52973 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52974 mmap.
52975 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52976
52977 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52978
52979 [BZ #11952]
52980 [BZ #12453]
52981 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52982 until all modules are registered in the DTV.
52983 * elf/Makefile: Add rules to build and run tst-tls19.
52984 * elf/tst-tls19.c: New file.
52985 * elf/tst-tls19mod1.c: New file.
52986 * elf/tst-tls19mod2.c: New file.
52987 * elf/tst-tls19mod3.c: New file.
52988 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52989
52990 [BZ #12083]
52991 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52992 correctly.
52993
52994 [BZ #12601]
52995 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52996 two-byte sequence errors.
52997 * iconvdata/Makefile (tests): Add bug-iconv8.
52998 * iconvdata/bug-iconv8.c: New file.
52999
53000 [BZ #12626]
53001 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53002 buf2 definition.
53003
53004 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53005
53006 [BZ #12432]
53007 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53008 (dummy_getcfa): New function.
53009 (init): Get _Unwind_GetCFA address, use dummy if not found.
53010 (backtrace_helper): In recursion check, also check whether CFA changes.
53011 (__backtrace): Completely initialize arg.
53012
53013 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53014 storing incomplete byte sequence in state object. Avoid testing for
53015 guaranteed too small input if we know there is enough data available.
53016
53017 2011-05-11 Andreas Schwab <schwab@redhat.com>
53018
53019 * Makeconfig (+link-pie): Indent.
53020 * Rules (binaries-pie): Define if $(have-fpie) and
53021 $(build-shared).
53022 (binaries-shared): Also filter out $(binaries-pie).
53023 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53024 * nscd/Makefile (others-pie): Add nscd.
53025 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53026 ($(objpfx)nscd): Remove command override.
53027 * login/Makefile (others-pie): Add pt_chown.
53028 ($(objpfx)pt_chown): Remove command override.
53029 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53030 remove command overrides.
53031
53032 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53033
53034 * libio/tst_putwc.c: Fix error messages.
53035
53036 [BZ #12724]
53037 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53038 currently writing and seek to current position when not.
53039 * libio/Makefile (tests): Add bug-fclose1.
53040 * libio/bug-fclose1.c: New file.
53041
53042 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53043
53044 [BZ #12511]
53045 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53046 don't set DF_1_NODELETE here.
53047 (do_lookup_x): When entering new entry test for copy relocation
53048 and if necessary set DF_1_NODELETE flag.
53049 * elf/tst-unique4.cc: New file.
53050 * elf/tst-unique4.h: New file.
53051 * elf/tst-unique4lib.cc: New file.
53052 * elf/Makefile: Add rules to build and run tst-unique4.
53053 Patch by Piotr Bury <pbury@goahead.com>.
53054
53055 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53056
53057 [BZ #12052]
53058 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53059
53060 [BZ #12625]
53061 * misc/mntent_r.c (addmntent): Flush the stream after the output
53062
53063 [BZ #12393]
53064 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53065 (is_trusted_path_normalize): Skip initial colon. Append slash
53066 to empty buffer. Duplicate is_trusted_path code but allow
53067 constructed patch to be prefix.
53068 (is_dst): Allow $ORIGIN followed by /.
53069 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53070 Correct testing of result of is_trusted_path_normalize
53071 (decompose_rpath): Fix warning.
53072
53073 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53074
53075 [BZ #11257]
53076 * grp/initgroups.c (internal_getgrouplist): When we found the service
53077 list through the initgroups entry in nsswitch.conf do not always
53078 continue on a successful lookup. Don't always use the
53079 __nss_group_database value if it is set.
53080 * nss/nsswitch.conf (initgroups): Change action for successful db
53081 lookup to continue for compatibility.
53082
53083 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53084
53085 [BZ #11532]
53086 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53087 and CP774 modules.
53088 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53089 and CP774 modules.
53090 * iconvdata/tst-tables.sh: Likewise.
53091 * iconvdata/cp770.c: New file.
53092 * iconvdata/cp771.c: New file.
53093 * iconvdata/cp772.c: New file.
53094 * iconvdata/cp773.c: New file.
53095 * iconvdata/cp774.c: New file.
53096 * iconvdata/testdata/CP770: New file.
53097 * iconvdata/testdata/CP770..UTF8: New file.
53098 * iconvdata/testdata/CP771: New file.
53099 * iconvdata/testdata/CP771..UTF8: New file.
53100 * iconvdata/testdata/CP772: New file.
53101 * iconvdata/testdata/CP772..UTF8: New file.
53102 * iconvdata/testdata/CP773: New file.
53103 * iconvdata/testdata/CP773..UTF8: New file.
53104 * iconvdata/testdata/CP774: New file.
53105 * iconvdata/testdata/CP774..UTF8: New file.
53106
53107 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53108 END CHARMAP line.
53109 * iconvdata/gen-8bit-gap.sh: Likewise.
53110 * iconvdata/gen-8bit.sh: Likewise.
53111
53112 * locale/iso-639.def: Add ary entry.
53113
53114 [BZ #11258]
53115 * locale/C-translit.h.in: Add U20A1 transliteration.
53116
53117 [BZ #12178]
53118 * locale/iso-639.def: Add wae entry.
53119 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53120
53121 [BZ #12545]
53122 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53123 for n.
53124
53125 [BZ #12711]
53126 * locale/C-translit.h.in: Add entry for U20B9.
53127 Patch by pravin.d.s@gmail.com.
53128
53129 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53130
53131 [BZ #12713]
53132 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53133 ENAMETOOLONG use generic getcwd.
53134 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53135 in rtld. Use *stat64.
53136 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53137 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53138 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53139 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53140 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53141 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53142 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53143 __fstatat64 macros.
53144 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53145 * dirent/rewinddir.c: Add libc_hidden_def.
53146 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53147 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53148
53149 * include/dirent.h (__alloc_dir): Add flags parameter.
53150 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53151 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53152 __alloc_dir.
53153 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53154 from fdopendir if O_CLOEXEC is already set.
53155
53156 2011-03-15 Alan Modra <amodra@gmail.com>
53157
53158 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53159 l_tls_firstbyte_offset non-zero. Save padding offset in
53160 l_tls_firstbyte_offset for later use.
53161 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53162 freeing static tls block.
53163
53164 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53165
53166 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53167 where #ifdef was intended. The intent is to prevent ARG_MAX from
53168 being defined by the kernel headers.
53169
53170 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53171
53172 [BZ #12734]
53173 * resolv/resolv.h: Define RES_NOTLDQUERY.
53174 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53175 no-tld-query and set RES_NOTLDQUERY.
53176 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53177 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53178 modern BIND to search name as TLD unless forbidden.
53179
53180 2011-05-07 Petr Baudis <pasky@suse.cz>
53181 Ulrich Drepper <drepper@gmail.com>
53182
53183 [BZ #12393]
53184 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53185 (is_trusted_path): ...to here.
53186 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53187 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53188 using is_trusted_path_normalize() in setuid scripts.
53189
53190 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53191
53192 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53193 __BEGIN/__END_DECLS.
53194
53195 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53196
53197 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53198 NSS_STATUS_NOTFOUND if no record was found.
53199
53200 2011-05-05 Andreas Schwab <schwab@redhat.com>
53201
53202 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53203 (headers-not-in-tirpc): Remove rpc/netdb.h
53204 * resolv/netdb.h: Revert last change.
53205
53206 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53207
53208 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53209 circular dependency between libgcc.a and libc.a.
53210
53211 2011-05-05 Andreas Schwab <schwab@redhat.com>
53212
53213 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53214 * nis/Makefile: Don't install rpcsvc/*.
53215 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53216 instead of <rpc/types.h>.
53217 (MAXHOSTNAMELEN): Define.
53218
53219 2011-05-03 Andreas Schwab <schwab@redhat.com>
53220
53221 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53222
53223 2011-04-28 Maciej Babinski <mbabinski@google.com>
53224
53225 [BZ #12714]
53226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53227 gethostbyname4_r when IPv6 results are possible.
53228
53229 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53230
53231 [BZ #12723]
53232 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53233 _PC_PIPE_BUF handling.
53234
53235 2011-04-30 Bruno Haible <bruno@clisp.org>
53236
53237 [BZ #12717]
53238 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53239 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53240 to 'int'.
53241 * inet/getnameinfo.c (getnameinfo): Likewise.
53242
53243 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53244
53245 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53246 to groups setting in database lookup.
53247 * nss/nsswitch.conf: Add initgroups entry.
53248
53249 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53250
53251 [BZ #12685]
53252 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53253 mode string.
53254 Patch by Eric Blake <eblake@redhat.com>.
53255
53256 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53257
53258 * sunrpc/Makefile (need-export-routines): Add svc_run.
53259 (routines): Remove svc_run.
53260 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53261 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53262 * sunrpc/svc_run.c (svc_run): Likewise.
53263 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53264
53265 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53266
53267 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53268 problem in reallocation in last patch.
53269
53270 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53271
53272 * sunrpc/Makefile: Move inclusion of Rules.
53273
53274 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53275
53276 * nss/nss_files/files-initgroups.c: New file.
53277 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53278 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53279 _nss_files_initgroups_dyn.
53280
53281 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53282
53283 * elf/elf.h (R_ARM_IRELATIVE): Define.
53284
53285 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53286
53287 * po/ru.po: Update from translation team.
53288
53289 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53290
53291 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53292 dependencies.
53293
53294 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53295
53296 [BZ #12653]
53297 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53298 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53300 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53301 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53302
53303 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53304
53305 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53306 differing bytes.
53307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53309 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53310
53311 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53312
53313 [BZ #12420]
53314 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53315 storing it.
53316 * stdlib/bug-getcontext.c: New file.
53317 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53318
53319 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53320
53321 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53322 instructions into .machine "z9-109".
53323 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53324 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53325
53326 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53327
53328 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53329 between environment variables and auxiliary vector.
53330
53331 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53332
53333 * Makefile: Add rules to build linkobj/libc.so.
53334 * include/libc-symbols.h: Define libc_hidden_nolink.
53335 * include/rpc/auth.h: Mark functions which are to be hidden.
53336 * include/rpc/auth_des.h: Likewise.
53337 * include/rpc/auth_unix.h: Likewise.
53338 * include/rpc/clnt.h: Likewise.
53339 * include/rpc/des_crypt.h: Likewise.
53340 * include/rpc/key_prot.h: Likewise.
53341 * include/rpc/pmap_clnt.h: Likewise.
53342 * include/rpc/pmap_prot.h: Likewise.
53343 * include/rpc/pmap_rmt.h: Likewise.
53344 * include/rpc/rpc_msg.h: Likewise.
53345 * include/rpc/svc.h: Likewise.
53346 * include/rpc/svc_auth.h: Likewise.
53347 * include/rpc/xdr.h: Likewise.
53348 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53349 * nss/Makefile: Likewise.
53350 * sunrpc/Makefile: Don't install headers. Build library with normal
53351 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53352 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53353 for the compat linking library. Remove use of INTDEF/INTUSE.
53354 * sunrpc/auth_none.c: Likewise.
53355 * sunrpc/auth_unix.c: Likewise.
53356 * sunrpc/authdes_prot.c: Likewise.
53357 * sunrpc/authuxprot.c: Likewise.
53358 * sunrpc/clnt_gen.c: Likewise.
53359 * sunrpc/clnt_perr.c: Likewise.
53360 * sunrpc/clnt_raw.c: Likewise.
53361 * sunrpc/clnt_simp.c: Likewise.
53362 * sunrpc/clnt_tcp.c: Likewise.
53363 * sunrpc/clnt_udp.c: Likewise.
53364 * sunrpc/clnt_unix.c: Likewise.
53365 * sunrpc/des_crypt.c: Likewise.
53366 * sunrpc/des_soft.c: Likewise.
53367 * sunrpc/get_myaddr.c: Likewise.
53368 * sunrpc/key_call.c: Likewise.
53369 * sunrpc/key_prot.c: Likewise.
53370 * sunrpc/netname.c: Likewise.
53371 * sunrpc/pm_getmaps.c: Likewise.
53372 * sunrpc/pm_getport.c: Likewise.
53373 * sunrpc/pmap_clnt.c: Likewise.
53374 * sunrpc/pmap_prot.c: Likewise.
53375 * sunrpc/pmap_prot2.c: Likewise.
53376 * sunrpc/pmap_rmt.c: Likewise.
53377 * sunrpc/publickey.c: Likewise.
53378 * sunrpc/rpc_cmsg.c: Likewise.
53379 * sunrpc/rpc_common.c: Likewise.
53380 * sunrpc/rpc_dtable.c: Likewise.
53381 * sunrpc/rpc_prot.c: Likewise.
53382 * sunrpc/rpc_thread.c: Likewise.
53383 * sunrpc/rtime.c: Likewise.
53384 * sunrpc/svc.c: Likewise.
53385 * sunrpc/svc_auth.c: Likewise.
53386 * sunrpc/svc_authux.c: Likewise.
53387 * sunrpc/svc_raw.c: Likewise.
53388 * sunrpc/svc_run.c: Likewise.
53389 * sunrpc/svc_simple.c: Likewise.
53390 * sunrpc/svc_tcp.c: Likewise.
53391 * sunrpc/svc_udp.c: Likewise.
53392 * sunrpc/svc_unix.c: Likewise.
53393 * sunrpc/svcauth_des.c: Likewise.
53394 * sunrpc/xcrypt.c: Likewise.
53395 * sunrpc/xdr.c: Likewise.
53396 * sunrpc/xdr_array.c: Likewise.
53397 * sunrpc/xdr_float.c: Likewise.
53398 * sunrpc/xdr_intXX_t.c: Likewise.
53399 * sunrpc/xdr_mem.c: Likewise.
53400 * sunrpc/xdr_rec.c: Likewise.
53401 * sunrpc/xdr_ref.c: Likewise.
53402 * sunrpc/xdr_sizeof.c: Likewise.
53403 * sunrpc/xdr_stdio.c: Likewise.
53404
53405 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53406
53407 [BZ #12650]
53408 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53409 * sysdeps/ia64/dl-tls.h: Likewise.
53410 * sysdeps/powerpc/dl-tls.h: Likewise.
53411 * sysdeps/s390/dl-tls.h: Likewise.
53412 * sysdeps/sh/dl-tls.h: Likewise.
53413 * sysdeps/sparc/dl-tls.h: Likewise.
53414 * sysdeps/x86_64/dl-tls.h: Likewise.
53415 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53416
53417 2011-03-14 Andreas Schwab <schwab@redhat.com>
53418
53419 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53420 rpath element also skip the following colon.
53421 (expand_dynamic_string_token): Add is_path parameter and pass
53422 down to DL_DST_REQUIRED and _dl_dst_substitute.
53423 (decompose_rpath): Call expand_dynamic_string_token with
53424 non-zero is_path. Ignore empty rpaths.
53425 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53426 with zero is_path.
53427
53428 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53429
53430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53431 Make cancelable.
53432
53433 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53434
53435 [BZ #12655]
53436 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53437 Patch by Filipe David Manana <fdmanana@apache.org>.
53438
53439 2011-04-07 Andreas Schwab <schwab@redhat.com>
53440
53441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53442 Maintain aligned stack.
53443 (CHECK_RSP): Remove unused macro.
53444
53445 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53446
53447 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53448 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53449
53450 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53451
53452 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53453
53454 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53455
53456 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53457
53458 [BZ #12518]
53459 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53460 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53461 * sysdeps/x86_64/memmove.c: New file.
53462 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53463 (memcpy): Renamed to ...
53464 (__new_memcpy): This.
53465 (memcpy): Provide GLIBC_2_14 memcpy.
53466 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53467 (memcpy): Provide GLIBC_2_2_5 memcpy.
53468
53469 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53470
53471 [BZ #12631]
53472 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53473
53474 2011-03-30 Andreas Schwab <schwab@redhat.com>
53475
53476 * misc/syncfs.c: New file.
53477 * misc/Makefile (routines): Add syncfs.
53478 * posix/unistd.h: Declare syncfs.
53479 * sysdeps/unix/syscalls.list: Add syncfs.
53480
53481 2011-04-01 Andreas Schwab <schwab@redhat.com>
53482
53483 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53484 open_by_handle_at.
53485 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53490 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53492
53493 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53494
53495 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53496 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53497 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53499 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53501 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53502
53503 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53504 sync_file_range.c with -fexceptions.
53505 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53506 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53507 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53508 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53509 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53510 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53512 sync_file_range as cancellation point
53513 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53514 now a wrapper around __call_sync_file_range with cancellation handling.
53515 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53516 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53517 function name to __call_sync_file_range.
53518 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53519 Add call_sync_file_range.
53520
53521 2011-04-01 Andreas Schwab <schwab@redhat.com>
53522
53523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53524 bits/timex.h.
53525
53526 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53527
53528 * iconv/iconv.h: Fix typo in comment.
53529 * io/fcntl.h: Likewise.
53530 * libio/stdio.h: Likewise.
53531 * posix/spawn.h: Likewise.
53532 * posix/unistd.h: Likewise.
53533 * stdlib/stdlib.h: Likewise.
53534 * time/time.h: Likewise.
53535 * wcsmbs/wchar.h: Likewise.
53536
53537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53538 open_by_handle): Add.
53539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53540 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53541 Augment a few comments.
53542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53544 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53546 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53547 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53548 open_by_handle.
53549
53550 * io/fcntl.h (AT_EMPTY_PATH): Define.
53551
53552 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53553
53554 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53555 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53556 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53557 to...
53558 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53559 * Versions.def: Add GLIBC_2.14.
53560 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53561 Export.
53562
53563 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53564
53565 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53566 round counter.
53567 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53568
53569 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53570
53571 [BZ #12597]
53572 * string/test-strncmp.c (do_page_test): New function.
53573 (check2): Likewise.
53574 (test_main): Call check2.
53575 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53576
53577 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53578
53579 [BZ #12587]
53580 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53581 Handle cache information in CPU leaf 4.
53582 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53583
53584 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53585
53586 [BZ #12583]
53587 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53588 character representation.
53589 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53590
53591 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53592
53593 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53594 END(__isnan) to END(__isnanf) to match function entry point/label
53595 EALIGN(__isnanf,...).
53596
53597 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53598
53599 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53600
53601 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53602
53603 [BZ #12510]
53604 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53605 copy from the symbol referenced in the relocation to initialize the
53606 used variable.
53607 Patch by Piotr Bury <pbury@goahead.com>.
53608 * elf/Makefile: Add rules to build and tst-unique3.
53609 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53610 * elf/tst-unique3.cc: New file.
53611 * elf/tst-unique3.h: New file.
53612 * elf/tst-unique3lib.cc: New file.
53613 * elf/tst-unique3lib2.cc: New file.
53614
53615 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53616
53617 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53618
53619 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53620 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53621 to _start.
53622
53623 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53624
53625 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53626 to-be-loaded object along a path to loader is ld.so.
53627
53628 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53629 Ulrich Drepper <drepper@gmail.com>
53630
53631 * sysdeps/x86_64/memset.S: After aligning destination, code
53632 branches to different locations depending on the value of
53633 misalignment, when multiarch is enabled. Fix this.
53634
53635 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53636
53637 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53638 Set _x86_64_preferred_memory_instruction for AMD processsors.
53639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53640 Set bit_Prefer_SSE_for_memop for AMD processors.
53641
53642 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53643
53644 * libio/fmemopen.c (fmemopen): Optimize a bit.
53645
53646 2011-03-03 Andreas Schwab <schwab@redhat.com>
53647
53648 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53649
53650 2011-03-03 Roland McGrath <roland@redhat.com>
53651
53652 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53653
53654 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53655
53656 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53657 __bzero_ultra1 instead of __memset_ultra1.
53658
53659 2011-02-23 Andreas Schwab <schwab@redhat.com>
53660 Ulrich Drepper <drepper@gmail.com>
53661
53662 [BZ #12509]
53663 * include/link.h (struct link_map): Add l_orig_initfini.
53664 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53665 returning unsuccessfully.
53666 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53667 close of a file loaded at startup, restore the original l_initfini
53668 list.
53669 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53670 list, store the pointer.
53671 * elf/Makefile ($(objpfx)noload-mem): New rule.
53672 (noload-ENV): Define.
53673 (tests): Add $(objpfx)noload-mem.
53674 * elf/noload.c: Include <memcheck.h>.
53675 (main): Call mtrace. Close all opened handles.
53676
53677 2011-02-17 Andreas Schwab <schwab@redhat.com>
53678
53679 [BZ #12454]
53680 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53681 dependencies are missing.
53682
53683 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53684
53685 Fix __if_freereq crash: Unlike the generic version which uses free,
53686 Hurd needs munmap.
53687 * sysdeps/mach/hurd/ifreq.h: New file.
53688
53689 2011-01-27 Petr Baudis <pasky@suse.cz>
53690 Ulrich Drepper <drepper@gmail.com>
53691
53692 [BZ 12445]#
53693 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53694 to extend_alloca().
53695 * stdio-common/bug23.c: New file.
53696 * stdio-common/Makefile (tests): Add bug23.
53697
53698 2010-09-28 Andreas Schwab <schwab@redhat.com>
53699 Ulrich Drepper <drepper@gmail.com>
53700
53701 [BZ #12489]
53702 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53703 before performing relro protection. At old place add assertion
53704 to make sure nothing changed.
53705
53706 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53707 Glauber de Oliveira Costa <glommer@gmail.com>
53708
53709 * elf/elf.h: Add new ARM TLS relocs.
53710
53711 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53712
53713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53714 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53715 cast from r3.
53716 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53717 'tests' variable.
53718 * sysdeps/wordsize-64/tst-writev.c: New file.
53719
53720 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53721
53722 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53723 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53724 insns in _dl_start to prevent a TOC reference before relocs are
53725 resolved.
53726
53727 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53728
53729 [BZ #12469]
53730 * Makeconfig: Remove RANLIB definition.
53731 * Makerules: Don't use RANLIB.
53732 * aclocal.m4: Remove ranlib test.
53733 * configure.in: No need to check for ranlib.
53734 * elf/rtld-Rules: Don't use RANLIB.
53735
53736 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53737
53738 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53739 protection macro.
53740 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53741 inclusion protection macro.
53742
53743 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53744 SIGRTMIN and SIGRTMAX and print information in that case only when
53745 SIGRTMIN is defined.
53746
53747 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53748
53749 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53750 arginfo fn returning -1.
53751
53752 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53753 and thousands string is zero terminated.
53754
53755 2011-02-03 Andreas Schwab <schwab@redhat.com>
53756
53757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53758 sysdeps/unix/sysv/linux/bits/socket.h.
53759
53760 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53761
53762 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53763 (__CPU_COUNT): Remove old macros.
53764 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53765 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53766 (__CPU_ALLOC, __CPU_FREE): Add macros.
53767 (__sched_cpualloc, __sched_cpufree): Add declarations.
53768
53769 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53770
53771 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53772 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53773 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53774 (readdhstai): Return value of addhstaiX call.
53775 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53776 (addgrbyX): Return value returned by cache_addgr.
53777 (readdgrbyname): Return value returned by addgrbyX.
53778 (readdgrbygid): Likewise.
53779 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53780 (addpwbyX): Return value returned by cache_addpw.
53781 (readdpwbyname): Return value returned by addhstbyX.
53782 (readdpwbyuid): Likewise.
53783 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53784 (addservbyX): Return value returned by cache_addserv.
53785 (readdservbyname): Return value returned by addservbyX:
53786 (readdservbyport): Likewise.
53787 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53788 (addhstbyX): Return value returned by cache_addhst.
53789 (readdhstbyname): Return value returned by addhstbyX.
53790 (readdhstbyaddr): Likewise.
53791 (readdhstbynamev6): Likewise.
53792 (readdhstbyaddrv6): Likewise.
53793 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53794 (readdinitgroups): Return value returned by addinitgroupsX.
53795 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53796 (prune_cache): Keep track of timeout value of re-added entries.
53797 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53798 * nscd/nscd.h: Adjust prototypes of readd* functions.
53799
53800 2011-02-04 Roland McGrath <roland@redhat.com>
53801
53802 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53803 (nis_stats): Likewise.
53804 * nis/nis_modify.c (nis_modify): Likewise.
53805 * nis/nis_remove.c (nis_remove): Likewise.
53806 * nis/nis_add.c (nis_add): Likewise.
53807
53808 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53809
53810 * posix/fnmatch_loop.c: Add some consts.
53811
53812 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53813
53814 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53815
53816 [BZ #12460]
53817 * config.make.in (config-cflags-novzeroupper): Define.
53818 * configure.in: Substitute libc_cv_cc_novzeroupper.
53819 * elf/Makefile (AVX-CFLAGS): Define.
53820 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53821 (CFLAGS-tst-auditmod4a.c): Likewise.
53822 (CFLAGS-tst-auditmod4b.c): Likewise.
53823 (CFLAGS-tst-auditmod6b.c): Likewise.
53824 (CFLAGS-tst-auditmod6c.c): Likewise.
53825 (CFLAGS-tst-auditmod7b.c): Likewise.
53826 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53827
53828 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53829
53830 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53831 function to the callback.
53832 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53833
53834 2011-02-02 Andreas Schwab <schwab@redhat.com>
53835
53836 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53837 of errno.
53838
53839 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53840
53841 [BZ #11724]
53842 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53843 of constructors.
53844 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53845 of destructors.
53846 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53847
53848 [BZ #11724]
53849 * elf/Makefile: Add rules to build and run new test.
53850 * elf/tst-initorder.c: New file.
53851 * elf/tst-initorder.exp: New file.
53852 * elf/tst-initordera1.c: New file.
53853 * elf/tst-initordera2.c: New file.
53854 * elf/tst-initordera3.c: New file.
53855 * elf/tst-initordera4.c: New file.
53856 * elf/tst-initorderb1.c: New file.
53857 * elf/tst-initorderb2.c: New file.
53858 * elf/tst-order-a1.c: New file.
53859 * elf/tst-order-a2.c: New file.
53860 * elf/tst-order-a3.c: New file.
53861 * elf/tst-order-a4.c: New file.
53862 * elf/tst-order-b1.c: New file.
53863 * elf/tst-order-b2.c: New file.
53864 * elf/tst-order-main.c: New file.
53865 New test case by George Gensure <werkt0@gmail.com>.
53866
53867 2010-10-01 Andreas Schwab <schwab@redhat.com>
53868
53869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53870 decoding ACE if AI_CANONIDN.
53871
53872 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53873
53874 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53875
53876 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53877
53878 * version.h (RELEASE): Bump for 2.13 release.
53879 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53880
53881 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53882
53883 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53884 MADV_NOHUGEPAGE.
53885 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53886 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53887 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53888 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53889 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53891
53892 * posix/getconf.c: Update copyright year.
53893 * catgets/gencat.c: Likewise.
53894 * csu/version.c: Likewise.
53895 * debug/catchsegv.sh: Likewise.
53896 * debug/xtrace.sh: Likewise.
53897 * elf/ldconfig.c: Likewise.
53898 * elf/ldd.bash.in: Likewise.
53899 * elf/sprof.c (print_version): Likewise.
53900 * iconv/iconv_prog.c: Likewise.
53901 * iconv/iconvconfig.c: Likewise.
53902 * locale/programs/locale.c: Likewise.
53903 * locale/programs/localedef.c: Likewise.
53904 * malloc/memusage.sh: Likewise.
53905 * malloc/mtrace.pl: Likewise.
53906 * nscd/nscd.c (print_version): Likewise.
53907 * nss/getent.c: Likewise.
53908
53909 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53910 PF_CAIF, and PF_ALG.
53911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53912
53913 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53914
53915 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53916 (modules-names): Use them.
53917 (ifunc-test-modules, ifunc-pie-tests): Define.
53918 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53919 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53920 (test-extras): Likewise.
53921 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53922 $(compile-command.c).
53923 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53924 (all-built-dso): Define.
53925 (check-textrel.out, check-execstack.out): Depend on it.
53926
53927 * configure.in: Don't override --enable-multi-arch.
53928
53929 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53930
53931 [BZ #6812]
53932 * nscd/hstcache.c (tryagain): Define.
53933 (cache_addhst): Return tryagain not notfound for temporary errors.
53934 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53935 failed.
53936
53937 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53938
53939 [BZ #10563]
53940 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53941 to make the syscall.
53942 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53943
53944 [BZ #12378]
53945 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53946 and fall back to matching as normal character if the string ends before
53947 the matching ']' is found. This is what POSIX requires.
53948 * posix/testfnm.c: Adjust test result.
53949 * posix/globtest.sh: Adjust test result. Add new test.
53950 * posix/tst-fnmatch.input: Likewise.
53951 * posix/tst-fnmatch2.c: Add new test.
53952
53953 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53954
53955 * elf/Makefile (check-execstack): Revert last change. Depend on
53956 check-execstack.h.
53957 (check-execstack.h): New target.
53958 (generated): Add check-execstack.h.
53959 * elf/check-execstack.c: Include "check-execstack.h".
53960 (main): Revert last change.
53961 (handle_file): Return zero if GNU_STACK is absent and
53962 DEFAULT_STACK_PERMS doesn't include PF_X.
53963
53964 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53965
53966 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53967 in child fails because the descriptor is already closed.
53968 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53969 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53970 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53971
53972 [BZ #12397]
53973 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53974 syscall.
53975
53976 [BZ #10484]
53977 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53978 temporary buffer used to handle multi lookups locally.
53979 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53980
53981 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53982
53983 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53984 loader is ld.so.
53985
53986 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53987
53988 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53989 alignment for SSE2.
53990
53991 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53992
53993 [BZ #12394]
53994 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53995 characters. When rounding increased number of integer digits recompute
53996 number of groups.
53997 * stdio-common/tst-grouping.c: New file.
53998 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53999
54000 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54001
54002 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54003 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54004
54005 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54006 void.
54007 * bits/select.h: Likewise.
54008
54009 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54010
54011 * po/ja.po: Update from translation team.
54012
54013 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54014
54015 [BZ #11155]
54016 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54017 implementation just like for lxstat, fxstatat, et al.
54018
54019 2010-12-27 Jim Meyering <meyering@redhat.com>
54020
54021 [BZ #12348]
54022 * posix/regexec.c (build_trtable): Return failure indication upon
54023 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54024
54025 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54026
54027 [BZ #12201]
54028 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54029 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54030 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54031 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54032
54033 [BZ #12207]
54034 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54035
54036 [BZ #12204]
54037 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54038 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54039
54040 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54041
54042 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54043 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54044 script has SORT_BY_INIT_PRIORITY.
54045 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54046 NO_CTORS_DTORS_SECTIONS is defined.
54047 * elf/soinit.c: Likewise.
54048 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54049 NO_CTORS_DTORS_SECTIONS is defined.
54050 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54051 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54052 * sysdeps/sh/init-first.c: Likewise.
54053 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54054
54055 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54056
54057 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54058 always use the slow path.
54059
54060 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54061
54062 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54063 similar rule which adds the sysdep directories to the header search in
54064 order to pick up the correct platform stackinfo.h.
54065 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54066 perform test if it is, otherwise return successfully without testing.
54067 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54068 DEFAULT_STACK_PERMS define in stackinfo.h.
54069 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54070 defined in stackinfo.h.
54071 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54072 DEFAULT_STACK_PERMS defined in stackinfo.h.
54073 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54074 * sysdeps/ia64/stackinfo.h: Likewise.
54075 * sysdeps/s390/stackinfo.h: Likewise.
54076 * sysdeps/sh/stackinfo.h: Likewise.
54077 * sysdeps/sparc/stackinfo.h: Likewise.
54078 * sysdeps/x86_64/stackinfo.h: Likewise.
54079 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54080 PF_X for powerpc64. Retain PF_X for powerpc32.
54081
54082 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54083
54084 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54085 accurately.
54086 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54087 GETDENTS_64BIT_ALIGNED.
54088
54089 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54090
54091 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54092
54093 2010-12-10 Andreas Schwab <schwab@redhat.com>
54094
54095 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54096 _GNU_SOURCE.
54097
54098 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54099 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54100 Remove __restrict.
54101 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54102 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54103
54104 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54105
54106 [BZ #11655]
54107 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54108 are initialized.
54109
54110 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54111
54112 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54113
54114 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54115
54116 * po/it.po: Update from translation team.
54117
54118 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54119
54120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54121 unused codes.
54122
54123 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54124
54125 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54126
54127 2010-11-24 Andreas Schwab <schwab@redhat.com>
54128
54129 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54130 specially.
54131 (gaih_getanswer_slice): Likewise.
54132
54133 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54134
54135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54136
54137 2010-05-31 Petr Baudis <pasky@suse.cz>
54138
54139 [BZ #11149]
54140 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54141 silently even in the chroot mode.
54142
54143 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54144
54145 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54146 last patch a bit. Pretty printing
54147
54148 2010-05-31 Petr Baudis <pasky@suse.cz>
54149
54150 [BZ #10085]
54151 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54152 initialization of skip_initgroups_dyn.
54153
54154 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54155
54156 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54157 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54158
54159 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54160
54161 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54162
54163 2010-11-11 Andreas Schwab <schwab@redhat.com>
54164
54165 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54166 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54167 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54168 ($(objpfx)tst-fnmatch-mem): New rule.
54169 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54170 * posix/tst-fnmatch.c (main): Call mtrace.
54171
54172 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54173
54174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54175 Support Intel processor model 6 and model 0x2c.
54176
54177 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54178
54179 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54180 signed comparison.
54181
54182 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54183
54184 [BZ #12205]
54185 * string/test-strncasecmp.c (check_result): New function.
54186 (do_one_test): Use it.
54187 (check1): New function.
54188 (test_main): Use it.
54189 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54190 Support strcasecmp and strncasecmp.
54191
54192 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54193
54194 [BZ #12194]
54195 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54196 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54197
54198 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54199
54200 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54201 IFUNC support.
54202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54203 memset-x86-64.
54204 * sysdeps/x86_64/multiarch/bzero.S: New file.
54205 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54206 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54207 * sysdeps/x86_64/multiarch/memset.S: New file.
54208 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54210 Set bit_Prefer_SSE_for_memop for Intel processors.
54211 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54212 Define.
54213 (index_Prefer_SSE_for_memop): Define.
54214 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54215
54216 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54217
54218 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54219 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54220
54221 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54222
54223 [BZ #12191]
54224 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54225 (__x86_64_raw_data_cache_size_half): Likewise.
54226 (__x86_64_raw_shared_cache_size): Likewise.
54227 (__x86_64_raw_shared_cache_size_half): Likewise.
54228
54229 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54230 (__x86_64_raw_data_cache_size_half): Likewise.
54231 (__x86_64_raw_shared_cache_size): Likewise.
54232 (__x86_64_raw_shared_cache_size_half): Likewise.
54233 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54234 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54235 and __x86_64_raw_shared_cache_size_half. Round
54236 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54237 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54238 to multiple of 256 bytes.
54239
54240 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54241
54242 [BZ #12167]
54243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54244 of inacessible symlinks. Verify result of symlink before returning it.
54245 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54246 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54247
54248 2010-10-28 Erich Ritz <erichritz@gmail.com>
54249
54250 * math/math.h (isinf): Fix typo in comment.
54251
54252 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54253
54254 * po/da.po: Update from translation team.
54255
54256 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54257
54258 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54259 is added to the list.
54260
54261 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54262 Ulrich Drepper <drepper@gmail.com>
54263
54264 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54265 the global list here. Move code to...
54266 (_dl_add_to_namespace_list): ...here. New function.
54267 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54268 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54269 * elf/dl-load.c (lose): Don't remove the element from the list.
54270 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54271 (_dl_map_object): Likewise.
54272
54273 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54274
54275 [BZ #12159]
54276 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54277 into all bytes of SSE register.
54278 Patch by Richard Li <richardpku@gmail.com>.
54279
54280 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54281
54282 [BZ #12140]
54283 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54284 perturbing.
54285
54286 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54287
54288 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54289 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54290 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54291 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54293 submachine.
54294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54295
54296 2010-10-22 Andreas Schwab <schwab@redhat.com>
54297
54298 * include/dlfcn.h (__RTLD_SECURE): Define.
54299 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54300 mode & __RTLD_SECURE instead.
54301 (open_path): Rename preloaded parameter to secure.
54302 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54303 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54304 * elf/dl-deps.c (openaux): Likewise.
54305 * elf/rtld.c (struct map_args): Remove is_preloaded.
54306 (map_doit): Don't use it.
54307 (dl_main): Likewise.
54308 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54309 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54310
54311 2010-09-09 Andreas Schwab <schwab@redhat.com>
54312
54313 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54314 (sysd-rules-targets): Remove duplicates.
54315 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54316 rtld-%.$o dependency.
54317
54318 2010-10-18 Andreas Schwab <schwab@redhat.com>
54319
54320 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54321 _dl_map_object do it.
54322
54323 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54324
54325 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54326 fast fma builtins, define the macros in the C99 standard.
54327 (FP_FAST_FMAF): Likewise.
54328 (FP_FAST_FMAL): Likewise.
54329 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54330
54331 * bits/mathdef.h: Update copyright year.
54332 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54333
54334 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54335
54336 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54337 builtins, define the macros in the C99 standard.
54338 (FP_FAST_FMAF): Likewise.
54339 (FP_FAST_FMAL): Likewise.
54340 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54341 multiply/add.
54342 (FP_FAST_FMAF): Likewise.
54343
54344 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54345
54346 [BZ #3268]
54347 * math/libm-test.inc (fma_test): Some new testcases.
54348 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54349 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54350 y and infinite z. Do multiplication by C already in long double.
54351 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54353 y and infinite z. Do bitwise or of inexact bit into u.d.
54354 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54355 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54356 * sysdeps/i386/fpu/s_fma.S: Removed.
54357 * sysdeps/i386/fpu/s_fmal.S: Removed.
54358
54359 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54360
54361 [BZ #3268]
54362 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54364 computation is not scheduled after fetestexcept. Fix value
54365 of minimum denormal long double.
54366
54367 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54368
54369 [BZ #3268]
54370 * math/libm-test.inc (fma_test): Add some more tests.
54371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54372 correctly.
54373
54374 2010-10-15 Andreas Schwab <schwab@redhat.com>
54375
54376 * scripts/data/localplt-s390-linux-gnu.data: New file.
54377 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54378
54379 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54380
54381 [BZ #3268]
54382 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54383 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54384 instead of dbl-64.
54385 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54386 inlines.
54387 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54389 if one of x and y is very large and the other is subnormal.
54390 * sysdeps/s390/fpu/s_fmaf.c: New file.
54391 * sysdeps/s390/fpu/s_fma.c: New file.
54392 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54393 * sysdeps/powerpc/fpu/s_fma.S: New file.
54394 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54395 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54396 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54397
54398 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54399
54400 [BZ #3268]
54401 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54402 fma tests.
54403 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54404 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54405 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54406 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54407 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54408 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54409 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54410
54411 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54412
54413 [BZ #12078]
54414 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54415 * posix/bug-regex31.input: Add test case.
54416
54417 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54418
54419 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54420 * posix/bug-regex31.input: New file.
54421
54422 [BZ #12078]
54423 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54424 (parse_sub_exp): Fix last change, use postorder.
54425
54426 * posix/bug-regex31.c: New file.
54427 * posix/Makefile: Add rules to build and run bug-regex31.
54428
54429 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54430
54431 [BZ #12078]
54432 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54433
54434 [BZ #12108]
54435 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54436 to have entries in sys_siglist.
54437
54438 [BZ #12093]
54439 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54440 be NULL.
54441
54442 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54443
54444 [BZ #3268]
54445 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54446 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54447 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54448 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54449 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54450 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54451 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54452 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54453 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54454 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54455 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54456 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54457 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54458 * math/ftestexcept.c (fetestexcept): Likewise.
54459 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54460 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54461 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54462 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54463 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54464 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54465 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54466
54467 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54468
54469 [BZ #12107]
54470 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54471 newline.
54472
54473 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54474
54475 * string/bug-strstr1.c: New file.
54476 * string/Makefile: Add rules to build and run bug-strstr1.
54477
54478 2010-10-05 Eric Blake <eblake@redhat.com>
54479
54480 [BZ #12092]
54481 * string/str-two-way.h (two_way_long_needle): Always clear memory
54482 when skipping input due to the shift table.
54483
54484 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54485
54486 [BZ #12005]
54487 * malloc/mcheck.c: Handle large requests.
54488
54489 [BZ #12077]
54490 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54491 for strncmp and strncasecmp.
54492 * string/stratcliff.c: Add tests for strcmp and strncmp.
54493 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54494
54495 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54496
54497 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54498 __set_fpscr.
54499
54500 2010-09-30 Andreas Jaeger <aj@suse.de>
54501
54502 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54503 (CGROUP_SUPER_MAGIC): Define.
54504 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54505 Handle btrfs and cgroup file systems.
54506 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54507 Likewise.
54508
54509 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54510
54511 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54512 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54513
54514 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54515
54516 [BZ #12067]
54517 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54518 trying to locate the ELF header.
54519
54520 2010-09-27 Andreas Schwab <schwab@redhat.com>
54521
54522 [BZ #11611]
54523 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54524 Mask out sign-bit copies when constructing f_fsid.
54525
54526 2010-09-24 Petr Baudis <pasky@suse.cz>
54527
54528 * debug/stack_chk_fail_local.c: Add missing licence exception.
54529 * debug/warning-nop.c: Likewise.
54530
54531 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54532
54533 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54534 implementing getdents64 using getdents syscall, set d_type if
54535 __ASSUME_GETDENTS32_D_TYPE.
54536
54537 2010-09-16 Andreas Schwab <schwab@redhat.com>
54538
54539 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54540 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54541
54542 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54543
54544 [BZ #12037]
54545 * posix/unistd.h: Undo change of feature selection for ftruncate from
54546 2010-01-11.
54547
54548 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54549
54550 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54551 detection.
54552
54553 2010-09-20 Andreas Schwab <schwab@redhat.com>
54554
54555 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54556 fanotify_mark.
54557 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54558
54559 2010-09-14 Andreas Schwab <schwab@redhat.com>
54560
54561 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54562 variables after CHECK_SP call.
54563 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54564
54565 2010-09-13 Andreas Schwab <schwab@redhat.com>
54566 Ulrich Drepper <drepper@redhat.com>
54567
54568 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54569 re-relocationg ld.so.
54570 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54571 _dl_init_paths call.
54572 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54573 here anymore.
54574
54575 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54576
54577 * resolv/res_init.c (__res_vinit): Count the default server we added.
54578
54579 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54580 Ulrich Drepper <drepper@redhat.com>
54581
54582 [BZ #11968]
54583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54584 (____longjmp_chk): Use %ebx for saving value across system call.
54585 Add unwind info.
54586
54587 2010-09-06 Andreas Schwab <schwab@redhat.com>
54588
54589 * manual/Makefile: Don't mix pattern rules with normal rules.
54590
54591 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54592
54593 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54594 operation.
54595 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54596 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54597 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54598 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54600 Likewise.
54601
54602 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54603
54604 [BZ #11979]
54605 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54606 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54607
54608 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54609
54610 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54611 * sysdeps/x86_64/addmul_1.S: Likewise.
54612 * sysdeps/x86_64/lshift.S: Likewise.
54613 * sysdeps/x86_64/mul_1.S: Likewise.
54614 * sysdeps/x86_64/rshift.S: Likewise.
54615 * sysdeps/x86_64/sub_n.S: Likewise.
54616 * sysdeps/x86_64/submul_1.S: Likewise.
54617
54618 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54619
54620 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54621 Define __sched_param instead of SCHED_* and sched_param when
54622 <bits/sched.h> is included with __need_schedparam defined.
54623 * bits/sched.h [__need_schedparam]
54624 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54625 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54626 (__defined_schedparam): Define to 1.
54627 (__sched_param): New structure, identical to sched_param.
54628 (__need_schedparam): Undefine.
54629
54630 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54631
54632 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54633 (epoll_create1): Declare.
54634
54635 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54636
54637 2010-08-31 Andreas Schwab <schwab@redhat.com>
54638
54639 [BZ #7066]
54640 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54641 shifting retval into place.
54642
54643 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54644
54645 * nis/rpcsvc/nis.h: Update copyright notice.
54646 * nis/rpcsvc/nis.x: Likewise.
54647 * nis/rpcsvc/nis_callback.h: Likewise.
54648 * nis/rpcsvc/nis_callback.x: Likewise.
54649 * nis/rpcsvc/nis_object.x: Likewise.
54650 * nis/rpcsvc/nis_tags.h: Likewise.
54651 * nis/rpcsvc/yp.h: Likewise.
54652 * nis/rpcsvc/yp.x: Likewise.
54653 * nis/rpcsvc/ypupd.h: Likewise.
54654 * nis/yp_xdr.c: Likewise.
54655 * nis/ypupdate_xdr.c: Likewise.
54656
54657 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54658 mainly the body of pmap_getport. Add parameters to specify timeouts.
54659 (pmap_getport): Use __libc_rpc_getport.
54660 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54661 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54662 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54663
54664 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54665
54666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54667 fanotify_mark.
54668
54669 2010-08-27 Roland McGrath <roland@redhat.com>
54670
54671 * sysdeps/i386/i686/multiarch/Makefile
54672 (CFLAGS-varshift.c): New variable.
54673
54674 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54675
54676 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54677 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54678
54679 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54680
54681 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54682
54683 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54684
54685 * sysdeps/x86_64/strlen.S: Unroll the loop.
54686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54687 strlen-sse2 strlen-sse2-bsf.
54688 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54689 __strlen_no_bsf if bit_Slow_BSF is set.
54690 (__strlen_sse42): Removed.
54691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54692 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54693
54694 2010-08-25 Roland McGrath <roland@redhat.com>
54695
54696 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54697 * sysdeps/x86_64/multiarch/varshift.c: New file.
54698 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54699 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54700 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54701 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54702
54703 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54704
54705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54706 strlen-sse2 strlen-sse2-bsf.
54707 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54708 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54709 (__strlen_sse2): Removed.
54710 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54711 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54713 bit_Slow_BSF for Atom.
54714 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54715 (index_Slow_BSF): Define.
54716 (HAS_SLOW_BSF): Define.
54717
54718 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54719
54720 [BZ #10851]
54721 * resolv/res_init.c (__res_vinit): When no server address at all
54722 is given default to loopback.
54723
54724 2010-08-24 Roland McGrath <roland@redhat.com>
54725
54726 * configure.in: Remove config-name.h generation.
54727 * configure: Regenerated.
54728 * config-name.in: File removed.
54729 * scripts/config-uname.sh: New file.
54730 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54731 ($(objdir)config-name.h): New target.
54732
54733 * sunrpc/rpc_parse.h: Avoid nested comment.
54734
54735 2010-08-24 Richard Henderson <rth@redhat.com>
54736 Ulrich Drepper <drepper@redhat.com>
54737 H.J. Lu <hongjiu.lu@intel.com>
54738
54739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54741 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54742 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54743 _mm_alignr_epi8 with _mm_loadu_si128.
54744 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54745 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54746 (__m128i_shift_right): Removed.
54747 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54748 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54749 * sysdeps/x86_64/multiarch/varshift.h: New file.
54750 * sysdeps/x86_64/multiarch/varshift.S: New file.
54751
54752 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54753
54754 * configure.in: Move assembler checks to before sysdep dir checking.
54755
54756 2010-08-20 Petr Baudis <pasky@suse.cz>
54757
54758 * LICENSES: Sync the sunrpc license.
54759
54760 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54761
54762 * sunrpc/auth_des.c: Update copyright notice once again.
54763 * sunrpc/auth_none.c: Likewise.
54764 * sunrpc/auth_unix.c: Likewise.
54765 * sunrpc/authdes_prot.c: Likewise.
54766 * sunrpc/authuxprot.c: Likewise.
54767 * sunrpc/bindrsvprt.c: Likewise.
54768 * sunrpc/clnt_gen.c: Likewise.
54769 * sunrpc/clnt_perr.c: Likewise.
54770 * sunrpc/clnt_raw.c: Likewise.
54771 * sunrpc/clnt_simp.c: Likewise.
54772 * sunrpc/clnt_tcp.c: Likewise.
54773 * sunrpc/clnt_udp.c: Likewise.
54774 * sunrpc/clnt_unix.c: Likewise.
54775 * sunrpc/des_crypt.c: Likewise.
54776 * sunrpc/des_soft.c: Likewise.
54777 * sunrpc/get_myaddr.c: Likewise.
54778 * sunrpc/getrpcport.c: Likewise.
54779 * sunrpc/key_call.c: Likewise.
54780 * sunrpc/key_prot.c: Likewise.
54781 * sunrpc/openchild.c: Likewise.
54782 * sunrpc/pm_getmaps.c: Likewise.
54783 * sunrpc/pm_getport.c: Likewise.
54784 * sunrpc/pmap_clnt.c: Likewise.
54785 * sunrpc/pmap_prot.c: Likewise.
54786 * sunrpc/pmap_prot2.c: Likewise.
54787 * sunrpc/pmap_rmt.c: Likewise.
54788 * sunrpc/rpc/auth.h: Likewise.
54789 * sunrpc/rpc/auth_unix.h: Likewise.
54790 * sunrpc/rpc/clnt.h: Likewise.
54791 * sunrpc/rpc/des_crypt.h: Likewise.
54792 * sunrpc/rpc/key_prot.h: Likewise.
54793 * sunrpc/rpc/netdb.h: Likewise.
54794 * sunrpc/rpc/pmap_clnt.h: Likewise.
54795 * sunrpc/rpc/pmap_prot.h: Likewise.
54796 * sunrpc/rpc/pmap_rmt.h: Likewise.
54797 * sunrpc/rpc/rpc.h: Likewise.
54798 * sunrpc/rpc/rpc_des.h: Likewise.
54799 * sunrpc/rpc/rpc_msg.h: Likewise.
54800 * sunrpc/rpc/svc.h: Likewise.
54801 * sunrpc/rpc/svc_auth.h: Likewise.
54802 * sunrpc/rpc/types.h: Likewise.
54803 * sunrpc/rpc/xdr.h: Likewise.
54804 * sunrpc/rpc_clntout.c: Likewise.
54805 * sunrpc/rpc_cmsg.c: Likewise.
54806 * sunrpc/rpc_common.c: Likewise.
54807 * sunrpc/rpc_cout.c: Likewise.
54808 * sunrpc/rpc_dtable.c: Likewise.
54809 * sunrpc/rpc_hout.c: Likewise.
54810 * sunrpc/rpc_main.c: Likewise.
54811 * sunrpc/rpc_parse.c: Likewise.
54812 * sunrpc/rpc_parse.h: Likewise.
54813 * sunrpc/rpc_prot.c: Likewise.
54814 * sunrpc/rpc_sample.c: Likewise.
54815 * sunrpc/rpc_scan.c: Likewise.
54816 * sunrpc/rpc_scan.h: Likewise.
54817 * sunrpc/rpc_svcout.c: Likewise.
54818 * sunrpc/rpc_tblout.c: Likewise.
54819 * sunrpc/rpc_util.c: Likewise.
54820 * sunrpc/rpc_util.h: Likewise.
54821 * sunrpc/rpcinfo.c: Likewise.
54822 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54823 * sunrpc/rpcsvc/key_prot.x: Likewise.
54824 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54825 * sunrpc/rpcsvc/mount.x: Likewise.
54826 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54827 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54828 * sunrpc/rpcsvc/rex.x: Likewise.
54829 * sunrpc/rpcsvc/rstat.x: Likewise.
54830 * sunrpc/rpcsvc/rusers.x: Likewise.
54831 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54832 * sunrpc/rpcsvc/spray.x: Likewise.
54833 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54834 * sunrpc/rtime.c: Likewise.
54835 * sunrpc/svc.c: Likewise.
54836 * sunrpc/svc_auth.c: Likewise.
54837 * sunrpc/svc_authux.c: Likewise.
54838 * sunrpc/svc_raw.c: Likewise.
54839 * sunrpc/svc_run.c: Likewise.
54840 * sunrpc/svc_simple.c: Likewise.
54841 * sunrpc/svc_tcp.c: Likewise.
54842 * sunrpc/svc_udp.c: Likewise.
54843 * sunrpc/svc_unix.c: Likewise.
54844 * sunrpc/svcauth_des.c: Likewise.
54845 * sunrpc/xcrypt.c: Likewise.
54846 * sunrpc/xdr.c: Likewise.
54847 * sunrpc/xdr_array.c: Likewise.
54848 * sunrpc/xdr_float.c: Likewise.
54849 * sunrpc/xdr_mem.c: Likewise.
54850 * sunrpc/xdr_rec.c: Likewise.
54851 * sunrpc/xdr_ref.c: Likewise.
54852 * sunrpc/xdr_sizeof.c: Likewise.
54853 * sunrpc/xdr_stdio.c: Likewise.
54854
54855 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54856 handling.
54857
54858 2010-08-19 Andreas Schwab <schwab@redhat.com>
54859
54860 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54861
54862 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54863
54864 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54865 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54866 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54867 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54868 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54869 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54870 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54871 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54872 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54873 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54874 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54875 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54876 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54877 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54878
54879 2010-07-26 Anton Blanchard <anton@samba.org>
54880
54881 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54882 * malloc/arena.c (heap_trim): Likewise.
54883
54884 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54885
54886 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54887 here. Not...
54888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54889 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54890
54891 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54892
54893 * sysdeps/i386/elf/Makefile: New file.
54894
54895 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54896
54897 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54898 from fanotify_init.
54899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54901
54902 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54903
54904 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54905 of strncasecmp_l.
54906 * sysdeps/multiarch/strcmp.S: Likewise.
54907
54908 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54909
54910 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54911 strncase_l-nonascii.
54912 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54913 Add strncase_l-ssse3.
54914 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54915 * sysdeps/x86_64/strcmp.S: Likewise.
54916 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54917 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54918 * sysdeps/x86_64/strncase.S: New file.
54919 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54920 * sysdeps/x86_64/strncase_l.S: New file.
54921 * string/Makefile (strop-tests): Add strncasecmp.
54922 * string/test-strncasecmp.c: New file.
54923
54924 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54925 warning.
54926
54927 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54928 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54929
54930 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54931
54932 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54933
54934 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54935
54936 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54937 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54938 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54939
54940 2010-05-01 Alan Modra <amodra@gmail.com>
54941
54942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54943 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54944 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54945 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54946 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54947 tidying. Don't tail-call __sigjmp_save for static lib.
54948 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54949 save location.
54950 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54951 (CALL_MCOUNT): Add eh info, and nop after bl.
54952 (TAIL_CALL_SYSCALL_ERROR): New macro.
54953 (PSEUDO_RET): Use it.
54954 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54955 Correct save location of integer regs and cr.
54956 (_dl_profile_resolve): Correct cr save location. Delete nops
54957 after bl when SHARED. Reduce cfi size a little by better
54958 placement of cfi directives.
54959 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54960 make a stack frame. Instead use parm save area as a temp.
54961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54962 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54964 Don't make a stack frame for parent, use parm save area.
54965 Increase child stack frame to 112 bytes. Don't save unused reg,
54966 and adjust reg usage. Set up cfi on error recovery and
54967 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54969 (__makecontext): Add dummy nop after jump to exit.
54970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54971 Use correct parm save area and cr save, reduce stack frame.
54972 Correct cfi for possible PSEUDO_RET frame setup.
54973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54974 Branch to local label emitted by PSEUDO_RET rather than
54975 __syscall_error.
54976
54977 2010-08-12 Andreas Schwab <schwab@redhat.com>
54978
54979 [BZ #11904]
54980 * locale/programs/locale.c (print_assignment): New function.
54981 (show_locale_vars): Use it.
54982
54983 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54984
54985 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54986 field.
54987 (struct statfs64): Likewise.
54988 (_STATFS_F_FLAGS): Define.
54989 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54990 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54991 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54992 (ST_VALID): Define locally.
54993 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54994 __statvfs_getflags, use the provided value.
54995 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54996 __ASSUME_STATFS_F_FLAGS.
54997
54998 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54999
55000 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55001 Add sys/fanotify.h.
55002 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55003 fanotify_mask for GLIBC_2.13.
55004 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55005 fanotify_init and fanotify_mark.
55006 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55007 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55008
55009 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55010 Add prlimit.
55011 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55012 prlimit64 for GLIBC_2.13.
55013 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55014 prlimit64.
55015 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55016 syscall.
55017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55018 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55019 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55020 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55022 add prlimit alias.
55023 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55024
55025 [BZ #11903]
55026 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55027 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55028
55029 * nss/Makefile: Add rules to build and run tst-nss-test1.
55030 * shlib-versions: Add entry for libnss_test1.
55031 * nss/nss_test1.c: New file.
55032 * nss/tst-nss-test1.c: New file.
55033
55034 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55035 (__nss_configure_lookup): Set appropriate entry in
55036 __nss_configure_lookup to true.
55037 * nss/nsswitch.h: Define enum with indeces of databases in
55038 databases and __nss_database_custom arrays. Declare
55039 __nss_database_custom.
55040 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55041 to avoid using nscd when custom rules are installed.
55042 * nss/getXXbyYY_r.c: Likewise.
55043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55044
55045 * nss/nss_files/files-parse.c: Whitespace fixes.
55046
55047 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55048
55049 [BZ #11883]
55050 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55051 * posix/fnmatch_loop.c: Likewise.
55052
55053 2010-07-17 Andi Kleen <ak@linux.intel.com>
55054
55055 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55056 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55057 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55058 * Versions.def [GLIBC_2.13]: Add.
55059
55060 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55061
55062 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55063 Also fail if tpwd after pwuid call is NULL.
55064
55065 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55066
55067 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55068 when converting to ms.
55069
55070 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55071
55072 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55073 EOPNOTSUPP errors with ENOTTY.
55074 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55075 EOPNOTSUPP errors with ENOTTY.
55076
55077 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55078
55079 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55080 Add strcasecmp_l-ssse3.
55081 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55082 strcasecmp.
55083 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55084 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55085 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55086
55087 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55088
55089 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55090
55091 * string/Makefile (strop-tests): Add strcasecmp.
55092 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55093 strcasecmp_l-nonascii.
55094 (gen-as-const-headers): Add locale-defines.sym.
55095 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55096 * sysdeps/x86_64/strcasecmp.S: New file.
55097 * sysdeps/x86_64/strcasecmp_l.S: New file.
55098 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55099 * sysdeps/x86_64/locale-defines.sym: New file.
55100 * string/test-strcasecmp.c: New file.
55101
55102 * string/test-strcasestr.c: Test both ends of the range of characters.
55103 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55104
55105 2010-07-29 Roland McGrath <roland@redhat.com>
55106
55107 [BZ #11856]
55108 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55109
55110 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55111
55112 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55113 for ld.so.
55114
55115 2010-07-27 Andreas Schwab <schwab@redhat.com>
55116
55117 * manual/memory.texi (Malloc Tunable Parameters): Document
55118 M_PERTURB.
55119
55120 2010-07-26 Roland McGrath <roland@redhat.com>
55121
55122 [BZ #11840]
55123 * configure.in (-fgnu89-inline check): Set and substitute
55124 gnu89_inline, not libc_cv_gnu89_inline.
55125 * configure: Regenerated.
55126 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55127
55128 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55129
55130 * string/test-strnlen.c: New file.
55131 * string/Makefile (strop-tests): Add strnlen.
55132 * string/tester.c (test_strnlen): Add a few more test cases.
55133 * string/tst-strlen.c: Better error reporting.
55134
55135 * sysdeps/x86_64/strnlen.S: New file.
55136
55137 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55138
55139 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55140 lower-latency instructions.
55141
55142 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55143
55144 * string/test-strcasestr.c: New file.
55145 * string/test-strstr.c: New file.
55146 * string/Makefile (strop-tests): Add strstr and strcasestr.
55147 * string/str-two-way.h: Don't undefine MAX.
55148 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55149
55150 2010-07-21 Andreas Schwab <schwab@redhat.com>
55151
55152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55153 strcasestr-nonascii.
55154 (CFLAGS-strcasestr-nonascii.c): Define.
55155 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55156 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55157 Remove unused attribute.
55158
55159 2010-07-20 Roland McGrath <roland@redhat.com>
55160
55161 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55162 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55163 ld.so.cache was broken. With it, there is no way to disable dsocaps
55164 like LD_HWCAP_MASK can disable hwcaps.
55165
55166 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55167
55168 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55169
55170 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55171
55172 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55173 call in strcasestr.
55174 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55175 __strcasestr_sse42_nonascii.
55176 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55177 strcasestr-nonascii.c.
55178 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55179
55180 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55181
55182 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55183 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55184 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55185 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55186
55187 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55188
55189 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55190 fcntl.
55191
55192 2010-07-06 Andreas Schwab <schwab@redhat.com>
55193
55194 [BZ #11577]
55195 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55196 dl_signal_cerror.
55197
55198 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55199
55200 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55201 _PC_PIPE_BUF using F_GETPIPE_SZ.
55202
55203 2010-07-05 Roland McGrath <roland@redhat.com>
55204
55205 * manual/arith.texi (Rounding Functions): Fix rint description
55206 implicit in round description.
55207
55208 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55209
55210 * elf/Makefile: Fix linking for a few tests to make recent linker
55211 happy.
55212
55213 2010-06-30 Andreas Schwab <schwab@redhat.com>
55214
55215 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55216 $(common-objpfx)libc_nonshared.a.
55217
55218 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55219
55220 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55221 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55222 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55223 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55224 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55225 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55226 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55227 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55242 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55243 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55244 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55245 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55246 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55247 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55248 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55249 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55250 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55251 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55252 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55253 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55268
55269 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55270
55271 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55272 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55273 * string/memmove.c (memmove): Renamed to ...
55274 (MEMMOVE): ...this. Default to memmove.
55275 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55276 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55277 (END_CHK): Define.
55278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55279 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55280 mempcpy-ssse3-back memmove-ssse3-back.
55281 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55282 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55283 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55284 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55285 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55286 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55287 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55288 * sysdeps/x86_64/multiarch/memmove.c: New file.
55289 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55290 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55291 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55292 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55293 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55295 Define.
55296 (index_Fast_Copy_Backward): Define.
55297 (HAS_ARCH_FEATURE): Define.
55298 (HAS_FAST_REP_STRING): Define.
55299 (HAS_FAST_COPY_BACKWARD): Define.
55300
55301 2010-06-21 Andreas Schwab <schwab@redhat.com>
55302
55303 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55304 Restore proper fallback handling.
55305
55306 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55307
55308 [BZ #11701]
55309 * posix/group_member.c (__group_member): Correct checking loop.
55310
55311 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55312 OOM in getpwuid_r correctly. Return error number when the caller
55313 should return, otherwise -1.
55314 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55315 call returning > 0 value.
55316 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55317
55318 2010-06-07 Andreas Schwab <schwab@redhat.com>
55319
55320 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55321 libc_nonshared.a from targets in modules-names.
55322
55323 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55324
55325 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55326 requires it.
55327
55328 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55329
55330 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55331 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55332 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55333 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55334
55335 2010-06-02 Andreas Schwab <schwab@redhat.com>
55336
55337 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55338
55339 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55340
55341 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55342 and F_GETPIPE_SZ.
55343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55347 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55349
55350 2010-06-14 Roland McGrath <roland@redhat.com>
55351
55352 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55353
55354 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55355
55356 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55357 __REDIRECT followed by __THROW.
55358 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55359 * posix/getopt.h (getopt): Likewise.
55360
55361 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55362
55363 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55364 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55365 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55366 in AT_FLAGS.
55367 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55368 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55369
55370 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55371
55372 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55373
55374 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55375
55376 [BZ #11640]
55377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55378 Properly check family and model.
55379
55380 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55381
55382 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55383
55384 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55385
55386 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55387
55388 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55389
55390 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55391 symbol reference.
55392
55393 2010-05-19 Andreas Schwab <schwab@redhat.com>
55394
55395 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55396 symbol reference.
55397
55398 2010-05-21 Andreas Schwab <schwab@redhat.com>
55399
55400 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55401 and internal_recvmmsg.
55402 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55403 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55404 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55405 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55406
55407 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55408 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55409 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55410
55411 2010-05-20 Andreas Schwab <schwab@redhat.com>
55412
55413 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55414
55415 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55416
55417 POWER7 optimizations.
55418 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55419 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55420
55421 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55422
55423 * version.h: Update for 2.13 development version.
55424
55425 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55426
55427 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55428 exceptions. Return 0.
55429
55430 2010-05-07 Roland McGrath <roland@redhat.com>
55431
55432 * elf/ldconfig.c (main): Add a const.
55433
55434 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55435
55436 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55437 (args_options): Add no-idn option.
55438 (ahosts_keys_int): Add idn_flags to ai_flags.
55439 (parse_option): Handle 'i' option to clear idn_flags.
55440
55441 * malloc/malloc.c (_int_free): Possible race in the most recently
55442 added check. Only act on the data if no current modification
55443 happened.
55444
55445 See ChangeLog.17 for earlier changes.