]> sourceware.org Git - glibc.git/blame - ChangeLog
Add stub sys/procfs.h file
[glibc.git] / ChangeLog
CommitLineData
59ff172f
RM
12015-01-08 Roland McGrath <roland@hack.frob.com>
2
9287adf0
RM
3 * sysdeps/nptl/sys/procfs.h: New file.
4 * nptl_db/Makefile (headers): Add it.
5 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6
59ff172f
RM
7 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9 * nptl/pthread_attr_setaffinity.c: Include it.
10 * nptl/pthread_setattr_default_np.c: Likewise.
11 * nptl/check-cpuset.h: New file.
12
b9205857
RH
132015-01-08 Richard Henderson <rth@redhat.com>
14
15 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16 (CFLAGS-tst-execstack-prog.c): Likewise.
17 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18
1a0a8d15
CLT
192015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
20 Sandra Loosemore <sandra@codesourcery.com>
21 Andrew Jenner <andrew@codesourcery.com>
22 Joseph Myers <joseph@codesourcery.com>
23 Nathan Sidwell <nathan@codesourcery.com>
24
25 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
31 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
42
dd6e8af6
AZ
432015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44
45 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
46 timespec struct member in syscall macro.
47 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
48 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
49 first timeval struct member in syscall macro.
50 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
51
8116321f
JM
522015-01-07 Joseph Myers <joseph@codesourcery.com>
53
54 [BZ #17748]
55 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
56 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
57 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
58 __feupdateenv and define as weak alias of __feupdateenv. Use
59 libm_hidden_weak.
60 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
61 libm_hidden_def.
62 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
63 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
64 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
65 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
66 libm_hidden_def.
67 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
68 __feupdateenv and define as weak alias of __feupdateenv. Use
69 libm_hidden_weak.
70 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
71 libm_hidden_def.
72 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
73 __feupdateenv and define as weak alias of __feupdateenv. Use
74 libm_hidden_weak.
75 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
76 libm_hidden_def.
77 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
78 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
79 (__feupdateenv): Likewise.
80 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
81 __feupdateenv and define as weak alias of __feupdateenv. Use
82 libm_hidden_weak.
83 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
84 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
85 libm_hidden_def.
86 * sysdeps/tile/math_private.h (__feupdateenv): New inline
87 function.
88 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
89 libm_hidden_def.
90 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
91 __feupdateenv instead of feupdateenv.
92 (default_libc_feupdateenv_test): Likewise.
93 (libc_feresetround_ctx): Likewise.
94
882dfe18
AZ
952015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96
97 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
98 prototype.
99
39a12f8d
CM
1002015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
101
102 * posix/regcomp.c (parse_bracket_exp): Initialize type to
103 COLL_SYM in a couple of places to avoid uninitialized variable
104 wanings on tilegx gcc 4.8.2.
105
dc400d7b
RE
1062015-01-07 Richard Earnshaw <rearnsha@arm.com>
107
108 * sysdeps/aarch64/strcpy.S: New file.
109 * sysdeps/aarch64/stpcpy.S: New file.
110 * NEWS: Updated.
111
ec582ca0
RE
1122015-01-07 Richard Earnshaw <rearnsha@arm.com>
113
114 * sysdeps/aarch64/strrchr.S: New file.
115 * NEWS: Updated.
116
d5b1c5ed
EB
1172015-01-07 Eric Biggers <ebiggers3@gmail.com>
118
119 [BZ #17658]
120 * stdlib/setenv.c: Fix memory leak when setting large,
121 duplicate string.
122
fb87ee96
VN
1232015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
124
60f046a8 125 [BZ #17273]
fb87ee96
VN
126 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
127 and tabs from buffer before parsing fstab entry.
128 * misc/tst-mntent.c (main): Add test for mount entry with
129 trailing spaces and tabs.
130
cd42798a
JM
1312015-01-06 Joseph Myers <joseph@codesourcery.com>
132
01238691
JM
133 [BZ #17748]
134 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
135 * math/fesetround.c (fesetround): Rename to __fesetround and
136 define as weak alias of __fesetround. Use libm_hidden_weak.
137 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
138 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
139 * sysdeps/arm/fesetround.c (fesetround): Likewise.
140 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
141 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
142 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
143 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
144 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
145 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
146 __fesetround_inline.
147 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
148 __fesetround_inline instead of __fesetround.
149 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
150 __fesetround and define as weak alias of __fesetround. Use
151 libm_hidden_weak. Call __fesetround_inline instead of
152 __fesetround.
153 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
154 __fesetround and define as weak alias of __fesetround. Use
155 libm_hidden_weak.
156 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
157 Likewise.
158 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
159 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
160 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
161 * sysdeps/tile/math_private.h (__fesetround): New inline function.
162 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
163 __fesetround and define as weak alias of __fesetround. Use
164 libm_hidden_weak.
165 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
166 __fesetround instead of fesetround.
167 (default_libc_feholdexcept_setround): Likewise.
168 (libc_feholdsetround_ctx): Likewise.
169 (libc_feholdsetround_noex_ctx): Likewise.
170
cd42798a
JM
171 [BZ #17748]
172 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
173 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
174 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
175 and define as weak alias of __fesetenv. Use libm_hidden_weak.
176 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
177 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
178 define as weak alias of __fesetenv. Use libm_hidden_weak.
179 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
180 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
181 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
182 define as weak alias of __fesetenv. Use libm_hidden_weak.
183 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
184 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
185 define as weak alias of __fesetenv. Use libm_hidden_weak.
186 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
187 libm_hidden_def.
188 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
189 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
190 Likewise.
191 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
192 define as weak alias of __fesetenv. Use libm_hidden_weak.
193 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
194 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
195 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
196 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
197 and define as weak alias of __fesetenv. Use libm_hidden_weak.
198 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
199 __fesetenv instead of fesetenv.
200 (libc_feresetround_noex_ctx): Likewise.
201 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
202 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
203 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
204 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
205 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
206 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
207 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
208 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
209 (__feupdateenv): Likewise.
210 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
211 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
212 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
213 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
214
38949026
AJ
2152015-01-06 Aurelien Jarno <aurelien@aurel32.net>
216
1cf98e27 217 [BZ #17806]
38949026
AJ
218 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
219 addresses have been freed.
220
5fe55e9c
AJ
2212015-01-06 Aurelien Jarno <aurelien@aurel32.net>
222
223 * resolv/res_init.c (__res_vinit): Improve comments about nserv
224 and nservall.
225
dc8ab018
OB
2262015-01-06 Ondřej Bílka <neleai@seznam.cz>
227
228 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
229 Clean up check_pf allocation pattern. addresses
230
14bb4e57
AZ
2312015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
232
233 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
234 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
235 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
236 * nptl/pthread_exit.c (__pthread_exit): Likewise.
237 * nptl/pthread_join.c (pthread_join): Likewise.
238 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
239 * sysdeps/posix/waitid.c (__waitid): Likewise.
240 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
241 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
242 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
243 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
244 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
245 Likewise.
246 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
247 (__libc_pread64): Likewise.
248 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
249 (__libc_pwrite): Likewise.
250 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
251 (__libc_pwrite64): Likewsie.
252 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
253 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
254 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
255 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
256 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
257 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
258 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
260 Likewise.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
262 (__libc_pread64): Likewise.
263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
264 Likewise.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
266 (__libc_pwrite64): Likewise.
267 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
268 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
269 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
270 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
271 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
272 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
273 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
274 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
275 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
276 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
277 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
278 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
279 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
280 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
281 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
282 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
283 Likewise.
284
10a5e112
AS
2852015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
286
287 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
288 (CFLAGS-test-double.c): Likewise.
289 (CFLAGS-test-ldouble.c): Likewise.
290 (CPPFLAGS-test-ifloat.c): Likewise.
291 (CPPFLAGS-test-idouble.c): Likewise.
292 (CPPFLAGS-test-ildoubl.c): Likewise.
293 (CFLAGS-test-test-fenv.c): Remove variable.
294 (CFLAGS-test-misc.c): Likewise.
295
57ada0e7
L
2962015-01-06 H.J. Lu <hongjiu.lu@intel.com>
297
298 [BZ #17797]
299 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
300 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
301 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
302 CLOCKS_PER_SEC == 1000000.
303 * time/clocktest.c (main): Replace %ld with %jd and cast to
304 intmax_t.
305
46abb64d
RM
3062015-01-05 Roland McGrath <roland@hack.frob.com>
307
308 * sysdeps/generic/unwind-resume.h: New file.
309 * sysdeps/gnu/unwind-resume.c: Include it.
310 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
311 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
312 argument list.
313 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
314 global rather than static.
315 (_Unwind_Resume): Update user.
316 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
317 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
318 rather than static. Add __attribute__ ((cold)).
319 (_Unwind_Resume, __gcc_personality_v0): Update callers.
320 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
321 * sysdeps/arm/arm-unwind-resume.S: New file.
322 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
323 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
324 * sysdeps/arm/Makefile [$(subdir) = csu]
325 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
326 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
327 Add rt-arm-unwind-resume.
328 [$(subdir) = nptl]
329 (libpthread-sysdep_routines, libpthread-shared-only-routines):
330 Add pt-arm-unwind-resume.
331 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
332 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
333
ef9faf13
JM
3342015-01-05 Joseph Myers <joseph@codesourcery.com>
335
336 [BZ #17748]
337 * include/fenv.h (__feholdexcept): Declare. Use
338 libm_hidden_proto.
339 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
340 define as weak alias of __feholdexcept. Use libm_hidden_weak.
341 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
342 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
343 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
344 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
345 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
346 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
347 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
348 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
349 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
350 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
351 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
352 (feholdexcept): Likewise.
353 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
354 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
355 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
356 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
357 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
358 __feholdexcept instead of feholdexcept.
359 (default_libc_feholdexcept_setround): Likewise.
360
295a453e
SE
3612015-01-05 Steve Ellcey <sellcey@imgtec.com>
362
363 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
364 to avoid using stl/str to align destination.
365
882c4b9f
SE
3662015-01-05 Steve Ellcey <sellcey@imgtec.com>
367
368 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
369
ac4c11f5
JM
3702015-01-05 Joseph Myers <joseph@codesourcery.com>
371
372 [BZ #17796]
373 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
374 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
375 Define as weak alias not strong alias.
376
03403e30
SE
3772015-01-05 Steve Ellcey <sellcey@imgtec.com>
378
379 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
380 bltzal with addiupc.
381 (RTLD_START): Ditto.
382
1dca195e
CM
3832015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
384
7ea793f3
CM
385 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
386 for __vdso_* functions in declarations.
387 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
388 definitions.
389 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
390 INTERNAL_VSYSCALL): Use struct return types to check for error.
391
1dca195e
CM
392 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
393 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
394 function with cast from llround().
395 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
396 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
397 Define.
398
a287953a
JM
3992015-01-05 Joseph Myers <joseph@codesourcery.com>
400
ab70da77
JM
401 [BZ #17793]
402 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
403 Define as weak alias not strong alias.
404
b8986484
JM
405 [BZ #17635]
406 * ctype/ctype-c99.c: New file. isblank implementation moved from
407 ...
408 * ctype/ctype-extn.c: ... here.
409 (__isblank_l): Move to ...
410 * ctype/ctype-c99_l.c: ... here. New file.
411 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
412 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
413 Remove variable.
414 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
415 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
416 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
417 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
418 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
419
a287953a
JM
420 [BZ #17777]
421 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
422 (posix_fadvise64): Define as weak alias not strong alias.
423 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
424 (posix_fallocate64): Likewise.
425 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
426 Remove variable.
427 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
428 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
429 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
430 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
431 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
432
b1efe3bb
MF
4332015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
434
435 [BZ #16191]
436 * NEWS: Mention bug fix.
437 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
438 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
439 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
440 (HOST_STACK_END_ADDR): Likewise.
441
9706dc5f
JM
4422015-01-02 Joseph Myers <joseph@codesourcery.com>
443
b93c2205
JM
444 [BZ #17748]
445 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
446 * math/fegetround.c (fegetround): Rename to __fegetround and
447 define as weak alias of __fegetround. Use libm_hidden_weak.
448 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
449 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
450 * sysdeps/arm/fegetround.c (fegetround): Likewise.
451 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
452 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
453 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
454 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
455 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
456 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
457 Undefine after rather than before function definition; use
458 parentheses around function name in definition.
459 (__fegetround): Also undefine macro after function definition.
460 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
461 __fegetround and define as weak alias of __fegetround. Use
462 libm_hidden_weak. Do not undefine as macro.
463 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
464 Likewise.
465 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
466 __fegetround and define as weak alias of __fegetround. Use
467 libm_hidden_weak.
468 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
469 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
470 * sysdeps/tile/math_private.h (__fegetround): New inline function.
471 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
472 __fegetround and define as weak alias of __fegetround. Use
473 libm_hidden_weak.
474 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
475 __fegetround instead of fegetround.
476
253a59cc
JM
477 [BZ #17782]
478 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
479 Condition macro definition on [__USE_MISC].
480
27dae011
JM
481 [BZ #17781]
482 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
483 (struct sigaction): Change type of sa_flags field to int.
484
172019c0
JM
485 [BZ #17780]
486 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
487 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
488 __glibc_reserved0.
489
522ad1d6
JM
490 * nptl/version.c (banner): Use single year in copyright notice.
491
9706dc5f
JM
492 * NEWS: Update copyright dates.
493 * catgets/gencat.c (print_version): Likewise.
494 * csu/version.c (banner): Likewise.
495 * debug/catchsegv.sh: Likewise.
496 * debug/pcprofiledump.c (print_version): Likewise.
497 * debug/xtrace.sh (do_version): Likewise.
498 * elf/ldconfig.c (print_version): Likewise.
499 * elf/ldd.bash.in: Likewise.
500 * elf/pldd.c (print_version): Likewise.
501 * elf/sotruss.sh: Likewise.
502 * elf/sprof.c (print_version): Likewise.
503 * iconv/iconv_prog.c (print_version): Likewise.
504 * iconv/iconvconfig.c (print_version): Likewise.
505 * locale/programs/locale.c (print_version): Likewise.
506 * locale/programs/localedef.c (print_version): Likewise.
507 * login/programs/pt_chown.c (print_version): Likewise.
508 * malloc/memusage.sh (do_version): Likewise.
509 * malloc/memusagestat.c (print_version): Likewise.
510 * malloc/mtrace.pl: Likewise.
511 * manual/libc.texinfo: Likewise.
512 * nptl/version.c (banner): Likewise.
513 * nscd/nscd.c (print_version): Likewise.
514 * nss/getent.c (print_version): Likewise.
515 * nss/makedb.c (print_version): Likewise.
516 * posix/getconf.c (main): Likewise.
517 * scripts/test-installation.pl: Likewise.
518 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
519
b8607aac
WN
5202015-01-02 Will Newton <will.newton@linaro.org>
521
522 * sysdeps/arm/armv7/configure: Removed.
523 * sysdeps/arm/armv7/configure.ac: Likewise.
524
b168057a
JM
5252015-01-02 Joseph Myers <joseph@codesourcery.com>
526
527 * All files with FSF copyright notices: Update copyright dates
528 using scripts/update-copyrights.
529 * intl/plural.c: Regenerated.
530 * locale/programs/charmap-kw.h: Likewise.
531 * locale/programs/locfile-kw.h: Likewise.
532
b217c15f
SP
5332015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
534
535 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
536
73a268c7
JM
5372014-12-31 Joseph Myers <joseph@codesourcery.com>
538
539 [BZ #17748]
540 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
541 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
542 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
543 and define as weak alias of __fegetenv. Use libm_hidden_weak.
544 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
545 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
546 define as weak alias of __fegetenv. Use libm_hidden_weak.
547 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
548 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
549 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
550 define as weak alias of __fegetenv. Use libm_hidden_weak.
551 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
552 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
553 define as weak alias of __fegetenv. Use libm_hidden_weak.
554 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
555 libm_hidden_def.
556 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
557 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
558 Likewise.
559 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
560 define as weak alias of __fegetenv. Use libm_hidden_weak.
561 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
562 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
563 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
564 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
565 and define as weak alias of __fegetenv. Use libm_hidden_weak.
566 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
567 __fegetenv instead of fegetenv.
568 (libc_feholdsetround_noex_ctx): Likewise.
569
0bd95672
MF
5702014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
571
572 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
573 (Elf_MIPS_ABIFlags_v0): New structure.
574 (EF_MIPS_FP64): Define.
575 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
576 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
577 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
578 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
579 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
580 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
581 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
582 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
583 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
584 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
585 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
586 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
587 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
588 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
589 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
590 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
591 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
592 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
593 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
594 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
595 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
596 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
597 field.
598 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
599 EF_MIPS_FP64.
600 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
601 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
602 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
603 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
604 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
605 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
606 * sysdeps/mips/tst-abi-interlink.c: Likewise.
607 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
608 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
609 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
610 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
611 record the current FP ABI extension.
612 (mips-mode-switch): Define to show if kernel headers support mode
613 switching.
614 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
615 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
616 supported SYSV ABI version to 3.
617 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
618 feature.
619
f59ad976
RS
6202014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
621 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622
623 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
624 path.
625 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
626
4a3d3999
JM
6272014-12-31 Joseph Myers <joseph@codesourcery.com>
628
629 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
630 __fegetround and redefine to call __fegetround. Remove condition
631 on [!__NO_MATH_INLINES].
632 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
633 function.
634 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
635 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
636 Remove macro.
637 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
638 instead of <fenv_libc.h>.
639 (__llrintl): Call fegetround instead of __fegetround.
640 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
641 instead of <fenv_libc.h>.
642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
643 (__lrintl): Call fegetround instead of __fegetround.
644 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
645 instead of <fenv_libc.h>.
646 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
647 (__rintl): Call fegetround instead of __fegetround.
648
195f3afc
SP
6492014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
650
651 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
652 arrays.
653
7062bd42
L
6542014-12-30 H.J. Lu <hongjiu.lu@intel.com>
655
656 [BZ #17775]
657 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
658 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
659 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
660
07256e18
AS
6612014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
662
663 * sysdeps/i386/tls-macros.h: Include <features.h>.
664 (TLS_LE): Use non-PIC version for GCC >= 5.0.
665 (TLS_IE): Likewise.
666 (TLS_LD): Likewise.
667 (TLS_GD): Likewise.
668 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
669 define for GCC >= 5.0.
670
1ff950ad
CM
6712014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
672
673 * math/test-fenv.c (test_single_exception, set_single_exc,
674 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
675 feexcp_mask_test, feenable_test, fe_single_test): Add
676 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
677 case where they are not used.
678 * math/libm-test.inc: Likewise.
679 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
680 unused in the absence of FP rounding/exception support.
681 * stdio-common/tst-printf-round.c: Likewise.
682 * stdlib/tst-strtod-round.c: Likewise.
683 * stdlib/tst-strtod-underflow.c: Likewise.
684
0747f818
JM
6852014-12-30 Joseph Myers <joseph@codesourcery.com>
686
687 [BZ #17723]
688 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
689 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
690 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
691 __feraiseexcept and define as weak alias of __feraiseexcept. Use
692 libm_hidden_weak.
693 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
694 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
695 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
696 libm_hidden_def.
697 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
698 __feraiseexcept and define as weak alias of __feraiseexcept. Use
699 libm_hidden_weak.
700 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
701 Likewise.
702 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
703 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
704 __feraiseexcept and define as weak alias of __feraiseexcept. Use
705 libm_hidden_weak.
706 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
707 libm_hidden_def.
708 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
709 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
710 (__feraiseexcept): Likewise.
711 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
712 __feraiseexcept and define as weak alias of __feraiseexcept. Use
713 libm_hidden_weak.
714 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
715 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
716 libm_hidden_def.
717 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
718 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
719 Use libm_hidden_def.
720 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
721 libm_hidden_def.
722 (feraiseexcept): Define as weak not strong alias. Use
723 libm_hidden_weak.
724 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
725 New inline function. Factored out of ...
726 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
727 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
728 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
729 feraiseexcept.
730 * math/w_acos.c (__acos): Likewise.
731 * math/w_asin.c (__asin): Likewise.
732 * math/w_ilogb.c (__ilogb): Likewise.
733 * math/w_j0.c (y0): Likewise.
734 * math/w_j1.c (y1): Likewise.
735 * math/w_jn.c (yn): Likewise.
736 * math/w_log.c (__log): Likewise.
737 * math/w_log10.c (__log10): Likewise.
738 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
739 * sysdeps/aarch64/fpu/math_private.h
740 (libc_feupdateenv_test_aarch64): Likewise.
741 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
742 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
743 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
744 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
745 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
746 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
747 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
748 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
749 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
750 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
751
8d2b2763
L
7522014-12-30 H.J. Lu <hongjiu.lu@intel.com>
753
754 [BZ #17732]
755 * io/test-utime.c (main): Replace %ld with %jd and cast to
756 intmax_t.
41fad830 757 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
758 * nptl/tst-mutex5.c: Include <stdint.h>.
759 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
760 * posix/tst-regex.c (run_test): Likewise.
761 (run_test_backwards): Likewise.
5d619de4
L
762 * rt/tst-clock.c: Include <stdint.h>.
763 (clock_test): Replace %ld with %jd and cast to intmax_t.
764 * rt/tst-cpuclock1.c: Include <stdint.h>.
765 (do_test): Replace %lu with %ju and cast to uintmax_t.
766 * rt/tst-cpuclock2.c: Include <stdint.h>.
767 (do_test): Replace %lu with %ju and cast to uintmax_t.
768 * rt/tst-mqueue1.c: Include <stdint.h>.
769 (check_attrs): Replace %ld with %jd and cast to intmax_t.
770 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
771 intmax_t.
772 * rt/tst-mqueue4.c (do_test): Likewise.
773 * rt/tst-timer4.c: Include <stdint.h>.
774 (check_ts): Replace %ld with %jd and cast to intmax_t.
775 (do_test): Likewise.
ad86fbc3
L
776 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
777 and cast to intmax_t.
37f46900 778 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
779 * time/clocktest.c (main): Likewise.
780 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 781 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 782
8b4416d8
AS
7832014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
784 H.J. Lu <hongjiu.lu@intel.com>
785
786 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
787 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
788 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
789 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
790 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
791 version if bit_Fast_Unaligned_Load is set.
792 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
793 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
794 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
795 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
796 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
797 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
799 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
800 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
801 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
802 to 4.
803 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
804 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
805 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
806 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
807
e47b8d3b
CM
8082014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
809
6d6d7fde
CM
810 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
811 instead of #if to avoid a Wundef warning.
812 * stdlib/tst-limits.c (do_test): Likewise.
813
cd2c37c9
CM
814 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
815 parallel other exception macros.
816 (fegetenv): Convert from macro to extern inline so that it applies
817 retroactively to inline functions already seen by the compiler.
818 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
819
e47b8d3b
CM
820 * posix/Makefile (before-compile): Use $(objpfx) for
821 posix-conf-vars-def.h.
822
4a6aca7b
SP
8232014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
824
7910c2ae
SP
825 * posix/getconf.c (main): Use size_t for type of I.
826 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
827 NSPEC.
828
50cbbaa9
SP
829 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
830 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
831 * posix/posix-envs.def: Likewise.
832 * sysdeps/posix/sysconf.c: Likewise.
833 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
834 (specs): Remove array.
835 * scripts/gen-posix-conf-vars.awk: Support generation of specs
836 array.
837
3b566046
SP
838 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
839 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
840 (__sysconf): Use CONF_IS_* macros.
841
4a6aca7b
SP
842 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
843 ($(objpfx)posix-conf-vars-def.h): New target.
844 * posix/posix-conf-vars.list: New file.
845 * posix/posix-conf-vars.h: New file.
846 * posix/confstr.c: Include posix-conf-vars.h.
847 (confstr): Use CONF_IS_* macros.
848 * posix/posix-envs.def: Include posix-conf-vars.h. Use
849 CONF_IS_* macros.
850 * scripts/gen-posix-conf-vars.awk: New file.
851
7c1395a7
CM
8522014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
853
0025b4cc
CM
854 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
855 fegetround): Add no-op macros to avoid linknamespace issues.
856
d8aaf74b
CM
857 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
858 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
859
5d24aa60
CM
860 * sysdeps/unix/sysv/linux/tile/sysdep.h
861 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
862 assembly-specific section to avoid a redefinition warning.
863
7c1395a7
CM
864 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
865 long before casting to pointer to avoid a cast warning.
866
3c87c616
CM
8672014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
868
869 * sysdeps/tile/tilegx/Implies: New file.
870
f559d8cf
RE
8712014-12-23 Richard Earnshaw <rearnsha@arm.com>
872
873 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
874
7d81e8d6
FW
8752014-12-23 Florian Weimer <fweimer@redhat.com>
876
877 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
878
90aa3d09
JM
8792014-12-22 Joseph Myers <joseph@codesourcery.com>
880
881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
882 not define.
883 * sysdeps/unix/sysv/linux/utimes.c: Do not include
884 <kernel-features.h>.
885 (__utimes) [__NR_utimes]: Make code unconditional.
886 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
887 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
888 (__ASSUME_UTIMES): Do not undefine.
889 * sysdeps/unix/sysv/linux/tile/kernel-features.h
890 (__ASSUME_UTIMES): Likewise.
891 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
892 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
893 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
894 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
895
4c0c0e2a
SE
8962014-12-22 Steve Ellcey <sellcey@imgtec.com>
897
898 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
899
0dacd7a3
CM
9002014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
901
b638f96a
CM
902 [BZ #17747]
903 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
904 alias to weak alias for j0l, y0l.
905 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
906 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
907
0dacd7a3
CM
908 [BZ #17746]
909 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
910 conversion.
911
528479c4
SE
9122014-12-22 Steve Ellcey <sellcey@imgtec.com>
913
914 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
915 to zero if not already defined.
916
f56f9124
JM
9172014-12-22 Joseph Myers <joseph@codesourcery.com>
918
919 [BZ #17724]
920 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
921 (__kernel_standard_f): Remove. Moved to k_standardf.c.
922 (__kernel_standard_l): Remove. Moved to k_standardl.c with
923 (char *) casts added.
924 * sysdeps/ieee754/k_standardf.c: New file.
925 * sysdeps/ieee754/k_standardl.c: Likewise.
926 * math/Makefile (libm-support): Remove k_standard.
927 (libm-calls): Add k_standard.
928
8622d556
WD
9292014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
930
931 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
932 Optimize to avoid an unnecessary FPCR read.
933
f3806bdb
WD
9342014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
935
936 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
937 Optimize to reduce FPCR/FPSR accesses.
938
9b47df58
WD
9392014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
940
941 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
942 Call libc_fetestexcept_aarch64.
943
97be3cac
WD
9442014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
945
946 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
947 Call libc_fesetround_aarch64.
948
935ab817
JM
9492014-12-22 Joseph Myers <joseph@codesourcery.com>
950
951 [BZ #17733]
952 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
953 (__bind): Do not define as weak alias.
954 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
955 define.
956 (__getsockname): Do not define as weak alias.
957
cc8623f1
WN
9582014-12-22 Will Newton <will.newton@linaro.org>
959
960 * manual/install.texi: Document that we require bison 2.7
961 or above.
962 * INSTALL: Regenerate.
963 * configure.ac: Use AC_CHECK_PROG_VER instead of
964 AC_PATH_PROG when checking for bison and check for
965 version 2.7 or above.
966 * configure: Regenerate.
967
a19ca65a
CM
9682014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
969
92901170 970 [BZ #17745]
e969965a
CM
971 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
972 * sysdeps/tile/ffsll.c (ffsll): To here.
973
a19ca65a
CM
974 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
975
050f7298
L
9762014-12-21 H.J. Lu <hongjiu.lu@intel.com>
977
978 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
979 if not defined.
980 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
981 definition.
982 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
983 hidden ___tls_get_addr.
984 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
985 hidden __tls_get_addr.
986 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
987 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
988 Likewise.
989
6df5547e
AS
9902014-12-21 Andreas Schwab <schwab@linux-m68k.org>
991
992 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
993 _dl_init call.
994
7432d613
L
9952014-12-21 H.J. Lu <hongjiu.lu@intel.com>
996
997 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
998 from "call _dl_init@PLT".
999 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1000
98fe149e
AK
10012014-12-21 Anders Kaseorg <andersk@mit.edu>
1002
1003 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1004 guarantees.
1005
d12455f5
CM
10062014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1007
1008 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1009
95dee05f
CM
10102014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1011
92901170 1012 [BZ #17744]
95dee05f
CM
1013 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1014 strnlen.
1015
2ef4b74a
SE
10162014-12-19 Steve Ellcey <sellcey@imgtec.com>
1017
1018 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1019 of multu on MIPSr6.
1020 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1021 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1022 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1023 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1024 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1025
10262014-12-19 Steve Ellcey <sellcey@imgtec.com>
1027
1028 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1029 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1030 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1031 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1032 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1033 mips32r6/mips64r6.
1034 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1035
3eb38795
OB
10362014-12-19 Ondřej Bílka <neleai@seznam.cz>
1037
1038 * string/strncat.c (STRNCAT): Simplify implementation.
1039
6d4188dd
DM
10402014-12-19 David S. Miller <davem@davemloft.net>
1041
0d4ba8be
DM
1042 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1043 access the quad as both a long double and as a series of 4 words.
1044
6d4188dd
DM
1045 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1046 link_map->l_info array access.
1047
4ef91cdc
CM
10482014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1049
804c54f7
CM
1050 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1051
4ef91cdc
CM
1052 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1053 * math/atest-exp2.c (TIMEOUT): Likewise.
1054 * math/atest-sincos.c (TIMEOUT): Likewise.
1055
afd176d6
L
10562014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1057
1058 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1059 -Wno-error with -fno-builtin-lround.
1060
a4a43a90
TR
10612014-12-19 Torvald Riegel <triegel@redhat.com>
1062
1063 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1064 Contains futex constants and functions moved over from ...
1065 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1066 <lowlevellock-futex.h>.
1067 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1068 (lll_timedwait_tid): Add comments and parentheses around macro
1069 arguments.
1070
76f71081
TR
10712014-12-19 Torvald Riegel <triegel@redhat.com>
1072
1073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1074 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1075 (__lll_private_flag): Remove.
1076 (lll_futex_wait): Likewise.
1077 (lll_futex_timed_wait): Likewise.
1078 (lll_futex_wake): Likewise.
1079 (lll_futex_requeue): Likewise.
1080 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1081 (__lll_timedwait_tid): Spell out argument names.
1082 (lll_timedwait_tid): Add comments and parentheses around macro
1083 arguments.
1084 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1085 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1086
6b814909
TR
10872014-12-19 Torvald Riegel <triegel@redhat.com>
1088
1089 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1090 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1091 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1092 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1093 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1094 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1095 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1096 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1097 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1098 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1099 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1100 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1101 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1102 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1103 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1104 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1105 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1106 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1107 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1108
9cd4d4ab
L
11092014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 * sysdeps/x86_64/x32/Makefile: New file.
1112
c9c1a2d0
L
11132014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1116 1L with (mp_limb_t) 1.
1117
af102d95
RM
11182014-12-17 Roland McGrath <roland@hack.frob.com>
1119
dd690454
RM
1120 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1121 * nptl/libc_pthread_init.c: ... here.
1122 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1123 * nptl/register-atfork.c: ... here.
1124
74eb826c
RM
1125 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1126 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1127 Use assert_perror to check its return value.
1128 (__gai_create_helper_thread): Likewise.
1129
c9ce306b
RM
1130 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1131
af102d95
RM
1132 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1133
8ac5a76a
JM
11342014-12-17 Joseph Myers <joseph@codesourcery.com>
1135
ea41469b
JM
1136 [BZ #17725]
1137 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1138 __profil_counter.
1139 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1140 Likewise.
1141 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1142 Likewise.
1143 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1144 Likewise.
1145 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1146 (profil_counter): Likewise.
1147 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1148 (profil_counter): Likewise.
1149 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1150 Likewise.
1151 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1152 Likewise.
1153 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1154 (profil_counter): Likewise.
1155 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1156 Likewise.
1157 [!__profil_counter] (profil_counter): Define as weak alias of
1158 __profil_counter.
1159 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1160 (profil_counter): Rename to __profil_counter.
1161 [!__profil_counter] (profil_counter): Define as weak alias of
1162 __profil_counter.
1163 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1164 (profil_counter): Rename to __profil_counter.
1165 [!__profil_counter] (profil_counter): Define as weak alias of
1166 __profil_counter.
1167 * sysdeps/posix/profil.c: Update comment referring to
1168 profil_counter.
1169 (__profil): Use __profil_counter instead of profil_counter.
1170 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1171 __profil_counter. Use __profil_counter_ushort and
1172 __profil_counter_uint in definitions.
1173 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1174 instead of profil_counter_uint and profil_counter_ushort.
1175
8ac5a76a
JM
1176 [BZ #17722]
1177 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1178 define as weak alias of __inet_makeaddr.
1179 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1180 as weak alias of __inet_addr.
1181 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1182 as weak alias of __inet_pton. Use libc_hidden_weak.
1183 * include/arpa/inet.h (__inet_pton): Declare. Use
1184 libc_hidden_proto.
1185 (inet_makeaddr): Don't use libc_hidden_proto.
1186 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1187 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1188 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1189 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1190 Remove variable.
1191 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1192 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1193
66ce3cb1
SE
11942014-12-17 Steve Ellcey <sellcey@imgtec.com>
1195
1196 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1197
d22ce01b
SL
11982014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1199
1200 * stdio-common/bug-vfprintf-nargs.c (do_test):
1201 Cast value to intptr_t to avoid format warning
1202 for usage with PRIdPTR printing macro.
1203
eca2772b
SL
12042014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1205
1206 * libio/tst-widetext.c (do_test):
1207 Use format type %td instead of %Zd for ptrdiff_t
1208 in order to avoid format warning.
1209
bdf079da
AS
12102014-12-17 Andreas Schwab <schwab@suse.de>
1211
1212 * nscd/mem.c (gc): Add size_t cast to match printf format.
1213
3eb5d2fc
RM
12142014-12-16 Roland McGrath <roland@hack.frob.com>
1215
1216 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1217 (init): Apply PTR_MANGLE to pointers before storing them.
1218 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1219 before using them.
1220
d003ada2
JM
12212014-12-16 Joseph Myers <joseph@codesourcery.com>
1222
380292ba
JM
1223 [BZ #17719]
1224 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1225 define as weak alias of __memrchr.
1226 (__memrchr): Do not define as strong alias of memrchr.
1227 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1228 Remove variable.
1229 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1230 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1231 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1232
9a44d530
JM
1233 [BZ #17717]
1234 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1235 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1236 (if_indextoname): Rename to __if_indextoname and define as weak
1237 alias of __if_indextoname. Use libc_hidden_weak.
1238 (if_freenameindex): Rename to __if_freenameindex and define as
1239 weak alias of __if_freenameindex.
1240 (if_nameindex): Rename to __if_nameindex and define as weak alias
1241 of __if_nameindex.
1242 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1243 __if_nametoindex and define as weak alias of __if_nametoindex.
1244 Use libc_hidden_weak.
1245 (if_freenameindex): Rename to __if_freenameindex and define as
1246 weak alias of __if_freenameindex.
1247 (if_nameindex): Rename to __if_nameindex and define as weak alias
1248 of __if_nameindex.
1249 (if_indextoname): Rename to __if_indextoname and define as weak
1250 alias of __if_indextoname. Use libc_hidden_weak.
1251 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1252 __if_nametoindex and define as weak alias of __if_nametoindex.
1253 Use libc_hidden_weak.
1254 (if_freenameindex): Rename to __if_freenameindex and define as
1255 weak alias of __if_freenameindex. Use libc_hidden_weak.
1256 (if_nameindex_netlink): Use __if_freenameindex instead of
1257 if_freenameindex.
1258 (if_nameindex): Rename to __if_nameindex and define as weak alias
1259 of __if_nameindex. Use libc_hidden_weak.
1260 (if_indextoname): Rename to __if_indextoname and define as weak
1261 alias of __if_indextoname. Use libc_hidden_weak.
1262 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1263 libc_hidden_proto.
1264 [!_ISOMAC] (__if_freenameindex): Likewise.
1265 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1266 if_nametoindex.
1267 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1268 variable.
1269 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1270 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1271 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1272 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1273 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1274 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1275 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1276
d003ada2
JM
1277 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1278 Remove variable.
1279 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1280 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1281
a0d424ef
SP
12822014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1283
0cd85520
SP
1284 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1285 subscript above bounds'
1286
a0d424ef
SP
1287 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1288 bounds.
1289
0e426475
AS
12902014-12-16 Arjun Shankar <arjun.is@lostca.se>
1291
8b460906
AS
1292 * libio/tst-fopenloc.c: Use test-skeleton.c.
1293
fa13e15b
AS
1294 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1295 (entry): Rename to ITEM.
1296 (do_test, comp): Adjust.
1297
0e426475
AS
1298 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1299
4f646bce
TR
13002014-12-16 Torvald Riegel <triegel@redhat.com>
1301
1302 * string/tester.c: Include <libc-internal.h>.
1303 (test_memset): Ignore -Wmemset-transposed-args.
1304
a07c4427
TR
13052014-12-16 Torvald Riegel <triegel@redhat.com>
1306
1307 * misc/tst-mntent2.c (do_test): Fix warning.
1308
1469f466
TR
13092014-12-16 Torvald Riegel <triegel@redhat.com>
1310
1311 * elf/tst-unique4lib.cc(a): Mark as used.
1312
11e3417a
FW
13132014-12-16 Florian Weimer <fweimer@redhat.com>
1314
1315 [BZ #17630]
1316 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1317 names.
1318
ae61fc7b
AM
13192014-12-16 Allan McRae <allan@archlinux.org>
1320
1321 * stdio-common/Makefile (tests): Re-add bug26.
1322
363a9899
OB
13232014-12-15 Ondřej Bílka <neleai@seznam.cz>
1324
1325 [BZ #17657]
1326 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1327 static array.
1328
d52c62df
TR
13292014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1330
1331 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1332 (__lll_lock_wait): Likewise.
1333 (__lll_timedlock_wait): Likewise.
1334 (__lll_timedwait_tid): Likewise.
1335 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1336 (__lll_robust_timedlock_wait): Likewise.
1337 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1338 (lll_cond_trylock): Likewise.
1339 (__lll_lock): Likewise.
1340 (__lll_robust_lock): Likewise.
1341 (__lll_cond_lock): Likewise.
1342 (lll_robust_cond_lock): Likewise.
1343 (__lll_timedlock): Likewise.
1344 (__lll_robust_timedlock): Likewise.
1345 (__lll_unlock): Likewise.
1346 (__lll_robust_unlock): Likewise.
1347 (lll_wait_tid): Likewise.
1348 (lll_timedwait_tid): Likewise.
1349
045a6bcd
TR
13502014-12-15 Torvald Riegel <triegel@redhat.com>
1351
1352 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1353
7f786dc1
TR
13542014-12-15 Torvald Riegel <triegel@redhat.com>
1355
1356 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1357
e7e21cba
AZ
13582014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1359
1360 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1361 * stdio-common/tst-sprintf.c: Likewise.
1362
bc89c0fc
TR
13632014-12-15 Torvald Riegel <triegel@redhat.com>
1364
1365 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1366
a5357b7c
JL
13672014-12-15 Jeff Law <law@redhat.com>
1368
1369 [BZ #16617]
1370 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1371 on the heap. (CVE-2012-3406)
1372 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1373 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1374 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1375
3a12c70f
WN
13762014-12-15 Will Newton <will.newton@linaro.org>
1377
1378 * manual/install.texi: Bump required version of texinfo
1379 to 4.7 from 4.5.
1380 * INSTALL: Regenerated.
1381 * configure.ac: Check for makeinfo version 4.7 and above.
1382 * configure: Regenerated.
1383
e4f639e4
RM
13842014-12-12 Roland McGrath <roland@hack.frob.com>
1385
1386 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1387 PREFIX, string constant to insert between directory and name.
1388 * sysdeps/posix/shm_open.c: Update caller.
1389 * sysdeps/posix/shm_unlink.c: Likewise.
1390 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1391 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1392 (SEM_SHM_PREFIX): New macro.
1393 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1394 [$(have-thread-library) = no].
1395 * nptl/Makefile (libpthread-routines): Add shm-directory.
1396 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1397 * sysdeps/nptl/shm-directory.h: New file.
1398 * sysdeps/posix/shm-directory.c
1399 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1400 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1401 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1402 INTERNAL_SYSCALL.
1403 (__where_is_shmfs): Function removed.
1404 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1405 Variables removed.
1406 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1407 Use SHM_GET_NAME.
1408 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1409
1410 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1411 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1412 unconditional for use inside libpthread.
1413 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1414
439c43f6
RM
14152014-12-12 Roland McGrath <roland@hack.frob.com>
1416
c76d1ff5
RM
1417 * nptl/pthread_getaffinity.c: New file.
1418 * nptl/pthread_setaffinity.c: New file.
1419 * nptl/pthread_getname.c: New file.
1420 * nptl/pthread_setname.c: New file.
1421
439c43f6
RM
1422 * nptl/pthread_create.c (START_THREAD_DEFN)
1423 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1424
48e435cd
SL
14252014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1426 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1427
1428 * resolv/res_send.c (send_vc): Disable warning resplen may
1429 be used uninitialized.
1430
9d9c0019
SL
14312014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1432
1433 * nptl/tst-mutex6.c
1434 (ATTR_NULL): New define checks ATTR against NULL.
1435 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1436 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1437
9173840b
JL
14382014-12-11 James Lemke <jwlemke@codesourcery.com>
1439
1440 [BZ #17581]
1441 * malloc/hooks.c
1442 (mem2mem_check): Revert my previous change.
1443 (malloc_check_get_size): Revert my previous change.
1444 (mem2chunk_check): Revert my previous change.
1445
78e21c5d
RM
14462014-12-11 Roland McGrath <roland@hack.frob.com>
1447
1448 * sysdeps/posix/shm-directory.c: New file.
1449 * sysdeps/posix/shm-directory.h: New file.
1450 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1451 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1452 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1453 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1454 Transmute EPERM to EACCES.
1455 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1456 from ...
1457 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1458 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1459
f82c43af
KK
14602014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1461
1462 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1463 pointer and cast to uintptr_t.
1464 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1465 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1466 Add cast to avoid warning.
1467 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1468
fc00cf7b
JM
14692014-12-11 Joseph Myers <joseph@codesourcery.com>
1470
1471 * nptl/semaphore.h: Move to ...
1472 * sysdeps/pthread/semaphore.h: ... here.
1473 * Makefile (installed-headers): Change nptl/semaphore.h to
1474 sysdeps/pthread/semaphore.h.
1475
1c4053db
RM
14762014-12-11 Roland McGrath <roland@hack.frob.com>
1477
73b0c1a1
RM
1478 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1479 generated error format strings.
1480
1c4053db
RM
1481 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1482 -Wformat-extra-args warnings for scanf formats.
1483 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1484 test of zero-length format (duh).
1485 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1486 corner-case scanf format test.
1487 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1488 generated fprintf format string.
1489 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1490 corner-case sprintf format tests.
1491 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1492 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1493 -Wformat-extra-args warnings throughout.
1494 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1495 (CFLAGS-scanf4.c): Likewise.
1496 (CFLAGS-scanf7.c): Likewise.
1497 (CFLAGS-tst-sprintf.c): Likewise.
1498 (CFLAGS-tst-printf.c): Likewise.
1499 (CFLAGS-tst-printfsz.c): Likewise.
1500
47d51f4f
JM
15012014-12-11 Joseph Myers <joseph@codesourcery.com>
1502
a1edbf3c
JM
1503 * include/cpio.h: New file.
1504 * include/fmtmsg.h: Likewise.
1505
47d51f4f
JM
1506 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1507 corresponding format argument to size_t.
1508 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1509 arguments.
1510 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1511 corresponding format argument to size_t.
1512 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1513 arguments.
1514 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1515 corresponding format argument to size_t.
1516 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1517 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1518 (CFLAGS-tst-mbswcs2.c): Likewise.
1519 (CFLAGS-tst-mbswcs3.c): Likewise.
1520 (CFLAGS-tst-mbswcs4.c): Likewise.
1521 (CFLAGS-tst-mbswcs5.c): Likewise.
1522 (CFLAGS-tst-trans.c): Likewise
1523
e9813cfb
RM
15242014-12-11 Roland McGrath <roland@hack.frob.com>
1525
1526 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1527 rather than assuming they won't contain any '%'s.
1528
f627ca82
CM
15292014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1530
1531 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1532 inhibit_loop_to_libcall to avoid recursive calls.
1533 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1534 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1535
7f296942
AZ
15362014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1537
1538 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1539 prototype.
1540
d0276e18
SE
15412014-12-11 Steve Ellcey <sellcey@imgtec.com>
1542
1543 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1544 integer value instead of boolean.
1545
fc56e970
SE
15462014-12-11 Steve Ellcey <sellcey@imgtec.com>
1547
1548 * malloc/malloc.c: Fix powerof2 check.
1549
40e53917
SL
15502014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1551
1552 * locale/programs/locfile.h (maybe_swap_uint32):
1553 Remove inline and add unused attribute.
1554
1ea166df
SL
15552014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1556
9d9c0019 1557 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
1558 Truncating assembler expression to a .long expression.
1559
acf869f4
AS
15602014-12-11 Andreas Schwab <schwab@suse.de>
1561
1562 * elf/rtld.c (struct map_args): Constify str member.
1563 (do_preload): Constify fname argument.
1564
9d969099
AZ
15652014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1568 constants definition.
1569
da5bcaa4
AS
15702014-12-11 Andreas Schwab <schwab@suse.de>
1571
b0a3c164
AS
1572 [BZ #16657]
1573 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1574 FORCE_ELISION instead of DO_ELISION.
1575 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1576 Remove.
1577 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1578 Likewise.
1579
da5bcaa4
AS
1580 * iconvdata/gconv-modules: Remove duplicate entry.
1581
6d248857
WN
15822014-12-11 Will Newton <will.newton@linaro.org>
1583
1584 Merge gettext 0.19.3 into intl/.
1585
1586 This involves a number of cosmetic changes to comments
1587 and ANSI function definitions and prototypes throughout
1588 all the files. The gettext copyright header is used but
1589 with the date ranges taken from the glibc copy.
1590
1591 * NEWS: Add gettext merge to 2.21.
1592 * intl/bindtextdom.c: Switch to gettext copyright.
1593 Use ANSI definitions and prototypes.
1594 Use gl_* locking primitives rather than __libc_* ones.
1595 Use __builtin_expect rather than __glibc_likely/unlikely.
1596 * intl/dcgettext.c: Switch to gettext copyright.
1597 Use ANSI definitions and prototypes.
1598 * intl/dcigettext.c: Switch to gettext copyright.
1599 Use ANSI definitions and prototypes.
1600 (INTDIV0_RAISES_SIGFPE): New define.
1601 Use gl_* locking primitives rather than __libc_* ones.
1602 Include eval-plural.h instead of plural-eval.c.
1603 Use __builtin_expect rather than __glibc_likely/unlikely.
1604 * intl/dcngettext.c: Switch to gettext copyright.
1605 Use ANSI definitions and prototypes.
1606 * intl/dgettext.c: Likewise.
1607 * intl/dngettext.c: Likewise.
1608 * intl/plural-eval.c: Renamed to...
1609 * intl/eval-plural.h: ...this.
1610 * intl/explodename.c: Switch to gettext copyright.
1611 Use ANSI definitions and prototypes.
1612 (_nl_explode_name): Use strchr instead of __rawmemchr.
1613 * intl/finddomain.c: Switch to gettext copyright.
1614 Use ANSI definitions and prototypes.
1615 Use gl_* locking primitives rather than __libc_* ones.
1616 (_nl_find_domain): Use malloc rather than alloca for
1617 allocation of temporary locale name.
1618 * intl/gettext.c: Switch to gettext copyright.
1619 Use ANSI definitions and prototypes.
1620 * intl/gettextP.h: Switch to gettext copyright.
1621 Use ANSI definitions and prototypes.
1622 Use gl_* locking primitives rather than __libc_* ones.
1623 * intl/gmo.h: Switch to gettext copyright.
1624 (struct sysdep_string): Move struct segment_pair outside of
1625 struct definition.
1626 * intl/hash-string.c: Use ANSI definitions and prototypes.
1627 * intl/hash-string.h: Switch to gettext copyright.
1628 Use ANSI definitions and prototypes.
1629 * intl/l10nflist.c: Switch to gettext copyright.
1630 Use ANSI definitions and prototypes.
1631 (_nl_normalize_codeset): Avoid integer overflow.
1632 * intl/loadinfo.h: Switch to gettext copyright.
1633 Use ANSI definitions and prototypes.
1634 (LIBINTL_DLL_EXPORTED): New define.
1635 (PATH_SEPARATOR): New define.
1636 * intl/loadmsgcat.c: Switch to gettext copyright.
1637 * intl/localealias.c: Switch to gettext copyright.
1638 Use ANSI definitions and prototypes.
1639 (_nl_expand_alias): Use PATH_SEPARATOR.
1640 * intl/ngettext.c: Switch to gettext copyright.
1641 Use ANSI definitions and prototypes.
1642 * intl/plural-exp.c: Likewise.
1643 * intl/plural-exp.h: Switch to gettext copyright.
1644 Use ANSI definitions and prototypes.
1645 (struct expression): Move definition of enum operator outside
1646 of struct definition.
1647 * intl/plural.c: Regenerate.
1648 * intl/plural.y: Switch to gettext copyright.
1649 Use ANSI definitions and prototypes.
1650 Port to bison 3.0.
1651 * intl/textdomain.c: Switch to gettext copyright.
1652 Use ANSI definitions and prototypes.
1653 Use gl_* locking primitives rather than __libc_* ones.
1654
48c43298
SE
16552014-12-10 Steve Ellcey <sellcey@imgtec.com>
1656
1657 * debug/warning-nop.c: Add used atrribute.
1658
2b89bce9
JM
16592014-12-10 Joseph Myers <joseph@codesourcery.com>
1660
c153ac9f
JM
1661 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1662
2b89bce9
JM
1663 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1664 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1665 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1666
2cfbdb9a
JM
16672014-12-10 Joseph Myers <joseph@codesourcery.com>
1668 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1669
1670 [BZ #17634]
1671 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1672 Undefine after defining function. Define as weak alias of
1673 __wcschr. Use libc_hidden_weak.
1674 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1675 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1676 (libc_hidden_def): Also define __GI___wcschr alias.
1677 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1678 __wcschr and define as weak alias of __wcschr.
1679 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1680 __wcschr.
1681 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1682 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1683 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1684 libc_hidden_weak. Do not use libc_hidden_def.
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1686 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1687 __GI___wcschr alias.
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1689 [IS_IN (libc)] (wcschr): Define as macro expanding to
1690 __redirect_wcschr.
1691 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1692 [IS_IN (libc)] (__wcschr_power6): Likewise.
1693 [IS_IN (libc)] (__wcschr_power7): Likewise.
1694 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1695 instead of wcschr.
1696 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1697 __libc_wcschr.
1698 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1699 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1700 __wcschr and define as weak alias of __wcschr. Use
1701 libc_hidden_builtin_def.
1702 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1703 as weak alias of __wcschr. Use libc_hidden_weak.
1704 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1705 wcschr.
1706 * time/era.c (_nl_init_era_entries): Likewise.
1707 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1708 variable.
1709 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1710 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1711
1b8bf351
JM
17122014-12-10 Joseph Myers <joseph@codesourcery.com>
1713
1714 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1715 format for long int variable.
1716
f5f46d51
AK
17172014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1718
1719 [BZ #10672]
07008f7d 1720 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
1721 qsort stable.
1722
217a74a8
AS
17232014-12-10 Andreas Schwab <schwab@suse.de>
1724
1725 [BZ #12847]
1726 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1727 user-controlled locks.
1728
aa76a5c7
RE
17292014-12-10 Richard Earnshaw <rearnsha@arm.com>
1730
1731 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1732 register.
1733
2084e7ca
JM
17342014-12-10 Joseph Myers <joseph@codesourcery.com>
1735
a4ecc9eb
JM
1736 * configure.ac (--disable-werror): New configure option.
1737 (enable_werror): New AC_SUBST.
1738 * configure: Regenerated.
1739 * config.make.in (enable-werror): New variable.
1740 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1741 -Wno-error=undef.
1742 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1743 * manual/install.texi (Configuring and compiling): Document
1744 --disable-werror.
1745 * INSTALL: Regenerated.
1746 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1747 (CFLAGS-tst-chk2.c): Likewise.
1748 (CFLAGS-tst-chk3.c): Likewise.
1749 (CFLAGS-tst-chk4.cc): Likewise.
1750 (CFLAGS-tst-chk5.cc): Likewise.
1751 (CFLAGS-tst-chk6.cc): Likewise.
1752 (CFLAGS-tst-lfschk1.c): Likewise.
1753 (CFLAGS-tst-lfschk2.c): Likewise.
1754 (CFLAGS-tst-lfschk3.c): Likewise.
1755 (CFLAGS-tst-lfschk4.cc): Likewise.
1756 (CFLAGS-tst-lfschk5.cc): Likewise.
1757 (CFLAGS-tst-lfschk6.cc): Likewise.
1758
0f88636c
JM
1759 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1760 (main): Disable -Wdeprecated-declarations around calls to
1761 register_printf_function.
1762
c81e9deb
JM
1763 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1764 (do_test): Disable -Wdiv-by-zero around some calls to
1765 fwrite_unlocked and fread_unlocked.
1766
2084e7ca
JM
1767 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1768 (DIAG_POP_NEEDS_COMMENT): Likewise.
1769 (_DIAG_STR1): Likewise.
1770 (_DIAG_STR): Likewise.
1771 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1772 * stdio-common/bug21.c: Include <libc-internal.h>.
1773 (do_test): Disable -Wformat around call to sscanf.
1774 * stdio-common/scanf14.c: Include <libc-internal.h>.
1775 (main): Disable -Wformat around some calls to scanf functions.
1776
df7ecc6b
TR
17772014-12-09 Torvald Riegel <triegel@redhat.com>
1778
1779 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1780
2aa3862e
AZ
17812014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782
1783 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1784 stack variable alignment.
1785
c5c2b7c3
JM
17862014-12-06 Joseph Myers <joseph@codesourcery.com>
1787
1788 [BZ #17682]
1789 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1790 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1791 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1792 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1793 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1794 __getrlimit instead of getrlimit.
1795 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1796 __gettimeofday instead of gettimeofday.
1797 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1798 Likewise.
1799 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1800 Likewise.
1801 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1802 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1803 Remove variable.
1804 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1805 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1806
9752c3cd
AZ
18072014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1810 for wide-character tests.
1811
4bee4cd9
RM
18122014-12-04 Roland McGrath <roland@hack.frob.com>
1813
1814 * io/openat64.c: #include <libc-internal.h>
1815 (__openat64): Prototypify. Use ignore_value on MODE.
1816 * io/openat.c: Likewise.
1817 * misc/reboot.c: #include <libc-internal.h>
1818 (reboot): Prototypify. Use ignore_value on HOWTO.
1819 * misc/ptrace.c: #include <libc-internal.h>
1820 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1821
84dbedb6
JM
18222014-12-04 Joseph Myers <joseph@codesourcery.com>
1823
1824 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1825 XPG4, UNIX98 and XOPEN2K.
1826 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1827 Remove variable.
1828 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1829
b7a3e1c4 18302014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 1831
af50dfc1 1832 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
1833 * libio/iofopen.c: Likewise.
1834 * libio/wfileops.c: Likewise.
1835
fe8b4d98
SP
1836 [BZ #17653]
1837 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1838 offset on EOF.
1839 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1840 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1841 (fgets_func): Function pointer to fgets and fgetws.
1842 (do_ftell_test): Add test to verify ftell value after read
1843 EOF.
1844 (do_test): Set fgets_func.
1845
61b4f792
SP
1846 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1847 O_TRUNC flag for w and w+ modes.
1848 (do_rewind_test): Likewise.
1849 (do_ftell_test): Likewise.
1850 (do_write_test): Likewise.
1851
be349d70
SP
1852 [BZ #17647]
1853 * libio/fileops.c (do_ftell): Seek only when there are
1854 unflushed writes.
1855 * libio/wfileops.c (do_ftell_wide): Likewise.
1856 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1857 test case.
1858 (do_one_test): Call it.
1859
e3d6dba5
JM
18602014-12-03 Joseph Myers <joseph@codesourcery.com>
1861
1862 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1863 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1864 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1865 Remove variable.
1866 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1867 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1868 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1869
7f994279
JM
18702014-12-02 Joseph Myers <joseph@codesourcery.com>
1871
28a91e8f
JM
1872 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1873 Remove variable.
1874 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1875
7f994279
JM
1876 [BZ #17668]
1877 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1878 as weak alias of __getifaddrs. Use libc_hidden_weak.
1879 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1880 __freeifaddrs. Use libc_hidden_weak.
1881 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1882 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1883 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1884 __freeifaddrs. Use libc_hidden_weak.
1885 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1886 __getifaddrs and define as weak alias of __getifaddrs. Use
1887 libc_hidden_weak.
1888 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1889 __freeifaddrs. Use libc_hidden_weak.
1890 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1891 Remove variable.
1892 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1893 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1894
bbe4c142
PJ
18952014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1896
1897 [BZ #17601]
1898 * sysdeps/mips/start.S (__start): Use indirect jump to call
1899 __libc_start_main.
1900
66cadc05
JM
19012014-12-02 Joseph Myers <joseph@codesourcery.com>
1902
909e16d9
JM
1903 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1904
4e0b9016
JM
1905 * nptl/tst-mutex1.c: Include <stdbool.h>.
1906 [!ATTR] (ATTR_NULL): New macro.
1907 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1908 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1909 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1910
b1aff6a4
JM
1911 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1912 to char *.
1913
266865c0
JM
1914 [BZ #17665]
1915 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1916 Change conditional to [__USE_MISC].
1917
84e5e756
JM
1918 [BZ #17664]
1919 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1920 fgets_unlocked.
1921 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1922 __fgets_unlocked.
1923 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1924 fgets_unlocked.
1925 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1926 Remove variable.
1927 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1928 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1929 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1930 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1931 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1932 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1933 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1934 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1935 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1936
66cadc05
JM
1937 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1938
2e8a2de2 19392014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
1940
1941 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1942 Remove strpbrk objects.
1943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1944 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1945 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1946 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1947 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1948 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1949
bb2542e0
AZ
1950 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1951 Remove strcspn objects.
1952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1953 (__libc_ifunc_impl_list): Remove strcspn implementation.
1954 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1955 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1956 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1957 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
1958
1959 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1960 Remove strspn objetcs.
1961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1962 (__libc_ifunc_impl_list): Remove strspn implementation.
1963 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1964 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1965 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1966 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1967
08f1e1d2
JL
19682014-12-01 James Lemke <jwlemke@codesourcery.com>
1969
1970 [BZ #17581]
1971 * malloc/hooks.c
1972 (mem2mem_check): Add a terminator to the chain of checking blocks.
1973 (malloc_check_get_size): Use it here.
1974 (mem2chunk_check): Ditto.
1975
a8a7d7d2
RS
19762014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1977
1978 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1979 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1980
97114a38
CD
19812014-11-29 Carlos O'Donell <carlos@redhat.com>
1982
c8dc1727
CD
1983 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1984
6d03458e
CD
1985 * nptl/nptl-init.c: Include libc-internal.h.
1986 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1987
97114a38
CD
1988 * elf/ldconfig.c (search_dir): Expand comment.
1989
0e7e69ba
JM
19902014-11-29 Joseph Myers <joseph@codesourcery.com>
1991
1992 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1993 variable.
1994 (linknamespace-symlist-stdlibs-tests): Likewise.
1995 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1996 instead of $(objpfx)symlist-stdlibs.
1997 (linknamespace-libs-isoc): New variable.
1998 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1999 (linknamespace-libs-ISO): New variable.
2000 (linknamespace-libs-ISO99): Likewise.
2001 (linknamespace-libs-ISO11): Likewise.
2002 (linknamespace-libs-XPG3): Likewise.
2003 (linknamespace-libs-XPG4): Likewise.
2004 (linknamespace-libs-POSIX): Likewise.
2005 (linknamespace-libs-UNIX98): Likewise.
2006 (linknamespace-libs-XOPEN2K): Likewise.
2007 (linknamespace-libs-POSIX2008): Likewise.
2008 (linknamespace-libs-XOPEN2K8): Likewise.
2009 ($(objpfx)symlist-stdlibs): Replace by
2010 $(linknamespace-symlist-stdlibs-tests). Use
2011 $(linknamespace-libs-$*) as set of libraries.
2012 ($(linknamespace-header-tests)): Update dependencies. Use
2013 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2014 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2015 * conform/linknamespace.pl: Remove comment about considering
2016 definitions of symbols from irrelevant libraries.
2017
d8dd0080
L
20182014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2019
2020 [BZ #13862]
2021 * elf/dl-tls.c: Include <atomic.h>.
2022 (oom): Remove #ifdef SHARED/#endif.
2023 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2024 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2025 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2026 big enough.
2027 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2028 * nptl/Makefile (tests): Add tst-stack4.
2029 (modules-names): Add tst-stack4mod.
2030 ($(objpfx)tst-stack4): New.
2031 (tst-stack4mod.sos): Likewise.
2032 ($(objpfx)tst-stack4.out): Likewise.
2033 ($(tst-stack4mod.sos)): Likewise.
2034 (clean): Likewise.
2035 * nptl/tst-stack4.c: New file.
2036 * nptl/tst-stack4mod.c: Likewise.
2037
167da422
B
20382014-11-27 J. Brown <jb999@gmx.de>
2039
2040 * sysdeps/x86/bits/string.h: Add recent CPUs.
2041
9114625b
JM
20422014-11-27 Joseph Myers <joseph@codesourcery.com>
2043
6b5189eb
JM
2044 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2045 sigblock.
2046
49051f8e
JM
2047 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2048 feof.
2049
9114625b
JM
2050 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2051 variable.
2052
e7300fef
SL
20532014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2054
2055 * nscd/connections.c: Include libc-internal.h because of macro
2056 usage ignore_value.
2057
1721f0a4
SP
20582014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2059
2060 * string/bits/string3.h (__warn_memset_zero_len): Don't
2061 declare for gcc newer than 5.0.
2062 (memset): Don't test for zero-length __LEN for gcc newer than
2063 5.0.
2064
be970916
JM
20652014-11-27 Joseph Myers <joseph@codesourcery.com>
2066
d88548f4
JM
2067 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2068 size_t for %zu format.
2069
be970916
JM
2070 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2071 difference, not %ju.
2072
3b20fd5c
JM
20732014-11-26 Joseph Myers <joseph@codesourcery.com>
2074
8915eace
JM
2075 * include/libc-internal.h (ignore_value): New macro.
2076 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2077 with ignore_value.
2078
f1a5a0e3
JM
2079 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2080 definition.
2081
59ef1715
JM
2082 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2083 pthread_cleanup_push to void *.
2084
a6f3079b
JM
2085 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2086 Undefine.
2087
706688aa
JM
2088 [BZ #16619]
2089 [BZ #16740]
2090 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2091 instead of 1L << 52.
2092
12da14a5
JM
2093 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2094 * libio/bug-rewind2.c (do_test): Likewise.
2095
bd5dadac
JM
2096 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2097 * debug/test-strcpy_chk-ifunc.c: Likewise.
2098 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2099 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2100 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2101 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2102 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2103 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2104 * Rules [$(multi-arch) = no] (tests): Do not filter out
2105 $(tests-ifunc).
2106 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2107 * debug/Makefile (tests-ifunc): Remove variable.
2108 (tests): Do not add $(tests-ifunc).
2109 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2110 (tests): Do not add $(tests-ifunc).
2111 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2112 [TEST_IFUNC]: Remove conditionals.
2113 * string/test-string.h (TEST_IFUNC): Remove macro.
2114 [TEST_IFUNC]: Remove conditionals.
2115
3b20fd5c
JM
2116 * string/test-strchr.c [!WIDE] (L): New macro.
2117 [WIDE] (L): Likewise.
2118 (check1): Use CHAR instead of char. Use L on string and character
2119 constants.
2120
704f7947
AZ
21212014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2122
2123 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2124 tests.
2125 * sysdeps/powerpc/bits/atomic.h
2126 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2127 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2128 (atomic_exchange_and_add_acq): Likewise.
2129 (atomic_exchange_and_add_rel): Likewise.
2130 * sysdeps/powerpc/powerpc32/bits/atomic.h
2131 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2132 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2133 * sysdeps/powerpc/powerpc64/bits/atomic.h
2134 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2135 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2136
cdcb42d7
TR
21372014-11-26 Torvald Riegel <triegel@redhat.com>
2138
2139 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2140 Change synchronization of __sched_fifo_min_prio and
2141 __sched_fifo_max_prio.
2142 * nptl/pthread_mutexattr_getprioceiling.c
2143 (pthread_mutexattr_getprioceiling): Likewise.
2144 * nptl/pthread_mutexattr_setprioceiling.c
2145 (pthread_mutexattr_setprioceiling): Likewise.
2146 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2147 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2148 Likewise.
2149
c82f5c0c
JM
21502014-11-26 Joseph Myers <joseph@codesourcery.com>
2151
2152 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2153 void.
2154
439e1ad6
JM
21552014-11-25 Joseph Myers <joseph@codesourcery.com>
2156
2157 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2158 third argument const.
2159
b1eda10e
PE
21602014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2161
2162 fnmatch: work around GCC compiler warning bug with uninit var
2163 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2164 This works around a bug with x86-64 GCC 4.9.2 and earlier
2165 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2166 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2167 used uninitialized in this function [-Wmaybe-uninitialized]".
2168
bde2667a
JM
21692014-11-25 Joseph Myers <joseph@codesourcery.com>
2170
2171 * posix/bug-regex31.c (main): Return RES not 0.
2172
5fbb5691
AB
21732014-11-25 Anton Blanchard <anton@samba.org>
2174
2175 * sysdeps/powerpc/bits/atomic.h
2176 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2177
467fec0b
BM
21782014-11-24 Sterling Augustine <saugustine@google.com>
2179
2180 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2181
e9ff8efb
RC
21822014-11-24 Ryan Cumming <etaoins@gmail.com>
2183
2184 [BZ #17608]
2185 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2186
9744496f
JM
21872014-11-24 Joseph Myers <joseph@codesourcery.com>
2188
2189 [BZ #17633]
2190 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2191 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2192 variable.
2193 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2194 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2195
6423d475
WD
21962014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2197
2198 * string/strncpy.c (strncpy): Improve performance by using memset.
2199
22002014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2201
2202 * string/strcpy.c (strcpy):
2203 Improve performance by using strlen and memcpy.
2204
5d178c37
LH
22052014-11-24 Leonhard Holz <leonhard.holz@web.de>
2206
2207 * string/strcoll_l.c (get_next_seq): __always_inline.
2208 * string/strcoll_l.c (do_compare): __always_inline.
2209
279bc5b3
SP
22102014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2211
7a9ebfa1
SP
2212 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2213 defined.
2214 * include/mqueue.h: Likewise.
2215 * include/stdlib.h: Likewise.
2216
4f41c682
SP
2217 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2218 (get_null_defines): Adjust.
2219 * sunrpc/Makefile: Adjust comment.
2220 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2221 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2222 (CFLAGS-interp.c): Likewise.
2223 (CFLAGS-ldconfig.c): Likewise.
2224 (CPPFLAGS-.os): Likewise.
2225 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2226 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2227 * extra-modules.mk (extra-modules.mk): Likewise.
2228 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2229 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2230 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2231 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2232 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2233 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2234 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2235 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2236 * iconvdata/Makefile (CPPFLAGS): Likewise.
2237 (cpp-srcs-left): Add libof for all iconvdata routines.
2238 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2239 * include/assert.h: Likewise.
2240 * include/ctype.h: Likewise.
2241 * include/errno.h: Likewise.
2242 * include/libc-symbols.h: Likewise.
2243 * include/math.h: Likewise.
2244 * include/netdb.h: Likewise.
2245 * include/resolv.h: Likewise.
2246 * include/stdio.h: Likewise.
2247 * include/stdlib.h: Likewise.
2248 * include/string.h: Likewise.
2249 * include/sys/stat.h: Likewise.
2250 * include/wctype.h: Likewise.
2251 * intl/l10nflist.c: Likewise.
2252 * libidn/idn-stub.c: Likewise.
2253 * libio/libioP.h: Likewise.
2254 * nptl/libc_multiple_threads.c: Likewise.
2255 * nptl/pthreadP.h: Likewise.
2256 * posix/regex_internal.h: Likewise.
2257 * resolv/res_hconf.c: Likewise.
2258 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2259 * sysdeps/arm/memmove.S: Likewise.
2260 * sysdeps/arm/sysdep.h: Likewise.
2261 * sysdeps/generic/_itoa.h: Likewise.
2262 * sysdeps/generic/symbol-hacks.h: Likewise.
2263 * sysdeps/gnu/errlist.awk: Likewise.
2264 * sysdeps/gnu/errlist.c: Likewise.
2265 * sysdeps/i386/i586/memcpy.S: Likewise.
2266 * sysdeps/i386/i586/memset.S: Likewise.
2267 * sysdeps/i386/i686/memcpy.S: Likewise.
2268 * sysdeps/i386/i686/memmove.S: Likewise.
2269 * sysdeps/i386/i686/mempcpy.S: Likewise.
2270 * sysdeps/i386/i686/memset.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2281 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2287 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2288 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2289 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2290 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2291 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2292 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2293 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2294 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2295 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2298 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2306 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2308 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2311 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2314 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2315 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2318 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2323 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2325 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2326 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2327 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2328 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2329 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2331 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2333 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2334 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2335 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2336 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2337 * sysdeps/posix/closedir.c: Likewise.
2338 * sysdeps/posix/opendir.c: Likewise.
2339 * sysdeps/posix/readdir.c: Likewise.
2340 * sysdeps/posix/rewinddir.c: Likewise.
2341 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2342 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2343 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2344 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2345 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2354 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2369 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2377 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2378 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2380 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2381 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2382 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2383 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2384 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2386 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2387 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2389 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2390 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2392 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2395 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2398 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2399 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2400 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2401 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2403 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2404 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2406 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2408 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2409 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2410 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2411 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2413 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2414 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2415 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2416 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2417 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2418 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2419 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2420 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2423 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2424 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2425 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2427 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2428 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2429 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2430 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2431 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2432 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2433 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2437 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2439 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2440 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2442 * sysdeps/unix/alpha/sysdep.S: Likewise.
2443 * sysdeps/unix/alpha/sysdep.h: Likewise.
2444 * sysdeps/unix/make-syscalls.sh: Likewise.
2445 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2446 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2447 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2448 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2449 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2450 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2451 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2452 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2453 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2454 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2455 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2456 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2457 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2458 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2459 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2460 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2461 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2462 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2463 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2464 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2465 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2466 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2467 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2468 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2469 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2470 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2471 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2474 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2475 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2479 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2481 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2483 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2484 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2485 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2486 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2487 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2488 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2489 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2495 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2496 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2497 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2498 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2499 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2501 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2503 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2504 * sysdeps/x86_64/memcpy.S: Likewise.
2505 * sysdeps/x86_64/memmove.c: Likewise.
2506 * sysdeps/x86_64/memset.S: Likewise.
2507 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2508 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2509 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2510 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2511 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2512 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2513 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2514 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2515 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2516 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2517 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2518 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2519 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2520 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2521 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2523 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2524 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2525 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2526 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2527 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2528 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2529 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2530 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2531 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2532 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2533 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2534 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2535 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2536 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2537 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2538 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2539 * sysdeps/x86_64/strcmp.S: Likewise.
2540
76ca86a5
SP
2541 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2542
a3848485
SP
2543 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2544 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2545 * elf/rtld-Rules: Likewise.
2546 * elf/setup-vdso.h: Likewise.
2547 * include/assert.h: Likewise.
2548 * include/bits/stdlib-float.h: Likewise.
2549 * include/errno.h: Likewise.
2550 * include/sys/stat.h: Likewise.
2551 * include/unistd.h: Likewise.
2552 * sysdeps/aarch64/setjmp.S: Likewise.
2553 * sysdeps/alpha/setjmp.S: Likewise.
2554 * sysdeps/arm/__longjmp.S: Likewise.
2555 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2556 * sysdeps/arm/setjmp.S: Likewise.
2557 * sysdeps/arm/sysdep.h: Likewise.
2558 * sysdeps/generic/_itoa.h: Likewise.
2559 * sysdeps/generic/dl-sysdep.h: Likewise.
2560 * sysdeps/generic/ldsodefs.h: Likewise.
2561 * sysdeps/i386/dl-tls.h: Likewise.
2562 * sysdeps/i386/setjmp.S: Likewise.
2563 * sysdeps/m68k/setjmp.c: Likewise.
2564 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2565 * sysdeps/mach/hurd/opendir.c: Likewise.
2566 * sysdeps/posix/getcwd.c: Likewise.
2567 * sysdeps/posix/opendir.c: Likewise.
2568 * sysdeps/posix/profil.c: Likewise.
2569 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2570 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2571 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2572 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2573 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2574 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2576 * sysdeps/s390/dl-tls.h: Likewise.
2577 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2578 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2579 * sysdeps/sh/sh3/setjmp.S: Likewise.
2580 * sysdeps/sh/sh4/setjmp.S: Likewise.
2581 * sysdeps/unix/alpha/sysdep.h: Likewise.
2582 * sysdeps/unix/arm/sysdep.S: Likewise.
2583 * sysdeps/unix/i386/sysdep.S: Likewise.
2584 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2585 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2586 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2587 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2588 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2589 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2590 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2591 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2592 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2593 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2594 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2595 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2596 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2599 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2603 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2604 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2607 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2608 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2611 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2612 * sysdeps/x86_64/setjmp.S: Likewise.
2613
a109996e
SP
2614 * include/math.h: Use IS_IN instead of IS_IN_libm.
2615 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2616 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2617 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2618 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2619 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2620 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2621 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2622 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2623 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2624 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2625 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2626 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2627 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2628 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2629 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2630 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2631 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2632 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2633 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2634 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2635 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2636 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2637 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2638 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2639 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2640 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2641 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2642 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2643 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2644 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2645 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2646 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2647 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2649 Likewise.
2650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2651 Likewise.
2652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2653 Likewise.
2654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2655 Likewise.
2656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2657 Likewise.
2658 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2659 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2660 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2661 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2662 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2663 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2669 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2670 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2671 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2672 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2673 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2674 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2676 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2677 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2678 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2680 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2681 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2682 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2684 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2685
ce9f10f7
SP
2686 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2687 * nptl/pthreadP.h: Likewise.
2688 * nptl_db/structs.def: Likewise.
2689 * sysdeps/arm/sysdep.h: Likewise.
2690 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2691 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2692 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2693 * sysdeps/unix/alpha/sysdep.h: Likewise.
2694 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2696 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2697 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2698 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2699 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2700 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2701 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2702 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2703 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2704 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2705 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2706 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2707 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2711 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2712 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2715 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2716 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2717 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2718 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2719 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2720
016afc75
SP
2721 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2722 * nptl/pthreadP.h: Likewise.
2723 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2724 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2725 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2726 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2727 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2728 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2729 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2730 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2731 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2732 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2733 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2734 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2736 Likewise.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2738 Likewise.
2739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2741 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2744 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2745 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2746 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2747
9b42a0b3
SP
2748 * dlfcn/dladdr.c: Use IS_IN.
2749 * dlfcn/dladdr1.c: Likewise.
2750 * dlfcn/dlclose.c: Likewise.
2751 * dlfcn/dlerror.c: Likewise.
2752 * dlfcn/dlinfo.c: Likewise.
2753 * dlfcn/dlmopen.c: Likewise.
2754 * dlfcn/dlopen.c: Likewise.
2755 * dlfcn/dlsym.c: Likewise.
2756 * dlfcn/dlvsym.c: Likewise.
2757
85f36372
SP
2758 * include/ifaddrs.h: Use IS_IN.
2759 * inet/check_pf.c: Likewise.
2760 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2761 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2762
fb6784e3
SP
2763 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2764 IS_IN_ldconfig.
2765 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2766 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2767
2886d2d1
SP
2768 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2769 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2770 IS_IN (libc).
2771
9a484857
SP
2772 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2773
a10178bd
SP
2774 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2775 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2776 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2777 * include/libc-symbols.h (IS_IN_LIB): New macro.
2778 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2779 * include/netdb.h: Likewise.
2780 * include/stap-probe.h: Remove all uses of IN_LIB.
2781
279bc5b3
SP
2782 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2783 instead of IN_MODULE.
2784 * include/libc-symbols.h (IN_MODULE): Define using
2785 MODULE_NAME.
2786 (PASTE_NAME, PASTE_NAME1): New macros.
2787 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2788 of IN_LIB.
2789 (STAP_PROBE_ASM): Likewise.
2790
e0cfa510
ST
27912014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2792
2793 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2794 __mach_init in dlopened libc.
2795
34d97d87
MF
27962014-11-22 Mike Frysinger <vapier@gentoo.org>
2797
2798 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2799 * sysdeps/arm/preconfigure: Regenerate.
2800
33cd1f74
RM
28012014-11-21 Roland McGrath <roland@hack.frob.com>
2802
2803 * nptl/pthread_create.c (__pthread_create_2_1): Set
2804 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2805 when copying values from IATTR into PD.
2806
8c230039
WN
28072014-11-21 Will Newton <will.newton@linaro.org>
2808 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2809
6d3db89b
AP
2810 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2811 Refactor inline-asm. Also add comment.
2812
01194ba1
WN
2813 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2814 ElfW macro instead of hardcoded Elf64 types.
2815 (la_aarch64_gnu_pltenter): Likewise.
2816 * sysdeps/aarch64/dl-machine.h
2817 (elf_machine_runtime_setup): Use ElfW(Addr).
2818
8c230039
WN
2819 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2820 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2821 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2822 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2823 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2824 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2825 (R_AARCH64_TLS_DTPMOD): This.
2826 (R_AARCH64_TLS_DTPREL64): Rename to ...
2827 (R_AARCH64_TLS_DTPREL): This.
2828 (R_AARCH64_TLS_TPREL64): Rename to ...
2829 (R_AARCH64_TLS_TPREL): This.
2830 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2831 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2832 R_AARCH64_TLS_TPREL64.
2833 (elf_machine_rela): Likewise.
2834
0d79fa53
TR
28352014-11-21 Torvald Riegel <triegel@redhat.com>
2836
2837 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2838 by setting it to 0. 64b atomics are not supported currently.
2839
b59d114b
AO
28402014-11-21 Alexandre Oliva <aoliva@redhat.com>
2841
2842 [BZ #16469]
2843 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2844 search domain names.
2845
f3d945d5
AO
28462014-11-21 Alexandre Oliva <aoliva@redhat.com>
2847
2848 [BZ #16469]
2849 * NEWS: Update.
2850 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2851 trailing dot.
2852 * posix/tst-getaddrinfo5.c: New.
2853 * posix/Makefile (tests): Add it.
2854
49698902
AO
28552014-11-21 Alexandre Oliva <aoliva@redhat.com>
2856
2857 [BZ #14498]
2858 * NEWS: Fixed.
2859 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2860 after parsing line but before break_if_match.
2861 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2862 if there is a protocol mismatch.
2863
81959214
MS
28642014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2865
2866 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2867 because the potential race is on the user-supplied stream.
2868
7729e0e9
AO
28692014-11-21 Alexandre Oliva <aoliva@redhat.com>
2870
2871 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2872 string literal if not passed a buffer.
2873 * manual/job.texi (ctermid): Update reasoning, note deviation
2874 from posix, suggest mtasurace when not passed a buffer, for
2875 future non-preliminary safety notes.
2876
a4ea5e28
AO
28772014-11-21 Alexandre Oliva <aoliva@redhat.com>
2878
2879 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2880 of not passing it a buffer.
2881 Reported by Peng Haitao.
2882
a2b581cb
AO
28832014-11-21 Alexandre Oliva <aoliva@redhat.com>
2884
2885 * manual/Makefile ($(objpfx)stamp-summary): Require
2886 check-safety.sh to pass.
2887 * manual/check-safety.sh: Wish for verification that every
2888 @deftypefn and @deftypefun is followed by a @safety remark.
2889
f214ff74
RM
28902014-11-20 Roland McGrath <roland@hack.frob.com>
2891
7f0dfae0
RM
2892 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2893
2f531bbb
RM
2894 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2895 PTHREAD_CANCEL_ASYNCHRONOUS.
2896 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2897 send SIGCANCEL.
2898
f214ff74
RM
2899 * nptl/default-sched.h: New file.
2900 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2901 * nptl/pthread_create.c: Include it.
2902 (__pthread_create_2_1): Use collect_default_sched instead of making
2903 Linux syscalls here directly.
2904
e37c91d4
TR
29052014-11-20 Torvald Riegel <triegel@redhat.com>
2906
2907 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2908 __pthread_once): Use C11 atomics.
2909
1eccfecd
TR
29102014-11-20 Torvald Riegel <triegel@redhat.com>
2911
2912 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2913
ff871426
TR
29142014-11-20 Torvald Riegel <triegel@redhat.com>
2915
2916 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2917 atomic_thread_fence_acquire, atomic_thread_fence_release,
2918 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2919 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2920 atomic_compare_exchange_weak_relaxed,
2921 atomic_compare_exchange_weak_acquire,
2922 atomic_compare_exchange_weak_release,
2923 atomic_exchange_acquire, atomic_exchange_release,
2924 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2925 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2926 atomic_fetch_and_acquire,
2927 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2928
1ea339b6
TR
29292014-11-20 Torvald Riegel <triegel@redhat.com>
2930
2931 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2932 USE_ATOMIC_COMPILER_BUILTINS): Define.
2933 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2934 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2935 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2936 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2937 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2938 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2939 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2940 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2941 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2942 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2943 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2944 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2945 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2946 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2947 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2948 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2949 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2950 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2951 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2952 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2953 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2954 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2955 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2956 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2957 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2958 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2959 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2961 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2962 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2963 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2964 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2965 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2966 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2967 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2968 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2969 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2970 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2971 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2972 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2973
cbd463e2
RM
29742014-11-19 Roland McGrath <roland@hack.frob.com>
2975
d960211f
RM
2976 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2977 the sched_priority value here. It was already checked when the user
2978 called pthread_attr_setschedparam.
2979
cbd463e2
RM
2980 * nptl/tst-bad-schedattr.c: New file.
2981 * nptl/Makefile (tests): Add it.
2982
a39208bd
CD
29832014-11-19 Carlos O'Donell <carlos@redhat.com>
2984 Florian Weimer <fweimer@redhat.com>
2985 Joseph Myers <joseph@codesourcery.com>
2986 Adam Conrad <adconrad@0c3.net>
2987 Andreas Schwab <schwab@suse.de>
2988 Brooks <bmoses@google.com>
2989
2990 [BZ #17625]
2991 * wordexp-test.c (__dso_handle): Add prototype.
2992 (__register_atfork): Likewise.
2993 (__app_register_atfork): New function.
2994 (registered_forks): New global.
2995 (register_fork): New function.
2996 (test_case): Add 3 new tests for WRDE_CMDSUB.
2997 (main): Call __app_register_atfork.
2998 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2999 fork count is non-zero fail the test.
3000 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3001 is set.
3002 (parse_dollars): Remove check for WRDE_NOCMD.
3003 (parse_dquote): Likewise.
3004
9cd47470
SP
30052014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3006
130ac68c
SP
3007 * Makeconfig (built-modules): List non-library modules to be
3008 built.
3009 (module-cppflags): Include libc-modules.h for
3010 everything except shlib-versions.v.i.
3011 (CPPFLAGS): Use it.
3012 (before-compile): Add libc-modules.h.
3013 ($(common-objpfx)libc-modules.h,
3014 $(common-objpfx)libc-modules.stmp): New targets.
3015 (common-generated): Add libc-modules.h and libc-modules.stmp.
3016 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3017 * include/libc-symbols.h: Don't include libc-modules.h.
3018 * include/libc-modules.h: Remove file.
3019 * scripts/gen-libc-modules.awk: New script to generate
3020 libc-modules.h.
3021 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3022 Depend on libc-modules.stmp.
3023
286663c3
SP
3024 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3025
9cd47470
SP
3026 * Makeconfig (in-module): Get value of libof set for the
3027 translation unit.
3028 (CPPFLAGS): Use $(in-module).
3029 * Makerules: Don't suffix routine names for nonlib.
3030 * include/libc-modules.h: New file.
3031 * include/libc-symbols.h: Include libc-modules.h
3032 (IS_IN): New macro to replace IS_IN_* macros.
3033 * elf/Makefile: Set libof-* for each routine.
3034 * elf/rtld-Rules: Likewise.
3035 * extra-modules.mk: Likewise.
3036 * iconv/Makefile: Likewise.
3037 * iconvdata/Makefile: Likewise.
3038 * locale/Makefile: Likewise.
3039 * malloc/Makefile: Likewise.
3040 * nss/Makefile: Likewise.
3041 * sysdeps/gnu/Makefile: Likewise.
3042 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3043 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3044 * sysdeps/s390/s390-64/Makefile: Likewise.
3045 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3046 CPPFLAGS for nscd instead of nonlib.
3047
32fed10f
RM
30482014-11-18 Roland McGrath <roland@hack.frob.com>
3049
d71035bd
RM
3050 * nptl/createthread.c: New file.
3051
6540b991
RM
3052 * nptl/createthread.c: Moved ...
3053 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3054
32fed10f
RM
3055 * nptl/createthread.c: Add proper top-line comment.
3056 (do_clone): Folded into ...
3057 (create_thread): ... here. Take new arguments STOPPED_START and
3058 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3059 increment __nptl_threads, do event-reporting logic, do
3060 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3061 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3062 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3063 just send SIGCANCEL.
3064 * nptl/pthread_create.c: Forward-declare create_thread before
3065 including createthread.c.
3066 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3067 declaration, and new macro START_THREAD_SELF to replace argument.
3068 Remove return statement.
3069 (report_thread_creation): New function.
3070 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3071 synchronization logic, and __nptl_nthreads increment here, around
3072 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3073 PD->parent_cancelhandling here, before create_thread. When
3074 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3075 __deallocate_stack, and ENOMEM translation here.
3076
107a5bf0
JM
30772014-11-18 Joseph Myers <joseph@codesourcery.com>
3078
3079 [BZ #17616]
3080 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3081 (mptwo): Rename to __mptwo.
3082 (__inv): Use __mptwo instead of mptwo.
3083 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3084 (mptwo): Rename to __mptwo.
3085 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3086 of mpone and __mptwo instead of mptwo.
3087 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3088 instead of mpone.
3089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3090 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3091 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3092 of mpone and __mptwo instead of mptwo.
3093 (__mpranred): Use __mpone instead of mpone.
3094 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3095 variable.
3096 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3097 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3098 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3099 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3100 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3101 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3102 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3103 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3104 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3105 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3106 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3107 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3108 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3109 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3110 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3111 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3112 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3113 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3114 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3115
3b679ab3
TV
31162014-11-18 Tom de Vries <tom@codesoucery.com>
3117
3118 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3119 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3120
31212014-11-17 Richard Henderson <rth@redhat.com>
3122
3123 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3124 (_FP_PACK_RAW_2): Remove.
3125 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3126 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3127 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3128 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3129 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3130 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3131 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3132 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3133 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3134 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3135 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3136 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3137 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3138 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3139 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3140 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3141
0781a777
RM
31422014-11-14 Roland McGrath <roland@hack.frob.com>
3143
3144 * signal/signal.h [__USE_MISC]
3145 (struct sigvec): Remove type.
3146 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3147 (sigvec): Remove declaration.
3148 * sysdeps/posix/sigvec.c: Moved ...
3149 * signal/sigvec.c: ... here, replacing old file.
3150 (struct sigvec): New type, copied from old signal.h definition.
3151 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3152 (__sigvec): Convert definition to prototype.
3153 (sigvec): Replace weak_alias with compat_symbol.
3154 * signal/Versions (libc: GLIBC_2.21): New version set.
3155 * include/signal.h: Remove __sigvec declaration.
3156 * sysdeps/unix/bsd/sigvec.c: Remove file.
3157 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3158 * manual/signal.texi (BSD Handler): Remove subsection.
3159 Move siginterrupt up to ...
3160 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3161 (Blocking in BSD): Fold subsection into its parent.
3162 * NEWS: Mention sigvec removal.
3163
a4733812
JM
31642014-11-14 Joseph Myers <joseph@codesourcery.com>
3165
5ae4fe60
JM
3166 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3167 (DLA_FMS): Make definition conditional only on [__FMA4__].
3168 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3169 definition.
3170
6a0dd472
JM
3171 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3172 Make definition conditional only on [PROF].
3173 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3174 definition.
3175 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3176 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3177
a4733812
JM
3178 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3179 !__GNUC__].
3180 * include/signal.h (__sigpause): Move declaration above call to
3181 libc_hidden_proto.
3182 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3183 variable.
3184 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3185 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3186
cf7246dd
DM
31872014-11-14 David S. Miller <davem@davemloft.net>
3188
3189 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3190 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3191
c1b0aadc
JM
31922014-11-14 Joseph Myers <joseph@codesourcery.com>
3193
4863355a
JM
3194 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3195 * configure: Regenerated.
3196 * manual/install.texi (Tools for Compilation): Document a
3197 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3198 compiler verified to work.
3199 * INSTALL: Regenerated.
3200
c1b0aadc
JM
3201 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3202 redeclare with asm name.
3203 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3204 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3205 including <string.h>.
3206 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3207 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3208 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3209 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3210 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3212 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3213
2a1cfd94
JM
32142014-11-13 Joseph Myers <joseph@codesourcery.com>
3215
bf438382
JM
3216 * stdlib/strtol.c (__strtol): Use prototype definition.
3217
2a1cfd94
JM
3218 [BZ #17594]
3219 * stdlib/strtol.c (SYM__): New macro.
3220 (SYM__1): Likewise.
3221 (__strtol): Likewise.
3222 (strtol): Rename to __strtol and define as weak alias of
3223 __strtol. Use libc_hidden_weak.
3224
20ed0d26
SL
32252014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3226
3227 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3228 Use numbered labels in inline assembly.
3229
53244a4e
SL
32302014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3231
3232 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3233 Add setjmp LIBC_PROBE.
3234 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3235 Likewise.
3236 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3237 Add longjmp, longjmp_target LIBC_PROBE.
3238 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3239 Likewise.
3240
47df8251
SL
32412014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3242
3243 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3244 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3245 to get rid of unused variable warning.
3246
618cebef
SL
32472014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3248
3249 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3250 Check for unwind_backtrace == NULL only in SHARED case.
3251 (__backchain_backtrace): Compile only in SHARED case.
3252 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3253 Likewise.
3254 (__backchain_backtrace): Declare as static.
3255
c6aab2cb
RM
32562014-11-12 Roland McGrath <roland@hack.frob.com>
3257
3258 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3259 (__libc_multiple_threads_ptr): Variable moved ...
3260 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3261
5a6fa4d7
JM
32622014-11-12 Joseph Myers <joseph@codesourcery.com>
3263
24f4f825
JM
3264 * conform/GlibcConform.pm: New file.
3265 * conform/conformtest.pl: Use GlibcConform module.
3266 * conform/linknamespace.pl: New file.
3267 * conform/list-header-symbols.pl: Likewise.
3268 * conform/Makefile (linknamespace-symlists-base): New variable.
3269 (linknamespace-symlists-tests): Likewise.
3270 (linknamespace-header-base): Likewise.
3271 (linknamespace-header-tests): Likewise.
3272 (tests-special): Add new tests.
3273 ($(linknamespace-symlists-tests)): New rule.
3274 (linknamespace-libs): New variable.
3275 ($(objpfx)symlist-stdlibs): New rule.
3276 ($(linknamespace-header-tests)): Likewise.
3277 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3278 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3279 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3280 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3281 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3282 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3283 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3284 (test-xfail-ISO/math.h/linknamespace): Likewise.
3285 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3286 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3287 (test-xfail-ISO/time.h/linknamespace): Likewise.
3288 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3289 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3290 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3291 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3292 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3293 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3294 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3295 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3296 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3297 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3298 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3299 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3300 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3301 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3302 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3303 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3304 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3305 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3306 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3307 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3308 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3309 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3310 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3311 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3312 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3313 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3314 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3315 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3316 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3317 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3318 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3319 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3320 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3321 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3322 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3323 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3324 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3325 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3326 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3327 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3328 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3329 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3330 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3331 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3332 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3333 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3334 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3335 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3336 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3337 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3338 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3339 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3340 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3341 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3342 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3343 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3344 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3345 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3346 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3347 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3348 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3349 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3350 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3351 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3352 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3353 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3354 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3355 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3356 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3357 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3358 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3359 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3360 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3361 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3362 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3363 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3364 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3365 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3366 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3367 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3368 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3369 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3370 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3371 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3372 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3373 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3374 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3375 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3376 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3377 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3378 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3379 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3380 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3381 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3382 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3383 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3384 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3385 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3386 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3387 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3388 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3389 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3390 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3391 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3392 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3393 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3394 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3395 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3396 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3397 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3398 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3399 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3400 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3401 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3402 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3403 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3404 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3405 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3406 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3407 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3408 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3409 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3410 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3411 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3412 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3413 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3414 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3415 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3416 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3417 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3418 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3419 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3420 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3421 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3422 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3423 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3424 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3425 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3426 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3427 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3428 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3429 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3430 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3431 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3432 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3433 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3434 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3435 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3436 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3437 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3438
cc67478e
JM
3439 [BZ #17589]
3440 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3441 of fgets_unlocked.
3442
9975e3d3
JM
3443 [BZ #17585]
3444 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3445 (memmem): Rename to __memmem and define as weak alias of
3446 __memmem. Use libc_hidden_weak.
3447 (__memmem): Use libc_hidden_def.
3448 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3449 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3450 memmem.
3451
c4eae752
JM
3452 [BZ #17582]
3453 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3454 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3455 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3456 and define as weak alias of __fgets_unlocked. Use
3457 libc_hidden_weak.
3458 (__fgets_unlocked): Use libc_hidden_def.
3459 * include/stdio.h (__fgets_unlocked): Declare. Use
3460 libc_hidden_proto.
3461 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3462 __fgets_unlocked instead of fgets_unlocked.
3463 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3464 (GET_NPROCS_CONF_PARSER): Likewise.
3465 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3466 (GET_NPROCS_CONF_PARSER): Likewise.
3467
01cad84e
JM
3468 [BZ #17574]
3469 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3470 weak alias of __wmemset. Use libc_hidden_weak.
3471 (__wmemset): Use libc_hidden_def.
3472 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3473 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3474 of wmemset.
3475
939da411
JM
3476 [BZ #17573]
3477 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3478 with asm name __mempcpy.
3479 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3480
293d9a41
JM
3481 [BZ #17572]
3482 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3483 and define as weak alias of __rawmemchr.
3484 (__rawmemchr): Do not define as strong alias of rawmemchr.
3485
bef8fd60
JM
3486 [BZ #17571]
3487 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3488 alias of __qsort_r.
3489 (qsort): Call __qsort_r instead of qsort_r.
3490 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3491 (__qsort_r): Declare. Call libc_hidden_proto.
3492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3493 instead of qsort_r.
3494 * nscd/gai.c (__qsort_r): Define to qsort_r.
3495 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3496 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3497 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3498
c52ff39e
JM
3499 [BZ #17570]
3500 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3501 define as weak alias of __malloc_info.
3502
2f5c1b00
JM
3503 [BZ #17584]
3504 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3505 as weak alias of __rewinddir. Don't use libc_hidden_def.
3506 (__rewinddir): Use libc_hidden_def.
3507 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3508 as weak alias of __rewinddir. Don't use libc_hidden_def.
3509 (__rewinddir): Use libc_hidden_def.
3510 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3511 weak alias of __rewinddir. Don't use libc_hidden_def.
3512 (__rewinddir): Use libc_hidden_def.
3513 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3514 (__rewinddir): Use libc_hidden_proto.
3515 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3516 rewinddir.
3517 (__getcwd): Use __rewinddir instead of rewinddir.
3518
5a6fa4d7
JM
3519 [BZ #17583]
3520 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3521 alias of __fileno. Use libc_hidden_weak.
3522 (__fileno): Use libc_hidden_def.
3523 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3524 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3525 alias of __ftello.
3526 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3527 __ftello.
3528 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3529 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3530 libc_hidden_def.
3531 (fread_unlocked): Don't use libc_hidden_ver.
3532 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3533 and define as weak alias of __fread_unlocked. Don't use
3534 libc_hidden_def.
3535 (__fread_unlocked): Use libc_hidden_def.
3536 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3537 (ftello): Don't use libc_hidden_proto.
3538 (__ftello): Declare. Use libc_hidden_proto.
3539 (fread_unlocked): Don't use libc_hidden_proto.
3540 (__fread_unlocked): Declare. Use libc_hidden_proto.
3541 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3542 and __ftello instead of fileno, fread_unlocked and ftello.
3543
2581b98e
SP
35442012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3545
3546 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3547 GOT12.
3548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3549 Likewise.
3550 (_dl_start_user): Likewise.
3551 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3552
533bb7c2
SP
35532014-11-12 Carlos O'Donell <carlos@redhat.com>
3554 Siddhesh Poyarekar <siddhesh@redhat.com>
3555
3556 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3557 Move argv and envp down instead of moving argc up.
3558 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3559
fffa1cf8
LH
35602014-11-12 Leonhard Holz <leonhard.holz@web.de>
3561
3562 [BZ #17506]
3563 * test-skeleton.c (main): Return successful if one of
3564 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3565 * string/tst-strcoll-overflow.c: Define expected status.
3566
fb89b46d
TU
35672014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3568
3569 [BZ #17475]
3570 * locale/iso-639.def: Define Bhili and Tulu language codes.
3571
5c40c3ba
AH
35722014-11-11 Alan Hayward <alan.hayward@arm.com>
3573
3574 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3575
b17fe01b 35762014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
3577
3578 [BZ #17555]
3579 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3580
bd805071
AS
35812014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3582
3583 * configure.ac: Updated check of minimal required version to
3584 2.22.
3585 * manual/install.texi (Tools for Compilation): Updated version
3586 number.
3587 * configure: Regenerated.
3588 * INSTALL: Likewise.
3589
1400983e
AS
35902014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3591
3592 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3593 __tls_get_addr.
3594
2c46a66a
JM
35952014-11-07 Joseph Myers <joseph@codesourcery.com>
3596
3597 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3598 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3599 (__waitpid): Don't define as alias. Use libc_hidden_def not
3600 libc_hidden_weak.
3601 (waitpid): Define as alias of __waitpid.
3602 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3603 __waitpid.
3604 (__waitpid): Don't define as alias. Use libc_hidden_def not
3605 libc_hidden_weak.
3606 (waitpid): Define as alias of __waitpid.
3607 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3608 __libc_waitpid alias.
3609 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3610 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3611 Likewise.
3612 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3614 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3615 alias.
3616 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3617 __waitpid.
3618 (__waitpid): Don't define as alias. Use libc_hidden_def not
3619 libc_hidden_weak.
3620 (waitpid): Define as alias of __waitpid.
3621
da53d6db
CD
36222014-11-06 Carlos O'Donell <carlos@redhat.com>
3623
a2887bdb
CD
3624 * manual/llio.texi: Add comment that write safety has been
3625 fixed in Linux.
3626
da53d6db
CD
3627 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3628 (localplt-build-dso): Add elf/ld.so.
3629 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3630 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3631 and free for ld.so.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3633 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3639 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3640 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3641 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3642 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3643 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3644 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3645 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3646 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3648 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3649
9cf27b8d
JM
36502014-11-05 Joseph Myers <joseph@codesourcery.com>
3651
3652 [BZ #14132]
3653 * include/libc-symbols.h (INTUSE): Remove macro.
3654 (INTDEF): Likewise.
3655 (INTVARDEF): Likewise.
3656 (_INTVARDEF): Likewise.
3657 (INTDEF2): Likewise.
3658 (INTVARDEF2): Likewise.
3659 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3660 rtld_hidden_def instead of INTVARDEF.
3661 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3662 (_dl_starting_up_internal): Remove declaration.
3663 (_dl_starting_up): Use rtld_hidden_proto.
3664 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3665 declaration.
3666 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3667 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3668 _dl_starting_up.
3669 * elf/dl-writev.h (_dl_writev): Likewise.
3670 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3671 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3672 _dl_starting_up_internal.
3673
af83568d
AZ
36742014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675
3676 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3677 test-skeleton.c.
3678
b01ee67c
WN
36792014-11-05 Will Newton <will.newton@linaro.org>
3680
3681 * benchtests/Makefile: (bench-malloc): Add malloc thread
3682 scalability benchmark.
3683 * benchtests/bench-malloc-threads.c: New file.
3684
be9d4ccc
RE
36852014-11-05 Richard Earnshaw <rearnsha@arm.com>
3686
3687 * sysdeps/aarch64/strchrnul.S: New file.
3688
7110166d
AZ
36892014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3690
3691 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3692 definition.
3693 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3694 Likwise.
3695 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3696 Likewise.
3697 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3698 Likewise.
3699 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3700 Likewise.
3701 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3702 Likewise.
3703
37042014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
3705
3706 * catgets/test-gencat.c: Use test-skeleton.c.
3707 * catgets/tst-catgets.c: Likewise.
3708 * csu/tst-empty.c: Likewise.
3709 * elf/tst-audit2.c: Likewise.
3710 * elf/tst-global1.c: Likewise.
3711 * elf/tst-pathopt.c: Likewise.
3712 * elf/tst-piemod1.c: Likewise.
3713 * elf/tst-tls10.c: Likewise.
3714 * elf/tst-tls11.c: Likewise.
3715 * elf/tst-tls12.c: Likewise.
3716 * gnulib/tst-gcc.c: Likewise.
3717 * iconvdata/tst-e2big.c: Likewise.
3718 * iconvdata/tst-loading.c: Likewise.
3719 * iconv/tst-iconv1.c: Likewise.
3720 * iconv/tst-iconv2.c: Likewise.
3721 * inet/test-inet6_opt.c: Likewise.
3722 * inet/tst-gethnm.c: Likewise.
3723 * inet/tst-network.c: Likewise.
3724 * inet/tst-ntoa.c: Likewise.
3725 * intl/tst-codeset.c: Likewise.
3726 * intl/tst-gettext2.c: Likewise.
3727 * intl/tst-gettext3.c: Likewise.
3728 * intl/tst-ngettext.c: Likewise.
3729 * intl/tst-translit.c: Likewise.
3730 * io/test-stat.c: Likewise.
3731 * libio/test-fmemopen.c: Likewise.
3732 * libio/tst-freopen.c: Likewise.
3733 * libio/tst-sscanf.c: Likewise.
3734 * libio/tst-ungetwc1.c: Likewise.
3735 * libio/tst-ungetwc2.c: Likewise.
3736 * libio/tst-widetext.c: Likewise.
3737 * localedata/tst-ctype.c: Likewise.
3738 * localedata/tst-digits.c: Likewise.
3739 * localedata/tst-leaks.c: Likewise.
3740 * localedata/tst-mbswcs1.c: Likewise.
3741 * localedata/tst-mbswcs2.c: Likewise.
3742 * localedata/tst-mbswcs3.c: Likewise.
3743 * localedata/tst-mbswcs4.c: Likewise.
3744 * localedata/tst-mbswcs5.c: Likewise.
3745 * localedata/tst-setlocale.c: Likewise.
3746 * localedata/tst-trans.c: Likewise.
3747 * localedata/tst-wctype.c: Likewise.
3748 * localedata/tst-xlocale1.c: Likewise.
3749 * login/tst-grantpt.c: Likewise.
3750 * malloc/tst-calloc.c: Likewise.
3751 * malloc/tst-malloc.c: Likewise.
3752 * malloc/tst-mallocstate.c: Likewise.
3753 * malloc/tst-mcheck.c: Likewise.
3754 * malloc/tst-mtrace.c: Likewise.
3755 * malloc/tst-obstack.c: Likewise.
3756 * math/atest-exp2.c: Likewise.
3757 * math/atest-exp.c: Likewise.
3758 * math/atest-sincos.c: Likewise.
3759 * math/test-matherr.c: Likewise.
3760 * math/test-misc.c: Likewise.
3761 * math/test-powl.c: Likewise.
3762 * math/tst-definitions.c: Likewise.
3763 * misc/tst-dirname.c: Likewise.
3764 * misc/tst-efgcvt.c: Likewise.
3765 * misc/tst-fdset.c: Likewise.
3766 * misc/tst-hsearch.c: Likewise.
3767 * misc/tst-mntent2.c: Likewise.
3768 * nptl/tst-sem7.c: Likewise.
3769 * nptl/tst-sem8.c: Likewise.
3770 * nptl/tst-sem9.c: Likewise.
3771 * nss/test-netdb.c: Likewise.
3772 * posix/tst-fnmatch.c: Likewise.
3773 * posix/tst-getlogin.c: Likewise.
3774 * posix/tst-gnuglob.c: Likewise.
3775 * posix/tst-mmap.c: Likewise.
3776 * pwd/tst-getpw.c: Likewise.
3777 * resolv/tst-inet_ntop.c: Likewise.
3778 * rt/tst-timer.c: Likewise.
3779 * stdio-common/test-fseek.c: Likewise.
3780 * stdio-common/test-popen.c: Likewise.
3781 * stdio-common/test-vfprintf.c: Likewise.
3782 * stdio-common/tst-cookie.c: Likewise.
3783 * stdio-common/tst-fileno.c: Likewise.
3784 * stdio-common/tst-gets.c: Likewise.
3785 * stdio-common/tst-obprintf.c: Likewise.
3786 * stdio-common/tst-perror.c: Likewise.
3787 * stdio-common/tst-sprintf2.c: Likewise.
3788 * stdio-common/tst-sprintf3.c: Likewise.
3789 * stdio-common/tst-sprintf.c: Likewise.
3790 * stdio-common/tst-swprintf.c: Likewise.
3791 * stdio-common/tst-tmpnam.c: Likewise.
3792 * stdio-common/tst-unbputc.c: Likewise.
3793 * stdio-common/tst-wc-printf.c: Likewise.
3794 * stdlib/tst-environ.c: Likewise.
3795 * stdlib/tst-fmtmsg.c: Likewise.
3796 * stdlib/tst-limits.c: Likewise.
3797 * stdlib/tst-rand48-2.c: Likewise.
3798 * stdlib/tst-rand48.c: Likewise.
3799 * stdlib/tst-random2.c: Likewise.
3800 * stdlib/tst-random.c: Likewise.
3801 * stdlib/tst-strtol.c: Likewise.
3802 * stdlib/tst-strtoll.c: Likewise.
3803 * stdlib/tst-tls-atexit.c: Likewise.
3804 * stdlib/tst-xpg-basename.c: Likewise.
3805 * string/test-ffs.c: Likewise.
3806 * string/tst-bswap.c: Likewise.
3807 * string/tst-inlcall.c: Likewise.
3808 * string/tst-strtok.c: Likewise.
3809 * string/tst-strxfrm.c: Likewise.
3810 * sysdeps/x86_64/tst-audit10.c: Likewise.
3811 * sysdeps/x86_64/tst-audit3.c: Likewise.
3812 * sysdeps/x86_64/tst-audit4.c: Likewise.
3813 * sysdeps/x86_64/tst-audit5.c: Likewise.
3814 * time/tst-ftime_l.c: Likewise.
3815 * time/tst-getdate.c: Likewise.
3816 * time/tst-mktime3.c: Likewise.
3817 * time/tst-mktime.c: Likewise.
3818 * time/tst-posixtz.c: Likewise.
3819 * time/tst-strptime2.c: Likewise.
3820 * time/tst-strptime3.c: Likewise.
3821 * wcsmbs/tst-btowc.c: Likewise.
3822 * wcsmbs/tst-mbrtowc.c: Likewise.
3823 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3824 * wcsmbs/tst-wchar-h.c: Likewise.
3825 * wcsmbs/tst-wcpncpy.c: Likewise.
3826 * wcsmbs/tst-wcrtomb.c: Likewise.
3827 * wcsmbs/tst-wcsnlen.c: Likewise.
3828 * wcsmbs/tst-wcstof.c: Likewise.
3829
2004e7fb
JM
38302014-11-04 Joseph Myers <joseph@codesourcery.com>
3831
ab97ee8f
JM
3832 [BZ #14132]
3833 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3834 INTDEF.
3835 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3836 declaration.
3837 (_dl_mcount): Use rtld_hidden_proto.
3838 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3839 _dl_mcount.
3840 * elf/rtld.c (_rtld_global_ro): Likewise.
3841
c5684fdb
JM
3842 [BZ #14132]
3843 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3844 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3845 of _dl_init_internal.
3846 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3847 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3848 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3849 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3850 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3851 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3852 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3853 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3854 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3855 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3856 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3857 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3858 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3859 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3860 * sysdeps/tile/dl-start.S (_start): Likewise.
3861 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3862 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3863
4243cbea
JM
3864 [BZ #14132]
3865 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3866 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3867 (rtld_progname): Make macro definition unconditional.
3868 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3869 INTDEF.
3870 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3871 (dl_main): Likewise.
3872 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3873 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3874 instead of _dl_argv_internal.
3875 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3876 __GI__dl_argv instead of INTUSE(_dl_argv).
3877 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3878 __GI__dl_argv instead of _dl_argv_internal.
3879
2004e7fb
JM
3880 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3881 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3882 macro.
3883 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3884 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3885 New macro.
3886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3887 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3888 macro.
3889 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3890 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3891
97827bfc
AS
38922014-11-04 Andreas Schwab <schwab@suse.de>
3893
3894 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3895
5e4df284
AZ
38962014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3897
3898 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3899 mtvsrd instruction in binary form.
3900
04b76b5a
AS
39012014-11-03 Andreas Schwab <schwab@suse.de>
3902
3903 [BZ #17522]
3904 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3905 for less than MB_LEN_MAX use a local buffer of that size.
3906 * libio/tst-fputws.c: New file.
3907 * libio/Makefile (tests): Add tst-fputws.
3908
4c6da7da
JM
39092014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3910
3911 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3912 the size of the fpu_fr.fpu_dregs[] array.
3913
1679ba8e
JM
39142014-11-01 Joseph Myers <joseph@codesourcery.com>
3915
3916 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3917 (__nanosleep): Do not define as alias.
3918 (nanosleep): Define as alias of __nanosleep.
3919 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3920 __libc_nanosleep name.
3921
2626c183
JM
39222014-10-31 Joseph Myers <joseph@codesourcery.com>
3923
3924 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3925 install.texi in comment.
3926
7f981fc2
TR
39272014-10-31 Torvald Riegel <triegel@redhat.com>
3928
3929 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3930 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3931 ... add here and use lwsync or sync ...
3932 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3933 ... and add here using lwsync.
3934
d6f373d2
MF
39352014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3936
3937 * elf/dl-machine-reject-phdr.h: New file.
3938 * elf/dl-load.c: #include that.
3939 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3940 if that returned true.
3941
67c37987
RM
39422014-10-31 Roland McGrath <roland@hack.frob.com>
3943
3944 [BZ #17496]
3945 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3946 gen-as-const-headers chunk. Add a big scare comment after the last
3947 safe place to touch before-compile.
3948
94a42455 39492014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 3950
f3f5d895
JM
3951 * manual/install.texi (Tools for Compilation): Update autoconf
3952 version requirements.
3953 * INSTALL: Regenerated.
3954
f62ff286
JM
3955 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3956 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3957 (__libc_pselect): Likewise.
94a42455
JM
3958
3959 [BZ #14138]
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3964
ff9dbdc0
TR
39652014-10-31 Torvald Riegel <triegel@redhat.com>
3966
3967 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3968 correct barrier instruction.
3969 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3970 Likewise.
3971 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3972 Likewise.
3973
b4f66884
RM
39742014-10-30 Roland McGrath <roland@hack.frob.com>
3975
3976 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3977 after defining inlines. Instead, just use parens to defeat macro
3978 expansion of __isctype in its declaration.
3979
e19c95fd
JM
39802014-10-30 Joseph Myers <joseph@codesourcery.com>
3981
3982 * include/sys/uio.h (__libc_readv): Remove declaration.
3983 (__libc_writev): Likewise.
3984 * misc/readv.c (__libc_readv): Rename to __readv.
3985 (__readv): Do not define as alias.
3986 (readv): Define as alias of __readv.
3987 * misc/writev.c (__libc_writev): Rename to __writev.
3988 (__writev): Do not define as alias.
3989 (writev): Define as alias of __writev.
3990 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3991 (__readv): Do not define as alias.
3992 (readv): Define unconditionally as alias of __readv.
3993 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3994 (__writev): Do not define as alias.
3995 (writev): Define unconditionally as alias of __writev.
3996 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3997 name.
3998 (writev): Do not define __libc_writev name.
3999
65b00b6c
RM
40002014-10-30 Roland McGrath <roland@hack.frob.com>
4001
4002 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4003 (convert_charseq): New function, broken out of ...
4004 (use_from_charmap): ... here. Call it.
4005 (use_to_charmap): Use convert_charseq and free instead of duplicating
4006 its code with a variable-length stack struct.
4007
d4e157aa
JM
40082014-10-30 Joseph Myers <joseph@codesourcery.com>
4009
4010 * include/fcntl.h (__libc_creat): Remove declaration.
4011 * io/creat.c (__libc_creat): Rename to creat.
4012 (creat): Do not define as alias.
4013 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4014 of creat instead of __libc_creat.
4015 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4016 to creat.
4017 (creat): Do not define as alias.
4018 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4019 __libc_creat.
4020 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4021 __libc_creat name.
4022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4023 Likewise.
4024
0c6891a0
CD
40252014-10-29 Carlos O'Donell <carlos@redhat.com>
4026
4027 * manual/llio.texi: Add comments discussing why write() may be
4028 considered MT-unsafe on Linux.
4029
cc00cece
CD
40302014-10-28 Carlos O'Donell <carlos@redhat.com>
4031
4032 * dl-load.c (local_strdup): Remove.
4033 (expand_dynamic_string_token): Use __strdup.
4034 (decompose_rpath): Likewise.
4035 (_dl_map_object): Likewise.
4036
51e623f2
JM
40372014-10-28 Joseph Myers <joseph@codesourcery.com>
4038
4039 [BZ #14132]
4040 * sysdeps/generic/unwind-dw2-fde.c
4041 (__register_frame_info_bases_internal): Do not declare.
4042 (__register_frame_info_table_bases_internal): Likewise.
4043 (__deregister_frame_info_bases_internal): Likewise.
4044 (__register_frame_info_bases): Declare and use hidden_proto before
4045 definition. Use hidden_def instead of INTDEF.
4046 (__register_frame_info_table_bases): Likewise.
4047 (__deregister_frame_info_bases): Likewise.
4048 (__register_frame_info): Do not use INTUSE.
4049 (__register_frame): Likewise.
4050 (__register_frame_info_table): Likewise.
4051 (__register_frame_table): Likewise.
4052 (__deregister_frame_info): Likewise.
4053 (__deregister_frame): Likewise.
4054
03d41216
GC
40552014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4056
4057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4058 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4059 not undefine.
4060 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4061 Likewise.
4062 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4063 Likewise.
4064
a4b3624d
JM
40652014-10-27 Joseph Myers <joseph@codesourcery.com>
4066
4067 [BZ #14138]
4068 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4069 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4070 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4071 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4072 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4073 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4074 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4075 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4076 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4077 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4078 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4079 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4080 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4081 syscall.
4082 (setfsuid): Likewise.
4083 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4084 (setfsuid): Likewise.
4085 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4086 (setfsuid): Likewise.
4087 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4088 Likewise.
4089 (setfsuid): Likewise.
4090 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4091 (setfsuid): Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4093 Likewise.
4094 (setfsuid): Likewise.
4095
3574f2fd
AS
40962014-10-27 Andreas Schwab <schwab@suse.de>
4097
4098 [BZ #17501]
4099 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4100 check for Slow_SSE4_2 feature bit.
4101 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4102 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4103 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4104 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4105
70996a37
RM
41062014-10-24 Roland McGrath <roland@hack.frob.com>
4107
461a7b1e
RM
4108 * configure.ac: Validate compiler version with a empirical test of
4109 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4110 $CC -v output.
4111 * configure: Regenerated.
4112
70996a37
RM
4113 * inet/htons.c (htons): Prototypify.
4114 * inet/htonl.c (htonl): Likewise.
4115
e80514b5
WD
41162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4117
4118 * string/strncat.c (strncat): Improve performance by using strlen.
4119
6e46de42
WD
41202014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4121
4122 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4123
6a9ad2fa
WD
41242014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4125
4126 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4127 Call libc_fetestexcept_aarch64.
4128
1c8810ed
WD
41292014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4130
4131 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4132 Call libc_feholdexcept_aarch64.
4133
8b1af712
WD
41342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4135
4136 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4137 Call get_rounding_mode.
4138
a7b00c11
WD
41392014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4140
4141 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4142 Simplify logic.
4143
3a84f1a6
WD
41442014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4145
4146 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4147 Simplify logic.
4148
48eb7a94
JM
41492014-10-24 Joseph Myers <joseph@codesourcery.com>
4150
c8bc4038
JM
4151 [BZ #14138]
4152 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4153 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4154 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4155 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4156 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4157 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4158 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4159 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4160 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4161 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4162 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4163 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4164 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4165 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4166 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4167 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4168 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4169 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4170 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4171 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4172 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4173 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4174 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4175 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4176 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4177 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4178 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4179 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4180 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4181 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4182 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4183 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4184 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4185 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4186 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4190 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4191 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4192 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4193 syscall.
4194 (geteuid): Likewise.
4195 (getgid): Likewise.
4196 (getuid): Likewise.
4197 (getresgid): Likewise.
4198 (getresuid): Likewise.
4199 (getgroups): Likewise.
4200 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4201 (geteuid): Likewise.
4202 (getgid): Likewise.
4203 (getuid): Likewise.
4204 (getresgid): Likewise.
4205 (getresuid): Likewise.
4206 (getgroups): Likewise.
4207 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4208 (geteuid): Likewise.
4209 (getgid): Likewise.
4210 (getuid): Likewise.
4211 (getresgid): Likewise.
4212 (getresuid): Likewise.
4213 (getgroups): Likewise.
4214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4215 Likewise.
4216 (geteuid): Likewise.
4217 (getgid): Likewise.
4218 (getuid): Likewise.
4219 (getresgid): Likewise.
4220 (getresuid): Likewise.
4221 (getgroups): Likewise.
4222 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4223 (geteuid): Likewise.
4224 (getgid): Likewise.
4225 (getuid): Likewise.
4226 (getresgid): Likewise.
4227 (getresuid): Likewise.
4228 (getgroups): Likewise.
4229 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4230 Likewise.
4231 (geteuid): Likewise.
4232 (getgid): Likewise.
4233 (getuid): Likewise.
4234 (getgroups): Likewise.
4235
48eb7a94
JM
4236 [BZ #14138]
4237 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4238 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4239 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4241 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4242 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4243 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4244 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4245 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4246 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4247 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4248 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4249 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4250 __chown.
4251 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4252 (lchown): Likewise.
4253 (fchown): Likewise.
4254 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4255 Likewise.
4256 (lchown): Likewise.
4257 (fchown): Likewise.
4258 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4259 (lchown): Likewise.
4260 (fchown): Likewise.
4261 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4262 Likewise.
4263 (lchown): Likewise.
4264 (fchown): Likewise.
4265
ea9a7c8b
WD
42662014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4267
4268 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4269 Simplify logic.
4270
e226de33
WD
42712014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4272
4273 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4274 Cleanup logic.
4275
6e3d8ed3
WD
42762014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4277
4278 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4279 Remove unused include.
4280
eb04247d
WD
42812014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4282
4283 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4284 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4285 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4286 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4287
13d84554
CD
42882014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4289 Helge Deller <deller@gmx.de>
4290
4291 [BZ #17508]
4292 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4293 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4294 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4295
15f9c5df
JM
42962014-10-23 Joseph Myers <joseph@codesourcery.com>
4297
4298 [BZ #14132]
4299 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4300 Remove macro definition.
4301 (__ashrdi3_v_glibc20): Likewise.
4302 (__lshrdi3_v_glibc20): Likewise.
4303 (__cmpdi2_v_glibc20): Likewise.
4304 (__ucmpdi2_v_glibc20): Likewise.
4305 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4306 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4307 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4308 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4309 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4310 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4311
c6dfed24
RM
43122014-10-22 Roland McGrath <roland@hack.frob.com>
4313
4314 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4315 old GNU extension [0] syntax.
4316 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4317 alloca rather than an array member with variable length.
4318 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4319 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4320 (parse_opt): ... here. Likewise use alloca there.
4321 Validate the -i argument before checking for rootness.
4322 (send_shutdown): New function, broken out of ...
4323 (parse_opt): ... here.
4324
8c2b1ed8
RM
43252014-10-22 Roland McGrath <roland@hack.frob.com>
4326
4327 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4328 macro to get at the _rt_local_ro field.
4329 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4330 ([PIC] case) or _dl_hwcap ([!PIC] case).
4331 * sysdeps/arm/setjmp.S: Likewise.
4332
4333 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4334 * sysdeps/arm/configure.ac: New check to define it.
4335 * sysdeps/arm/configure: Regenerated.
4336 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4337 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4338 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4339 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4340 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4341 Use move/movt pair instead of a load.
4342 (LDST_GLOBAL): Macro removed.
4343 (LDR_GLOBAL): New macro replaces it.
4344 (LDR_HIDDEN): New macro.
4345 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4346 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4347
4348 * setjmp/tst-setjmp-static.c: New file.
4349 * setjmp/Makefile (tests): Add it.
4350 (tests-static): New variable.
4351
b5af9297
MR
43522014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4353
4354 [BZ #17485]
4355 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4356
a13d0d74
JM
43572014-10-21 Joseph Myers <joseph@codesourcery.com>
4358
4359 [BZ #14132]
4360 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4361
f05e73f6
RM
43622014-10-21 Roland McGrath <roland@hack.frob.com>
4363
4364 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4365
6ab1d1ea
RM
43662014-10-20 Roland McGrath <roland@hack.frob.com>
4367
4368 * io/fts.c (dirent_not_directory): New function.
4369 (fts_build): Call it.
4370
ab49e763
RM
43712014-10-20 Roland McGrath <roland@hack.frob.com>
4372
e436eb79
RM
4373 * nptl/version.c (__nptl_main): Use normal __write rather than
4374 INTERNAL_SYSCALL.
4375 (banner): Update copyright years.
4376
6af246cf
RM
4377 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4378 gettimeofday.
4379 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4380 * nptl/pthread_cond_timedwait.c: Likewise.
4381 * nptl/pthread_mutex_timedlock.c: Likewise.
4382 * nptl/sem_timedwait.c: Likewise.
4383
ab49e763
RM
4384 * sysdeps/nptl/bits/libc-lock.h
4385 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4386 (__libc_lock_init_recursive): Return void, not 0.
4387 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4388 (__libc_rwlock_init): Likewise.
4389 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4390
f50277c1
TR
43912014-10-20 Torvald Riegel <triegel@redhat.com>
4392
4393 [BZ #15215]
4394 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4395 (__pthread_once_slow): ... here.
4396 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4397 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4398
63668b70
TR
43992014-10-20 Torvald Riegel <triegel@redhat.com>
4400
4401 [BZ #15215]
4402 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4403 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4404 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4405 * nptl/pthread_once.c (__pthread_once): Likewise.
4406 Update comments.
4407
42b7f5d4
JM
44082014-10-20 Joseph Myers <joseph@codesourcery.com>
4409
4410 [BZ #14138]
4411 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4412 name.
4413 (writev): Use __libc_writev as strong name.
4414 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4415 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4416
b0643088
RM
44172014-10-17 Roland McGrath <roland@hack.frob.com>
4418
114c4e09
RM
4419 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4420
674b8978
RM
4421 * sysdeps/i386/nptl/tls.h
4422 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4423 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4424 New macros.
4425 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4426 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4427 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4428 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4429 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4430 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4431
184ee940
RM
4432 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4433 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4434 on [__NR_futex].
4435 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4436 broken out of ...
4437 (__pthread_mutex_init): ... here. Call it.
4438 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4439 Conditionalize PI cases on [__NR_futex].
4440 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4441 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4442 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4443
327ae257
RM
4444 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4445 conditional on [SIGSETXID].
4446 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4447 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4448 is defined. Likewise for SIGSETXID.
4449 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4450 Conditionalize definitions on [SIGSETXID].
4451 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4452 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4453 unblocking on [SIGCANCEL].
4454
b0643088
RM
4455 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4456 [__NR_set_robust_list].
4457
33cc770b
SP
44582014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4459
4460 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4461 (do_compare): Likewise.
4462
0742aef6
LH
44632014-10-17 Leonhard Holz <leonhard.holz@web.de>
4464
4465 [BZ #15884]
4466 * string/strcoll_l.c: Don't include stdio.h.
4467 (coll_seq): Remove members idxarr and rulearr.
4468 (get_next_seq_cached): Remove function.
4469 (get_next_seq): Likewise.
4470 (get_next_seq_nocache): Rename to get_next_seq.
4471 (do_compare): Remove function.
4472 (do_compare_nocache): Rename to do_compare.
4473 (STRCOLL): Remove weight and rules cache.
4474
ee54ce44
RM
44752014-10-16 Roland McGrath <roland@hack.frob.com>
4476
4477 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4478 * sysdeps/arm/sfp-machine.h: ... to here.
4479 * sysdeps/arm/Implies: Remove arm/soft-fp.
4480
a75d3b02
JM
44812014-10-14 Joseph Myers <joseph@codesourcery.com>
4482
4483 * conform/data/sys/utsname.h-data (*_t): Allow.
4484 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4485 [POSIX] (WEXITED): Do not expect constant.
4486 [POSIX] (WSTOPPED): Likewise.
4487 [POSIX] (WNOHANG): Likewise.
4488 [POSIX] (WNOWAIT): Likewise.
4489 [POSIX] (siginfo_t): Do not expect type or elements.
4490 [POSIX] (pid_t): Do not expect type.
4491 [POSIX] (signal.h): Do not allow header.
4492 [POSIX] (sys/resource.h): Likewise.
4493 [POSIX] (si_*): Do not allow pattern.
4494 [POSIX] (W*): Likewise.
4495 [POSIX] (P_*): Likewise.
4496 [POSIX] (BUS_*): Likewise.
4497 [POSIX] (CLD_*): Likewise.
4498 [POSIX] (FPE_*): Likewise.
4499 [POSIX] (ILL_*): Likewise.
4500 [POSIX] (POLL_*): Likewise.
4501 [POSIX] (SEGV_*): Likewise.
4502 [POSIX] (SI_*): Likewise.
4503 [POSIX] (TRAP_*): Likewise.
4504 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4505 variable.
4506
fda389c8
SP
45072014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4508
4509 [BZ #12926]
4510 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4511 infinite loop when __recvmsg returns 0.
4512
6bc6bd3b
JM
45132014-10-10 Joseph Myers <joseph@codesourcery.com>
4514
fcb32af1
JM
4515 * CANCEL-FCT-WAIVE: Remove file.
4516 * CANCEL-FILE-WAIVE: Likewise.
4517
6bc6bd3b
JM
4518 [BZ #14132]
4519 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4520 instead of INTVARDEF.
4521 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4522 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4523 rtld_hidden_data_def instead of INTVARDEF.
4524 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4525 * elf/dl-deps.c (expand_dst): Likewise.
4526 * elf/dl-load.c (_dl_dst_count): Likewise.
4527 (_dl_dst_substitute): Likewise.
4528 (decompose_rpath): Likewise.
4529 (_dl_init_paths): Likewise.
4530 (open_path): Likewise.
4531 (_dl_map_object): Likewise.
4532 * elf/rtld.c (dl_main): Likewise.
4533 (process_dl_audit): Likewise.
4534 (process_envvars): Likewise.
4535 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4536 Remove declaration.
4537 (__libc_enable_secure): Use rtld_hidden_proto.
4538
b8c80a7e
KS
45392014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4540
4541 * elf/dl-load.c
4542 (add_path): New function broken out of _dl_rtld_di_serinfo.
4543 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4544
ff12c11f
JM
45452014-10-09 Joseph Myers <joseph@codesourcery.com>
4546
5c0508a3
JM
4547 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4548 parentheses around macro arguments.
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 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4567 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4568 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4569 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4570 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4571 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4572 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4573 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4574 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4575 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4576 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4577 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4578 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4579 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4580 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4581 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4582 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4583 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4584 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4585 Likewise.
4586 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4587 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4588 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4589 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4590 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4591 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4592 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4593 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4594 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4595 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4596 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4597 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4598 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4600 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4601 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4602 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4603 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4604 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4605 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4606 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4607 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4608 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4609 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4610 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4611 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4612 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4613 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4614 (_FP_FRAC_SRS_1): Likewise.
4615 (_FP_FRAC_CLZ_1): Likewise.
4616 (_FP_MUL_MEAT_1_imm): Likewise.
4617 (_FP_MUL_MEAT_1_wide): Likewise.
4618 (_FP_MUL_MEAT_1_hard): Likewise.
4619 (_FP_SQRT_MEAT_1): Likewise.
4620 (_FP_FRAC_ASSEMBLE_1): Likewise.
4621 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4622 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4623 (__FP_CLZ_2): Likewise.
4624 (_FP_MUL_MEAT_2_wide): Likewise.
4625 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4626 (_FP_MUL_MEAT_2_gmp): Likewise.
4627 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4628 (_FP_SQRT_MEAT_2): Likewise.
4629 (_FP_FRAC_ASSEMBLE_2): Likewise.
4630 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4631 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4632 (_FP_FRAC_CLZ_4): Likewise.
4633 (_FP_MUL_MEAT_4_wide): Likewise.
4634 (_FP_MUL_MEAT_4_gmp): Likewise.
4635 (_FP_SQRT_MEAT_4): Likewise.
4636 (_FP_FRAC_ASSEMBLE_4): Likewise.
4637 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4638 * soft-fp/op-common.h (_FP_CMP): Likewise.
4639 (_FP_CMP_EQ): Likewise.
4640 (_FP_CMP_UNORD): Likewise.
4641 (_FP_TO_INT): Likewise.
4642 (_FP_FROM_INT): Likewise.
4643 [!__FP_CLZ] (__FP_CLZ): Likewise.
4644 (_FP_DIV_HELP_imm): Likewise.
4645 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4646 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 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4665 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4666 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4667 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4668 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4669 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4670 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4672 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4673 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4674 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4676 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4677 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4678 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4679 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4680 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4681 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4682 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4683 (FP_UNPACK_RAW_SP): Likewise.
4684 (FP_PACK_RAW_S): Likewise.
4685 (FP_PACK_RAW_SP): Likewise.
4686 (FP_UNPACK_S): Likewise.
4687 (FP_UNPACK_SP): Likewise.
4688 (FP_UNPACK_SEMIRAW_S): Likewise.
4689 (FP_UNPACK_SEMIRAW_SP): Likewise.
4690 (FP_PACK_S): Likewise.
4691 (FP_PACK_SP): Likewise.
4692 (FP_PACK_SEMIRAW_S): Likewise.
4693 (FP_PACK_SEMIRAW_SP): Likewise.
4694 (_FP_SQRT_MEAT_S): Likewise.
4695 (FP_CMP_S): Likewise.
4696 (FP_CMP_EQ_S): Likewise.
4697 (FP_CMP_UNORD_S): Likewise.
4698 (FP_TO_INT_S): Likewise.
4699 (FP_FROM_INT_S): Likewise.
4700
a736ec37
JM
4701 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4702
ff12c11f
JM
4703 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4704 (FP_EX_INVALID_IMZ): Likewise.
4705 (FP_EX_INVALID_IMZ_FMA): Likewise.
4706 (FP_EX_INVALID_ISI): Likewise.
4707 (FP_EX_INVALID_ZDZ): Likewise.
4708 (FP_EX_INVALID_IDI): Likewise.
4709 (FP_EX_INVALID_SQRT): Likewise.
4710 (FP_EX_INVALID_CVI): Likewise.
4711 (FP_EX_INVALID_VC): Likewise.
4712 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4713 "invalid" exceptions.
4714 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4715 (_FP_ADD_INTERNAL): Likewise.
4716 (_FP_MUL): Likewise.
4717 (_FP_FMA): Likewise.
4718 (_FP_DIV): Likewise.
4719 (_FP_CMP_CHECK_NAN): Likewise.
4720 (_FP_SQRT): Likewise.
4721 (_FP_TO_INT): Likewise.
4722 (FP_EXTEND): Likewise.
4723
b6dcfe8c
AM
47242014-10-09 Allan McRae <allan@archlinux.org>
4725
4726 * po/fr.po: Update French translation from translation project.
4727
2d6a47ba
JM
47282014-10-09 Joseph Myers <joseph@codesourcery.com>
4729
cb831245
JM
4730 [BZ #14132]
4731 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4732 of INTDEF.
4733 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4734 (__cxa_atexit): Use libc_hidden_proto.
4735 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4736
5deeb190
JM
4737 [BZ #14132]
4738 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4739 declaration.
4740 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4741 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4742 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4743 [!_ISOMAC] (__iswctype_internal): Likewise.
4744 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4745 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4746 alias.
4747 (fcntl): Remove __fcntl_internal alias.
4748 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4749 __connect_internal alias.
4750 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4751 Likewise.
4752
454ac701
JM
4753 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4754 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4755 FP_DENORM_ZERO.
4756 (_FP_CHECK_FLUSH_ZERO): New macro.
4757 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4758 (_FP_CMP): Likewise.
4759 (_FP_CMP_EQ): Likewise.
4760 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4761 FP_DENORM_ZERO.
4762 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4763 (FP_TRUNC): Likewise.
4764
0022e688
JM
4765 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4766 treated as invalid conversion, not as normal exponent.
4767
73e28d9c
JM
4768 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4769 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4770 (_FP_CMP_EQ): Likewise.
4771 (_FP_CMP_UNORD): Likewise.
4772 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4773 (FP_CMP_EQ_D): Likewise.
4774 (FP_CMP_UNORD_D): Likewise.
4775 * soft-fp/extended.h (FP_CMP_E): Likewise.
4776 (FP_CMP_EQ_E): Likewise.
4777 (FP_CMP_UNORD_E): Likewise.
4778 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4779 (FP_CMP_EQ_Q): Likewise.
4780 (FP_CMP_UNORD_Q): Likewise.
4781 * soft-fp/single.h (FP_CMP_S): Likewise.
4782 (FP_CMP_EQ_S): Likewise.
4783 (FP_CMP_UNORD_S): Likewise.
4784 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4785 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4786 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4787 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4788 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4789 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4790 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4791 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4792 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4793 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4794 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4795 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4796 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4797 to FP_CMP_Q.
4798 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4799 FP_CMP_Q.
4800 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4801 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4802 FP_CMP_EQ_Q.
4803 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4804 FP_CMP_Q.
4805 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4806 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4807 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4808 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4809 FP_CMP_EQ_Q.
4810 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4811 FP_CMP_Q.
4812 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4813 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4814 FP_CMP_EQ_Q.
4815 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4816 FP_CMP_Q.
4817 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4818 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4819 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4820 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4821 FP_CMP_EQ_Q.
4822
43059f42
JM
4823 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4824 a subnormal result, set the underflow exception if trapping on
4825 underflow is enabled.
4826 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4827 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4828 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4829 redefine to 0.
4830 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4831 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4832 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4833 * soft-fp/extendxftf2.c (__extendxftf2): Use
4834 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4835
2d6a47ba
JM
4836 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4837 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4838 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4839 FP_HANDLE_EXCEPTIONS.
4840 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4841 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4842 FP_HANDLE_EXCEPTIONS.
4843 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4844 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4845 FP_HANDLE_EXCEPTIONS.
4846 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4847 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4848 FP_HANDLE_EXCEPTIONS.
4849
620f462e
JM
48502014-10-08 Joseph Myers <joseph@codesourcery.com>
4851
4852 [BZ #14132]
4853 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4854 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4855 use INTUSE.
4856 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4857 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4858 Remove alias.
4859 (__adjtimex): Define using libc_hidden_ver.
4860 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4861 Remove declaration.
4862 (ntp_gettime): Call __adjtimex directly.
4863 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4864 Remove declaration.
4865 (ntp_gettimex): Call __adjtimex directly.
4866 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4867 __adjtimex_internal alias.
4868
c763c5d2
RM
48692014-10-08 Roland McGrath <roland@hack.frob.com>
4870
4871 [BZ #17460]
4872 * nscd/nscd.c (more_help): Rewrite list of tables collection
4873 using xstrdup and asprintf.
4874
4875 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4876
7b8fb2b8
RM
48772014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4878 Roland McGrath <roland@hack.frob.com>
4879
4880 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4881 (do_lookup_unique): ... local function 'enter' here; update callers.
4882
abb280f7
JM
48832014-10-06 Joseph Myers <joseph@codesourcery.com>
4884
f7b42517
JM
4885 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4886 compat_symbol calls on [SHARED].
4887 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4888 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4889 Remove.
4890 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4891 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4892 (oldsetrlimit): Remove.
4893 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4895 (lchown): New syscall entry.
4896 (oldsetrlimit): Remove.
4897 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4899 (oldsetrlimit): Remove.
4900 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4901
abb280f7
JM
4902 [BZ #14138]
4903 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4904 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4905 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4906 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4907 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4908 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4909 (fchown): Likewise.
4910 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4911 (fchown): Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4913 Likewise.
4914
47d46237
AZ
49152014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916
4917 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4918 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4919 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4920 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4921 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4922 Likewise.
4923 (__old_sem_post): Likewise.
4924
49252014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 4926
845a7343
CM
4927 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4928 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4929 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4930 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4931 Use INLINE_VSYSCALL macro.
4932 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4933 __vdso_clock_gettime.
4934 * sysdeps/unix/sysv/linux/tile/init-first.c
4935 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4936 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4937 __vdso_clock_gettime.
4938
83d641ef
CM
4939 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4940 to set up frame more cleanly.
4941
d9cd52e6
CM
4942 * sysdeps/tile/memcmp.c: New file.
4943
4b68ea11
CM
4944 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4945
c86f7b80
CM
4946 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4947 * sysdeps/tile/tilegx/strcasestr.c: New file.
4948 * sysdeps/tile/tilegx/strnlen.c: New file.
4949 * sysdeps/tile/tilegx/strstr.c: New file.
4950
1c4c1a6f
CM
4951 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4952
99d86ea3
AS
49532014-10-06 Arjun Shankar <arjun.is@lostca.se>
4954
4955 * nptl/tst-setuid3.c: Write errors to stdout.
4956
06210a44
KS
49572014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4958
4959 * elf/dl-deps.c
4960 (preload): New functions broken out of _dl_map_object_deps.
4961 (_dl_map_object_deps): Remove a nested function. Update call sites.
4962
6268f532
JM
49632014-10-01 Joseph Myers <joseph@codesourcery.com>
4964
4965 [BZ #14138]
4966 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4967 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4968
b925285f
SE
49692014-10-01 Steve Ellcey <sellcey@mips.com>
4970
4971 * sysdeps/mips/strcmp.S: New.
4972
754a15c6
JM
49732014-09-30 Joseph Myers <joseph@codesourcery.com>
4974
4975 [BZ #14138]
4976 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4977 (linkat): Likewise.
4978 (mkdirat): Likewise.
4979 (readlinkat): Likewise.
4980 (renameat): Likewise.
4981 (symlinkat): Likewise.
4982 (unlinkat): Likewise.
4983 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4984 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4985 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4986 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4987 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4988 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4989 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4990
85bb81c9
WN
49912014-09-30 Will Newton <will.newton@linaro.org>
4992
dc6fe23b
WN
4993 * math/math.h: Define long double math functions if
4994 _LIBC_TEST is defined.
4995 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4996
85bb81c9
WN
4997 * localedata/Makefile: Move assignment to tests-special
4998 into an ifdef testing run-built-tests.
4999 * timezone/Makefile: Likewise.
5000
b7e02da4
JM
50012014-09-29 Joseph Myers <joseph@codesourcery.com>
5002
5003 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5004 with $(BASH) not $(SHELL).
5005
62058ce6
CD
50062014-09-29 Carlos O'Donell <carlos@redhat.com>
5007 Matthew LeGendre <legendre1@llnl.gov>
5008
5009 [BZ #17411]
5010 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5011 l_reloc_result.
5012
8e257a29
KS
50132014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5014
5015 * stdio-common/printf_fp.c
5016 (hack_digit): New function, broken out of ...
5017 (__printf_fp): ... local function here. Update call sites.
5018 hack_digit now takes an additional parameter that is a pointer
5019 to a struct of the referenced locals. Those locals moved inside
5020 the struct and references updated.
5021
f4a58f0d
L
50222014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5023
5024 * aclocal.m4: Require autoconf 2.69.
5025 * configure: Regenerated.
5026 * sysdeps/aarch64/configure: Likewise.
5027 * sysdeps/alpha/configure: Likewise.
5028 * sysdeps/arm/armv7/configure: Likewise.
5029 * sysdeps/arm/configure: Likewise.
5030 * sysdeps/ia64/configure: Likewise.
5031 * sysdeps/mach/configure: Likewise.
5032 * sysdeps/mips/configure: Likewise.
5033 * sysdeps/s390/configure: Likewise.
5034 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5036
5037 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5038 file.
5039 * sysdeps/ia64/configure.ac: Likewise.
5040
93ae1eba
JM
50412014-09-26 Joseph Myers <joseph@codesourcery.com>
5042
1810d3ab
JM
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5044 specify symbol version for ld.so. Do not include entry for
5045 libpthread.
5046 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5047 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5048 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5049
93ae1eba
JM
5050 [BZ #14171]
5051 * Makeconfig [$(build-shared) = yes]
5052 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5053 makefiles.
5054 [$(build-shared) = yes && $(soversions.mk-done) = t]
5055 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5056 [$(build-shared) = yes && $(soversions.mk-done) = t]
5057 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5058 to Makerules.
5059 [$(build-shared) = yes && $(soversions.mk-done) = t]
5060 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5061 here.
5062 [$(build-shared) = yes && $(soversions.mk-done) = t]
5063 (common-generated): Don't append gnu/lib-names.h and
5064 gnu/lib-names.stmp here.
5065 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5066 (lib-names-h-abi): New variable.
5067 [$(build-shared) = yes && $(soversions.mk-done) = t]
5068 (lib-names-stmp-abi): Likewise.
5069 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5070 abi-variants] (before-compile): Append
5071 $(common-objpfx)$(lib-names-h-abi).
5072 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5073 abi-variants] (common-generated): Append gnu/lib-names.h.
5074 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5075 abi-variants] (install-others-nosubdir): Depend on
5076 $(inst_includedir)/$(lib-names-h-abi).
5077 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5078 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5079 [$(build-shared) = yes && $(soversions.mk-done) = t]
5080 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5081 [$(build-shared) = yes && $(soversions.mk-done) = t]
5082 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5083 [$(build-shared) = yes && $(soversions.mk-done) = t]
5084 (common-generated): Append $(lib-names-h-abi) and
5085 $(lib-names-stmp-abi).
5086 * scripts/lib-names.awk: Do not handle multi being set.
5087 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5088 Remove variable.
5089 (abi-lp64_be-ld-soname): Likewise.
5090 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5091 Likewise.
5092 (abi-hard-ld-soname): Likewise.
5093 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5094 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5095 Remove variable.
5096 (abi-o32_hard-ld-soname): Likewise.
5097 (abi-o32_soft_2008-ld-soname): Likewise.
5098 (abi-o32_hard_2008-ld-soname): Likewise.
5099 (abi-n32_soft-ld-soname): Likewise.
5100 (abi-n32_hard-ld-soname): Likewise.
5101 (abi-n32_soft_2008-ld-soname): Likewise.
5102 (abi-n32_hard_2008-ld-soname): Likewise.
5103 (abi-n64_soft-ld-soname): Likewise.
5104 (abi-n64_hard-ld-soname): Likewise.
5105 (abi-n64_soft_2008-ld-soname): Likewise.
5106 (abi-n64_hard_2008-ld-soname): Likewise.
5107 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5108 Likewise.
5109 (abi-64-v2-ld-soname): Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5111 ld.so entries.
5112 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5113 variable.
5114 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5115 entry.
5116 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5117 variable.
5118 (abi-64-ld-soname): Likewise.
5119 (abi-x32-ld-soname): Likewise.
5120 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5121 entry.
5122 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5123
68870f12
JM
51242014-09-23 Joseph Myers <joseph@codesourcery.com>
5125
5126 [BZ #14138]
5127 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5128 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5129 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5131 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5132 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5133 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5134 syscall entry for GLIBC_2.2 symbol version.
5135 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5136 Likewise.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5138 (setrlimit): Likewise.
5139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5140 Likewise.
5141
ea58f202
WN
51422014-09-23 Will Newton <will.newton@linaro.org>
5143
5144 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5145 _LINUX_ARM_SYSDEP_H include guard too.
5146 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5147 define.
5148
69eb9a18
RV
51492014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5150
5151 * sysdeps/unix/sysv/linux/eventfd.c:
5152 Make first argument unsigned.
5153 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5154 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5155
20e5a5f7
OB
51562014-09-20 Ondřej Bílka <neleai@seznam.cz>
5157
5158 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5159 * socket/sys/socket.h: Likewise
5160 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5161
d3c827e7
AK
51622014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5163
5164 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5165
fe1cc35a
AS
51662014-09-17 Arjun Shankar <arjun.is@lostca.se>
5167
5168 * time/tst-ftime.c: New test.
5169 * time/Makefile (tests): Add tst-ftime.
5170
4e8afe69
JM
51712014-09-17 Joseph Myers <joseph@codesourcery.com>
5172
c4fe3ea7
JM
5173 * soft-fp/extended.h: Fix comment formatting.
5174 * soft-fp/op-1.h: Likewise.
5175 * soft-fp/op-2.h: Likewise.
5176 * soft-fp/op-4.h: Likewise.
5177 * soft-fp/op-8.h: Likewise.
5178 * soft-fp/op-common.h: Likewise.
5179 * soft-fp/soft-fp.h: Likewise.
5180
4e8afe69
JM
5181 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5182
af296fcd
JM
51832014-09-16 Joseph Myers <joseph@codesourcery.com>
5184
5185 [BZ #6652]
5186 * Makeconfig (soversions-default-setname): Remove variable.
5187 ($(common-objpfx)soversions.i): Don't pass default_setname to
5188 soversions.awk.
5189 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5190 oldest_abi to abi-versions.awk.
5191 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5192 * config.make.in (oldest-abi): Remove variable.
5193 * configure.ac (--enable-oldest-abi): Remove configure option.
5194 * configure: Regenerated.
5195 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5196 text.
5197 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5198 * scripts/soversions.awk: Do not handle default_setname variable.
5199 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5200 variable.
5201 * sysdeps/mach/hurd/configure: Regenerated.
5202 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5203 variable.
5204 * sysdeps/unix/sysv/linux/configure: Regenerated.
5205
545583d6
SP
52062014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
d330b980
SP
5208 * elf/Makefile (CFLAGS-interp.c): Remove.
5209 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5210 path string.
5211 * elf/interp.c: Include generated runtime-linker.h
5212
02657da2
SP
5213 * Makerules (lib%.so): Don't include $(+interp) in
5214 prerequisites.
5215 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5216 * dlfcn/eval.c: Remove file.
5217
653b1080
SP
5218 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5219 macros.
5220
602f80ec
SP
5221 [BZ #17266]
5222 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5223 4.2 and newer.
5224
545583d6
SP
5225 [BZ #17370]
5226 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5227
884ddc50
SP
52282014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5229 Jakub Jelinek <jakub@redhat.com>
5230
5231 [BZ #17266]
5232 * libio/stdio.h: Check definition of __fortify_function
5233 instead of __extern_always_inline to include bits/stdio2.h.
5234 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5235 check if __extern_always_inline is defined.
5236 [__USE_MISC || __USE_XOPEN]: Likewise.
5237 [__USE_ISOC99] Likewise.
5238 * misc/sys/cdefs.h (__fortify_function): Define only if
5239 __extern_always_inline is defined.
5240 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5241 __extern_always_inline and __extern_inline only for g++-4.3
5242 and newer or a compatible gcc.
5243
a7b87268
AS
52442014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5245
5246 [BZ #17371]
5247 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5248 last change to handle zero prefix length.
5249
3f41521d
SP
52502014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5251
61fe374a
SP
5252 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5253 _SC_REGEX_VERSION.
5254
3f41521d
SP
5255 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5256 _POSIX_RAW_SOCKETS.
5257
d8f879ee
AM
52582014-09-13 Allan McRae <allan@archlinux.org>
5259
5260 * po/ru.po: Update Russian translation from translation project.
5261
c079afb7
RM
52622014-09-12 Roland McGrath <roland@hack.frob.com>
5263
a62b3c15
RM
5264 * locale/programs/locale.c (show_locale_vars): Inline local function
5265 into its sole call site. Clean up some style nits.
5266 (print_item): New function, broken out of ...
5267 (show_info): ... local function here. Clean up style nits.
5268
d7e49b19
RM
5269 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5270 out of ...
5271 (set_class_defaults): ... local function set_default here.
5272 Define set_default as a macro locally to pass constant parameters.
5273 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5274 rather than a shared local.
5275
c079afb7
RM
5276 * stdlib/rpmatch.c (try): New function, broken out of ...
5277 (rpmatch): ... local function here. Also, prototypify definition.
5278
0bd72468
JM
52792014-09-12 Joseph Myers <joseph@codesourcery.com>
5280
ba90e050
JM
5281 * scripts/soversions.awk: Do not handle configuration names.
5282 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5283 vendor and os variables to soversions.awk.
5284 * configure.ac: Do not modify gnu-* host_os.
5285 * configure: Regenerated
5286 * shlib-versions: Remove first column with configuration names.
5287 * nptl/shlib-versions: Likewise.
5288 * nptl_db/shlib-versions: Likewise.
5289 * sysdeps/hppa/shlib-versions: Likewise.
5290 * sysdeps/m68k/shlib-versions: Likewise.
5291 * sysdeps/mach/hurd/shlib-versions: Likewise.
5292 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5293 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5294 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5295 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5296 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5297 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5298 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5299 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5301 Likewise.
5302 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5303 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5304 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5305 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5307 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5308 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5309 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5310
73a39112
JM
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5312 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5314 Regenerated.
5315 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5317 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5318
c729e7c1
JM
5319 * shlib-versions: Remove OS-specific entries. Moved to files in
5320 sysdeps.
5321 * sysdeps/mach/hurd/shlib-versions: New file.
5322 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5323
dc932a24
JM
5324 * nptl/shlib-versions: Remove architecture-specific entries.
5325 Moved to files in sysdeps.
5326 * shlib-versions: Likewise.
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5328 file.
5329 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5330 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5332 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5333
0bd72468
JM
5334 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5335 (UDP_NO_CHECK6_RX): Likewise.
5336
920238e0
SP
53372014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5338
5339 * sysdeps/posix/sysconf.c (__sysconf): Spell
5340 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5341
ba7b4d29
FW
53422014-08-12 Florian Weimer <fweimer@redhat.com>
5343
5344 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5345 loading.
5346 * iconv/Versions (__gconv_transliterate): Export for use from
5347 gconv modules.
5348 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5349 (struct __gconv_trans_data, __gconv_trans_fct,
5350 __gconv_trans_context_fct, __gconv_trans_query_fct,
5351 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5352 definitions.
5353 (struct __gconv_step_data): Remove __trans member.
5354 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5355 longer hidden. Remove unused trans_data argument.
5356 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5357 (__gconv_translit_find): Remove declaration.
5358 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5359 prototype.
5360 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5361 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5362 trans_data argument. Add hidden definition.
5363 (__gconv_translit_find): Remove.
5364 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5365 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5366 * iconv/skeleton.c: Remove transliteration initialization.
5367 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5368 __gconv_step_data initialization.
5369 * libio/iofwide.c (__libio_translit_): Remove.
5370 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5371 * wcsmbs/btowc.c (__btowc): Likewise.
5372 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5373 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5374 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5375 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5376 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5377 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5378 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5379 * wcsmbs/wctob.c (wctob): Likewise.
5380
5379aebd
SP
53812014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5382
5383 [BZ #16194]
5384 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5385 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5386 register usage.
5387 * sysdeps/x86/Makefile: Adjust.
5388
8c0ab919
RM
53892014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5390 Roland McGrath <roland@hack.frob.com>
5391
5392 * locale/weight.h: Add include guard.
5393 (findidx): Make static rather than auto; take new parameters
5394 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5395 * locale/weightwc.h: Likewise.
5396 * posix/fnmatch_loop.c
5397 (FCT): Change type of EXTRA from int32_t to wint_t.
5398 Don't include either header inside the function.
5399 Call FINDIDX rather than findidx, and pass new arguments.
5400 #undef FINDIDX at the end of the file.
5401 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5402 FINDIDX before including fnmatch_loop.c for the non-wide version.
5403 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5404 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5405 for the wide version.
5406 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5407 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5408 Pass new arguments to findidx.
5409 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5410 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5411 Don't #include it inside the function. Pass new arguments to findidx.
5412 * posix/regex_internal.h
5413 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5414 (re_string_elem_size_at): Don't #include it inside the function.
5415 Pass new arguments to findidx.
5416 * string/strcoll_l.c: #include WEIGHT_H at top level.
5417 (get_next_seq): Don't #include it inside the function.
5418 Pass new arguments to findidx.
5419 (get_next_seq_nocache): Likewise.
5420 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5421 (STRXFRM): Don't #include it inside the function.
5422 Pass new arguments to findidx.
5423
52ffbdf2
FW
54242014-09-11 Florian Weimer <fweimer@redhat.com>
5425
5426 [BZ #17344]
5427 * malloc/malloc.c (unlink): Turn asserts into a call to
5428 malloc_printerr.
5429
984c0ea9
TL
54302014-09-11 Tim Lammens <tim.lammens@gmail.com>
5431
5432 [BZ #17370]
5433 * libio/wfileops (do_ftell_wide): Free OUT.
5434
3daee107
CM
54352014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5436
5437 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5438
58b930ae
SP
54392014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5440
5441 [BZ #17363]
5442 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5443 group if the current group is empty.
5444
3b473fec
AZ
54452014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446
71ae8647
AZ
5447 * benchtests/bench-memset.c (test_main): Add more test from size
5448 from 32 to 512 bytes.
5449 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5450 Add POWER8 memset object.
5451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5452 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5453 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5454 implementation.
5455 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5456 Likewise.
5457 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5458 multiarch POWER8 memset optimization.
5459 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5460 POWER8 memset optimization.
5461
3b473fec
AZ
5462 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5463 Remove bzero multiarch objects.
5464 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5465 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5466 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5467 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5468 Remove define.
5469 [__bzero]: Redefine to specific name.
5470 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5471 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5472 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5473 define.
5474 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5475 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5476
e6fb9587
FW
54772014-09-10 Florian Weimer <fweimer@redhat.com>
5478
5479 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5480 warnings into errors.
5481
5482 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5483 __cxa_thread_atexit_impl prototype.
5484
9d3a350b
SE
54852014-09-09 Steve Ellcey <sellcey@mips.com>
5486
5487 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5488 Fix capitalization of error message.
5489
0febba23
SE
54902014-09-09 Steve Ellcey <sellcey@mips.com>
5491
5492 * sysdeps/mips/preconfigure: Modify ABI tests.
5493
645a0e9c
CD
54942014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5495
5496 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5497
d83f0734
CD
54982014-09-07 Roland McGrath <roland@hack.frob.com>
5499 Carlos O'Donell <carlos@systemhalted.org>
5500
5501 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5502 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5503 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5504 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5505 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5506 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5507 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5508 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5509 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5510 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5511 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5512 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5513 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5514 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5515 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5516 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5517 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5518 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5519 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5520 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5521 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5522 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5523 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5524 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5525 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5526 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5527 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5528 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5529 Deconditionalize the code that was previously under [RESET_PID].
5530 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5531 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5532 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5533 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5534 include sysdep.h.
5535
21c83793
AM
55362014-09-08 Allan McRae <allan@archlinux.org>
5537
5538 * version.h (RELEASE): Set to "development".
5539 (VERSION): Set to "2.20.90"
5540
1cd9b65c
AM
55412014-09-07 Allan McRae <allan@archlinux.org
5542
b8079dd0
AM
5543 * version.h (RELEASE): Set to "stable".
5544 (VERSION): Set to "2.20"
5545 * include/features.h (__GLIBC_MINOR__): Set to 20.
5546
c46303ef
AM
5547 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5548 Liebler.
5549
1cd9b65c
AM
5550 * po/ko.po: Update Korean translation from translation project.
5551
8622092d
CM
55522014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5553
5554 [BZ #17354]
5555 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5556 macro for handling signed relocations.
5557
41488498
FW
55582014-09-03 Florian Weimer <fweimer@redhat.com>
5559
5560 [BZ #17325]
5561 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5562 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5563 assert.
5564 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5565 * iconvdata/ibm935.c (BODY): Likewise.
5566 * iconvdata/ibm937.c (BODY): Likewise.
5567 * iconvdata/ibm939.c (BODY): Likewise.
5568 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5569 assert.
5570 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5571 script.
5572 * iconvdata/run-iconv-test.sh: New test loop for checking for
5573 decoder crashers.
5574
a78b712d
KR
55752014-09-02 Khem Raj <raj.khem@gmail.com>
5576
5577 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5578 libm_hidden_ver.
5579
cb08abc6
AM
55802014-09-01 Allan McRae <allan@archlinux.org>
5581
2c31e102
AM
5582 * po/eo.po: Update Esperanto translation from translation project.
5583
cb08abc6
AM
5584 * po/ca.po: Update Catalan translation from translation project.
5585
17a62de1
ST
55862014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5587
5588 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5589 __proc_dostop call.
5590
9570bc53
MW
55912014-08-27 Mark Wielaard <mjw@redhat.com>
5592
5593 [BZ #17319]
5594 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5595 to call set_thread_area instead of hand written asm.
5596 (__NR_set_thread_area): Removed define.
5597 (TLS_FLAG_WRITABLE): Likewise.
5598 (__ASSUME_SET_THREAD_AREA): Remove check.
5599 (TLS_EBX_ARG): Remove define.
5600 (TLS_LOAD_EBX): Likewise.
5601
b0f955c9
ST
56022014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5603
5604 Simplify atomicity of socket creation in bind.
5605
5606 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5607 looking up the name after linking the file.
5608
529bf515
AM
56092014-08-27 Allan McRae <allan@archlinux.org>
5610
5611 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5612
a1a6a401
FW
56132014-08-26 Florian Weimer <fweimer@redhat.com>
5614
5615 [BZ #17187]
5616 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5617 trans_compare, open_translit, __gconv_translit_find):
5618 Remove module loading code.
5619
686ab290
AM
56202014-08-26 Allan McRae <allan@archlinux.org>
5621
e4e7cfd2
AM
5622 * po/vi.po: Update Vietnamese translation from translation project.
5623
6aa09f71
AM
5624 * po/uk.po: Update Ukrainian translation from translation project.
5625
edc0660e
AM
5626 * po/fr.po: Update French translation from translation project.
5627
7eea72ac
AM
5628 * po/ru.po: Update Russian translation from translation project.
5629
93c49eff
AM
5630 * po/pl.po: Update Polish translation from translation project.
5631
46acaf63
AM
5632 * po/cs.po: Update Czech translation from translation project.
5633
a9f5ce98
AM
5634 * po/de.po: Update German translation from translation project.
5635
373f2b78
AM
5636 * po/bg.po: Update Bulgarian translation from translation project.
5637
e7548bd8
AM
5638 * po/sv.po: Update Sweedish translation from translation project.
5639
c526bf4d
AM
5640 * po/nl.po: Update Dutch translation from translation project.
5641
686ab290
AM
5642 * po/es.po: Update Spanish translation from translation project.
5643
eb72478a
SP
56442014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5645
dd763fdb
SP
5646 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5647
318c7a58
SP
5648 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5649 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5650 (CPPFLAGS-iconvconfig): Likewise.
5651 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5652
eb72478a
SP
5653 * include/libc-symbols.h: Remove unnecessary check for
5654 NOT_IN_libc.
5655 * nptl/pthreadP.h: Likewise.
5656 * sysdeps/aarch64/setjmp.S: Likewise.
5657 * sysdeps/alpha/setjmp.S: Likewise.
5658 * sysdeps/arm/sysdep.h: Likewise.
5659 * sysdeps/i386/setjmp.S: Likewise.
5660 * sysdeps/m68k/setjmp.c: Likewise.
5661 * sysdeps/posix/getcwd.c: Likewise.
5662 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5663 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5664 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5665 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5666 * sysdeps/sh/sh3/setjmp.S: Likewise.
5667 * sysdeps/sh/sh4/setjmp.S: Likewise.
5668 * sysdeps/unix/alpha/sysdep.h: Likewise.
5669 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5671 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5672 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5677 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5680 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5682 * sysdeps/x86_64/setjmp.S: Likewise.
5683
d44a052c
JM
56842014-08-13 Joseph Myers <joseph@codesourcery.com>
5685
5686 [BZ #17263]
5687 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5688 <stdint.h>.
5689 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5690 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5691
508ce3ac
SP
56922014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5693
e44c8b0e
SP
5694 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5695
508ce3ac
SP
5696 [BZ #17262]
5697 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5698 and __x86_64__ when disabling x87 inline functions.
5699
b4acef1f
L
57002014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 [BZ #17259]
5703 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5704 asm statement with __cpuid_count.
5705
61b1ef6e
MF
57062014-08-12 Mike Frysinger <vapier@gentoo.org>
5707
5708 * configure.ac: Change __ehdr_start code to dereference the struct.
5709 Run readelf on the output to look for relocations.
5710 * configure: Regenerated.
5711
898c62f4
JM
57122014-08-12 Joseph Myers <joseph@codesourcery.com>
5713
5714 [BZ #17261]
5715 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5716 value to 0.
5717 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5718
9a8a5720
RM
57192014-08-12 Roland McGrath <roland@hack.frob.com>
5720
5721 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5722
4e75751c
BO
57232014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5724
5725 [BZ #16892]
5726 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5727 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5728
bb2ce416
SA
57292014-08-12 Sean Anderson <seanga2@gmail.com>
5730
5731 * malloc/malloc.c: Fix typo in comment.
5732
7950a4ee
AM
57332014-08-09 Allan McRae <allan@archlinux.org>
5734
5735 * Regenerate libc.po.
5736
f469c49f
MF
57372014-08-08 Mike Frysinger <vapier@gentoo.org>
5738
5739 * intl/tst-gettext2.sh: Check every lang file for creation.
5740
656b84c2
WD
57412014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5742
5743 * sysdeps/aarch64/fpu/math_private.h
5744 (libc_feholdsetround_noex_aarch64_ctx): New function.
5745
538e9e45
W
57462014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5747
5748 * sysdeps/arm/armv6/strcpy.S (strcpy):
5749 Fix performance issue in misaligned cases.
5750
d4795e4a
AZ
57512014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5752
5753 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5754 Move definition from termios.h.
5755 (struct termio): Likewise.
5756 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5757 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5758 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5759 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5760 Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5762 Move definition to ioctl-types.h
5763 (struct termio): Likewise.
5764 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5765 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5766 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5767 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5768 Likewise.
5769
64accb62
RH
57702014-08-05 Richard Henderson <rth@redhat.com>
5771
27bb6dc0
RH
5772 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5773 exceptions.
5774 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5775 Add fraiseexcpt.
5776 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5777 Use __feraiseexcept.
5778 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5779 Protect libm symbols with IS_IN_libm.
5780
64accb62
RH
5781 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5782
e5292691
BO
57832014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5784
5785 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5786
5b4bd2d4
WN
57872014-08-04 Will Newton <will.newton@linaro.org>
5788
5789 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5790 file.
5791
fcadaeef
MF
57922014-08-04 Mike Frysinger <vapier@gentoo.org>
5793
5794 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5795 variants for each function.
5796
43a94c64
RM
57972014-08-04 Roland McGrath <roland@hack.frob.com>
5798
5799 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5800 appended ...
5801 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5802 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5803 appended ...
5804 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5805 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5806 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5807 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5808 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5809 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5810 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5811 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5812 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5813 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5814 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5815 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5816 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5820 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5821 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5822 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5823 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5824 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5825 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5826 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5828 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5829 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5830 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5831 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5832 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5840 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5841 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5842 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5843 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5844 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5845 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5846 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5847 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5848 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5849 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5850 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5851 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5852 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5853 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5854 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5855 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5856 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5857 Update #include.
5858 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5859 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5860
8f3c1fa4
RM
58612014-08-04 Roland McGrath <roland@hack.frob.com>
5862
5863 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5864 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5865 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5866 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5867 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5868 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5869
ca08746f
RM
58702014-08-04 Roland McGrath <roland@hack.frob.com>
5871
5872 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5873 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5874 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5875 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5876
9c925ff9
RM
58772014-08-04 Roland McGrath <roland@hack.frob.com>
5878
5879 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5880 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5881 (__libc_vfork): Define function under this name.
5882 (__vfork): Define as an alias.
5883 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5884 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5885
e641054c
RM
58862014-08-04 Roland McGrath <roland@hack.frob.com>
5887
5888 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5889 that was previously under [RESET_PID].
5890 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5891
dacdc867
AS
58922014-08-04 Andreas Schwab <schwab@suse.de>
5893
5894 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5895
41f725ff
MF
58962014-08-03 Mike Frysinger <vapier@gentoo.org>
5897
5898 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5899 (main): Likewise.
5900
277cfb31
RM
59012014-08-01 Roland McGrath <roland@hack.frob.com>
5902
5903 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5904
4896f049
RH
59052014-08-01 Richard Henderon <rth@redhat.com>
5906
5907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5908 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5909 typo in exact zero test.
5910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5911 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5913
6f64e7d7
RM
59142014-08-01 Roland McGrath <roland@hack.frob.com>
5915
5916 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5917 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5918 * sysdeps/arm/sysdep.h: ... here.
5919 [!__ASSEMBLER__]: Include <stdint.h>.
5920
3f3dd810
SP
59212014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5922
a476ac4b
SP
5923 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5924 (HAVE_WCTYPE_H): Likewise.
5925 (HAVE_ISWCTYPE): Likewise.
5926 (ENABLE_NLS): Likewise.
5927 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5928 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5929
78dd658a
SP
5930 * posix/regex_internal.c: Check if DEBUG is defined and is
5931 set.
5932
3f3dd810
SP
5933 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5934 (HAVE_MBSRTOWCS): Likewise.
5935 * posix/fnmatch.c: Include string.h unconditionally.
5936
95ee7fb1
SL
59372014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5938
5939 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5940 reversal.
5941
23fe486b
RM
59422014-07-31 Roland McGrath <roland@hack.frob.com>
5943
f61a113f
RM
5944 * sysdeps/generic/safe-fatal.h: New file.
5945 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5946 * nptl/forward.c: Include it.
5947 (__pthread_unwind): Use __safe_fatal as default action, rather
5948 than a bogus use of INTERNAL_SYSCALL that could never work.
5949
9fe7e787
RM
5950 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5951 * configure.ac (libc_cv_builtin_trap): New test.
5952 * configure: Regenerated.
5953 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5954 (ABORT_INSTRUCTION): Define using __builtin_trap.
5955
23fe486b
RM
5956 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5957 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5958 * sysdeps/nptl/nptl-signals.h: New file.
5959 * nptl/pthreadP.h: Include <nptl-signals.h>.
5960
f349489e
SL
59612014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5962
5963 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5964 (ONE_DIRECTION): Define.
5965 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5966 (ONE_DIRECTION): Define.
5967 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5968 (ONE_DIRECTION): Define.
5969
2f438e20
SL
59702014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5971
5972 * sysdeps/s390/Makefile: Delete file.
5973 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5974 * sysdeps/s390/__longjmp.c: Delete file.
5975 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5976 Remove fields __flags and __reserved.
5977 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5978 and add versioning.
5979 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5980 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5981 * sysdeps/s390/rtld-setjmp.S: Likewise.
5982 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5983 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5984 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5985 * sysdeps/s390/s390-32/setjmp.S: ... here.
5986 Add versioning.
5987 (__sigsetjmp): Remove setting __flags field.
5988 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5989 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5990 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5991 * sysdeps/s390/s390-64/setjmp.S: ... here.
5992 Add versioning.
5993 (__sigsetjmp): Remove setting __flags field.
5994 * sysdeps/s390/setjmp.S: Delete file.
5995 * sysdeps/s390/sigjmp.c: Likewise.
5996 * sysdeps/s390/v1-longjmp.c: Likewise.
5997 * sysdeps/s390/v1-setjmp.h: Likewise.
5998 * sysdeps/s390/v1-sigjmp.c: Likewise.
5999 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6000 Remove v1-longjmp_chk.
6001 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6002 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6003 Include debug/longjmp_chk.c and add versioning.
6004 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6005 Include nptl/pt-longjmp.c and add versioning.
6006 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6007 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6008 Include __longjmp.c.
6009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6010 Move to ...
6011 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6012 (__getcontext): Remove setting __flags field.
6013 Add versioning.
6014 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6015 Don't restore upper high grps.
6016 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6017 Likewise.
6018 (__swapcontext): Remove setting uc_flags field.
6019 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6020 Delete file.
6021 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6022 Include __longjmp.c.
6023 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6024 Move to ...
6025 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6026 (__getcontext): Remove setting __flags field.
6027 Add versioning.
6028 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6029 (__swapcontext): Remove setting uc_flags field.
6030 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6031 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6032 Remove fields uc_high_gprs and __reserved.
6033 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6034 New file with reverted content.
6035 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6036 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6037 Regenerated.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6039 Regenerated.
6040
6c9578a2
AS
60412014-07-31 Andreas Schwab <schwab@suse.de>
6042
6043 * config.h.in (HAVE_IFUNC): Define to 0.
6044 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6045 definedness.
6046
05f3633d
LM
60472014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6048
6049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6050 memmove-avx-unaligned, memcpy-avx-unaligned and
6051 mempcpy-avx-unaligned.
6052 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6053 Add tests for AVX memcpy functions.
6054 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6055 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6056 memcpy_chk.
6057 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6058 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6059 memmove_chk.
6060 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6061 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6062 mempcpy_chk.
6063 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6064 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6065 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6066
a53fbd8e
AZ
60672013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6068
6069 [BZ #17213]
6070 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6071 powerpc64le.
6072
0961f7e1
JL
60732014-07-29 Jeff Layton <jlayton@poochiereds.net>
6074
6075 [BZ #16839]
6076 * manual/llio.texi: Add section about open file description locks.
6077 * manual/examples/ofdlocks.c: Example of open file description
6078 lock usage.
6079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6080 F_OFD_SETLK, and F_OFD_SETLKW.
6081
cc5fb300
AM
60822014-07-23 Allan McRae <allan@archlinux.org>
6083
6084 * po/es.po: Update Spanish translation from translation project.
6085
23329dca
AS
60862014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6087
6088 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6089
9c82da17
MR
60902014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6091
6092 [BZ #17078]
6093 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6094 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6095 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6096
29c4f53e
JM
60972014-07-17 Joseph Myers <joseph@codesourcery.com>
6098
831b9896
JM
6099 [BZ #17088]
6100 * math/fesetenv.c (__fesetenv)
6101 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6102 * math/feupdateenv.c (__feupdateenv)
6103 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6104
b21c2d50
JM
6105 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6106 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6107 (__ASSUME_SOCKETCALL): Do not define.
6108
067764ef
JM
6109 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6110 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6111 (__ASSUME_SOCKETCALL): Do not define.
6112 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6113 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6114 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6115 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6116 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6117 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6118 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6119 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6120
642530c1
JM
6121 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6122 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6123 (__ASSUME_SOCKETCALL): Do not define.
6124 (__ASSUME_IPC64): Define unconditionally.
6125 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6126 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6127 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6128 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6129 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6130 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6131 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6132 Likewise.
6133
03f77315
JM
6134 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6135 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6136 (__ASSUME_SOCKETCALL): Do not define.
6137 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6138 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6139 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6140 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6141 (__ASSUME_REQUEUE_PI): Define unconditionally.
6142 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6143 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6144 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6145 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6146 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6147 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6148
083b1f7c
JM
6149 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6150 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6151 (__ASSUME_SOCKETCALL): Do not define.
6152 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6153 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6154 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6155 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6156 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6157 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6158
5be44ea6
JM
6159 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6160 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6161 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6162 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6163 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6164 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6165 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6166 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6167 (__ASSUME_GETCPU_SYSCALL): Likewise.
6168
d95ffd4c
JM
6169 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6170 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6171 cases for individual architectures.
6172 * sysdeps/gnu/configure: Regenerated.
6173 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6174 LIBC_SLIBDIR_RTLDDIR.
6175 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6176 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6177 LIBC_SLIBDIR_RTLDDIR.
6178 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6180 LIBC_SLIBDIR_RTLDDIR.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6182 Regenerated.
6183 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6184 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6185 file.
6186 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6188 file.
6189 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6190 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6191 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6192 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6193
29c4f53e
JM
6194 * sysdeps/aarch64/shlib-versions: Move to ...
6195 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6196 * sysdeps/alpha/shlib-versions: Move to ...
6197 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6198 * sysdeps/arm/shlib-versions: Move to ...
6199 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6200 * sysdeps/hppa/shlib-versions: Move all contents except for
6201 libgcc_s entry to ...
6202 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6203 entry from ...
6204 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6205 * sysdeps/ia64/shlib-versions: Move to ...
6206 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6207 entry from ...
6208 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6209 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6210 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6211 * sysdeps/microblaze/shlib-versions: Move to ...
6212 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6213 * sysdeps/mips/shlib-versions: Move to ...
6214 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6215 entry from ...
6216 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6217 * sysdeps/tile/shlib-versions: Move to ...
6218 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6219 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6220 from ...
6221 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6222 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6223 entry from ...
6224 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6225
32bead5b
WN
62262014-07-17 Will Newton <will.newton@linaro.org>
6227
57977c4b
WN
6228 * sysdeps/arm/bits/atomic.h
6229 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6230 (__arch_compare_and_exchange_bool_16_int): Likewise.
6231 (__arch_compare_and_exchange_bool_64_int): Likewise.
6232
32bead5b
WN
6233 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6234 into an #else block.
6235
37fccd41
RM
62362014-07-16 Roland McGrath <roland@hack.frob.com>
6237
6238 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6239 just Linux configurations. Test empirically that the compiler sets
6240 __ARM_EABI__, rather than using the tuple to decide.
6241 * sysdeps/arm/preconfigure: Regenerated.
6242 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6243 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6244 contents appended ...
6245 * sysdeps/arm/configure.ac: ... here.
6246 * sysdeps/arm/configure: Regenerated.
6247
b365f3ec
RM
62482014-07-15 Roland McGrath <roland@hack.frob.com>
6249
8badf496
RM
6250 * nptl/pthread_kill.c: New file.
6251 * nptl/pthread_sigmask.c: New file.
6252 * nptl/pthread_sigqueue.c: New file.
6253
3df6f22e
RM
6254 * sysdeps/nptl/lowlevellock.h: New file.
6255 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6256 * sysdeps/nptl/lowlevellock-futex.h: New file.
6257
b365f3ec
RM
6258 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6259 Remove dead declarations.
6260
f2fef657
L
62612014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6262
6263 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6264 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6265 config-cflags-avx2.
6266 * sysdeps/x86_64/configure.ac: Likewise.
6267 * sysdeps/i386/configure: Regenerated.
6268 * sysdeps/x86_64/configure: Likewise.
6269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6270 memset-avx2 only if config-cflags-avx2 is yes.
6271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6272 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6273 defined.
6274 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6275 only if HAVE_AVX2_SUPPORT is defined.
6276 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6277
f6c44d47
AM
62782014-07-14 Alan Modra <amodra@gmail.com>
6279
6280 [BZ #17153]
6281 * elf/elf.h (DT_PPC64_NUM): Correct value.
6282 * NEWS: Add to fixed bug list.
6283
7ee03f00
JM
62842014-07-13 Jim Meyering <meyering@fb.com>
6285
6286 [BZ 17150]
6287 regex: don't deref NULL upon heap allocation failure
6288 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6289 failure in one more place.
6290 To trigger the segfault, configure grep -with-included-regex,
6291 build it, and run these commands:
6292 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6293
9d39d517
AS
62942014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6295
6296 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6297
a75b89b7
RH
62982014-07-11 Richard Henderson <rth@redhat.com>
6299
6300 * sysdeps/aarch64/libm-test-ulps: Update.
6301
771eb141
FW
63022014-07-10 Florian Weimer <fweimer@redhat.com>
6303
6304 [BZ #17135]
6305 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6306 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6307 (__nptl_setxid): Initialize error member. Call
6308 __nptl_setxid_error.
6309 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6310 * nptl/descr.h (struct xid_command): Add error member.
6311 * nptl/tst-setuid3.c: New file.
6312 * nptl/Makefile (tests): Add it.
6313
bc1da176
AZ
63142014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6315
6316 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6317 New define.
6318 (__lll_trylock): Use __lll_base_trylock.
6319 (__lll_cond_trylock): Likewise.
6320
887865fc
RM
63212014-07-10 Roland McGrath <roland@hack.frob.com>
6322
c0c6bac9
RM
6323 * nptl/pthread_create.c (start_thread): Use atomic_or and
6324 lll_futex_wake directly rather than lll_robust_dead.
6325 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6326 (lll_robust_dead): Macro removed.
6a42be57 6327 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6328 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6329 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6330 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6331 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6332 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6333 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6334 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6335 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6336 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6337 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6338 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6340 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6341 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6342
887865fc
RM
6343 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6344 Use atomic_compare_and_exchange_val_acq directly rather than
6345 lll_robust_trylock.
6346 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6347 (__lll_robust_trylock, lll_robust_trylock): Removed.
6348 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6349 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6350 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6351 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6352 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6353 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6354 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6355 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6356 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6357 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6358 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6359 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6360 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6361 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6362
58536726
FW
63632014-07-02 Florian Weimer <fweimer@redhat.com>
6364
6365 * manual/locale.texi (Locale Names): New section documenting
6366 locale name syntax. Adjust menu and node chaining accordingly.
6367 (Choosing Locale): Reference Locale Names, Locale Categories.
6368 Mention setting LC_ALL=C. Reflect that name syntax is now
6369 documented.
6370 (Locale Categories): New section title. Reference Locale Names.
6371 LC_ALL is an environment variable, but not a category.
6372 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6373 description, now in Locale Name. Reference that section. Locale
6374 name syntax is now documented.
6375
4e8f95a0
FW
63762014-07-02 Florian Weimer <fweimer@redhat.com>
6377
6378 [BZ #17137]
6379 * locale/findlocale.c (name_present, valid_locale_name): New
6380 functions.
6381 (_nl_find_locale): Use the loc_name variable to store name
6382 candidates. Call name_present and valid_locale_name to check and
6383 validate locale names. Return an error if the locale is invalid.
6384
d1836456
FW
63852014-07-02 Florian Weimer <fweimer@redhat.com>
6386
6387 * locale/setlocale.c (setlocale): Use strdup for allocating
6388 composite name copy.
6389
d69b7f5a
SP
63902014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6391
888c679b
SP
6392 Sync up with gnulib.
6393 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6394 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6395 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6396 and _GL_ARG_NONNULL.
6397 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6398 [!_LIBC]: Include code for Windows and Cygwin.
6399 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6400 Include prototype for int strerror_r.
6401 [!_LIBC] (is_open): New function.
6402 (flush_stdout): New function.
6403 (print_errno_message): Use it.
6404 (error): Likewise.
6405 (error_at_line): Likewise.
6406 (error_tail) Add function attribute macros. Use
6407 __builtin_expect.
6408
180e0e4b
SP
6409 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6410
d22f1fe2
SP
6411 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6412
12f2254b
SP
6413 * io/ftw.c: Include sys/param.h unconditionally.
6414
c3c7c360
SP
6415 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6416
d62aa75a
SP
6417 [BZ #17125]
6418 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6419 libc_freeres_ptr.
6420 (freecache): New function to free CACHE on exit.
6421
d69b7f5a
SP
6422 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6423 initialization.
6424
5efe06a1
DM
64252014-07-09 David S. Miller <davem@davemloft.net>
6426
6427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6428
7000d82e
DM
6429 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6430 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6431 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6432 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6433 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6434 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6435 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6436 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6437 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6438 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6439 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6440 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6441 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6442
c213442d
AS
64432014-07-09 Andreas Schwab <schwab@suse.de>
6444
4a2552c3
AS
6445 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6446 output.
6447 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6448 (do_test): Likewise.
6449
c213442d
AS
6450 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6451
82374e65
WN
64522014-07-09 Will Newton <will.newton@linaro.org>
6453
6454 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6455 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6456 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6457 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6458 * sysdeps/hppa/start.S (_start): Likewise.
6459
6680738a
SP
64602014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6461
6ee3eab4
SP
6462 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6463
6680738a
SP
6464 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6465 defined.
6466
80b5c505
SP
64672014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6468
e35c53e3
SP
6469 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6470 after checking that it is non-NULL.
6471
80b5c505
SP
6472 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6473
91f4b564
AZ
64742014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6475
27b75f56
AZ
6476 * sysdeps/powerpc/memmove.c: Remove file.
6477 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6478 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6479 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6480 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6481 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6482 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6483 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6484 string memmove instead of removed powerpc one.
6485
e7f95bb5
AZ
6486 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6487 [weak_alias]: Fix compiler warning due trailing data.
6488 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6489 [weak_alias]: Likewise.
6490 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6491 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6492
91f4b564
AZ
6493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6494 (__libc_ifunc_impl_list): Add memmove functions.
6495
7c33f1e5
SP
64962014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6497
6498 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6499 Remove code.
6500 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6501 Likewise
6502 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6503 Likewise
6504 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6505 Likewise
6506 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6507 Likewise
6508 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6509 Likewise
6510 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6511 Likewise
6512 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6513 Likewise
6514 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6515 Likewise
6516 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6517 Likewise
6518 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6519 Likewise
6520 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6521 Likewise
6522 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6523 Likewise
6524 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6525 Likewise
6526 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6527 Likewise
6528 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6529 Likewise
6530 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6531 Likewise
6532
3f17b03b
AZ
65332014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6534
87868c24
AZ
6535 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6536 to avoid alignment traps in non-cacheable memory.
6537 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6538
07aedd78
AZ
6539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6540 multiarch objects.
6541 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6542 file: multiarch power7 memmove.
6543 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6544 multiarch default memmove.
6545 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6546 multiarch memove for powerpc32/power4.
6547
17762f66
AZ
6548 * string/bcopy.c: Use full path to include memmove.c.
6549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6550 multiarch objects.
6551 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6552 bcopy for powerpc64.
6553 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6554 bcopy for powerpc64.
6555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6556 and memmove implementations.
6557 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6558 optimized multiarch memmove for POWER7/powerpc64.
6559 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6560 default multiarch memmove for powerpc64.
6561 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6562 multiarch for powerpc64.
6563 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6564 for POWER7/powerpc64.
6565 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6566 memmove for POWER7/powerpc64.
6567
d6f68bbe
AZ
6568 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6569 glibc default one.
6570
3f17b03b
AZ
6571 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6572 __ELF_NATIVE_CLASS equal to 64.
6573
08192659
RM
65742014-07-07 Roland McGrath <roland@hack.frob.com>
6575
f4c4021b
RM
6576 * sysdeps/nptl/lowlevellock.h: File removed.
6577
f083450f
RM
6578 * NEWS: NPTL is no longer an add-on!
6579 * nptl/internaltypes.h: Moved ...
6580 * sysdeps/nptl/internaltypes.h: ... here.
6581 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6582 * sysdeps/nptl/fork.c: Likewise.
6583 * sysdeps/nptl/gai_misc.h: Likewise.
6584 * sysdeps/nptl/librt-cancellation.c: Likewise.
6585 * sysdeps/nptl/jmp-unwind.c: Likewise.
6586 * sysdeps/nptl/setxid.h: Likewise.
6587 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6588 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6589 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6590 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6591 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6592 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6593 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6594 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6595 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6596 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6597 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6598 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6599 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6600 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6601 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6602 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6603 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6604 * nptl/Makeconfig: Moved ...
6605 * sysdeps/nptl/Makeconfig: ... here.
6606 * nptl/configure: File removed.
6607 * nptl/ANNOUNCE: File removed.
6608 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6609 * sysdeps/unix/sysv/linux/configure: Regenerated.
6610
08192659
RM
6611 * nptl/Makefile (routines): Add libc_pthread_init,
6612 libc_multiple_threads, register-atfork and unregister-atfork.
6613 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6614 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6615 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6616 pthread-pi-defines.sym, structsem.sym.
6617 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6618 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6619 [$(subdir) = nptl] (tests): Add tst-setgetname.
6620 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6621 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6622 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6623 [!LIBC_SIGACTION]: Remove aliases.
6624 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6625 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6626 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6627 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6628 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6629 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6630 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6631 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6632 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6633 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6634 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6635 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6636 __libc_allocate_rtsig_private.
6637 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6638 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6639 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6640 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6641 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6642 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6643 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6644 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6645 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6646 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6647 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6648 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6649 * nptl/internaltypes.h: ... here.
6650 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6651 * sysdeps/nptl/jmp-unwind.c: ... here.
6652 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6653 * nptl/libc-lowlevellock.c: ... here.
6654 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6655 * nptl/libc_multiple_threads.c: ... here.
6656 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6657 * nptl/libc_pthread_init.c: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6659 * nptl/lowlevelbarrier.sym: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6661 * nptl/lowlevelcond.sym: ... here.
6662 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6663 * nptl/lowlevellock.c: ... here.
6664 * nptl/lowlevellock.h: Moved ...
6665 * sysdeps/nptl/lowlevellock.h: ... here.
6666 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6667 * nptl/lowlevelrobustlock.c: ... here.
6668 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6669 * nptl/lowlevelrobustlock.sym: ... here.
6670 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6671 * nptl/lowlevelrwlock.sym: ... here.
6672 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6673 * nptl/pt-fork.c: ... here.
6674 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6675 * nptl/pthread-pi-defines.sym: ... here.
6676 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6677 * nptl/pthread_attr_getaffinity.c: ... here.
6678 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6679 * nptl/pthread_attr_setaffinity.c: ... here.
6680 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6681 * nptl/pthread_mutex_cond_lock.c: ... here.
6682 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6683 Update #include.
6684 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6685 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6686 * nptl/pthread_once.c: ... here, replacing old file.
6687 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6688 * nptl/pthread_yield.c: ... here.
6689 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6690 * nptl/register-atfork.c: ... here.
6691 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6692 * nptl/sem_post.c: ... here.
6693 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6694 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6695 * nptl/sem_timedwait.c: ... here.
6696 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6697 * nptl/sem_trywait.c: ... here.
6698 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6699 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6700 * nptl/sem_wait.c: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6702 * nptl/structsem.sym: ... here.
6703 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6704 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6705 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6706 * nptl/unregister-atfork.c: ... here.
6707 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6708 * nptl/unwindbuf.sym: ... here.
6709 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6710 * sysdeps/nptl/fork.c: ... here.
6711 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6712 * sysdeps/nptl/fork.h: ... here.
6713 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6714 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6715 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6716 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6717 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6719 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6721 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6723 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6724 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6725 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6726 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6727 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6728 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6729 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6730 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6731 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6732 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6733 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6734 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6735 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6736 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6737 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6738 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6739 * sysdeps/unix/sysv/linux/raise.c: ... here.
6740 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6741 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6743 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6745 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6746 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6747 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6748 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6749 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6750 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6751 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6752 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6753 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6754 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6755
96baf6ff
SP
67562014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6757
6758 * sysdeps/generic/memcopy.h: Add comment for
6759 MEMCPY_OK_FOR_FWD_MEMMOVE.
6760
6b7b14b2
WN
67612014-07-04 Will Newton <will.newton@linaro.org>
6762
1570a72b
WN
6763 * string/memchr.c: Merge from gnulib.
6764 [_LIBC]: Remove conditionals.
6765 (__ptr_t): Remove define.
6766 (LONG_MAX_32_BITS): Likewise.
6767 (LONG_MAX): Likewise.
6768 (MEMCHR): Use ANSI prototype and optimize algorithm.
6769
6b7b14b2
WN
6770 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6771
38851324
SP
67722014-07-03 Roland McGrath <roland@hack.frob.com>
6773
3d9eb57c
RM
6774 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6775 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6776
78b984ae
RM
6777 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6778 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6779 in a bare environment with no <stdlib.h> installed.
6780 * sysdeps/nptl/configure: Regenerated.
6781
2d5976a5
RM
6782 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6783
c1f5acd4
RM
6784 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6785 AC_EGREP_CPP for kernel header checks, so they only succeed if
6786 including <linux/version.h> actually works right.
6787 * sysdeps/unix/sysv/linux/configure: Regenerated.
6788
4d614fe5
RM
6789 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6790 value so it's not diagnosed as unused.
6791
38851324
SP
6792 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6793 thing) with "ifeq ($(subdir),rt)".
6794
b3ec00e5
RH
67952014-07-03 Richard Henderson <rth@redhat.com>
6796
69862e25
RH
6797 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6798 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6799 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6800
d5e16ade
RH
6801 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6802 (math_force_eval): New.
6803
ca7b945c
RH
6804 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6805 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6806
cd1175a3
RH
6807 * sysdeps/alpha/fpu/s_round.c: Remove file.
6808 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6809
b3ec00e5
RH
6810 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6811 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6812 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6813 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6814 (_dl_start, print_statistics): Likewise.
6815 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6816 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6817
6818 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6819 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6820 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6821 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6823 (HP_SMALL_TIMING_AVAIL): Define.
6824 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6825 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6826 (HP_SMALL_TIMING_AVAIL): Define.
6827 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6828 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6829
6830 * sysdeps/aarch64/hp-timing.h: New file.
6831
6832 * sysdeps/generic/hp-timing.h: Remove dead comment.
6833 * sysdeps/generic/hp-timing-common.h: New file.
6834 * sysdeps/alpha/hp-timing.h: Include it.
6835 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6836 * sysdeps/i386/i686/hp-timing.h: Likewise.
6837 * sysdeps/ia64/hp-timing.h: Likewise.
6838 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6839 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6840 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6841 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6842 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6843 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6844 (hp_timing_t): New.
6845
6846 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6847 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6848 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6849 * elf/rtld.c (_dl_start_final): Likewise.
6850 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6851 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6852 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6853 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6854 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6855 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6856 (HP_TIMING_DIFF_INIT): Remove.
6857 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6858 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6859 (HP_TIMING_DIFF_INIT): Remove.
6860 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6861 * sysdeps/i386/i686/hp-timing.c: Remove file.
6862 * sysdeps/x86_64/hp-timing.c: Remove file.
6863 * sysdeps/ia64/hp-timing.c: Remove file.
6864 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6865 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6867 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6868
6869 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6870 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6871 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6872 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6873 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6874 (HP_TIMING_ACCUM): Remove.
6875 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6876 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6877 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6878
6879 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6880 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6881 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6882 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6883 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6884 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6885 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6886 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6887
6888 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6889
225f410f
MR
68902014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6891
6892 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6893
3247f285
SP
68942014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6895
6896 Sync up with gettext.
6897 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6898 [_MSC_VER]: Include malloc.h
6899 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6900 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6901 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6902 TEMP_FAILURE_RETRY. Cast return of alloca.
6903 [!_LIBC] Call gl_rwlock_init.
6904 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6905
d12704c7
SP
69062014-07-02 Roland McGrath <roland@hack.frob.com>
6907
6908 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6909 before checking its value.
6910
99f8dc92
SP
69112014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6912
05fdac77
SP
6913 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6914
99f8dc92
SP
6915 * debug/memcpy_chk.c: Don't include pagecopy.h.
6916 * debug/mempcpy_chk.c: Likewise.
6917 * string/memcpy.c: Likewise.
6918 * string/memmove.c: Likewise.
6919 * sysdeps/powerpc/memmove.c: Likewise.
6920 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6921 definition of PAGE_COPY_FWD_MAYBE here...
6922 * sysdeps/generic/pagecopy.h: ... from here.
6923 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6924
bc8ea385
VR
69252014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6926 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6927
6928 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6930 optimizations.
6931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6932 (__libc_ifunc_impl_list): Likewise.
6933 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6934 multiarch strcat for PPC64.
6935 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6936 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6937
fe5f34e4
RM
69382014-07-02 Roland McGrath <roland@hack.frob.com>
6939
6940 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6941
256aa665
SP
69422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6943
d4eb8195
SP
6944 * intl/loadmsgcat.c: Remove declaration of
6945 get_sysdep_segment_value.
6946 (get_sysdep_segment_value): Use ISO C style.
6947 (_nl_load_domain): Use ISO C style. Get rid of redundant
6948 semicolon. Fix typo and formatting in comment.
6949 (_nl_unload_domain): Use ISO C style.
6950
256aa665
SP
6951 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6952
b100f9aa
WN
69532014-07-02 Will Newton <will.newton@linaro.org>
6954
6955 * malloc/obstack.c: Merge from gnulib master.
6956 [HAVE_CONFIG_H]: Remove conditional code.
6957 [!_LIBC]: Include config.h.
6958 [!ELIDE_CODE]: Don't include inttypes.h, include
6959 stdint.h unconditionally.
6960 (print_and_abort): Mark as _Noreturn.
6961 (_obstack_allocated_p): Mark as __attribute_pure__.
6962 (obstack_free): Rename to __obstack_free.
6963 [!__attribute__]: Remove conditional code.
6964 * malloc/obstack.h: Merge from gnulib master.
6965 [__cplusplus]: Move conditional down.
6966 [!__attribute_pure__]: Define __attribute_pure__ here
6967 if it is not already defined.
6968 (_obstack_memory_used): Mark as __attribute_pure__.
6969 [!__obstack_free]: Define as obstack_free.
6970 [__GNUC__]: Remove check for ancient NeXT gcc.
6971
c4c41244
PE
69722014-07-02 Will Newton <will.newton@linaro.org>
6973 Paul Eggert <eggert@cs.ucla.edu>
6974
6975 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6976
e1e041c4
SP
69772014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6978
6979 * resolv/gethnamaddr.c: Add comment warning that the file is
6980 not maintained.
6981
ccf431ff
CD
69822014-07-01 Carlos O'Donell <carlos@redhat.com>
6983
d34570a6
CD
6984 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6985 entries.
6986
ccf431ff
CD
6987 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6988 entry for aio_cancel and aio_cancel64.
6989 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6990 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6991 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6992 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6993 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6994 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6995 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6996 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6997 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6998 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6999 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7000 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7001 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7002
ca06321d
RM
70032014-07-01 Roland McGrath <roland@hack.frob.com>
7004
7005 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7006 * nptl/pthread_mutex_lock.c: Likewise.
7007 * nptl/pthread_mutex_timedlock.c: Likewise.
7008 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7009
a1ac3184
RH
70102014-07-01 Richard henderson <rth@redhat.com>
7011
631021e0
RH
7012 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7013 (__isnan, __isnanl): Remove.
7014 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7015
a1ac3184
RH
7016 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7017
0c1d731f
SL
70182014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7019
7020 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7021
76985d3e
SP
70222014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7023
7024 * resolv/nss_dns/dns-host.c (getanswer_r)
7025 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7026
b0cb3096
JM
70272014-07-01 Joseph Myers <joseph@codesourcery.com>
7028
7029 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7030 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7031 undefine.
7032 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7033 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7034
4d76cb39
RM
70352014-07-01 Roland McGrath <roland@hack.frob.com>
7036
7037 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7038 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7039
7040 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7041 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7042
7043 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7044 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7045 ... here.
7046 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7047 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7048
7049 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7050 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7051 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7052 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7053
7054 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7055 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7056 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7059 Moved ...
7060 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7061 ... here.
7062 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7063 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7064 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7065 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7066 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7067 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7069 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7071 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7072 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7073 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7074 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7075 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7076 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7077 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7078 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7079 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7080 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7081 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7082 ... here.
7083 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7084 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7086 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7087 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7088 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7089 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7090 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7091
0cdcad17
DH
70922014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7093
7094 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7095 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7096 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7097 Add sysdep.
7098
9b71d0e3
AZ
70992014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7100
7101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7102
665390c2
JM
71032014-06-30 Joseph Myers <joseph@codesourcery.com>
7104
ae05a9d7
JM
7105 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7106 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7107
a7672a2f
JM
7108 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7109
665390c2
JM
7110 * sysdeps/arm/libm-test-ulps: Regenerated.
7111
d7a05d07
MR
71122014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7113 Roland McGrath <roland@hack.frob.com>
7114
7115 * test-skeleton.c (signal_handler): Kill the whole process group
7116 before killing the child individually.
7117 (main): Report any failure on `setpgid'.
7118
46f1d8a6
RM
71192014-06-30 Roland McGrath <roland@hack.frob.com>
7120
7121 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7122 from _TLS_H to _ARM_NPTL_TLS_H.
7123 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7124 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7125
9c37ec0b
JM
71262014-06-30 Joseph Myers <joseph@codesourcery.com>
7127
ce9c5b3e
JM
7128 [BZ #16539]
7129 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7130 (__expm1l): Return argument unchanged when small but not
7131 subnormal.
7132
3a6e9887
JM
7133 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7134 include macro name.
7135 (_FP_UNPACK_RAW_1_P): Likewise.
7136 (_FP_PACK_RAW_1): Likewise.
7137 (_FP_PACK_RAW_1_P): Likewise.
7138 (_FP_MUL_MEAT_1_wide): Likewise.
7139 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7140 (_FP_MUL_MEAT_1_hard): Likewise.
7141 (_FP_DIV_MEAT_1_imm): Likewise.
7142 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7143 (_FP_DIV_MEAT_1_udiv): Likewise.
7144 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7145 (_FP_UNPACK_RAW_2): Likewise.
7146 (_FP_UNPACK_RAW_2_P): Likewise.
7147 (_FP_PACK_RAW_2): Likewise.
7148 (_FP_PACK_RAW_2_P): Likewise.
7149 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7150 (_FP_MUL_MEAT_2_wide): Likewise.
7151 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7152 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7153 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7154 (_FP_MUL_MEAT_2_gmp): Likewise.
7155 (_FP_DIV_MEAT_2_udiv): Likewise.
7156 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7157 (_FP_FRAC_SRL_4): Likewise.
7158 (_FP_FRAC_SRST_4): Likewise.
7159 (_FP_FRAC_SRS_4): Likewise.
7160 (_FP_UNPACK_RAW_4): Likewise.
7161 (_FP_UNPACK_RAW_4_P): Likewise.
7162 (_FP_PACK_RAW_4): Likewise.
7163 (_FP_PACK_RAW_4_P): Likewise.
7164 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7165 (_FP_MUL_MEAT_4_wide): Likewise.
7166 (_FP_MUL_MEAT_4_gmp): Likewise.
7167 (umul_ppppmnnn): Likewise.
7168 (_FP_DIV_MEAT_4_udiv): Likewise.
7169 (__FP_FRAC_ADD_4): Likewise.
7170 (__FP_FRAC_SUB_3): Likewise.
7171 (__FP_FRAC_SUB_4): Likewise.
7172 (__FP_FRAC_DEC_3): Likewise.
7173 (__FP_FRAC_DEC_4): Likewise.
7174 (__FP_FRAC_ADDI_4): Likewise.
7175 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7176 (_FP_FRAC_SRL_8): Likewise.
7177 (_FP_FRAC_SRS_8): Likewise.
7178
9c37ec0b
JM
7179 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7180 include macro name.
7181 (FP_UNPACK_RAW_EP): Likewise.
7182 (FP_PACK_RAW_E): Likewise.
7183 (FP_PACK_RAW_EP): Likewise.
7184 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7185 (_FP_ISSIGNAN): Likewise.
7186 (_FP_ADD_INTERNAL): Likewise.
7187 (_FP_FMA): Likewise.
7188 (_FP_CMP): Likewise.
7189 (_FP_SQRT): Likewise.
7190 (_FP_TO_INT): Likewise.
7191 (_FP_FROM_INT): Likewise.
7192 (FP_EXTEND): Likewise.
7193 (_FP_DIV_MEAT_N_loop): Likewise.
7194
2125f674
MR
71952014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7196
7197 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7198 throughout.
7199
edea4028
JM
72002014-06-29 Joseph Myers <joseph@codesourcery.com>
7201
7202 [BZ #17097]
7203 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7204 result with correct sign in case of exponents that produce
7205 overflow except for X very close to 1.
7206
dd0ba018
PE
72072014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7208
7209 mktime: merge #if/#ifdef usage from glibc
7210 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7211 as that works with both Glibc's and Gnulib's style.
7212 See thread starting at Siddhesh Poyarekar's bug report at:
7213 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7214
64df73c2
SP
72152014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7216
7217 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7218 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7219 * sysdeps/tile/tilegx/memmove.c: Remove file.
7220
f1eafb41
JM
72212014-06-27 Joseph Myers <joseph@codesourcery.com>
7222
7223 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7224 abi-name definition.
7225 * scripts/soversions.awk: Do not handle or generate ABI lines.
7226 * shlib-versions: Remove ABI entries.
7227 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7228 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7229
58eb0862
RM
72302014-06-27 Roland McGrath <roland@hack.frob.com>
7231
37caf178
RM
7232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7233 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7234 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7237 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7238 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7239 Moved ...
7240 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7241 ... here.
7242 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7243 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7245 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7247 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7248 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7249 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7250 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7251 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7253 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7255 Moved ...
7256 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7260 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7262 Moved ...
7263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7265 Moved ...
7266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7268 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7270 Moved ...
7271 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7273 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7274 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7275 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7277 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7279 Moved ...
7280 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7282 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7283 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7284 Moved ...
7285 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7286 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7287 Moved ...
7288 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7290 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7291 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7292 Moved ...
7293 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7294 ... here.
7295 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7296 Identical file removed.
7297 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7298 Moved ...
7299 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7300 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7301 Identical file removed.
7302 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7303 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7305 Moved ...
7306 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7308 Identical file removed.
7309 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7310 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7311 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7312 Identical file removed.
7313 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7314 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7315 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7316 Identical file removed.
7317 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7318 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7320 Identical file removed.
7321 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7322 Moved ...
7323 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7324 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7325 Identical file removed.
7326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7327 Moved ...
7328 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7329 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7330 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7331 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7332 Identical file removed.
7333 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7334 Moved ...
7335 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7336 ... here.
7337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7338 Identical file removed.
7339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7340 Moved ...
7341 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7342 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7343 Identical file removed.
7344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7345 Moved ...
7346 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7348 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7349 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7350 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7351 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7352 Moved ...
7353 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7354 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7355 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7356
58eb0862
RM
7357 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7358 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7359 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7360 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7361 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7362
6f12d062
AS
73632014-06-27 Arjun Shankar <arjun.is@lostca.se>
7364
7365 [BZ #17092]
7366 * nscd/nscd.c (monitor_child): Return exit status of child
7367 instead of return value from wait syscall.
7368
be254932
JM
73692014-06-27 Joseph Myers <joseph@codesourcery.com>
7370
cb403c34
JM
7371 * configure.ac (libc_commonpagesize): Remove variable.
7372 (libc_relro_required): Likewise.
7373 (libc_cv_z_relro): Remove configure test.
7374 * configure: Regenerated.
7375 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7376 variable.
7377 (libc_relro_required): Likewise.
7378 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7379 (libc_relro_required): Likewise.
7380 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7381 (libc_relro_required): Likewise.
7382 * sysdeps/arm/preconfigure: Regenerated.
7383 * sysdeps/ia64/preconfigure: Remove file.
7384 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7385 variable.
7386 (libc_relro_required): Likewise.
7387
be254932
JM
7388 [BZ #16561]
7389 [BZ #16562]
7390 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7391 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7392 recompute overflowing results in original rounding mode.
7393 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7394 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7395 recompute overflowing results in original rounding mode.
7396 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7397 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7398 recompute overflowing results in original rounding mode.
7399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7400 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7401 recompute overflowing results in original rounding mode.
7402 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7403 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7404 recompute overflowing results in original rounding mode.
7405 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7406 (libc_feholdsetround_ctx): New macro.
7407 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7408 * sysdeps/i386/fpu/libm-test-ulps: Update.
7409 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7410
b351d85a
JM
74112014-06-26 Joseph Myers <joseph@codesourcery.com>
7412
7413 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7414 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7415 corresponding .cpsetup call.
7416
3cb4de47
RM
74172014-06-26 Roland McGrath <roland@hack.frob.com>
7418
7419 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7420 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7421 * sysdeps/arm/Makefile [$(subdir) = csu]
7422 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7423 (static-only-routines): Add aeabi_read_tp here.
7424 (shared-only-routines): Add libc-aeabi_read_tp here.
7425 (CFLAGS-libc-start.c): Add -fexceptions here.
7426 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7427 (sysdep_routines, static-only-routines, shared-only-routines):
7428 Don't add to these here.
7429 (CFLAGS-libc-start.c): Likewise.
7430
7431 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7432 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7433 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7434 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7435 * sysdeps/arm/Makefile [$(subdir) = rt]
7436 (librt-sysdep_routines, librt-shared-only-routines):
7437 Append rt-aeabi_unwind_cpp_pr1 here.
7438 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7439 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7440 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7441 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7442 Append nptl-aeabi_unwind_cpp_pr1 here.
7443 (tests): Filter out tst-cleanupx4 here.
7444 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7445 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7446 Don't do those here.
7447
354426bb
JM
74482014-06-26 Joseph Myers <joseph@codesourcery.com>
7449
7450 * scripts/list-sources.sh: Do not handle ports specially.
7451
28b0a8c9
RM
74522014-06-26 Roland McGrath <roland@hack.frob.com>
7453
a3dd035d
RM
7454 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7455 * sysdeps/arm/feupdateenv.c: Likewise.
7456
28b0a8c9
RM
7457 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7458
e66a8203
JM
74592014-06-26 Joseph Myers <joseph@codesourcery.com>
7460
7461 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7462 trailing whitespace removed.
7463 * scripts/config.guess: Update to version 2014-03-23.
7464 * scripts/config.sub: Update to version 2014-05-01
7465 * scripts/install-sh: Update to version 2013-12-25.23.
7466 * scripts/move-if-change: Update from gnulib.
7467
74171115
SP
74682014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7469
b97c9ce5
SP
7470 * debug/memmove_chk.c: Remove pagecopy.h include.
7471
4000f892
SP
74722014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7473
74171115
SP
7474 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7475 identical to gnulib mktime.
7476
a8779c28
JM
74772014-06-26 Joseph Myers <joseph@codesourcery.com>
7478
e64708de
JM
7479 * configure.ac: Do not test for machine being rs6000. Do not test
7480 for powerpc*-*soft.
7481 * configure: Regenerated.
7482
a8779c28
JM
7483 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7484 test.
7485 * configure: Regenerated.
7486 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7487 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7488 Remove configure test.
7489 * sysdeps/arm/configure: Regenerated.
7490 * sysdeps/nptl/configure.ac: Do not check
7491 libc_cv_asm_cfi_directives.
7492 * sysdeps/nptl/configure: Regenerated.
7493 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7494 * sysdeps/x86_64/nptl/configure: Remove generated file.
7495 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7496 unconditional.
7497 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7498
2aac0a86
SP
74992014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7500
059bf913
SP
7501 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7502 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7503 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7504 it is defined.
7505
4cf5b6d0
SP
7506 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7507 instead of whether it is defined.
7508 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7509 * sysdeps/hppa/dl-machine.h: Likewise.
7510 * sysdeps/ia64/dl-machine.h: Likewise.
7511 * sysdeps/m68k/dl-machine.h: Likewise.
7512 * sysdeps/microblaze/dl-machine.h: Likewise.
7513 * sysdeps/mips/dl-machine.: Likewise.
7514 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7515 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7516 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7517 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7518 * sysdeps/sh/dl-machine.h: Likewise.
7519 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7520 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7521 * sysdeps/tile/dl-machine.h: Likewise.
7522 * sysdeps/x86_64/dl-machine.h: Likewise.
7523
2aac0a86
SP
7524 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7525 code.
7526 (verify_persistent_db): Likewise.
7527
6ad2df0b
RM
75282014-06-26 Roland McGrath <roland@hack.frob.com>
7529
d8a483f3
RM
7530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7531 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7533 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7535 Moved ...
7536 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7537 ... here.
7538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7539 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7541 Identical file removed.
7542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7543 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7545 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7547 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7549 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7551 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7553 Moved ...
7554 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7556 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7558 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7560 Moved ...
7561 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7563 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7565 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7567 Identical file removed.
7568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7569 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7571 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7573 Moved ...
7574 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7575 ... here.
7576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7577 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7579 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7581 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7583 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7585 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7587 Moved ...
7588 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7590 Moved ...
7591 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7595 Moved ...
7596 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7598 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7599
52ae23b4
RM
7600 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7601 folded into ...
7602 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7603 * sysdeps/unix/sysv/linux/s390/Versions
7604 (libpthread: GLIBC_2.19): New version set.
7605 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7606 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7607 (librt: GLIBC_2.3.3): New version set.
7608 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7609 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7610 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7612 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7613 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7614 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7616 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7618 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7620 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7621 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7622 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7623 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7624 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7625 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7626 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7627 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7628 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7630 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7631 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7632 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7634 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7635 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7636 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7637 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7638 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7639 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7640 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7641 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7642 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7643 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7644 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7645 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7646 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7647 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7648 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7650 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7651 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7652 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7653
39507e4a
RM
7654 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7655 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7656 (__libc_vfork): Define the function under this name.
7657 [!NOT_IN_libc] (__vfork): Make this an alias.
7658 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7659 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7660 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7661 (__libc_vfork): Define the function under this name.
7662 [!NOT_IN_libc] (__vfork): Make this an alias.
7663 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7664 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7665 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7667 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7668 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7669
e549ee56
RM
7670 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7671 code that was previously under [RESET_PID].
7672 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7673 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7675
6ad2df0b
RM
7676 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7677 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7678 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7679 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7680 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7681 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7682 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7683 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7684 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7685 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7686 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7687 Moved ...
7688 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7690 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7692 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7693 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7694 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7695 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7696 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7697 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7698 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7699 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7700 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7701 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7702 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7703 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7704 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7705 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7706 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7707 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7708 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7709 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7710 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7711 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7712 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7713 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7714 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7716 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7717
7c1c1d8e
RM
77182014-06-25 Roland McGrath <roland@hack.frob.com>
7719
7720 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7721 that was previously under [RESET_PID].
7722 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7723
3e239be6
JM
77242014-06-25 Joseph Myers <joseph@codesourcery.com>
7725
74385da5
JM
7726 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7727 not undefine and redefine.
7728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7729 [O_CLOEXEC]: Make code unconditional.
7730 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7731 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7732 <kernel-features.h>.
7733 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7734 conditional variable definition.
7735 (shm_open) [O_CLOEXEC]: Make code unconditional.
7736 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7737 code.
7738
c2570a0b
JM
7739 * configure.ac (USE_REGPARMS): Don't define here.
7740 * configure: Regenerated.
7741 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7742 * sysdeps/i386/configure: Regenerated.
7743
11b076bb
JM
7744 * nptl/createthread.c: Don't include kernel-features.h.
7745 * nptl/pthread_cancel.c: Likewise.
7746 * nptl/pthread_condattr_setclock.c: Likewise.
7747 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7748 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7749 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7750 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7751 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7752 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7753 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7756 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7757 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7758 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7759 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7760 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7761 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7762 * nscd/gai.c: Likewise.
7763 * nss/nss_db/db-open.c: Likewise.
7764 * sysdeps/generic/ldsodefs.h: Likewise.
7765 * sysdeps/sh/nptl/tls.h: Likewise.
7766 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7767 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7768 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7769 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7770 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7771 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7772 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7773 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7774 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7775 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7776 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7777 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7778 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7779 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7780 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7781 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7782 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7783 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7784 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7785 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7786 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7787 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7788 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7789 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7790 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7791 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7792 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7793 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7794 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7795 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7796 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7797 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7798 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7799 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7800 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7801 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7802 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7803 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7804 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7805 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7806 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7807 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7808 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7810 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7811 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7812 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7813 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7814 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7815 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7816 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7817 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7818 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7819 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7820 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7821 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7823 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7846 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7847 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7848 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7849 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7850 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7852 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7853 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7854 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7855 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7856 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7857 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7858 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7859 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7860 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7861 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7864 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7865 * sysdeps/unix/sysv/linux/system.c: Likewise.
7866 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7867 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7868 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7869 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7870 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7872 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7873
92072d57
JM
7874 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7875 * configure: Regenerated.
7876 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7877
3e239be6
JM
7878 * configure.ac (base_machine): Do not set specially for particular
7879 machines here.
7880 * configure: Regenerated.
7881 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7882 settings from configure.ac.
7883 * sysdeps/i386/preconfigure: New file.
7884 * sysdeps/s390/preconfigure: Likewise.
7885 * sysdeps/sh/preconfigure: Likewise.
7886 * sysdeps/sparc/preconfigure: Likewise.
7887
06d50baa
RM
78882014-06-25 Roland McGrath <roland@hack.frob.com>
7889
74836003
RM
7890 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7891 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7892 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7893 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7894 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7895 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7896 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7897 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7898 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7899 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7900 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7901 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7902 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7903 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7904 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7905 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7906 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7907 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7908 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7909
7910 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7911 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7912 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7913 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7914 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7915 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7916 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7917 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7918 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7919 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7920 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7921 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7922 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7923 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7924 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7925 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7926 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7927 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7928 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7929 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7930 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7931 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7932 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7933 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7934 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7935 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7936 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7937 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7938 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7939 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7940 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7941 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7942 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7943 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7944 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7945 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7946 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7947 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7948
06d50baa
RM
7949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7950 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7952 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7954 Moved ...
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7956 ... here.
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7962 Moved ...
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7965 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7967 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7969 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7971 Moved ...
7972 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7974 Moved ...
7975 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7977 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7979 Moved ...
7980 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7982 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7984 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7990 Moved ...
7991 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7992 ... here.
7993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7994 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7998 Moved ...
7999 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8003 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8005 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8007 Moved ...
8008 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8010 Moved ...
8011 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8013 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8015 Moved ...
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8020 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8021
a4ccbc9b
JM
80222014-06-25 Joseph Myers <joseph@codesourcery.com>
8023
0828edbf
JM
8024 * timezone/checktab.awk: Update from tzcode 2014e.
8025 * timezone/private.h: Likewise.
8026 * timezone/tzfile.h: Likewise.
8027 * timezone/zdump.c: Likewise.
8028 * timezone/zic.c: Likewise.
8029
a4ccbc9b
JM
8030 * sysdeps/unix/sysv/linux/kernel-features.h
8031 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8032 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8033 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8034 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8035 Remove conditional code.
8036
9aea0cb8
WN
80372014-06-25 Will Newton <will.newton@linaro.org>
8038
8039 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8040 (_dl_arm_cap_flags): Add HWCAP2 values.
8041 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8042 (_DL_HWCAP_COUNT): Increase to 37.
8043 (_DL_HWCAP_LAST): New define.
8044 (_DL_HWCAP2_LAST): New define.
8045 (_dl_procinfo): Add support for printing
8046 AT_HWCAP2 entries.
8047 (_dl_string_hwcap): Use _dl_hwcap_string.
8048
6eaa65ce
AZ
80492014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8050
8051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8052
0f5b7185
JM
80532014-06-25 Joseph Myers <joseph@codesourcery.com>
8054
cfd2ea50
JM
8055 * README: Do not mention ports directory.
8056
cecf2ed4
JM
8057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8058 Remove macro.
8059 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8060 <kernel-features.h>.
8061 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8062 conditional variable definition.
8063 (__futimes): Update comment.
8064 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8065 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8066
a638de82
JM
8067 [BZ #16560]
8068 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8069 arguments close to 0.
8070 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8071 Likewise.
8072 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8073 Likewise.
8074 * math/auto-libm-test-in: Add more tests of exp10.
8075 * math/auto-libm-test-out: Regenerated.
8076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8077
0f5b7185
JM
8078 * sysdeps/unix/sysv/linux/kernel-features.h
8079 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8080 * sysdeps/unix/sysv/linux/readv.c: Do not include
8081 <kernel-features.h>.
8082 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8083 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8084 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8085 unconditional.
8086 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8087 conditional code.
8088 * sysdeps/unix/sysv/linux/writev.c: Do not include
8089 <kernel-features.h>.
8090 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8091 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8092 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8093 unconditional.
8094 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8095 conditional code.
8096
c7aec4be
WN
80972014-06-25 Will Newton <will.newton@linaro.org>
8098
8099 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8100 comment changes throughout the file. Remove checks
8101 for HAVE_*_H definitions that are not required.
8102 (__gen_tempname): Call abort if an unknown kind value is
8103 passed.
8104
c5241f95
AS
81052014-06-25 Andreas Schwab <schwab@suse.de>
8106
8107 [BZ #17086]
8108 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8109 scalbln, scalblnf, scalblnl in libc.
8110
911422da
SP
81112014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8112
8113 [BZ #17086]
8114 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8115 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8116 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8117
0d749bbe
RM
81182014-06-24 Roland McGrath <roland@hack.frob.com>
8119
8120 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8121 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8122 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8123 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8124 Update #include.
8125 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8126 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8127 Update #include.
8128 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8129 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8130 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8131 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8132 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8133 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8134 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8135 * sysdeps/x86/bits/semaphore.h: ... here.
8136 * sysdeps/x86/nptl/elide.h: Moved ...
8137 * sysdeps/x86/elide.h: ... here.
8138 * sysdeps/x86_64/nptl/Implies: File removed.
8139 * sysdeps/i386/nptl/Implies: File removed.
8140
0ea5d373
JM
81412014-06-24 Joseph Myers <joseph@codesourcery.com>
8142
4060283d
JM
8143 [BZ #16539]
8144 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8145 return the argument for normal arguments with exponent below -64.
8146 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8147 Likewise.
8148 * math/auto-libm-test-in: Add another test of expm1.
8149 * math/auto-libm-test-out: Regenerated.
8150
e7dd3c8c
JM
8151 [BZ #16287]
8152 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8153 calling __erfcl for arguments at least 16.
8154 * math/auto-libm-test-in: Add more tests of erf.
8155 * math/auto-libm-test-out: Regenerated.
8156
0ea5d373
JM
8157 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8158 individual architectures.
8159 * sysdeps/unix/sysv/linux/configure: Regenerated.
8160 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8161 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8162 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8163 (ldd_rewrite_script): Define variable.
8164 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8166 file.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8168 generated file.
8169 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8170 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8171 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8172 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8173 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8174 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8175 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8176 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8177
2307e126
SP
81782014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8179
8180 [BZ #17084]
8181 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8182 Rename member __data.d to __data.__elision_data.
8183
c0a4ed77
W
81842014-06-24 Wilco <wdijkstr@arm.com>
8185
8186 * NEWS: Add 16918 to fixed bug list.
8187
b8c00573
W
81882014-06-24 Wilco <wdijkstr@arm.com>
8189
8190 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8191
b5570d92
W
81922014-06-24 Wilco <wdijkstr@arm.com>
8193
8194 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8195 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8196 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8197 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8198 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8199 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8200 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8201 Use _FPU_MASK_RM.
8202
947bdca2
W
82032014-06-24 Wilco <wdijkstr@arm.com>
8204
8205 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8206
00f669ed
W
82072014-06-24 Wilco <wdijkstr@arm.com>
8208
8209 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8210 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8211 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8212 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8213
db59bad3
W
82142014-06-24 Wilco <wdijkstr@arm.com>
8215
8216 [BZ #16918]
8217 * sysdeps/arm/feupdateenv.c (feupdateenv):
8218 Rewrite to reduce FPSCR accesses and fix return value.
8219
001f7b77
W
82202014-06-24 Wilco <wdijkstr@arm.com>
8221
8222 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8223 Optimize to avoid unnecessary FPSCR writes.
8224 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8225 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8226 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8227 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8228
4841e6a6
W
82292014-06-24 Wilco <wdijkstr@arm.com>
8230
8231 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8232 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8233 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8234 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8235 Call libc_fetestexcept_vfp.
8236 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8237 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8238 __SOFTFP__ ifdef so that they can be built for softfp.
8239
0813022c
SP
82402014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8241
08e5862f
SP
8242 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8243 argument type signed char.
8244
0813022c
SP
8245 * Makerules (check-abi): Dump diff of symlist if the test
8246 fails.
8247
3fc7236a
RM
82482014-06-23 Roland McGrath <roland@hack.frob.com>
8249
aba8ef95
RM
8250 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8251 using abort.
8252
3fc7236a
RM
8253 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8254 Remove unused variable ST.
8255
4da6db51
JM
82562014-06-23 Joseph Myers <joseph@codesourcery.com>
8257
4648909d
JM
8258 [BZ #16354]
8259 [BZ #17061]
8260 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8261 small arguments before calling __expm1.
8262 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8263 small arguments before calling __expm1f.
8264 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8265 small arguments before calling __expm1l.
8266 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8267 Likewise.
8268 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8269 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8270 spurious underflow for some cosh tests.
8271 * math/auto-libm-test-out: Regenerated.
8272 * sysdeps/i386/fpu/libm-test-ulps: Update.
8273
46a3d3c7
JM
8274 [BZ #17050]
8275 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8276 (__ieee754_y1): Set errno if return value overflows.
8277 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8278 (__ieee754_y1f): Set errno if return value overflows.
8279 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8280 (__ieee754_y1l): Set errno if return value overflows.
8281 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8282 (__ieee754_y1l): Set errno if return value overflows.
8283 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8284 * math/auto-libm-test-out: Regenerated.
8285
863893ec
JM
8286 * math/gen-auto-libm-tests.c: Document use of
8287 ignore-zero-inf-sign.
8288 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8289 (input_flags): Add ignore-zero-inf-sign.
8290 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8291 * math/gen-libm-test.pl (generate_testfile): Handle
8292 ignore-zero-inf-sign.
8293 * math/auto-libm-test-in: Mark some cpow tests with
8294 ignore-zero-inf-sign and some with xfail-rounding.
8295 * math/auto-libm-test-out: Regenerated.
8296 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8297 * sysdeps/i386/fpu/libm-test-ulps: Update.
8298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8299
4da6db51
JM
8300 [BZ #16315]
8301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8302 overflowing or underflowing operations take place with sign of
8303 result.
8304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8305 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8306 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8307 (__ieee754_pow): Recompute overflowing and underflowing results in
8308 original rounding mode.
8309 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8310 (__powl_helper): Allow negative argument X and scale negated value
8311 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8312 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8313 overflowing or underflowing operations take place with sign of
8314 result.
8315 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8316 Include <math.h>.
8317 * math/auto-libm-test-in: Add more tests of pow.
8318 * math/auto-libm-test-out: Regenerated.
8319 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8320 (pow_tonearest_test_data): Remove.
8321 (pow_test_tonearest): Likewise.
8322 (pow_towardzero_test_data): Likewise.
8323 (pow_test_towardzero): Likewise.
8324 (pow_downward_test_data): Likewise.
8325 (pow_test_downward): Likewise.
8326 (pow_upward_test_data): Likewise.
8327 (pow_test_upward): Likewise.
8328 (main): Don't call removed functions.
8329 * sysdeps/i386/fpu/libm-test-ulps: Update.
8330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8331
5686b236
RM
83322014-06-23 Roland McGrath <roland@hack.frob.com>
8333
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8335 Moved ...
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8338 Moved ...
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8341 Moved ...
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8344 Moved ...
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8347 File removed.
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8349 File removed.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8351 File removed.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8353 File removed.
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8355 File removed.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8357 File removed.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8359 File removed.
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8361 File removed.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8363 File removed.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8365 File removed.
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8367 File removed.
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8369 File removed.
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8371 Moved ...
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8374 Moved ...
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8376 ... here.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8378 Moved ...
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8381 Moved ...
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8384 Moved ...
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8387 Moved ...
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8390 Moved ...
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8393 Moved ...
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8396 Moved ...
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8400 ... here.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8402 Moved ...
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8405 Moved ...
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8407 ... here.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8409 Moved ...
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8411 ... here.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8413 Moved ...
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8415 ... here.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8417 Moved ...
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8420 Moved ...
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8425 Moved ...
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8427 ... here.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8429 Moved ...
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8431 ... here.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8433 Moved ...
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8436 Moved ...
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8439 Moved ...
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8442 Moved ...
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8445 Moved ...
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8447 ... here.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8449 Moved ...
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8452 Moved ...
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8455 Moved ...
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8458 Moved ...
8459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8463 Moved ...
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8466 Moved ...
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8469 Moved ...
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8471 ... here.
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8473 Moved ...
8474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8475 ... here.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8477 Moved ...
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8479 ... here.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8481 Moved ...
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8484 Moved ...
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8487 Moved ...
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8490 Moved ...
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8492 ... here.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8494 Moved ...
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8496 ... here.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8498 Moved ...
8499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8500 ... here.
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8502 Moved ...
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8505 Moved ...
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8507
e6d90d67
WD
85082014-06-23 Will Newton <will.newton@linaro.org>
8509 Wilco <wdijkstr@arm.com>
8510
8511 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8512 implementation. Include get-rounding-mode.h.
8513 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8514 [!libc_feholdsetround_noex_ctx]: Define
8515 libc_feholdsetround_noex_ctx.
8516 [!libc_feholdsetround_noexf_ctx]: Define
8517 libc_feholdsetround_noexf_ctx.
8518 [!libc_feholdsetround_noexl_ctx]: Define
8519 libc_feholdsetround_noexl_ctx.
8520 (libc_feholdsetround_ctx): New function.
8521 (libc_feresetround_ctx): New function.
8522 (libc_feholdsetround_noex_ctx): New function.
8523 (libc_feresetround_noex_ctx): New function.
8524
d42df555
RM
85252014-06-23 Roland McGrath <roland@hack.frob.com>
8526
88a46474
RM
8527 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8528 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8529 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8530 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8531 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8532 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8533
15bed472
RM
8534 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8535 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8536 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8537 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8538 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8539 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8540 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8541 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8542 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8543 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8544 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8545 Moved ...
8546 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8547 ... here.
8548 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8549 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8550 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8551 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8553 Moved ...
8554 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8560 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8562 Moved ...
8563 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8565 Moved ...
8566 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8568 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8569 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8570 Moved ...
8571 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8573 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8575 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8576 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8577 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8578 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8579 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8581 Moved ...
8582 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8583 ... here.
8584 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8585 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8587 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8588 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8589 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8591 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8592 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8593 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8594 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8595 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8597 Moved ...
8598 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8600 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8602 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8603 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8604 Moved ...
8605 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8607 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8609 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8610
d42df555
RM
8611 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8612 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8613 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8622 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8624 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8626 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8630 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8632 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8634 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8636 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8637 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8638 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8639
76e5216e
JM
86402014-06-23 Joseph Myers <joseph@codesourcery.com>
8641
8642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8643 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8644 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8645 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8646 (IPV6_PMTUDISC_INTERFACE): Likewise.
8647 (IPV6_PMTUDISC_OMIT): Likewise.
8648
7a81cbcc
AS
86492014-06-23 Andreas Schwab <schwab@suse.de>
8650
8651 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8652 Remove unused errout label.
8653
db224009
AZ
86542014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8655
8656 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8657 macro: hardware supports Vector Crypto instructions.
8658
f393b4aa
WN
86592014-06-23 Will Newton <will.newton@linaro.org>
8660
cc7d0447
WN
8661 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8662 rather than __builtin_expect.
8663
d6d06225
WN
8664 * elf/dl-lookup.c (undefined_msg): Remove variable.
8665 (_dl_lookup_symbol_x): Replace undefined_msg with string
8666 literal.
8667
f393b4aa
WN
8668 * elf/dl-lookup.c (do_lookup_unique): New function.
8669 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8670 to a separate function.
8671
ac60763e
AS
86722014-06-23 Andreas Schwab <schwab@suse.de>
8673
8674 [BZ #17079]
8675 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8676 before reading the next line.
8677
c5c13355
WN
86782014-06-23 Will Newton <will.newton@linaro.org>
8679
8680 * test-skeleton.c (signal_handler): Use printf and %m
8681 rather than perror. Use printf rather than fprintf to
8682 stderr. Use puts rather than fputs to stderr.
8683 (main): Likewise.
8684
bd3675f9
LC
86852014-06-22 Ludovic Courtès <ludo@gnu.org>
8686
8687 * nscd/nscd.c (thread_info_t): Remove typedef.
8688 (thread_info): Remove variable.
8689
d03efb2f
AM
86902014-06-21 Allan McRae <allan@archlinux.org>
8691
8692 * NEWS: Mention CVE-2014-4043.
8693
bc4a86fa
RM
86942014-06-20 Roland McGrath <roland@hack.frob.com>
8695
dc9a54f8
RM
8696 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8697 * nptl/smp.h: ... here.
8698
bd7022c4
RM
8699 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8700
26ffd5e6
RM
8701 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8702 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8703 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8704 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8705
93a6d082
RM
8706 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8707 * nptl/stack-aliasing.h: New file.
8708 * sysdeps/i386/i686/stack-aliasing.h: New file.
8709 * sysdeps/i386/i686/nptl/Makefile: File removed.
8710 * sysdeps/x86_64/stack-aliasing.h: New file.
8711 * sysdeps/x86_64/nptl/Makefile
8712 (CFLAGS-pthread_create.c): Variable removed.
8713
bc4a86fa
RM
8714 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8715 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8716 old file.
8717 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8718 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8719 old file.
8720
2272ffc1
JM
87212014-06-21 Joseph Myers <joseph@codesourcery.com>
8722
8723 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8724 (__ASSUME_SIGFRAME_V2): Remove macro.
8725 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8726 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8727 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8728 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8729 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8730 Declare as function. Remove conditional macro definitions.
8731 (__default_rt_sa_restorer): Likewise.
8732 (__default_sa_restorer_v1): Remove declaration.
8733 (__default_sa_restorer_v2): Likewise.
8734 (__default_rt_sa_restorer_v1): Likewise.
8735 (__default_rt_sa_restorer_v2): Likewise.
8736 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8737 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8738 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8739
4b88139b
RM
87402014-06-20 Roland McGrath <roland@hack.frob.com>
8741
8742 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8743 (libpthread-routines): Add sysdep.
8744 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8745 * sysdeps/unix/sysv/linux/sparc/Versions
8746 (libpthread: GLIBC_2.3.3): New version set.
8747 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8748 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8749 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8750 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8751 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8753 Moved ...
8754 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8755 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8756 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8757 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8758 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8759 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8760 * sysdeps/sparc/nptl/sem_init.c: ... here.
8761 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8762 * sysdeps/sparc/nptl/sem_post.c: ... here.
8763 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8764 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8765 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8766 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8767 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8768 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8769 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8770 (libpthread-routines): Add cpu_relax.
8771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8772 File removed.
8773 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8774 (librt: GLIBC_2.3.3): New version set.
8775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8776 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8777 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8778 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8781 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8783 Moved ...
8784 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8786 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8788 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8790 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8791 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8792 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8794 Moved ...
8795 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8796 Update #include.
8797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8798 Moved ...
8799 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8800 Update #include.
8801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8802 Moved ...
8803 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8804 Update #include.
8805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8806 Moved ...
8807 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8808 Update #include.
8809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8810 Moved ...
8811 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8812 Update #include.
8813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8814 Moved ...
8815 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8816 Update #include.
8817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8818 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8824 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8826 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8828 Moved ...
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8831 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8833 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8834
d7109027
JM
88352014-06-20 Joseph Myers <joseph@codesourcery.com>
8836
9bc6103d
JM
8837 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8838 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8839 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8840 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8841 * nscd/nscd.c: Likewise.
8842 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8843 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8844 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8845 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8846
d7109027
JM
8847 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8848 <kernel-features.h>.
8849 (init_mq_netlink): Remove conditional have_sock_cloexec
8850 definitions. Remove code conditional on have_sock_cloexec < 0.
8851 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8852 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8853 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8854 <kernel-features.h>.
8855 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8856 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8857
d92d8f8a
L
88582014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8859
8860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8861 Add tests for memset_chk and memset.
8862
8863 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8864 with AVX2_Usable.
8865
4e6d2347
MR
88662014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8867
257ce712
MR
8868 [BZ #16046]
8869 * elf/tst-dl-iter-static.c: New file.
8870 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8871
4e6d2347
MR
8872 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8873 error.
8874
a2a76afe
JM
88752014-06-20 Joseph Myers <joseph@codesourcery.com>
8876
7fd00f99
JM
8877 * sysdeps/unix/sysv/linux/kernel-features.h
8878 (__ASSUME_F_GETOWN_EX): Remove macro.
8879 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8880 <kernel-features.h>.
8881 (miss_F_GETOWN_EX): Remove variable or macro.
8882 (do_fcntl): Do not check miss_F_GETOWN_EX.
8883 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8884
4a103975
JM
8885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8886 Remove macro.
8887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8888 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8889 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8890
a2a76afe
JM
8891 * sysdeps/unix/sysv/linux/kernel-features.h
8892 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8893 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8894 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8895 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8896
90e5dd48
MR
88972014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8898
8899 [BZ #17075]
8900 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8901 Fix calculation of the symbol's value.
8902 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8903 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8904 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8905 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8906 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8907 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8908 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8909 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8910 (modules-names): Add `tst-armtlsdescmod',
8911 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8912 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8913 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8914 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8915 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8916 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8917 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8918 ($(objpfx)tst-armtlsdescloc): New dependency.
8919 ($(objpfx)tst-armtlsdescextnow): Likewise.
8920 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8921 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8922 TLS scheme support.
8923 * sysdeps/arm/configure: Regenerate.
8924
809fdf0d
JM
89252014-06-20 Joseph Myers <joseph@codesourcery.com>
8926
8927 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8928 (__atfct_seterrno_2): Likewise.
8929 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8930 <kernel-features.h>.
8931 (__ASSUME_ATFCTS): Do not undefine and redefine.
8932 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8933 (__have_atfcts): Remove conditional definition.
8934 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8935 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8936 unreachable if [__ASSUME_ATFCTS].
8937 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8938 not undefine and redefine.
8939 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8940 <kernel-features.h>.
8941 (faccessat) [__NR_faccessat]: Make code unconditional.
8942 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8943 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8944 <kernel-features.h>.
8945 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8946 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8947 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8948 <kernel-features.h>.
8949 (fchownat) [__NR_fchownat]: Make code unconditional.
8950 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8951 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8952 <kernel-features.h>.
8953 (futimesat) [__NR_futimesat]: Make code unconditional.
8954 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8955 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8956 <kernel-features.h>.
8957 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8958 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8959 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8960 <kernel-features.h>.
8961 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8962 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8963 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8964 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8965 <kernel-features.h>.
8966 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8967 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8968 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8969 <kernel-features.h>.
8970 (linkat) [__NR_linkat]: Make code unconditional.
8971 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8972 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8973 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8974 <kernel-features.h>.
8975 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8976 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8977 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8978 <kernel-features.h>.
8979 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8980 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8981 * sysdeps/unix/sysv/linux/openat.c: Do not include
8982 <kernel-features.h>.
8983 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8984 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8985 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8986 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8987 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8988 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8989 <kernel-features.h>.
8990 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8991 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8992 result of INLINE_SYSCALL directly, not via int variable.
8993 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8994 <kernel-features.h>.
8995 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8996 (renameat) [__NR_renameat]: Make code unconditional.
8997 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8998 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8999 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9000 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9001 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9002 (__ASSUME_ATFCTS): Do not undefine and redefine.
9003 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9004 <kernel-features.h>.
9005 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9006 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9007 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9008 <kernel-features.h>.
9009 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9010 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9011 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9012 (__ASSUME_ATFCTS): Do not undefine and redefine.
9013 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9014 <kernel-features.h>.
9015 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9016 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9017 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9018 <kernel-features.h>.
9019 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9020 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9021
224c6c51
L
90222014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9023
9024 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9025
aa6ec754
AS
90262014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9027
9028 [BZ #17069]
9029 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9030 constructed tree before returning error.
9031 * posix/bug-regexp36.c: Expand test case.
9032
d8c2869d
SL
90332014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9034
3ef6b850
SL
9035 [BZ #6803]
9036 * math/libm-test.inc (scalbln_test_date):
9037 Add errno expectations.
9038 * math/w_scalblnf.c: New File.
9039 Add wrapper which checks for setting errno to ERANGE.
9040 Add weak_alias for corresponding scalbln function.
9041 * math/w_scalbln.c: Likewise.
9042 * math/w_scalblnl.c: Likewise.
9043 * math/Makefile (libm-calls): Add w_scalbln.
9044 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9045 Remove weak_alias for corresponding scalbln function.
9046 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9048 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9050 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9051 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9052 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9053 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9054 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9055 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9056 Remove long_double_symbol for scalblnl function in libm, libc.
9057 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9058 Add wrapper which checks for setting errno to ERANGE.
9059 Add long_double_symbol for scalblnl function in libm, libc.
9060 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9061 Remove long_double_symbol for scalblnl in libm.
9062 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9063 Add wrapper which checks for setting errno to ERANGE.
9064 Add long_double_symbol for scalblnl function in libm.
9065 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9066 Do not use wrapper because of own implementation.
9067
c8daec5c
L
90682014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9069
9070 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9071 3 bytes for __pad1 for x32.
9072 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9073
5c74e47c
LM
90742014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9075 H.J. Lu <hongjiu.lu@intel.com>
9076
9077 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9078 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9079 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9080 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9081 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9082
4d43ef1e
AS
90832014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9084
9085 [BZ #17069]
9086 * posix/regcomp.c (parse_expression): Deallocate partially
9087 constructed tree before returning error.
9088 * posix/Makefile.c (tests): Add bug-regex36.
9089 (generated): Add bug-regex36.mtrace.
9090 (tests-special): Add $(objpfx)bug-regex36-mem.out
9091 (bug-regex36-ENV): New variable.
9092 ($(objpfx)bug-regex36-mem.out): New rule.
9093 * posix/bug-regex36.c: New file.
9094
51a7380b
WN
90952014-06-19 Will Newton <will.newton@linaro.org>
9096
9097 * malloc/malloc.c (systrim): If extra is zero then return
9098 early.
9099
91b84fe5
SP
91002014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9101
9102 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9103
f940b965
RE
91042014-06-19 Richard Earnshaw <rearnsha@arm.com>
9105
9106 * sysdeps/aarch64/strchr.S: New file.
9107
4ba7a00f
JM
91082014-06-18 Joseph Myers <joseph@codesourcery.com>
9109
9110 [BZ #17022]
9111 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9112 from arguments -2 or below.
9113 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9114 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9115
b3a9f56b
AS
91162014-06-18 Andreas Schwab <schwab@suse.de>
9117
9118 [BZ #17062]
9119 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9120 of a bracket expr not to run off the end of the string.
9121 * posix/Makefile (tests): Add tst-fnmatch3.
9122 * posix/tst-fnmatch3.c: New file.
9123
85d89278
JM
91242014-06-18 Joseph Myers <joseph@codesourcery.com>
9125
9126 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9127 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9128 [$(cross-compiling) = no]: Likewise.
9129 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9130 [$(cross-compiling) = no]: Likewise.
9131
754c5a08
RS
91322014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9133
9134 [BZ #17031]
9135 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9136 double, adjusted for any remainder from the high double.
9137 * math/libm-test.inc (nearbyint): Add tests.
9138 (rint): Likewise.
9139
556f529d
AZ
91402014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9141
9142 * nptl/sysdeps/powerpc/Makefile: Moved ...
9143 * sysdeps/powerpc/nptl/Makefile: ... here.
9144 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9145 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9146 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9147 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9148 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9149 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9150 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9151 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9152 * nptl/sysdeps/powerpc/tls.h: Moved ...
9153 * sysdeps/powerpc/nptl/tls.h: ... here.
9154
91c03c53
JM
91552014-06-16 Joseph Myers <joseph@codesourcery.com>
9156
9157 [BZ #16681]
9158 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9159 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9160 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9161 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9162 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9163 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9164 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9165 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9166 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9167
a76e63c5
AS
91682014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9169
9170 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9171
f2f6d82f
AS
91722014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9173
ea8a15f6
AS
9174 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9175 defined operator.
9176
f2f6d82f
AS
9177 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9178 $TIMEOUTFACTOR.
9179
a7291117
FW
91802014-06-16 Florian Weimer <fweimer@redhat.com>
9181
9182 [BZ #17058]
9183 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9184 non-executed part of the test.
9185
3d7c00e3
AS
91862014-06-16 Andreas Schwab <schwab@suse.de>
9187
9188 * string/bits/string2.h (strdup, strndup): Update feature guard.
9189
6957fb31
DM
91902014-06-14 David S. Miller <davem@davemloft.net>
9191
9192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9193
11b9e55b
AS
91942014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9195
1d2a0492
AS
9196 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9197 that was previously under [RESET_PID].
9198 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9199
11b9e55b
AS
9200 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9201 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9202 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9203 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9204 (__libc_vfork): New strong alias.
9205 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9206
0f6901d0
AK
92072014-06-14 Andi Kleen <ak@linux.intel.com>
9208
9209 * sysdeps/generic/elide.h: New file.
9210
38bbbb9f
SL
92112014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9212
9213 * Makefile (installed-headers): Adjust path of pthread.h header.
9214
45193bb8
RM
92152014-06-13 Roland McGrath <roland@hack.frob.com>
9216
9a25fd1e
RM
9217 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9218 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9219 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9220 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9221
4004f7e4
RM
9222 * nptl/sysdeps/s390/Makefile: Moved ...
9223 * sysdeps/s390/nptl/Makefile: ... here.
9224 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9225 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9226 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9227 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9228 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9229 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9230 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9231 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9232 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9233 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9234 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9235 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9236 * nptl/sysdeps/s390/tls.h: Moved ...
9237 * sysdeps/s390/nptl/tls.h: ... here.
9238
45193bb8
RM
9239 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9240 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9241
f6fdf533
DM
92422014-06-13 David S. Miller <davem@davemloft.net>
9243
9244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9247 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9251 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9252 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9253 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9254 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9255 Remove RESET_PID cpp guards.
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9257 Remove RESET_PID cpp guards.
9258 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9259
f5d71e14
AS
92602014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9261
9262 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9263 __sp to uintptr_t.
9264
b7aa8caa
AK
92652014-06-13 Andi Kleen <ak@linux.intel.com>
9266
4b266200
AZ
9267 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9268 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9269 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9271 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9272 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9273 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9274 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9275 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9276 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9277 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9279 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9280 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9282 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9283 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9284 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9285 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9286 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9287
9288 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9289 (pthread_rwlock_rdlock): Add elision.
9290 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9291 (pthread_rwlock_wrlock): Add elision.
9292 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9293 (pthread_rwlock_trywrlock): Add elision.
9294 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9295 (pthread_rwlock_tryrdlock): Add elision.
9296 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9297 (pthread_rwlock_tryrdlock): Add elision unlock.
9298 * nptl/sysdeps/pthread/pthread.h:
9299 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9300 (PTHREAD_RWLOCK_INITIALIZER,
9301 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9302 Handle new elision field.
9303 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9304 * sysdeps/arm/nptl/bits/pthreadtypes.h
9305 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9306 * sysdeps/sh/nptl/bits/pthreadtypes.h
9307 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9308 * sysdeps/tile/nptl/bits/pthreadtypes.h
9309 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9310 * sysdeps/a/nptl/bits/pthreadtypes.h
9311 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9312 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9313 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9314 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9315 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9316 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9317 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9318 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9319 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9320 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9321 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9322 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9323 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9324 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9325 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9326 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9328 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9329 (elision_init): Set try_xbegin to zero when no RTM.
9330 * sysdeps/x86/nptl/bits/pthreadtypes.h
9331 (pthread_rwlock_t): Change __pad1 to __rwelision.
9332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9333
a832bdd3
AK
93342014-06-13 Andi Kleen <ak@linux.intel.com>
9335
9336 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9337 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9338 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9339 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9340
995a46bb
MI
93412014-06-13 Meador Inge <meadori@codesourcery.com>
9342
9343 [BZ #16996]
03ed7738 9344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9345 that the cached result has been set before returning it.
9346
45262aee
RM
93472014-06-12 Roland McGrath <roland@hack.frob.com>
9348
febf6cc5
RM
9349 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9350 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9352 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9353 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9354 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9355
e2682246
RM
9356 * nptl/sysdeps/sparc/Makefile: Moved ...
9357 * sysdeps/sparc/nptl/Makefile: ... here.
9358 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9359 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9360 * nptl/sysdeps/sparc/tls.h: Moved ...
9361 * sysdeps/sparc/nptl/tls.h: ... here.
9362 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9363 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9364 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9365 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9366 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9367 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9368 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9369 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9370 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9371 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9372 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9373 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9374 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9375 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9376 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9377 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9378 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9379 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9380 Update #include.
9381 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9382 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9383 Update #include.
9384 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9385 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9386 Update #include.
9387 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9388 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9389 Update #include.
9390
b0725f43
RM
9391 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9392
b14368b8
RM
9393 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9394 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9395
c5620eb3
RM
9396 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9397 (struct list_links): Type removed.
9398 (struct thread_node, struct timer_node): Replace struct list_links
9399 with struct list_head.
9400 (list_unlink_ip): Likewise.
9401 * sysdeps/pthread/timer_routines.c
9402 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9403 (list_append, list_insbefore): Likewise.
9404 (list_init): Function removed.
9405 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
9406 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9407 * sysdeps/pthread/Makefile: ... here, new file.
9408
9409 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9410 * sysdeps/nptl/Implies: ... here.
9411 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9412 * nptl/sysdeps/pthread/list.h: Moved ...
9413 * include/list.h: ... here.
9414 * nptl/sysdeps/pthread/createthread.c: Moved ...
9415 * nptl/createthread.c: ... here.
9416 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9417 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9418 * nptl/pt-longjmp.c: ... here.
9419 * nptl/sysdeps/pthread/Makefile: Moved ...
9420 * sysdeps/nptl/Makefile: ... here.
9421 * nptl/sysdeps/pthread/Subdirs: Moved ...
9422 * sysdeps/nptl/Subdirs: ... here.
9423 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9424 * sysdeps/nptl/aio_misc.h: ... here.
9425 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9426 * sysdeps/nptl/bits/libc-lock.h: ... here.
9427 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9428 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9429 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9430 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9431 * nptl/sysdeps/pthread/configure: Moved ...
9432 * sysdeps/nptl/configure: ... here.
9433 * nptl/sysdeps/pthread/configure.ac: Moved ...
9434 * sysdeps/nptl/configure.ac: ... here.
9435 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9436 * sysdeps/nptl/gai_misc.h: ... here.
9437 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9438 * sysdeps/nptl/librt-cancellation.c: ... here.
9439 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9440 * sysdeps/nptl/malloc-machine.h: ... here.
9441 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9442 * sysdeps/nptl/pthread-functions.h: ... here.
9443 * nptl/sysdeps/pthread/pthread.h: Moved ...
9444 * sysdeps/nptl/pthread.h: ... here.
9445 * nptl/sysdeps/pthread/setxid.h: Moved ...
9446 * sysdeps/nptl/setxid.h: ... here.
9447 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9448 * sysdeps/nptl/sigfillset.c: ... here.
9449 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9450 * sysdeps/nptl/tcb-offsets.h: ... here.
9451 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9452 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9453 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9454 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9455 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9456 * sysdeps/pthread/allocalim.h: ... here.
9457 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9458 * sysdeps/pthread/bits/sigthread.h: ... here.
9459 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9460 * sysdeps/pthread/flockfile.c: ... here.
9461 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9462 * sysdeps/pthread/ftrylockfile.c: ... here.
9463 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9464 * sysdeps/pthread/funlockfile.c: ... here.
9465 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9466 * sysdeps/pthread/posix-timer.h: ... here.
9467 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9468 * sysdeps/pthread/timer_create.c: ... here.
9469 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9470 * sysdeps/pthread/timer_delete.c: ... here.
9471 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9472 * sysdeps/pthread/timer_getoverr.c: ... here.
9473 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9474 * sysdeps/pthread/timer_gettime.c: ... here.
9475 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9476 * sysdeps/pthread/timer_routines.c: ... here.
9477 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9478 * sysdeps/pthread/timer_settime.c: ... here.
9479 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9480 * sysdeps/pthread/tst-timer.c: ... here.
9481 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9482 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9483
e876b090
RM
9484 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9485 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9486
f6b07b3d
RM
9487 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9488 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9489 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9490 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9491 Update #include target.
9492 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9493 * sysdeps/i386/i686/nptl/Makefile: ... here.
9494 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9495 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9496 Update #include target.
9497 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9498 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9499 * nptl/sysdeps/i386/Makefile: Moved ...
9500 * sysdeps/i386/nptl/Makefile: ... here.
9501 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9502 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9503 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9504 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9505 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9506 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9507 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9508 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9509 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9510 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9511 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9512 * nptl/sysdeps/i386/tls.h: Moved ...
9513 * sysdeps/i386/nptl/tls.h: ... here.
9514
45262aee
RM
9515 * sysdeps/sh/Makefile [$(subdir) = csu]
9516 (gen-as-const-headers): Add tcb-offsets.sym.
9517 * nptl/sysdeps/sh/Makefile: File removed.
9518 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9519 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9520 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9521 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9522 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9523 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9524 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9525 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9526 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9527 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9528 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9529 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9530 * nptl/sysdeps/sh/tls.h: Moved ...
9531 * sysdeps/sh/nptl/tls.h: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9533 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9535 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9537 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9539 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9540 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9541 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9542 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9543 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9544 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9545 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9546 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9547 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9548 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9549 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9551 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9553 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9555 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9557 Moved ...
9558 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9559 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9560 Moved ...
9561 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9563 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9564 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9565 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9567 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9568 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9569 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9570 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9571 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9572 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9573 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9574 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9575 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9576 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9577 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9578 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9579 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9580
35a5e3e3
SL
95812014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9582
9583 * posix/spawn_faction_addopen.c: Include string.h.
9584
14642b85
RM
95852014-06-11 Roland McGrath <roland@hack.frob.com>
9586
9587 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9588 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9589 * nptl/sysdeps/x86_64/Makefile: Moved ...
9590 * sysdeps/x86_64/nptl/Makefile: ... here.
9591 * nptl/sysdeps/x86_64/configure: Moved ...
9592 * sysdeps/x86_64/nptl/configure: ... here.
9593 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9594 * sysdeps/x86_64/nptl/configure.ac: ... here.
9595 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9596 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9597 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9598 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9599 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9600 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9601 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9602 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9603 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9604 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9605 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9606 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9607 * nptl/sysdeps/x86_64/tls.h: Moved ...
9608 * sysdeps/x86_64/nptl/tls.h: ... here.
9609 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9610 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9611 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9612 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9613
9614 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9615
31c44fea
AZ
96162014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9617
9618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9619
e81a4f9a
JM
96202014-06-11 Joseph Myers <joseph@codesourcery.com>
9621
9622 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9623 type.
9624 [POSIX] (off_t): Likewise.
9625 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9626 [POSIX] (S_ISBLK): Require macro.
9627 [POSIX] (S_ISCHR): Likewise.
9628 [POSIX] (S_ISDIR): Likewise.
9629 [POSIX] (S_ISFIFO): Likewise.
9630 [POSIX] (S_ISREG): Likewise.
9631 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9632 optional-macro.
9633 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9634 type.
9635 [POSIX] (time_t): Likewise.
9636 [POSIX] (timer_t): Likewise.
9637
89e435f3
FW
96382014-06-11 Florian Weimer <fweimer@redhat.com>
9639
9640 [BZ #17048]
9641 * posix/spawn_int.h (struct __spawn_action): Make the path string
9642 non-const to support deallocation.
9643 * posix/spawn_faction_addopen.c
9644 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9645 * posix/spawn_faction_destroy.c
9646 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9647 path in all spawn_do_open actions.
9648 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9649 posix_spawn_file_actions_addopen.
9650
c3a2ebe1
CM
96512014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9652
9653 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9654 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9655 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9656 conditional code always true.
9657 (__libc_vfork): New alias.
9658
9503784a
RM
96592014-06-11 Roland McGrath <roland@hack.frob.com>
9660
c9cab3d2
RM
9661 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9662 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9663
d3996c79
RM
9664 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9665
ba5ec611
RM
9666 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9667 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9668
f12b4814
RM
9669 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9670 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9671
9503784a
RM
9672 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9673 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9674
e23d3d26
VR
96752014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9676
9677 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9678 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9679 multiarch strcmp for PPC64.
9680 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9681 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9683 multiarch optimizations.
9684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9685 (__libc_ifunc_impl_list): Likewise.
9686
42b1161e
SP
96872014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9688
9689 * benchtests/scripts/validate_benchout.py: New script.
9690 * benchtests/Makefile (bench-func): Call it.
9691 * benchtests/scripts/benchout.schema.json: New file.
9692
2d0fc4dc
CM
96932014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9694
4a594c34
AZ
9695 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9696 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9697 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9698 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9699 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9700 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9701 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9702 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9703 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9704 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9705 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9706 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9707 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9708 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9709 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9710 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 9712 Moved ...
4a594c34 9713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 9714 ... here.
4a594c34 9715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 9716 Moved ...
4a594c34
AZ
9717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 9719 Moved ...
4a594c34 9720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 9721 ... here.
4a594c34 9722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 9723 Moved ...
4a594c34 9724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 9725 ... here.
4a594c34 9726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 9727 Moved ...
4a594c34
AZ
9728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 9730 Moved ...
4a594c34 9731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 9732 ... here.
4a594c34 9733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 9734 Moved ...
4a594c34 9735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 9736 ... here.
4a594c34 9737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 9738 Moved ...
4a594c34
AZ
9739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 9741 Moved ...
4a594c34 9742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 9743 ... here.
4a594c34 9744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 9745 Moved ...
4a594c34 9746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 9747 ... here.
4a594c34 9748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 9749 Moved ...
4a594c34 9750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 9751 ... here.
4a594c34 9752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 9753 Moved ...
4a594c34
AZ
9754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 9756 Moved ...
4a594c34 9757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 9758 ... here.
4a594c34 9759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 9760 Moved ...
4a594c34 9761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 9762 ... here.
4a594c34 9763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 9764 Moved ...
4a594c34 9765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 9766 ... here.
4a594c34 9767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 9768 Moved ...
4a594c34
AZ
9769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 9771 Moved ...
4a594c34 9772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 9773 ... here.
4a594c34 9774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 9775 Moved ...
4a594c34 9776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 9777 ... here.
4a594c34 9778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 9779 Moved ...
4a594c34
AZ
9780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 9782 Moved ...
4a594c34 9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 9784 ... here.
4a594c34 9785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 9786 Moved ...
4a594c34
AZ
9787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 9789 Moved ...
4a594c34
AZ
9790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 9792 Moved ...
4a594c34 9793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 9794 ... here.
4a594c34 9795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 9796 Moved ...
4a594c34 9797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 9798 ... here.
4a594c34 9799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 9800 Moved ...
4a594c34 9801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 9802 ... here.
4a594c34 9803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 9804 Moved ...
4a594c34
AZ
9805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 9807 Moved ...
4a594c34 9808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 9809 ... here.
4a594c34 9810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 9811 Moved ...
4a594c34 9812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 9813 ... here.
4a594c34
AZ
9814 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9815 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9816 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9817 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9818 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 9819 Moved ...
4a594c34 9820 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 9821 ... here.
4a594c34
AZ
9822 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9825 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 9835 Moved ...
4a594c34
AZ
9836 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 9838 Moved ...
4a594c34
AZ
9839 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 9843 Moved ...
4a594c34
AZ
9844 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9848 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9849 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9850 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 9851
0570cfed
W
98522014-06-10 Wilco <wdijkstr@arm.com>
9853
9854 * math/test-fenv-return.c: New file.
9855 * math/Makefile: Add new test test-fenv-return.
9856
f8ba1b56
JM
98572014-06-10 Joseph Myers <joseph@codesourcery.com>
9858
9859 [BZ #17042]
9860 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9861 when x - 1 is zero.
9862 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9863 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9864 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9865 0.0L for an argument of 1.0L.
9866 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9867 Likewise.
9868 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9869 value when x - 1 is zero.
9870 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9871 * sysdeps/i386/fpu/libm-test-ulps: Update.
9872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9873
2c3520d9
BO
98742014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9875
9876 [BZ #15119]
9877 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9878
acaa4d24
RM
98792014-06-09 Roland McGrath <roland@hack.frob.com>
9880
9881 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9882 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9883
962b744d
RM
98842014-06-09 Roland McGrath <roland@hack.frob.com>
9885
d752f0cc
RM
9886 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9887 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9888
34eda6d1
RM
9889 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9890 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9891
50f0a637
RM
9892 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9893 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9894
08f41f04
RM
9895 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9896 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9897
962b744d
RM
9898 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9899 if not already defined.
9900 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9901 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9902 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9903 (TLS_INIT_TP): Use it.
9904 (TLS_DEFINE_INIT_TP): New macro.
9905 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9906
09f19b05
JM
99072014-06-09 Joseph Myers <joseph@codesourcery.com>
9908
9909 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9910 constant.
9911 [POSIX] (IXANY): Likewise.
9912 [POSIX] (OLCUC): Likewise.
9913 [POSIX || POSIX2008] (CBAUD): Do not allow.
9914 [POSIX || POSIX2008] (DEFECHO): Likewise.
9915 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9916 [POSIX || POSIX2008] (ECHOKE): Likewise.
9917 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9918 [POSIX || POSIX2008] (EXTA): Likewise.
9919 [POSIX || POSIX2008] (EXTB): Likewise.
9920 [POSIX || POSIX2008] (FLUSHO): Likewise.
9921 [POSIX || POSIX2008] (LOBLK): Likewise.
9922 [POSIX || POSIX2008] (PENDIN): Likewise.
9923 [POSIX || POSIX2008] (SWTCH): Likewise.
9924 [POSIX || POSIX2008] (VDISCARD): Likewise.
9925 [POSIX || POSIX2008] (VDSUSP): Likewise.
9926 [POSIX || POSIX2008] (VLNEXT): Likewise.
9927 [POSIX || POSIX2008] (VREPRINT): Likewise.
9928 [POSIX || POSIX2008] (VSTATUS): Likewise.
9929 [POSIX || POSIX2008] (VWERASE): Likewise.
9930 (B*): Change to B[0123456789]*.
9931 * conform/data/time.h-data [POSIX || UNIX98]
9932 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9933 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9934 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9935 [POSIX] (tm_*): Do not allow.
9936
686554bf
JM
99372014-06-07 Joseph Myers <joseph@codesourcery.com>
9938
9939 * Makefile (install): Don't set LANGUAGE.
9940 * Makefile.in (install): Likewise.
9941 * assert/Makefile (test-assert-ENV): Remove variable.
9942 (test-assert-perr-ENV): Likewise.
9943 * elf/Makefile (neededtest4-ENV): Likewise.
9944 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9945 [$(cross-compiling) = no]: Don't set LANGUAGE.
9946 * io/ftwtest-sh (LANG): Remove variable.
9947 * libio/Makefile (tst-widetext-ENV): Likewise.
9948 * manual/install.texi (Running make install): Don't refer to
9949 environment settings for make install.
9950 * INSTALL: Regenerated.
9951 * nptl/tst-tls6.sh: Don't set LANG.
9952 * posix/globtest.sh (LANG): Remove variable.
9953 * string/Makefile (tester-ENV): Likewise.
9954 (inl-tester-ENV): Likewise.
9955 (noinl-tester-ENV): Likewise.
9956 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9957 [$(cross-compiling) = no]: Don't set LANGUAGE.
9958 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9959 without explicit environment settings.
9960
68e6b6b1
RM
99612014-06-06 Roland McGrath <roland@hack.frob.com>
9962
9963 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9964 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9965 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9966 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9967
4d3ae034
CM
99682014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9969
9970 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9971 other files in the crypt directory.
9972 * crypt/crypt.c: Remove duplicate includes.
9973 * crypt/crypt-entry.c: Likewise.
9974 * crypt/crypt_util.c: Likewise.
9975
8540f6d2
JM
99762014-06-06 Joseph Myers <joseph@codesourcery.com>
9977
9978 * Makeconfig (run-program-env): New variable.
9979 (run-program-prefix-before-env): Likewise.
9980 (run-program-prefix-after-env): Likewise.
9981 (run-program-prefix): Define in terms of new variables.
9982 (built-program-cmd-before-env): New variable.
9983 (built-program-cmd-after-env): Likewise.
9984 (built-program-cmd): Define in terms of new variables.
9985 (test-program-prefix-before-env): New variable.
9986 (test-program-prefix-after-env): Likewise.
9987 (test-program-prefix): Define in terms of new variables.
9988 (test-program-cmd-before-env): New variable.
9989 (test-program-cmd-after-env): Likewise.
9990 (test-program-cmd): Define in terms of new variables.
9991 * Rules (make-test-out): Use $(run-program-env).
9992 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9993 (help): Do not mention environment variables. Mention
9994 --timeoutfactor option.
9995 (timeoutfactor): New variable.
9996 (blacklist_exports): Remove function.
9997 (exports): Remove variable.
9998 (command): Do not include ${exports}.
9999 * manual/install.texi (Configuring and compiling): Do not mention
10000 test wrappers preserving environment variables. Mention that last
10001 assignment to a variable must take precedence.
10002 * INSTALL: Regenerated.
10003 * benchtests/Makefile (run-bench): Use $(run-program-env).
10004 * catgets/Makefile ($(objpfx)test1.cat): Use
10005 $(built-program-cmd-before-env), $(run-program-env) and
10006 $(built-program-cmd-after-env).
10007 ($(objpfx)test2.cat): Do not specify environment variables
10008 explicitly.
10009 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10010 $(run-program-env) and $(built-program-cmd-after-env).
10011 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10012 $(run-program-env) and $(test-program-cmd-after-env).
10013 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10014 explicitly.
10015 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10016 run_program_env and test_program_cmd_after_env arguments.
10017 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10018 * elf/tst-pathopt.sh: Use run_program_env argument.
10019 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10020 $(test-wrapper-env) and $(run-program-env).
10021 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10022 run_program_env arguments.
10023 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10024 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10025 $(test-program-prefix-before-env), $(run-program-env) and
10026 $(test-program-prefix-after-env).
10027 ($(objpfx)tst-gettext2.out): Likewise.
10028 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10029 run_program_env and test_program_prefix_after_env arguments.
10030 * intl/tst-gettext2.sh: Likewise.
10031 * intl/tst-gettext4.sh: Do not set environment variables
10032 explicitly.
10033 * intl/tst-gettext6.sh: Likewise.
10034 * intl/tst-translit.sh: Likewise.
10035 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10036 $(test-program-prefix-before-env), $(run-program-env) and
10037 $(test-program-prefix-after-env).
10038 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10039 run_program_env and test_program_prefix_after_env arguments.
10040 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10041 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10042 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10043 explicitly with each use of ${test_wrapper_env}.
10044 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10045 $(test-program-prefix-before-env), $(run-program-env) and
10046 $(test-program-prefix-after-env).
10047 * posix/tst-getconf.sh: Do not set environment variables
10048 explicitly.
10049 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10050 run_program_env and test_program_prefix_after_env arguments.
10051 * stdio-common/tst-printf.sh: Do not set environment variables
10052 explicitly.
10053 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10054 $(test-program-prefix-before-env), $(run-program-env) and
10055 $(test-program-prefix-after-env).
10056 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10057 run_program_env and test_program_prefix_after_env arguments.
10058 Split $test calls into $test_pre and $test.
10059 * timezone/Makefile (build-testdata): Use
10060 $(built-program-cmd-before-env), $(run-program-env) and
10061 $(built-program-cmd-after-env).
10062
ed36bfa1
AZ
100632014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10064
10065 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10066 strlen for non SHARED builds.
10067
fc75bf46
SP
100682014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10069
10070 * nptl/allocatestack.c (check_list): Inlined function...
10071 (__reclaim_stacks): ... here.
10072
d89b3d80
OB
100732014-06-05 Ondřej Bílka <neleai@seznam.cz>
10074
10075 [BZ #15698]
10076 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10077 memory overrun.
10078
2bf18041
JM
100792014-06-05 Joseph Myers <joseph@codesourcery.com>
10080
10081 * Rules (make-test-out): Include
10082 LOCPATH=$(common-objpfx)localedata in default environment.
10083 * debug/Makefile (tst-chk1-ENV): Remove variable.
10084 (tst-chk2-ENV): Likewise.
10085 (tst-chk3-ENV): Likewise.
10086 (tst-chk4-ENV): Likewise.
10087 (tst-chk5-ENV): Likewise.
10088 (tst-chk6-ENV): Likewise.
10089 (tst-lfschk1-ENV): Likewise.
10090 (tst-lfschk2-ENV): Likewise.
10091 (tst-lfschk3-ENV): Likewise.
10092 (tst-lfschk4-ENV): Likewise.
10093 (tst-lfschk5-ENV): Likewise.
10094 (tst-lfschk6-ENV): Likewise.
10095 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10096 (tst-iconv7-ENV): Likewise.
10097 * intl/Makefile (LOCPATH-ENV): Likewise.
10098 (tst-codeset-ENV): Likewise.
10099 (tst-gettext3-ENV): Likewise.
10100 (tst-gettext5-ENV): Likewise.
10101 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10102 (tst-fopenloc-ENV): Likewise.
10103 (tst-fgetws-ENV): Remove variable.
10104 (tst-ungetwc1-ENV): Likewise.
10105 (tst-ungetwc2-ENV): Likewise.
10106 (bug-ungetwc2-ENV): Likewise.
10107 (tst-swscanf-ENV): Likewise.
10108 (bug-ftell-ENV): Likewise.
10109 (tst-fgetwc-ENV): Likewise.
10110 (tst-fseek-ENV): Likewise.
10111 (tst-ftell-partial-wide-ENV): Likewise.
10112 (tst-ftell-active-handler-ENV): Likewise.
10113 (tst-ftell-append-ENV): Likewise.
10114 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10115 (tst-regexloc-ENV): Likewise.
10116 (bug-regex1-ENV): Likewise.
10117 (tst-regex-ENV): Likewise.
10118 (tst-regex2-ENV): Likewise.
10119 (bug-regex5-ENV): Likewise.
10120 (bug-regex6-ENV): Likewise.
10121 (bug-regex17-ENV): Likewise.
10122 (bug-regex18-ENV): Likewise.
10123 (bug-regex19-ENV): Likewise.
10124 (bug-regex20-ENV): Likewise.
10125 (bug-regex22-ENV): Likewise.
10126 (bug-regex23-ENV): Likewise.
10127 (bug-regex25-ENV): Likewise.
10128 (bug-regex26-ENV): Likewise.
10129 (bug-regex30-ENV): Likewise.
10130 (bug-regex32-ENV): Likewise.
10131 (bug-regex33-ENV): Likewise.
10132 (bug-regex34-ENV): Likewise.
10133 (bug-regex35-ENV): Likewise.
10134 (tst-rxspencer-ENV): Likewise.
10135 (tst-rxspencer-no-utf8-ENV): Likewise.
10136 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10137 (tst-sscanf-ENV): Likewise.
10138 (tst-swprintf-ENV): Likewise.
10139 (tst-swscanf-ENV): Likewise.
10140 (test-vfprintf-ENV): Likewise.
10141 (scanf13-ENV): Likewise.
10142 (bug14-ENV): Likewise.
10143 (tst-grouping-ENV): Likewise.
10144 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10145 (tst-strtod3-ENV): Likewise.
10146 (tst-strtod4-ENV): Likewise.
10147 (tst-strtod5-ENV): Likewise.
10148 (testmb2-ENV): Likewise./
10149 * string/Makefile (tst-strxfrm-ENV): Likewise.
10150 (tst-strxfrm2-ENV): Likewise.
10151 (bug-strcoll1-ENV): Likewise.
10152 (test-strcasecmp-ENV): Likewise.
10153 (test-strncasecmp-ENV): Likewise.
10154 * time/Makefile (tst-strptime-ENV): Likewise.
10155 (tst-ftime_l-ENV): Likewise.
10156 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10157 (tst-mbrtowc-ENV): Likewise.
10158 (tst-wcrtomb-ENV): Likewise.
10159 (tst-mbrtowc2-ENV): Likewise.
10160 (tst-c16c32-1-ENV): Likewise.
10161 (tst-mbsnrtowcs-ENV): Likewise.
10162
cd1fb604
OB
101632014-06-05 Ondřej Bílka <neleai@seznam.cz>
10164
10165 * manual/resource.texi (How to get information about the memory
10166 subsystem?): Fix typo.
10167 Reported by Peon de la Parra Ivan <peon@keba.com>
10168
b42eca7d
GY
101692014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10170
10171 [BZ #16882]
10172 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10173 (pthread_spin_lock): Branch out of spin loop to proper location.
10174 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10175 (pthread_spin_lock): Likewise.
10176
902b71f9
DM
10177 * nptl/tst-spin4.c: New test.
10178 * nptl/Makefile (tests): Add tst-spin4.
10179
f9d2d032
AS
101802014-06-03 Andreas Schwab <schwab@suse.de>
10181
10182 [BZ #15946]
10183 * resolv/res_send.c (send_dg): Reload file descriptor after
10184 calling reopen.
10185
cf7bfd28
SL
101862014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10187
10188 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10189
111cc714
RH
101902014-06-03 Richard Henderson <rth@redhat.com>
10191
89b4bd6b
RH
10192 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10193 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10194 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10195 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10196 in the SAVE_PID block.
10197 (__libc_vfork): New alias.
71840409 10198 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10199
111cc714
RH
10200 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10201 child in registers, not on the stack. Remove RESET_PID conditionals.
10202 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10203
ccc39911
MS
102042014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10205
10206 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10207
693096cc
W
102082014-06-03 Wilco <wdijkstr@arm.com>
10209
10210 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10211 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10212 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10213 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10214 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10215 Likewise.
10216
0b4366bc
W
102172014-06-03 Wilco <wdijkstr@arm.com>
10218
10219 * sysdeps/aarch64/fpu/math_private.h
10220 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10221 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10222 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10223 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10224 Fix declarations.
10225
8747cd03
KS
102262014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10227
10228 * crypt/crypt-private.h: Include ufc-crypt.h.
10229 (__b64_from_24bit): Declare extern.
10230 * crypt/crypt_util.c(__b64_from_24bit): New function.
10231 (b64t): New static const variable.
10232 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10233 (b64t): Remove variable.
10234 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10235 * crypt/sha256-crypt.c: Include crypt-private.h.
10236 (b64t): Remove variable.
10237 (__sha256_crypt_r): Remove b64_from_24bit and replace
10238 with __b64_from_24bit.
10239 * crypt/sha512-crypt.c: Likewise.
10240
d936d379
RM
102412014-06-02 Roland McGrath <roland@hack.frob.com>
10242
10243 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10244 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10245 Label the code __libc_vfork rather than __vfork.
10246 [!NOT_IN_libc] (vfork): Define as weak alias.
10247 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10248 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10249 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10250
9fa76613
SP
102512014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10252
10253 * malloc/malloc.c (malloc_info): Fix format specifier for
10254 n_mmaps.
10255
a88dadbe
W
102562014-06-02 Wilco <wdijkstr@arm.com>
10257
10258 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10259 FPCR write.
10260
c95b3011
W
102612014-06-02 Wilco <wdijkstr@arm.com>
10262
10263 [BZ #17009]
10264 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10265 Rewrite to reduce FPCR/FPSR accesses.
10266
6b4d7a90
DM
102672014-06-01 David S. Miller <davem@davemloft.net>
10268
10269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10270
30f3d07c
DM
102712014-05-31 David S. Miller <davem@davemloft.net>
10272
10273 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10274 to occur in round to nearest mode when |x| >= 2.0
10275
74f31c18
RH
102762014-05-30 Richard Henderson <rth@twiddle.net>
10277
f0712b54
RH
10278 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10279 (PSEUDO_RET_NOERRNO): Remove.
10280 (ret): Don't redefine.
10281 (ret_NOERRNO): Define in terms of ret.
10282 (ret_ERRVAL): Likewise.
10283
74f31c18
RH
10284 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10285 use of PSEUDO_RET; perform the error check directly.
10286
30477995
MM
102872014-05-30 Marko Myllynen <myllynen@redhat.com>
10288
10289 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10290 with __int128_t.
10291
62a58816
SP
102922014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10293
10294 * malloc/malloc (malloc_info): Fix formatting.
10295
4d653a59
SP
102962014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10297 Roland McGrath <roland@hack.frob.com>
10298
10299 * malloc/malloc (malloc_info): Also print mmapped statistics.
10300
5190c17f
RM
103012014-05-30 Roland McGrath <roland@hack.frob.com>
10302
10303 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10304 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10305
987c0269
OB
103062014-05-30 Ondřej Bílka <neleai@seznam.cz>
10307
10308 * malloc/malloc.c (malloc_info): Inline mi_arena.
10309
af4e8ef9
RH
103102014-05-29 Richard Henderson <rth@twiddle.net>
10311
1670e207
RH
10312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10313 Remove comma before expanding ASM_ARGS_##nr.
10314 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10315 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10316 of ASM_ARGS_##nr.
10317 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10318 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10319 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10320 (ASM_ARGS_1): Add leading comma.
10321
11a28aee
RH
10322 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10323 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10324 to __errno_location.
10325 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10326 Remove the expected plt for __errno_location.
10327
a17e5ffb 10328 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10329 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10330 call to __read_tp.
10331
b5be4597
RH
10332 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10333 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10334 it and break it down.
10335 (DOCARGS_0, DOCARGS_1): Do nothing.
10336 (DOCARGS_2): Update to store into the new stack frame.
10337 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10338 (UNDOCARGS_1): Update to restore from the new stack frame.
10339 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10340 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10341
645d44ab
RH
10342 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10343 (SINGLE_THREAD_P): New parameter for result regno.
10344 (PSEUDO): Update to match; use cbz instead of beq.
10345
a8b4f04a
RH
10346 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10347 Use ENTRY to define the _nocancel entry point. Share the syscall
10348 and syscall error check paths with the cancel path.
10349 (PSEUDO_END): New.
10350
af4e8ef9
RH
10351 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10352 whitespace; tabs before and after asm mnemonics.
10353
26b0d2e1
EW
103542014-05-29 Eric Wong <normalperson@yhbt.net>
10355
10356 [BZ #15132]
10357 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10358 Call fstat64 or stat64 internally, depending on arguments passed.
10359 Replace stat buffer argument with file descriptor argument.
10360 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10361 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10362 Pass fd to __internal_statvfs instead of calling fstat64.
10363 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10364 Pass fd to __internal_statvfs64 instead of calling fstat64.
10365 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10366 Pass -1 to __internal_statvfs instead of calling stat64.
10367 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10368 Pass -1 to __internal_statvfs64 instead of calling stat64.
10369
1efe2bd9
RM
103702014-05-28 Roland McGrath <roland@hack.frob.com>
10371
0d3b7a19
RM
10372 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10373 that was previously under [RESET_PID].
10374 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10375
1efe2bd9
RM
10376 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10377 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10378
a6bea3ca
RM
103792014-05-27 Roland McGrath <roland@hack.frob.com>
10380
30b6629e
RM
10381 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10382
a6bea3ca
RM
10383 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10384 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10385
3dfb9a5c
OB
103862014-05-27 Ondřej Bílka <neleai@seznam.cz>
10387
10388 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10389
774f9285
AS
103902014-05-27 Andreas Schwab <schwab@suse.de>
10391
10392 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10393 TLS_INIT_TP macro.
10394 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10395 * elf/rtld.c (init_tls, dl_main): Likewise.
10396 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10397 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10398 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10399 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10400 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10401 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10402 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10403 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10404 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10405 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10406 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10407 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10408 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10409 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10410 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10411 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10412 * sysdeps/generic/tls.h: Update description.
10413
36ffe739
WN
104142014-05-27 Will Newton <will.newton@linaro.org>
10415
10416 [BZ #16990]
10417 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10418 and restore r2 rather than just restoring.
10419
2482ae43
SP
104202014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10421
10422 [BZ #16724]
10423 * libio/tst-ftell-append.c: New test case.
10424 * libio/Makefile (tests): Add test case.
10425 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10426 append mode.
10427 * libio/wfileops.c (do_ftell_wide): Likewise.
10428
3d1024e8
AZ
104292014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10430
bab90016
AZ
10431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10432
c7a8d667
AZ
10433 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10434 ...
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10437 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10438 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10439 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10440 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10441 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10442 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10443 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10444 Moved ...
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10447 Moved ...
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10449 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10450 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10451 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10452 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10453 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10454 ...
10455 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10456 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10457 Moved ...
10458 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10459 here.
10460 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10461 ...
10462 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10463 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10464 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10465
daee7851
AZ
10466 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10467 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10468 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10469 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10470
50a40819
AZ
10471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10472 merge into ...
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10475 ...
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10478 ...
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10480 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10481 Moved ...
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10483 here.
10484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10485 Moved ...
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10488 Moved ...
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10490
8464c2a1
AZ
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10492 conditional [RESET_PID].
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10495 removed.
10496 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10497 removed.
10498
3d1024e8
AZ
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10500 <tcb-offsets.h>.
10501 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10502 (__libc_vfork): New strong alias.
10503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10504 removed.
10505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10506 Removed.
10507
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10509 <tcb-offsets.h>.
10510 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10511 (__libc_vfork): New strong alias.
10512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10513 removed.
10514 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10515 removed.
10516
fdfd175d
CD
105172014-05-26 Carlos O'Donell <carlos@redhat.com>
10518
10519 * malloc/malloc.c (mi_arena): New function.
10520 (malloc_info): Remove nested function mi_arena. Call non-nosted
10521 function mi_arena.
10522
d298c416
AZ
105232014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10524
10525 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10526 by insrwi.
10527 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10528 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10529 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10530 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10531 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10532 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10533 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10534
b60ea6ff
AS
105352014-05-26 Andreas Schwab <schwab@suse.de>
10536
10537 [BZ #16984]
10538 * locale/programs/repertoire.c (repertoire_read): Add slash
10539 between I18NPATH element and file name.
10540 * locale/programs/locfile.c (locfile_read): Likewise.
10541
67365926
SL
105422014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10543
10544 * nptl/pthread_mutexattr_settype.c
10545 (__pthread_mutexattr_settype):
10546 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10547
f8bdf1f0
SL
105482014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10549
10550 * nptl/tst-mutex5 (do_test):
10551 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10552
15eaf6ff
SP
105532014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10554
10555 * benchtests/README: Document 'init' directive.
10556 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10557 BENCH_INIT.
10558 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10559 (parse_file): Recognize 'init' directive.
10560
75f11331
KM
105612014-05-26 Kyle McMartin <kyle@redhat.com>
10562
10563 [BZ #16796]
10564 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10565 alignment of struct pthread.
10566
c3ec475c
SP
105672014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10568
10569 [BZ #16878]
10570 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10571 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10572 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10573 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10574
82aab97c
RH
105752014-05-25 Richard Henderson <rth@twiddle.net>
10576
aa2f176d
RH
10577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10578 (SINGLE_THREAD_P_PIC): Remove.
10579 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10580 (SINGLE_THREAD_P_PIC): Remove.
10581
ca3cfa40
RH
10582 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10583 branch to syscall error ...
10584 (PSEUDO): ... here.
10585 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10586 from __local_syscall_error to .Lsyscall_error.
10587 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10588 (SYSCALL_ERROR): Update label name.
10589
6e6c2d01
RH
10590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10591 Do not use DOARGS/UNDOARGS.
10592 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10593 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10594 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10595 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10596 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10597
c69abcee
RH
10598 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10599 block comment.
10600
82aab97c
RH
10601 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10602 define if !NOT_IN_libc.
10603 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10604 define with non-default symbol versions.
10605
8820e3ac
RH
106062014-05-23 Richard Henderson <rth@twiddle.net>
10607
900e445f
RH
10608 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10609 (vfork, __vfork): Define via compat_symbol.
10610
8820e3ac
RH
10611 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10612 [!HAVE_IFUNC] (vfork_compat): Remove.
10613 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10614
e59252a5
JM
106152014-05-23 Joseph Myers <joseph@codesourcery.com>
10616
10617 [BZ #16978]
10618 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10619 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10620 variable.
10621
132c7f5f
RH
106222014-05-23 Richard Henderson <rth@twiddle.net>
10623
bc89e962
RH
10624 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10625 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10626 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10627 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10628
10629 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10630 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10631 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10632 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10633 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10634 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10635 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10636 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10637 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10638 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10639 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10640 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10641 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10642 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10644 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10650 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10652 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10654 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10656 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10658 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10662 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10663 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10664 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10665 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10666 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10668 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10669 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10670 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10671 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10672 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10673 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10674 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10675 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10676 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10677 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10678 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10679 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10680 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10681 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10682 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10683 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10684 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10685
e2fa4bc2
RH
10686 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10687 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10688 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10689 before exiting on error.
10690 (__libc_vfork): New strong alias.
10691 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10692 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10693
279b24e2
RH
10694 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10695 that was previously under [RESET_PID].
10696 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10697
132c7f5f
RH
10698 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10699
b72592e7
JM
107002014-05-23 Joseph Myers <joseph@codesourcery.com>
10701
10702 [BZ #16977]
10703 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10704 value when x - 1 is zero.
10705 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10706 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10707 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10708 0.0L for an argument of 1.0L.
10709 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10710 Likewise.
10711 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10712 value when x - 1 is zero.
10713 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10714 * sysdeps/i386/fpu/libm-test-ulps: Update.
10715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716
2302d679
RV
107172014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10718
10719 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10720 alphasort and versionsort.
10721
32999d63
AZ
107222014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10723
10724 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10725 macro.
10726 [copysignf]: Likewise.
10727
019324d0
SP
107282014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10729
10730 * crypt/md5-crypt.c: Fix formatting.
10731
34fff5c2
KS
107322014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10733
10734 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10735 (b64_from_24bit): New function.
10736
3d2badac
AZ
107372014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10738
10739 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10740 libc_hidden_builtin_def to ifunc.
10741 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10742 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10743
f7bb179f 107442014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
10745
10746 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10747 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10748
4134b50d
JM
107492014-05-21 Joseph Myers <joseph@codesourcery.com>
10750
bb7d0337
JM
10751 * nscd/Depend (linuxthreads): Remove.
10752 (nptl): Add.
10753 * resolv/Depend (linuxthreads): Remove.
10754 * rt/Depend (linuxthreads): Remove.
10755
4134b50d
JM
10756 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10757 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10758 $(common-objpfx)elf/.
10759 (link-libc-before-gnulib): Likewise.
10760 (elfobjdir): Remove variable.
10761 * Makefile (install): Use $(elf-objpfx) instead of
10762 $(common-objpfx)elf/.
10763 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10764 $(elfobjdir)/.
10765 (link-libc-deps): Likewise.
10766 ($(common-objpfx)libc.so): Likewise.
10767 ($(common-objpfx)linkobj/libc.so): Likewise.
10768 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10769 instead of $(common-objpfx)elf/.
10770 (symbolic-link-list): Likewise.
10771 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10772 [$(cross-compiling) = no]: Likewise.
10773 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10774 $(elfobjdir)/.
10775 (static-gnulib-arch): Likewise.
10776 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10777 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10778 $(common-objpfx)elf/.
10779
3612eb8f
RH
107802014-05-21 Richard Henderson <rth@redhat.com>
10781
a6b3657b
RH
10782 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10783 (SINGLE_THREAD_P): Use the correct width load. Fold
10784 into the ldr offset.
10785
3612eb8f
RH
10786 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10787 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10788
175cef41
JM
107892014-05-20 Joseph Myers <joseph@codesourcery.com>
10790
10791 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10792 (libgcc_s_resume): Use __attribute_used__.
10793 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10794 Likewise.
10795
e13bccd3
AZ
107962014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797
10798 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10799 optimization when used with float constants.
10800
7c112a38
AZ
10801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10802
ae75a883
AJ
108032014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10804
10805 [BZ #16915]
10806 * locale/nl_langinfo_l.c: Make direct reference to every
10807 _nl_current_CATEGORY symbol.
10808 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10809 (tests-static): Add tst-langinfo-static.
10810 (tests-special): Add tst-langinfo-static.out.
10811 ($(objpfx)tst-langinfo.out): Redirect output.
10812 ($(objpfx)tst-langinfo-static.out): New.
10813 * localedata/tst-langinfo.sh: Send output to stdout.
10814 * localedata/tst-langinfo-static.c: New file.
10815
4406c41c
AJ
10816 [BZ #16965]
10817 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10818 when the shift amount is modulo the limb size.
10819
4c0a1e63
RH
108202014-05-20 Richard Henderson <rth@redhat.com>
10821
de9d8f20
RH
10822 [BZ #16967]
10823 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10824 Change type of sa_flags from unsigned int to int.
10825
4c0a1e63
RH
10826 [BZ #16966]
10827 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
10828
10829 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10830
a60339aa
WN
108312014-05-20 Will Newton <will.newton@linaro.org>
10832
10833 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10834 Test the return value of the system call in the nocancel case.
10835
7d05a816
YR
108362014-05-20 Will Newton <will.newton@linaro.org>
10837 Yvan Roux <yvan.roux@linaro.org>
10838
10839 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10840 #include of asm/ptrace.h.
10841 (PTRACE_GET_THREAD_AREA): Remove #undef.
10842 (PTRACE_GETHBPREGS): Likewise.
10843 (PTRACE_SETHBPREGS): Likewise.
10844 (struct user_regs_struct): New structure.
10845 (struct user_fpsimd_struct): New structure.
10846 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10847 #include of asm/ptrace.h and second #include of sys/user.h.
10848 (PTRACE_GET_THREAD_AREA): Remove #undef.
10849 (PTRACE_GETHBPREGS): Likewise.
10850 (PTRACE_SETHBPREGS): Likewise.
10851 (ELF_NGREG): Use new struct user_regs_struct.
10852 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10853
af121e37
AZ
108542014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10855
10856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10858
834caf06
JM
108592014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10860
10861 [BZ #16958]
10862 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10863 membar to avoid block loads/stores to overlap previous stores.
10864
e184a918
RH
108652014-05-17 Richard Henderson <rth@redhat.com>
10866
10867 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10868 Create the __##syscall_name##_nocancel entry point.
10869 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10870 Remove; let the sysdep-cancel.h code create it.
10871
f56c7a6a
DM
108722014-05-17 David S. Miller <davem@davemloft.net>
10873
10874 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10875 Protect with __USE_GNU.
10876 (TIOCSET_TEMPT): Likewise.
10877 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10878 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10879 these are already provided in bits/ioctl-types.h
10880
f75616b2
RM
108812014-05-16 Roland McGrath <roland@hack.frob.com>
10882
3edeca86
RM
10883 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10884 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10885
f75616b2
RM
10886 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10887 Use wait4 regardless of [__NR_waitpid].
10888
deb0f7f6
MR
108892014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10890
10891 PR libgcc/60166
10892 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10893 (_FP_NANSIGN_Q): Set the quiet bit.
10894
79520f4b
JM
108952014-05-16 Joseph Myers <joseph@codesourcery.com>
10896
10897 * benchtests/Makefile
10898 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10899 not $(common-objpfx)math/libm.so.
10900 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10901 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10902 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10903 $(common-objpfx)dlfcn/libdl.so.
10904 ($(objpfx)tst-audit8): Depend on $(libm), not
10905 $(common-objpfx)math/libm.so.
10906 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10907 not $(common-objpfx)dlfcn/libdl.so.
10908 * math/Makefile
10909 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10910 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10911 [$(build-shared) = yes].
10912 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10913 $(common-objpfx)nptl/libpthread.so.
10914 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10915 $(common-objpfx)math/libm.so$(libm.so-version) or
10916 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10917 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10918 $(common-objpfx)dlfcn/libdl.so.
10919 * setjmp/Makefile (link-libm): Remove variable.
10920 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10921 * stdio-common/Makefile (link-libm): Remove variable.
10922 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10923 * stdlib/Makefile (link-libm): Remove variable.
10924 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10925 ($(objpfx)tst-strtod-round): Likewise.
10926 ($(objpfx)tst-tininess): Likewise.
10927 ($(objpfx)tst-strtod-underflow): Likewise.
10928 ($(objpfx)tst-strtod6): Likewise.
10929 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10930 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10931 $(common-objpfx)dlfcn/libdl.so.
10932
026b0fe4
AZ
109332014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10934
10935 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10936 BSD terminal modes definitions.
10937
def4bcb2
RM
109382014-05-16 Roland McGrath <roland@hack.frob.com>
10939
fe39b021
RM
10940 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10941 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10942
1d1fc46e 10943 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
10944 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10945 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10946 Don't do #include_next.
10947 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10948 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10949 Don't do #include_next.
10950 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10951 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10952 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10953 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10954
c72399fb
AM
109552014-05-16 Allan McRae <allan@archlinux.org>
10956
d51d659d
AM
10957 * po/sv.po: Update Swedish translation from translation project.
10958
c72399fb
AM
10959 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10960 in sed expression.
10961
d0583c40
AJ
109622014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10963
10964 [BZ #16917]
10965 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10966 errno if the TIOCGPTN ioctl fails with an error different than
10967 EINVAL.
10968 * login/tst-ptsname.c: New file.
10969 * login/Makefile (tests): Add tst-ptsname.
10970
d16e6ec7
AJ
10971 [BZ #16943]
10972 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10973 and prlimit64.
10974
cf26a0cb
SP
109752014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10976
10977 [BZ #16849]
10978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10979 herrno to return EAI_AGAIN.
10980
5675da1e
RM
109812014-05-14 Roland McGrath <roland@hack.frob.com>
10982
a5d87b3d
RM
10983 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10984 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10985 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10986 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10990 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10992 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10998 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11000 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11001 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11002 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11003 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11004 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11005 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11006 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11007 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11008 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11009 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11010 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11011 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11012 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11014 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11016 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11018 Moved ...
11019 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11021 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11023 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11025 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11027 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11031 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11033 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11035 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11037 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11039 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11041 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11043 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11045 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11047 Moved ...
11048 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11052 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11054 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11056 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11058 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11060 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11062 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11064 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11066 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11068 Moved ...
11069 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11072
039890a6
RM
11073 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11074 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11075 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11076 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11077 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11079 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11081 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11082 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11083 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11084 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11085 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11086 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11087 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11088 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11089 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11090 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11091 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11092 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11093 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11094 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11095 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11096 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11097 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11098 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11099 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11100 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11101 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11102 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11103 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11104
65c89320
RM
11105 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11106 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11107
348f8e8c
RM
11108 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11109 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11110 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11111 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11112 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11113 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11114 Moved ...
11115 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11117 Moved ...
11118 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11119 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11120 Moved ...
11121 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11122 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11123 Moved ...
11124 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11125 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11126 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11127 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11128 Moved ...
11129 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11131 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11132 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11133 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11134 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11135 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11136 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11137 Moved ...
11138 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11140 Moved ...
11141 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11142 ... here.
11143 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11144 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11145 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11146 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11147 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11148 Moved ...
11149 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11150 ... here.
11151 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11152 Moved ...
11153 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11155 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11156 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11157 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11158 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11159 Moved ...
11160 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11161 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11162 Moved ...
11163 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11164 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11165 Moved ...
11166 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11167 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11168 Moved ...
11169 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11170 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11171 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11172 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11173 Moved ...
11174 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11175 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11176 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11177 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11178 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11179 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11180 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11181 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11182 Moved ...
11183 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11187 ... here.
11188 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11189 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11190 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11191 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11192 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11193 Moved ...
11194 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11195 ... here.
11196 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11197 Moved ...
11198 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11200 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11202 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11204 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11206 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11208 Moved ...
11209 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11211 Moved ...
11212 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11213 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11214 Moved ...
11215 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11217 Moved ...
11218 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11220 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11221 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11222 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11223 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11224 Moved ...
11225 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11226 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11227 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11228 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11229 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11230 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11231 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11232 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11233 Moved ...
11234 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11236 Moved ...
11237 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11238 ... here.
11239 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11240 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11242 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11244 Moved ...
11245 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11246 ... here.
11247 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11248 Moved ...
11249 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11250 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11251 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11253 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11255 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11257 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11259 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11260
5085af05
RM
11261 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11262 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11263
708f0813
RM
11264 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11265 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11266
c96067bc
RM
11267 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11268 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11269 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11271 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11272 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11273 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11275 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11277 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11279 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11280 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11281 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11283 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11285 Moved ...
11286 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11288 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11290 Moved ...
11291 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11293 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11295 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11296 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11297 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11298 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11299 Moved ...
11300 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11302 Moved ...
11303 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11304 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11305 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11306 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11307 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11308 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11309 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11310 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11311 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11312 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11313 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11314 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11315 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11316 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11317 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11319 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11320
ec136444
RM
11321 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11322 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11323 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11324 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11325 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11326
2fbdf533
RM
11327 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11328 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11329 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11330 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11331 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11332 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11333 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11334 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11335 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11336 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11337
4c68138b
RM
11338 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11339 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11340
4eaae765
RM
11341 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11342 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11343 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11344 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11345 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11346 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11347 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11348 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11349 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11350 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11351 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11352 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11353 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11354 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11356 Update #include.
11357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11358 Likewise.
11359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11360 Likewise.
11361 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11362 Likewise.
11363 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11364 Likewise.
11365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11366 Likewise.
11367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11368 Likewise.
11369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11370 Likewise.
11371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11372 Likewise.
11373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11374 Likewise.
4ef6befa
RM
11375 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11377 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11378 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11380 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11381 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11382 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11383 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11384 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11385 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11386 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11387 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11388 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11389 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 11390
941d7dfd
RM
11391 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11392 that was previously under [RESET_PID].
11393 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11394 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11395 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11396
1b731c35
RM
11397 * sysdeps/i386/nptl/Implies: New file.
11398 * sysdeps/x86_64/nptl/Implies: New file.
11399 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11400 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11401 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11402 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11403
e2787137
RM
11404 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11405 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11406 (__libc_vfork): New strong alias.
11407 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11408 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11409
11410 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11411 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11412 (__libc_vfork): New strong alias.
11413 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11414 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11415
5675da1e
RM
11416 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11417 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11418 (__libc_vfork): New strong alias.
11419 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11420 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11421 * nptl/pt-vfork.c: New file.
11422 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11423 (libpthread: GLIBC_2.20): New version set (empty).
11424
4f02e2b8
WN
114252014-05-14 Will Newton <will.newton@linaro.org>
11426
11427 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11428 rather than #if.
11429
0bf061d3
JM
114302014-05-14 Joseph Myers <joseph@codesourcery.com>
11431
1a84c3d6
JM
11432 [BZ #16564]
11433 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11434 arguments with exponent 65 or above.
11435 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11436 arguments 0x1p113L or above.
11437 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11438 to arguments 0x1p107L or above.
11439 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11440 positive arguments with exponent 65 or above.
11441 * math/auto-libm-test-in: Add more tests of log1p.
11442 * math/auto-libm-test-out: Regenerated.
11443
01dbacd2
JM
11444 [BZ #16928]
11445 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11446 non-finite arguments is +0.
11447 * math/s_cacosf.c (__cacosf): Likewise.
11448 * math/s_cacosl.c (__cacosl): Likewise.
11449 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11450 * sysdeps/i386/fpu/libm-test-ulps: Update.
11451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11452
913d03c8
JM
11453 [BZ #16927]
11454 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11455 value.
11456 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11457 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11458 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11459 for explicit high bit of mantissa when testing for argument equal
11460 to 1.
11461 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11462 * sysdeps/i386/fpu/libm-test-ulps: Update.
11463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11464
0bf061d3
JM
11465 [BZ #16516]
11466 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11467 (__erf): Scale by 16 instead of 8 in potentially underflowing
11468 case. Ensure exception if result actually underflows.
11469 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11470 (__erff): Scale by 16 instead of 8 in potentially underflowing
11471 case. Ensure exception if result actually underflows.
11472 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11473 (efx8): Remove variable.
11474 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11475 case. Ensure exception if result actually underflows.
11476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11477 (efx8): Remove variable.
11478 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11479 case. Ensure exception if result actually underflows.
11480 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11481 (efx8): Remove variable.
11482 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11483 case. Ensure exception if result actually underflows.
11484 * math/auto-libm-test-in: Add more tests of erf.
11485 * math/auto-libm-test-out: Regenerated.
11486
73ba67cb
AS
114872014-05-14 Andreas Schwab <schwab@suse.de>
11488
3d8c8bff
AS
11489 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11490 Remove code conditionalized on USE___THREAD.
11491
73ba67cb
AS
11492 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11493 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11494 not definedness.
11495
5c521ecd
JM
114962014-05-14 Joseph Myers <joseph@codesourcery.com>
11497
5e7698c6
JM
11498 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11499 Define unconditionally.
11500 (__ASSUME_O_CLOEXEC): Likewise.
11501 (__ASSUME_SOCK_CLOEXEC): Likewise.
11502 (__ASSUME_IN_NONBLOCK): Likewise.
11503 (__ASSUME_PIPE2): Likewise.
11504 (__ASSUME_EVENTFD2): Likewise.
11505 (__ASSUME_SIGNALFD4): Likewise.
11506 (__ASSUME_DUP3): Likewise.
11507 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11508 (__ASSUME_DUP3): Do not define.
11509 (__ASSUME_EVENTFD2): Likewise.
11510 (__ASSUME_IN_NONBLOCK): Likewise.
11511 (__ASSUME_O_CLOEXEC): Likewise.
11512 (__ASSUME_PIPE2): Likewise.
11513 (__ASSUME_SIGNALFD4): Likewise.
11514 (__ASSUME_SOCK_CLOEXEC): Likewise.
11515 (__ASSUME_UTIMES): Undefine.
11516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11517 (__ASSUME_UTIMES): Do not define.
11518 (__ASSUME_O_CLOEXEC): Likewise.
11519 (__ASSUME_SOCK_CLOEXEC): Likewise.
11520 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11521 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11522 0x020621].
11523 (__ASSUME_PIPE2): Likewise.
11524 (__ASSUME_EVENTFD2): Likewise.
11525 (__ASSUME_SIGNALFD4): Likewise.
11526 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11527 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11528 Do not define.
11529 (__ASSUME_EVENTFD2): Likewise.
11530 (__ASSUME_SIGNALFD4): Likewise.
11531 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11532 (__ASSUME_32BITUIDS): Likewise.
11533 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11534 (__ASSUME_IPC64): Likewise.
11535 (__ASSUME_ST_INO_64_BIT): Likewise.
11536 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11537 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11538 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11539 (__ASSUME_UTIMES): Do not define.
11540 (__ASSUME_PSELECT): Likewise.
11541 (__ASSUME_PPOLL): 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/m68k/kernel-features.h
11550 (__ASSUME_UTIMES): Likewise.
11551 (__ASSUME_O_CLOEXEC): Likewise.
11552 (__ASSUME_SOCK_CLOEXEC): Likewise.
11553 (__ASSUME_IN_NONBLOCK): Likewise.
11554 (__ASSUME_PIPE2): Likewise.
11555 (__ASSUME_EVENTFD2): Likewise.
11556 (__ASSUME_SIGNALFD4): Likewise.
11557 (__ASSUME_DUP3): Likewise.
11558 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11559 (__ASSUME_UTIMES): Likewise.
11560 (__ASSUME_O_CLOEXEC): Likewise.
11561 (__ASSUME_SOCK_CLOEXEC): Likewise.
11562 (__ASSUME_IN_NONBLOCK): Likewise.
11563 (__ASSUME_PIPE2): Likewise.
11564 (__ASSUME_EVENTFD2): Likewise.
11565 (__ASSUME_SIGNALFD4): Likewise.
11566 (__ASSUME_DUP3): Likewise.
11567 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11568 Likewise.
11569 (__ASSUME_UTIMES): Likewise.
11570 (__ASSUME_EVENTFD2): Likewise.
11571 (__ASSUME_SIGNALFD4): Likewise.
11572 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11573 (__ASSUME_O_CLOEXEC): Likewise.
11574 (__ASSUME_SOCK_CLOEXEC): Likewise.
11575 (__ASSUME_IN_NONBLOCK): Likewise.
11576 (__ASSUME_PIPE2): Likewise.
11577 (__ASSUME_EVENTFD2): Likewise.
11578 (__ASSUME_SIGNALFD4): Likewise.
11579 (__ASSUME_DUP3): Likewise.
11580 (__ASSUME_UTIMES): Undefine.
11581
5c521ecd
JM
11582 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11583 feclearexcept. Remove symbol versioning code.
11584 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11585 symbol versioning code.
11586 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11587 symbol versioning code.
11588 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11589 feupdateenv. Remove symbol versioning code.
11590 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11591 fegetexceptflag. Remove symbol versioning code.
11592 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11593 fesetexceptflag. Remove symbol versioning code.
11594 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11595 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11596 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11597 (__posix_fadvise64_l32): Remove prototype.
11598 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11599 code.
11600
5da9dfad
RM
116012014-05-13 Roland McGrath <roland@hack.frob.com>
11602
11603 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11604 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11605 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11606 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11607
893b4f37
SK
116082014-05-13 Sami Kerola <kerolasa@iki.fi>
11609
11610 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11611 current working directory
11612
e0db6517
RM
116132014-05-13 Roland McGrath <roland@hack.frob.com>
11614
58aa195d
RM
11615 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11616 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11617 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11618 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11619 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11620 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11621 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11622 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11626 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11628 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11629 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11630 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11631 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11632 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11634 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11635 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11636 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11637 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11638 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11639 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11640 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11641 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11642 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11643 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11644 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11645 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11646 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11647 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11648 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11649 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11650 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11651 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11652 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11653 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11654 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11655 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11656 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11657
8c6d01f0
RM
11658 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11659 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11660
11661 * sysdeps/unix/sysv/linux/arm/Makefile
11662 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11663 Add rt-aeabi_unwind_cpp_pr1.
11664 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11665 Add nptl-aeabi_unwind_cpp_pr1.
11666 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11667 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11668 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11669 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11670 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11671 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11672
11673 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11674 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11675 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11676 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11677
bba6da4e
RM
11678 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11679 Deconditionalize the code that was previously under [RESET_PID].
11680 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11681
e0db6517
RM
11682 * sysdeps/generic/exit-thread.h: New file.
11683 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11684 * include/unistd.h (__exit_thread): Remove declaration.
11685 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11686 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11687 * csu/libc-start.c: Include <exit-thread.h>.
11688 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11689 * nptl/pthread_create.c: Include <exit-thread.h>.
11690 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11691 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11692 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11693 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11694 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11695 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11696 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11697 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11698 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11699 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11700 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11701 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11702 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11703 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11704 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11705 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11706 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11707
01eb16fd
AS
117082014-05-13 Andreas Schwab <schwab@suse.de>
11709
11710 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11711
637461d9
JM
117122014-05-12 Joseph Myers <joseph@codesourcery.com>
11713
11714 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11715 (__ASSUME_UTIMES): Do not condition on kernel version.
11716 (__ASSUME_PSELECT): Define unconditionally.
11717 (__ASSUME_PPOLL): Likewise.
11718 (__ASSUME_ATFCTS): Likewise.
11719 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11720 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11721 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11722 (__ASSUME_UTIMENSAT): Define unconditionally.
11723 (__ASSUME_PRIVATE_FUTEX): Likewise.
11724 (__ASSUME_FALLOCATE): Likewise.
11725 (__ASSUME_O_CLOEXEC): Likewise.
11726 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11727 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11728 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11729 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11730 (__ASSUME_IN_NONBLOCK): Likewise.
11731 (__ASSUME_PIPE2): Likewise.
11732 (__ASSUME_EVENTFD2): Likewise.
11733 (__ASSUME_SIGNALFD4): Likewise.
11734 (__ASSUME_DUP3): Likewise.
11735 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11736 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11737 (__ASSUME_AT_RANDOM): Likewise.
11738 (__ASSUME_PREADV): Likewise.
11739 (__ASSUME_PWRITEV): Likewise.
11740 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11741 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11742 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11743 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11744 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11745 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11746 (__ASSUME_O_CLOEXEC): Define unconditionally.
11747 (__ASSUME_PSELECT): Do not undefine conditionally.
11748 (__ASSUME_PPOLL): Likewise.
11749 (__ASSUME_ATFCTS): Likewise.
11750 (__ASSUME_SET_ROBUST_LIST): Likewise.
11751 (__ASSUME_UTIMENSAT): Likewise.
11752 (__ASSUME_FDATASYNC): Define unconditionally.
11753 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11754 (__ASSUME_SIGFRAME_V2): Likewise.
11755 )__ASSUME_EVENTFD2): Likewise.
11756 (__ASSUME_SIGNALFD4): Likewise.
11757 (__ASSUME_PSELECT): Do not undefine conditionally.
11758 (__ASSUME_PPOLL): Likewise.
11759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11760 (__ASSUME_PSELECT): Define unconditionally.
11761 (__ASSUME_PPOLL): Likewise.
11762 (__ASSUME_O_CLOEXEC): Likewise.
11763 (__ASSUME_SOCK_CLOEXEC): Likewise.
11764 (__ASSUME_IN_NONBLOCK): Likewise.
11765 (__ASSUME_PIPE2): Likewise.
11766 (__ASSUME_EVENTFD2): Likewise.
11767 (__ASSUME_SIGNALFD4): Likewise.
11768 (__ASSUME_DUP3): Likewise.
11769 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11770 (__ASSUME_O_CLOEXEC): Likewise.
11771 (__ASSUME_SOCK_CLOEXEC): Likewise.
11772 (__ASSUME_IN_NONBLOCK): Likewise.
11773 (__ASSUME_PIPE2): Likewise.
11774 (__ASSUME_EVENTFD2): Likewise.
11775 (__ASSUME_SIGNALFD4): Likewise.
11776 (__ASSUME_DUP3): Likewise.
11777 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11778 (__ASSUME_EVENTFD2): Likewise.
11779 (__ASSUME_SIGNALFD4): Likewise.
11780 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11781
315eb1d8
AS
117822014-05-12 Andreas Schwab <schwab@suse.de>
11783
11784 [BZ #16932]
11785 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11786 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11787 than maximum RPC packet size.
11788 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11789 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11790 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11791 (_nss_nis_getservbyport_r): Likewise.
11792
91df99f7
WN
117932014-05-12 Will Newton <will.newton@linaro.org>
11794
11795 * malloc/Makefile (tests): Add tst-mallopt.
11796 * malloc/tst-mallopt.c: New file.
11797
0a982a29
RM
117982014-05-09 Roland McGrath <roland@hack.frob.com>
11799
11800 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11801 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11802
0ded08a5
AZ
118032014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11804
11805 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11806 (tst-tlsmod6.so): Likewise.
11807
55d4d550
RM
118082014-05-09 Roland McGrath <roland@hack.frob.com>
11809
11810 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11811
77d08aca
JM
118122014-05-09 Joseph Myers <joseph@codesourcery.com>
11813
11814 [BZ #16064]
11815 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11816 and <dl-procinfo.h>.
11817 (__fegetenv): Save SSE state in envp->__eip if supported.
11818 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11819 envp->__eip if supported.
11820 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11821 and <dl-procinfo.h>.
11822 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11823 __data_offset and __data_selector in environment to 0. Set SSE
11824 state if supported.
11825 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11826 test-fenv-sse.
11827 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11828 -mfpmath=sse.
11829 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11830
28162f4d
WN
118312014-05-09 Will Newton <will.newton@linaro.org>
11832
11833 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11834 and libc_relro_required for ARM.
11835 * sysdeps/arm/preconfigure: Regenerate.
11836
5a414ff7
DV
118372014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11838 Stefan Liebler <stli@linux.vnet.ibm.com>
11839
11840 * config.make.in (enable-lock-elision): New Makefile variable.
11841 * configure.ac: Likewise.
11842 * configure: Regenerate.
11843 * sysdeps/s390/configure.ac:
11844 Add check for gcc transactions support.
11845 * sysdeps/s390/configure: Regenerate.
11846 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11847 Build elision files if enabled.
11848 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11849 Add lock elision support for s390.
11850 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11851 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11852 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11853 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11854 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11855 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11857 Likewise.
11858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11859 Likewise.
11860 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11861 Likewise.
11862 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11863 Likewise.
11864 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11865 (__lll_timedlock_elision, __lll_lock_elision)
11866 (__lll_unlock_elision, __lll_trylock_elision)
11867 (lll_timedlock_elision, lll_lock_elision)
11868 (lll_unlock_elision, lll_trylock_elision): Add.
11869 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11870 (pthread_mutex_t): Add lock elision support for s390.
11871
1a2f40e5
W
118722014-05-14 Wilco <wdijkstr@arm.com>
11873
11874 * sysdeps/arm/fclrexcpt.c: Cleanup.
11875 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11876 * sysdeps/arm/feenablxcpt.c: Cleanup.
11877 * sysdeps/arm/fegetenv.c: Cleanup.
11878 * sysdeps/arm/fegetexcept.c: Cleanup.
11879 * sysdeps/arm/fegetround.c: Cleanup.
11880 * sysdeps/arm/feholdexcpt.c: Cleanup.
11881 * sysdeps/arm/fesetenv.c: Cleanup.
11882 * sysdeps/arm/fesetround.c: Cleanup.
11883 * sysdeps/arm/feupdateenv.c: Cleanup.
11884 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11885 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11886 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11887 * sysdeps/arm/ftestexcept.c: Cleanup.
11888 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11889 * sysdeps/arm/setfpucw.c: Cleanup.
11890
f63c86fe
WN
118912014-05-09 Will Newton <will.newton@linaro.org>
11892
11893 * sysdeps/arm/armv7/strcmp.S: New file.
11894 * NEWS: Mention addition of ARMv7 optimized strcmp.
11895
7a1a51b5
RM
118962014-05-08 Roland McGrath <roland@hack.frob.com>
11897
95afbbe5
RM
11898 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11899 look for %.ac rather than %.in.
11900
11901 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11902 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11903 * sysdeps/mach/hurd/configure: Regenerated.
11904 * sysdeps/unix/sysv/linux/configure: Regenerated.
11905
7a1a51b5
RM
11906 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11907
5057ad3b
SE
119082014-05-07 Steve Ellcey <sellcey@mips.com>
11909
11910 [BZ# 16922]
11911 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11912 (LONG_SUB): Ditto.
11913 (PTR_SUB): Ditto.
11914
8dc97517
AS
119152014-05-07 Andreas Schwab <schwab@suse.de>
11916
11917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11918 when skipping over non-matching result from nscd.
11919
ce0c5b8f
OB
119202014-05-07 Ondřej Bílka <neleai@seznam.cz>
11921
11922 [BZ #16876]
11923 * nptl/sockperf.c (client): Check socket return value.
8dc97517 11924
a1189263
OB
11925 [BZ #16877]
11926 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11927 nscd security class.
ce0c5b8f 11928
0f58d252
RM
119292014-05-06 Roland McGrath <roland@hack.frob.com>
11930
11931 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11932 * sysdeps/arm/unwind.h: ... here.
11933
83df9ad0
AJ
119342014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11935
ce0c5b8f
OB
11936 [BZ# 16916]
11937 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11938 Define.
83df9ad0 11939
f360f94a
VR
119402014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11941
11942 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11943 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11944 multiarch strncpy for PPC64.
11945 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11946 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11948 multiarch optimizations.
11949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11950 (__libc_ifunc_impl_list): Likewise.
11951 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11952 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11953 multiarch stpncpy for PPC64.
11954 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11955 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11956
978a41c3
AS
119572014-05-06 Andreas Schwab <schwab@suse.de>
11958
11959 [BZ #16912]
11960 * gmon/mcount.c (_MCOUNT_DECL): Use
11961 atomic_compare_and_exchange_bool_acq instead of
11962 catomic_compare_and_exchange_bool_acq.
11963
eb1ed03d
RM
119642014-05-05 Roland McGrath <roland@hack.frob.com>
11965
fe658845
RM
11966 * elf/Makefile (others, install-bin): Remove pldd.
11967 (pldd-modules): Variable removed.
11968 ($(objpfx)pldd): Target removed.
11969 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11970 (others, install-bin): Append pldd here.
11971 ($(objpfx)pldd): New target.
11972
eb1ed03d
RM
11973 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11974 to 0, so the first #if test emitted later doesn't see it undefined.
11975 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11976 * sysdeps/gnu/errlist.c: Regenerated.
11977
19c4bec0
AZ
119782014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11979
11980 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11981 [libc_hidden_builtin_def]: Define to empty value.
11982 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11983 [libc_hidden_builtin_def]: Likewise.
11984 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11985 [libc_hidden_builtin_def]: Likewise.
11986 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11987 [libc_hidden_builtin_def]: Likewise.
11988 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11989 __redirect_memcpy and define ifunc as default hidden symbol.
11990 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11991 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11992
7776e669
AC
119932014-05-04 Adam Conrad <adconrad@0c3.net>
11994
11995 * locale/iso-4217.def: Reintroduce XDR currency.
11996
d69aeb12
AM
119972014-05-04 Allan McRae <allan@archlinux.org>
11998
11999 * po/eo.po: Update Esperanto translation from translation project.
12000
8f1df5cf
CD
120012014-05-02 Carlos O'Donell <carlos@redhat.com>
12002
12003 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12004 and FEATURE_INDEX_MAX to 1.
12005 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12006
13e402e7
SE
120072014-05-01 Steve Ellcey <sellcey@mips.com>
12008
12009 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12010 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12011 * iconvdata/big5.c (ONE_DIRECTION): Define.
12012 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12013 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12014 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12015 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12016 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12017 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12018 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12019 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12020 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12021 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12022 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12023 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12024 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12025 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12026 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12027 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12028 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12029 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12030 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12031 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12032 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12033 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12034 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12035 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12036 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12037 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12038 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12039 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12040 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12041 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12042 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12043 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12044 * iconvdata/johab.c (ONE_DIRECTION): Define.
12045 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12046 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12047 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12048 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12049 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12050 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12051 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12052 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12053 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12054 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12055
c727f032
RM
120562014-05-01 Roland McGrath <roland@hack.frob.com>
12057
8f2f08d0
RM
12058 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12059 (_IO_JUMPS_OFFSET): Define to 0.
12060
c727f032
RM
12061 * nptl/sysdeps/pthread/bits/libc-lock.h
12062 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12063 (__libc_lock_define_initialized_recursive): Always define using
12064 initializer. Modern compilers treat uninitialized (implicit zero) and
12065 explicit zero initializers the same (i.e. put the datum in bss).
12066
a849e800
AS
120672014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12068
12069 * nscd/nscd-client.h: Include <string.h>.
12070
5331255b
DM
120712014-05-01 David S. Miller <davem@davemloft.net>
12072
12073 [BZ #16885]
12074 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12075 multiple zero bytes exist at the end of a string.
12076 Reported by Aurelien Jarno <aurelien@aurel32.net>
12077
12078 * string/test-strcmp.c (check): Add explicit test for situations where
12079 there are multiple zero bytes after the first.
12080
4fdfe821
AS
120812014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12082
12083 [BZ #16890]
12084 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12085 when compiling wprintf.
12086 * stdio-common/tstdiomisc.c (t3): New function.
12087 (main): Call it.
12088
0cdddc25
SE
120892014-05-01 Steve Ellcey <sellcey@mips.com>
12090
12091 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12092 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12093 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12094 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12095
6426d77e
SE
120962014-05-01 Steve Ellcey <sellcey@mips.com>
12097
12098 * stdlib/longlong.h: Updated from GCC.
12099
6d96f5e4
WN
121002014-05-01 Will Newton <will.newton@linaro.org>
12101 Bernard Ogden <bernie.ogden@linaro.org>
12102
7470db0c
WN
12103 * NEWS: Update fixed bug list.
12104
6d96f5e4
WN
12105 [BZ #15119]
12106 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12107
211d653c
DM
121082014-04-30 David S. Miller <davem@davemloft.net>
12109
4fa262fa
DM
12110 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12111 (libc_feholdexcept_setround_sparc_ctx): New function.
12112 (libc_fesetenv_sparc_ctx): Likewise.
12113 (libc_feupdateenv_sparc_ctx): Likewise.
12114 (libc_feholdsetround_sparc_ctx): Likewise.
12115 (libc_feholdexcept_setround_ctx): Define.
12116 (libc_feholdexcept_setroundf_ctx): Likewise.
12117 (libc_feholdexcept_setroundl_ctx): Likewise.
12118 (libc_fesetenv_ctx): Likewise.
12119 (libc_fesetenvf_ctx): Likewise.
12120 (libc_fesetenvl_ctx): Likewise.
12121 (libc_feupdateenv_ctx): Likewise.
12122 (libc_feupdateenvf_ctx): Likewise.
12123 (libc_feupdateenvl_ctx): Likewise.
12124 (libc_feresetround_ctx): Likewise.
12125 (libc_feresetroundf_ctx): Likewise.
12126 (libc_feresetroundl_ctx): Likewise.
12127 (libc_feholdsetround_ctx): Likewise.
12128 (libc_feholdsetroundf_ctx): Likewise.
12129 (libc_feholdsetroundl_ctx): Likewise.
12130
1d3d93ef
DM
12131 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12132 with __USE_GNU instead of XOPEN cpp guards.
12133
8aa583c3
DM
12134 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12135 0.
12136
211d653c
DM
12137 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12138 with XOPEN cpp guards.
12139
60c8f1f6
JB
121402014-04-30 Julian Brown <julian@codesourcery.com>
12141
12142 [BZ #16888]
12143 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12144 handling.
12145
9a461d46
JM
121462014-04-30 Joseph Myers <joseph@codesourcery.com>
12147
d0f5b3f8
JM
12148 [BZ #9894]
12149 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12150 Change to 2.6.32.
12151 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12152 * sysdeps/unix/sysv/linux/configure: Regenerated.
12153 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12154 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12155 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12156 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12157 * README: Update reference to required Linux kernel version.
12158 * manual/install.texi (Linux): Update reference to required Linux
12159 kernel headers version.
12160 * INSTALL: Regenerated.
12161
9a461d46
JM
12162 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12163 header inclusion.
12164 [POSIX] (limits.h): Likewise.
12165 [POSIX] (math.h): Likewise.
12166 [POSIX] (sys/wait.h): Likewise.
12167 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12168 function.
12169 [POSIX] (stddef.h): Do not allow header inclusion.
12170
1775babf
AZ
121712014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12172
57f41c40 12173 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12174
8f630cca
YY
121752014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12176
12177 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12178 Return immediately after lll_futex_wake.
12179
1cdeb237
SP
121802014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12181
bc8f194c
SP
12182 [BZ #16791]
12183 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12184 structure.
12185 (datahead_init_pos): Call datahead_init_common early.
12186 (datahead_init_neg): Likewise.
12187
1cdeb237
SP
12188 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12189 datahead_init_neg): New functions.
12190 * nscd/aicache.c (addhstaiX): Use them.
12191 * nscd/grpcache.c (cache_addgr): Likewise.
12192 * nscd/hstcache.c (cache_addhst): Likewise.
12193 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12194 * nscd/netgroupcache.c (do_notfound): Likewise.
12195 (addgetnetgrentX): Likewise.
12196 (addinnetgrX): Likewise.
12197 * nscd/pwdcache.c (cache_addpw): Likewise.
12198 * nscd/servicescache.c (cache_addserv): Likewise.
12199
16b293a7
SP
122002014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12201 Atsushi Onoe <atsushi@onoe.org>
12202
12203 [BZ #14308]
12204 [BZ #12994]
12205 [BZ #13651]
12206 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12207 one response is valid.
12208 * resolv/res_send.c (send_dg): Check for validity of other
12209 response if the current response is a referral.
12210
a28a9b94
SE
122112014-04-29 Steve Ellcey <sellcey@mips.com>
12212
12213 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12214
2ca180e9
SL
122152014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12216
12217 [BZ #16823]
12218 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12219 Always divide by positive zero when computing -Inf result.
12220 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12221 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12222
18f2945a
AZ
122232014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12224
12225 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12226 FPSCR if value do not change.
12227 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12228 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12229 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12230 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12231 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12232 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12233 function.
12234
5abebba4
CD
122352014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12236
12237 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12238 * sysdeps/unix/sysv/linux/hppa: Move directory from
12239 ports/systeps/unix/sysv/linux/hppa.
12240 * README: Update listing for hppa-*-linux-gnu.
12241
f7ed60c2
OB
122422014-04-28 Ondřej Bílka <neleai@seznam.cz>
12243
fff763a5
OB
12244 [BZ #16754]
12245 * manual/stdio.texi (Hook functions): Fix types of stream hook
12246 functions.
f7ed60c2
OB
12247 [BZ #16854]
12248 * socket/sys/socket.h: Fix typo in comment.
12249
df639d73
WD
122502014-04-28 Wilco <wdijkstr@arm.com>
12251
f7ed60c2 12252 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12253 * sysdeps/arm/math_private.h: New file.
12254 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12255
48332d82
L
122562014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12257
12258 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12259 with __int128_t.
12260 (La_x86_64_retval): Likewise.
12261
e5e0d9a4
IB
122622014-04-24 Ian Bolton <ian.bolton@arm.com>
12263
12264 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12265 fpsr if value didn't change.
12266 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12267 to fpcr if value didn't change.
12268 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12269 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12270 fpsr or fpcr if value didn't change.
12271 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12272 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12273 fpcr if value didn't change.
12274 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12275 to fpsr if value didn't change.
12276
bacc75f7
SP
122772014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
12279 * nptl/tst-sem3.c: Use test-skeleton.c
12280 (main): Rename to do_test. Use return instead of
12281 exit.
12282 * nptl/tst-sem4.c: Use test-skeleton.c
12283 (main): Rename to do_test.
12284
a059d359
DM
122852014-04-22 David S. Miller <davem@davemloft.net>
12286
12287 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12288 (struct sigaction): New struct member __glibc_reserved0, change
12289 type of sa_flags to int.
12290
ea6c92f3
YZ
122912014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12292
12293 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12294 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12295
766c4a36
SP
122962014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12297
12298 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12299 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12300
140cc7ab
VK
123012014-04-22 Will Newton <will.newton@linaro.org>
12302 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12303
12304 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12305 (__longjmp): Add longjmp and longjmp_target SystemTap
12306 probes.
12307 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12308 (__sigsetjmp): Add setjmp SystemTap probe.
12309
c54e5cf7
CD
123102014-04-17 Carlos O'Donell <carlos@redhat.com>
12311
12312 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12313 match manual order.
12314
75ffb047
AZ
123152014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12316
12317 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12318
2cd925f7
AZ
12319 * sysdeps/powerpc/fpu/fenv_private.h
12320 (libc_feholdexcept_setroundl_ctx): Define to
12321 libc_feholdexcept_setround_ppc_ctx.
12322 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12323 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12324 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12325 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12326
39e6cd8d
IB
123272014-04-17 Ian Bolton <ian.bolton@arm.com>
12328
12329 * sysdeps/aarch64/math-tests.h: New file.
12330
f9281df9
SY
123312014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12332
12333 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12334 New.
12335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12336 Check and set bit_AVX2_Usable.
12337 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12338 macro.
12339 (bit_AVX2): Likewise.
12340 (index_AVX2_Usable): Likewise.
12341 (CPUID_AVX2): Likewise.
12342 (HAS_AVX2): Likewise.
12343
37d35007
WN
123442014-04-17 Will Newton <will.newton@linaro.org>
12345
7c677662
WN
12346 * manual/setjmp.texi (System V contexts): Add note that
12347 calling setcontext on a context created by a call to a
12348 signal handler is undefined. Update text to note that
12349 setcontext from a signal handler is possible but not
12350 recommended.
12351
37d35007 12352 [BZ #16629]
e04a4e9d
WN
12353 * stdlib/tst-setcontext.c: Include signal.h.
12354 (main): Check that the signal stack before and
12355 after swapcontext is the same.
12356
37d35007
WN
12357 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12358 Re-implement to restore registers in user code and avoid
12359 rt_sigreturn system call.
12360
423a7160
W
123612014-04-17 Wilco <wdijkstr@arm.com>
12362
12363 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12364 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12365 * math/test-fenv.c: Skip exception trap tests on targets which only
12366 support non-stop mode.
12367
bc93ab29
IB
123682014-04-17 Ian Bolton <ian.bolton@arm.com>
12369 Wilco Dijkstra <wilco.dijkstra@arm.com>
12370
12371 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12372 (libc_feholdsetround_aarch64_ctx)
12373 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12374 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12375 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12376 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12377 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12378 (libc_feresetround_noexl_ctx): Define.
12379
95fc5fa3
RH
123802014-04-16 Richard Henderson <rth@redhat.com>
12381
ddb04724
RH
12382 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12383
d77c0899
RH
12384 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12385 unwind tables.
12386
a3df56fc
RH
12387 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12388 const from the non-libc, non-ldso copy.
12389
95fc5fa3
RH
12390 * sysdeps/alpha/libm-test-ulps: Regenerate.
12391
7e0b6763
IB
123922014-04-16 Ian Bolton <ian.bolton@arm.com>
12393 Wilco Dijkstra <wilco.dijkstra@arm.com>
12394
12395 * sysdeps/aarch64/fpu/math_private.h: New file.
12396
a9ea2e0c
MS
123972014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12398
12399 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12400
ea8ba7cd
IZ
124012014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12402
7e54fd04 12403 [BZ #16275]
ea8ba7cd
IZ
12404 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12405 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12407 Intel MPX bound registers before _dl_profile_fixup.
12408 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12409 registers after _dl_profile_fixup. Save and restore bound
12410 registers bnd0/bnd1 when calling _dl_call_pltexit.
12411 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12412 (LR_BND_OFFSET): Likewise.
12413 (LRV_BND0_OFFSET): Likewise.
12414 (LRV_BND1_OFFSET): Likewise.
12415
9f2a4fbc
ST
124162014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12417
12418 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12419 to...
12420 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
12421 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12422 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12423 fields.
9f2a4fbc 12424
fd15a59b
ST
124252014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12426
12427 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12428
f19dfa0a
SL
124292014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12430
12431 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12432
4fa8bc3b
SL
124332014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12434
12435 [BZ #14770]
12436 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12437 * sysdeps/s390/configure: Regenerate.
12438
8ea587db
SL
12439 [BZ #16824]
12440 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12441 Set round-to-nearest internally to reduce error accumulation.
12442
aa5f0ff1
AM
124432014-04-16 Alan Modra <amodra@gmail.com>
12444
12445 [BZ #16740]
12446 [BZ #16619]
12447 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12448 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 12449 * NEWS: Update fixed bug list.
aa5f0ff1 12450
bb9c256f
SP
124512014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12452
12453 * benchtests/Makefile: Depend on libraries in build directory.
12454 (bench-math): Separate out math tests.
12455 (bench-pthread): Separate out pthread tests.
12456 (bench): Include math and pthread tests.
12457
f737dfd0
CD
124582014-04-14 Carlos O'Donell <carlos@redhat.com>
12459
12460 [BZ #16831]
12461 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12462 _dl_debug_initialize.
12463
0699f766
CD
12464 * configure.ac: Remove SELinux header check.
12465 * configure: Regenerate.
12466 * nscd/selinux.c (perms): Array of const char* to permission names.
12467 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12468 default policy. Call string_to_security_class and string_to_av_perm to
12469 translate strings. Enforce default policy and call avs_has_perm with
12470 results of translated strings.
12471
809bd45f
DM
124722014-04-13 David S. Miller <davem@davemloft.net>
12473
12474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12475
89e691f2
AM
124762014-04-12 Allan McRae <allan@archlinux.org>
12477
12478 [BZ #16838]
12479 * manual/string.texi (Collation Functions): Fix qsort argument
12480 order in example.
12481 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12482
9c9daaeb
CM
124832014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12484
12485 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12486 Make the test a no-op if there are no exceptions defined.
12487
95561fb9
PP
124882014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12489
fe8d072c 12490 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
12491 enable-hardcoded-path-in-tests
12492
970c602a
WN
124932014-04-11 Will Newton <will.newton@linaro.org>
12494
12495 * benchtests/Makefile (extra-objs): Add json-lib.o.
12496 (bench-func): Tidy up JSON output.
12497 * benchtests/bench-skeleton.c: Include json-lib.h.
12498 (main): Use JSON library functions to do output of
12499 benchmark results.
12500 * benchtests/bench-timing-type.c (main): Output the
12501 timing type simply, leaving formatting to the user.
12502 * benchtests/json-lib.c: New file.
12503 * benchtests/json-lib.h: Likewise.
12504
36875b06
TR
125052014-04-11 Torvald Riegel <triegel@redhat.com>
12506
12507 [BZ #15215]
12508 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12509 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12510 memory barriers. Add comments.
12511 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12512 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12513 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12514 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12515 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12516 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12517
579db35a
SL
125182014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12519
12520 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12521 * sysdeps/s390/s390-64/configure.ac: ... this ...
12522 * sysdeps/s390/configure.ac: ... to here.
12523 * sysdeps/s390/s390-32/configure: Delete file.
12524 * sysdeps/s390/s390-64/configure: Delete file.
12525 * sysdeps/s390/configure: Regenerate.
12526
c12e9f37
JAPH
125272014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12528
12529 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12530
439bda32
WN
125312014-04-11 Will Newton <will.newton@linaro.org>
12532
12533 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12534 to zero if it is not defined elsewhere. (mtrim): Test
12535 the value of MALLOC_DEBUG with #if rather than #ifdef.
12536
6a5d6ea1
TR
125372014-04-10 Torvald Riegel <triegel@redhat.com>
12538
12539 * benchtests/pthread_once-inputs: New file.
12540 * benchtests/pthread_once-source.c: New file.
12541 * benchtests/README: Update documentation.
12542
a4c75cfd
IZ
125432014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12544 H.J. Lu <hongjiu.lu@intel.com>
12545
7e54fd04 12546 [BZ #16275]
a4c75cfd
IZ
12547 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12548 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12549 * sysdeps/x86_64/configure: Regenerated.
12550 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12551 macro.
12552 (REGISTER_SAVE_RAX): Likewise.
12553 (REGISTER_SAVE_RCX): Likewise.
12554 (REGISTER_SAVE_RDX): Likewise.
12555 (REGISTER_SAVE_RSI): Likewise.
12556 (REGISTER_SAVE_RDI): Likewise.
12557 (REGISTER_SAVE_R8): Likewise.
12558 (REGISTER_SAVE_R9): Likewise.
12559 (REGISTER_SAVE_BND0): Likewise.
12560 (REGISTER_SAVE_BND1): Likewise.
12561 (REGISTER_SAVE_BND2): Likewise.
12562 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12563 bound registers when calling _dl_fixup.
12564
27822ce6
AZ
125652014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12566
12567 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
12568 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12569 of its definition.
27822ce6
AZ
12570 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12571 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12572 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12573 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12574 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12575 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12576 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12577
a88ddc90
PTB
125782014-04-09 Peter Brett <peter@peter-b.co.uk>
12579
12580 [BZ #15514]
12581 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12582 pathconf(_PC_NAME_MAX).
12583
01f8eac2
AZ
125842014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585
12586 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12587 Remove macro usage.
12588 (__PTHREAD_SPINS): Move definition to ...
12589 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12590 (__PTHREAD_SPINS): ... here.
12591 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12592 (__PTHREAD_SPIN): Likewise.
12593 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12594 (__PTHREAD_SPIN): Likewise.
12595 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12596 (__PTHREAD_SPIN): Likewise.
12597 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12598 (__PTHREAD_SPIN): Likewise.
12599 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12600 (__PTHREAD_SPIN): Likewise.
12601 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12602 (__PTHREAD_SPIN): Likewise.
12603 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12604 (__PTHREAD_SPIN): Likewise.
12605 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12606 (__PTHREAD_SPIN): Likewise.
12607 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12608 (__PTHREAD_SPIN): Likewise.
12609 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12610 (__PTHREAD_SPIN): Likewise.
12611 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12612 (__PTHREAD_SPIN): Likewise.
12613 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12614 (__PTHREAD_SPIN): Likewise.
12615
de21c33c
AZ
12616 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12617 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12618 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12619 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12620 imply folder.
12621 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12622 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12623 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12624 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12625 correct imply path.
12626 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12627 strlen symbol for non multi-arch builds.
12628 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12629 missing hidden_def and weak_alias.
12630
862c472e
CD
126312014-04-08 Carlos O'Donell <carlos@redhat.com>
12632
12633 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12634
8667f90e
WN
126352014-04-07 Will Newton <will.newton@linaro.org>
12636
12637 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12638 and contents. [!_LIBC] Remove #ifndef and contents.
12639 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12640 * string/memccpy.c (__memccpy): Use ANSI prototype.
12641 * string/memfrob.c (memfrob): Likewise.
12642 * string/strcoll.c (STRCOLL): Likewise.
12643 * string/strlen.c (strlen): Likewise.
12644 * string/strtok.c (STRTOK): Likewise.
12645 * string/strcat.c: Remove unused #include of memcopy.h.
12646 (strcat): Use ANSI prototype.
12647 * string/strchr.c: Remove unused #include of memcopy.h.
12648 (strchr): Use ANSI prototype.
12649 * string/strcmp.c: Remove unused #include of memcopy.h.
12650 (strcmp): Use ANSI prototype.
12651 * string/strcpy.c: Remove unused #include of memcopy.h.
12652 (strcpy): Use ANSI prototype.
12653
7ffa9423
AZ
126542014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12655
12656 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12657 * config.make.in (config-extra-cppflags): Set it from
12658 libc_extra_cppflags.
12659 * configure.ac (libc_extra_cflags): Make it accumulate over
12660 configure fragments.
12661 (libc_extra_cppflags): New flag.
12662 * configure. Regenerate.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
12664 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12665 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12667
8bd70862
AZ
12668 [BZ #16815]
12669 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12670 result for FE_DOWNWARD rounding mode.
12671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12672 Likewise.
12673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12674
d42f3448
CM
126752014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12676
12677 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12678 in function argument name.
12679
1c21d115
DS
126802014-04-03 David Svoboda <svoboda@cert.org>
12681
12682 [BZ #5666]
12683 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12684 explicitly.
12685
fcccd512
RM
126862014-04-03 Roland McGrath <roland@hack.frob.com>
12687
12688 * elf/dl-unmap-segments.h: New file.
12689 * sysdeps/generic/ldsodefs.h
12690 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12691 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12692 * elf/dl-fptr.c: Likewise.
12693 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12694 * sysdeps/aarch64/tlsdesc.c: Likewise.
12695 * sysdeps/arm/tlsdesc.c: Likewise.
12696 * sysdeps/i386/tlsdesc.c: Likewise.
12697 * sysdeps/tile/dl-runtime.c: Likewise.
12698 * sysdeps/x86_64/tlsdesc.c: Likewise.
12699 * elf/dl-load.h: New file.
12700 * elf/dl-load.c: Include it.
12701 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12702 Macros moved to dl-load.h.
12703 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12704 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12705 Use _dl_unmap_segments in place of __munmap.
12706 Break out segment-mapping loop into ...
12707 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12708
f6488e2b
WN
127092014-04-03 Will Newton <will.newton@linaro.org>
12710
12711 * elf/dl-lookup.c (do_lookup_x): Remove comment
12712 referring to nested function and move variable
12713 declarations down to before first use.
12714
6f05bafe
JM
127152014-04-02 Joseph Myers <joseph@codesourcery.com>
12716
a84e78c8
JM
12717 [BZ #16799]
12718 [BZ #16800]
12719 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12720 with 0 numerator.
12721 * math/s_catanf.c (__catanf): Likewise.
12722 * math/s_catanh.c (__catanh): Likewise.
12723 * math/s_catanhf.c (__catanhf): Likewise.
12724 * math/s_catanhl.c (__catanhl): Likewise.
12725 * math/s_catanl.c (__catanl): Likewise.
12726 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12727 by positive zero when computing -Inf result.
12728 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12729 (catanh_test): Likewise.
12730 * sysdeps/i386/fpu/libm-test-ulps: Update.
12731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12732
6f05bafe
JM
12733 [BZ #16789]
12734 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12735 instead of using underflowing value in computing result.
12736 * math/s_clog10.c (__clog10): Likewise.
12737 * math/s_clog10f.c (__clog10f): Likewise.
12738 * math/s_clog10l.c (__clog10l): Likewise.
12739 * math/s_clogf.c (__clogf): Likewise.
12740 * math/s_clogl.c (__clogl): Likewise.
12741 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12742 (clog10_test): Likewise.
12743 * sysdeps/i386/fpu/libm-test-ulps: Update.
12744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12745
b0abbc21
AM
127462014-04-02 Alan Modra <amodra@gmail.com>
12747
12748 [BZ #16739]
12749 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12750 output when value is near a power of two. Use int64_t for lx and
12751 remove casts. Use decimal rather than hex exponent constants.
12752 Don't use long double multiplication when double will suffice.
12753 * math/libm-test.inc (nextafter_test_data): Add tests.
12754 * NEWS: Add 16739 and 16786 to bug list.
12755
af6b1797
AM
12756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12757
483818d7
AM
12758 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12759
f6c55796
WN
127602014-04-01 Will Newton <will.newton@linaro.org>
12761
12762 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12763 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12764
13f7fe35
FW
127652014-04-01 Florian Weimer <fweimer@redhat.com>
12766
12767 [BZ #13347]
12768 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12769 * nptl/tst-setuid2.c: New file.
12770 * nptl/Makefile (xtests): Add tst-setuid2.
12771
c859b32e
AM
127722014-04-01 Alan Modra <amodra@gmail.com>
12773
12774 [BZ #16786]
12775 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12776
54fa2475
JM
127772014-03-31 Joseph Myers <joseph@codesourcery.com>
12778
8795b4a4
JM
12779 [BZ #6803]
12780 [BZ #6804]
12781 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12782 set errno as appropriate.
12783 * math/w_scalbf.c (__scalbf): Likewise.
12784 * math/w_scalbl.c (__scalbl): Likewise.
12785 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12786 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12787 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12788 Add more NaN tests.
12789
54fa2475
JM
12790 [BZ #16349]
12791 * math/w_atan2.c: Include <errno.h>.
12792 (__atan2): Set errno for result underflowing to zero.
12793 * math/w_atan2f.c: Include <errno.h>.
12794 (__atan2f): Set errno for result underflowing to zero.
12795 * math/w_atan2l.c: Include <errno.h>.
12796 (__atan2l): Set errno for result underflowing to zero.
12797 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12798 tests.
12799 * math/auto-libm-test-out: Regenerated.
12800
757d9dd5
AZ
128012014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12802
12803 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12804 Encode instruction correctly in little endian.
12805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12806 Likewise.
12807 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12808 Likewise.
12809 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12810 Likewise.
12811 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12812 Likewise.
12813
d7a68734
JM
128142014-03-31 Joseph Myers <joseph@codesourcery.com>
12815
47c5adeb
JM
12816 [BZ #9894]
12817 * sysdeps/unix/sysv/linux/kernel-features.h
12818 [__sparc__ && !__arch64__ && !__sparc_v9__]
12819 (__ASSUME_SET_ROBUST_LIST): Do not define.
12820 [__sparc__ && !__arch64__ && !__sparc_v9__]
12821 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12822 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12823 Likewise.
12824 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12825 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12826 (__ASSUME_REQUEUE_PI): Likewise.
12827 (__ASSUME_SET_ROBUST_LIST): Likewise.
12828 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12829 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12830 Undefine.
12831 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12832 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12833 Likewise.
12834 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12835 Likewise.
12836 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12837 Likewise.
12838 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12839 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12840 Undefine.
12841 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12842 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12843 Likewise.
12844
d7a68734
JM
12845 [BZ #16648]
12846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12847 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12848 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12849
c760f5c2
WN
128502014-03-31 Will Newton <will.newton@linaro.org>
12851
12852 * benchtests/Makefile (bench): Add ffs and ffsll to list
12853 of tests.
12854 * benchtests/ffs-inputs: New file.
12855 * benchtests/ffsll-inputs: Likewise.
12856
ea6029b1
JM
128572014-03-29 Joseph Myers <joseph@codesourcery.com>
12858
12859 [BZ #16770]
12860 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12861 too large before casting to int.
12862 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12863 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12864 * math/libm-test.inc (scalb_test_data): Add more tests.
12865
cf806aff
SP
128662014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12867
56737508
SP
12868 * benchtests/Makefile (DETAILED_OPT): New make option.
12869 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12870 set.
12871 * benchtests/bench-skeleton.c: Include stdbool.h.
12872 (main): Store and print timings per input.
12873 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12874 member to each argument value.
12875 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12876 (_print_arg_data): Initialize per-input timing to 0.
12877
cb5e4aad
SP
12878 * benchtests/Makefile (timing-type): New binary.
12879 (bench-clean): Also remove bench-timing-type.
12880 (bench): New target for timing-type.
12881 (bench-func): Print output in JSON format.
12882 * benchtests/bench-skeleton.c (main): Print output in JSON
12883 format.
12884 * benchtests/bench-timing-type.c: New file.
12885 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12886 (TIMING_PRINT_STATS): Remove.
12887 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12888 name separately.
12889
cf806aff
SP
12890 * benchtests/bench-modf.c: Remove.
12891 * benchtests/modf-inputs: New inputs file.
12892
289e0779
JM
128932014-03-28 Joseph Myers <joseph@codesourcery.com>
12894
12895 [BZ #16362]
12896 * math/s_clog10.c (M_PI_LOG10E): New macro.
12897 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12898 imaginary parts are 0.
12899 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12900 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12901 imaginary parts are 0.
12902 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12903 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12904 imaginary parts are 0.
12905 * math/libm-test.inc (clog10_test_data): Update expected results
12906 for when real and imaginary parts are 0.
12907
277ae3f1
PP
129082014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12909
12910 * elf/dl-load.c: Finish conversion of __builtin_expect into
12911 __glibc_{un}likely.
12912
03a7091f
JM
129132014-03-27 Joseph Myers <joseph@codesourcery.com>
12914
12915 [BZ #16348]
12916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12917 1+x for argument with exponent below -67.
12918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12919 Likewise.
12920 * math/auto-libm-test-in: Add more tests of exp.
12921 * math/auto-libm-test-out: Regenerated.
12922
ea7d8b95
SP
129232014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12924
dd3022d7
SP
12925 [BZ #16759]
12926 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12927 (nscd_getnetgrent): Use it.
12928
ea7d8b95
SP
12929 [BZ #16760]
12930 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12931 of stpcpy.
12932
df5b85da
AK
129332014-03-27 Andi Kleen <ak@linux.intel.com>
12934
57f41c40
AS
12935 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12936 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12937 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12938 (lll_robust_unlock): Remove out of line section. Use cfi
12939 intrinsics.
df5b85da 12940 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
12941 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12942 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12943 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12944 (lll_robust_unlock): Remove out of line section. Use cfi
12945 intrinsics.
df5b85da
AK
12946 (LLL_STUB_UNWIND_INFO*): Remove.
12947
fbd6b5a4
SP
129482014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12949
12950 [BZ #16758]
12951 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12952 blank values.
12953
1b26b855
PP
129542014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12955
12956 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12957
9be36fb8
JM
129582014-03-26 Joseph Myers <joseph@codesourcery.com>
12959
12960 [BZ #16198]
12961 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12962 fnstenv.
12963 * math/test-fenv-preserve.c: New file.
12964 * math/Makefile (tests): Add test-fenv-preserve.
12965
60a2f3c1
WN
129662014-03-26 Will Newton <will.newton@linaro.org>
12967
12968 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12969
a5e5f1e2
RM
129702014-03-25 Roland McGrath <roland@hack.frob.com>
12971
12972 * scripts/versionlist.awk: Partition the version sets and emit all
12973 GLIBC_* (sorted) before all others (sorted).
12974
00f4012a
JM
129752014-03-25 Joseph Myers <joseph@codesourcery.com>
12976
12977 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12978 GLIBC_2.2.5 version.
12979
7bc5a741
AZ
129802014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12981
12982 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12983 calls.
12984
7578473b
AZ
12985 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12986 previous change.
12987
f3f1dab3
AZ
12988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12989
6da36183
AS
129902014-03-25 Andreas Schwab <schwab@suse.de>
12991
12992 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12993 label to be used after in6ailist is initialized.
12994
f3f1dab3 129952014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 12996
7578473b 12997 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
12998 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12999
046651c1
JM
130002014-03-25 Joseph Myers <joseph@codesourcery.com>
13001
13002 [BZ #16357]
13003 [BZ #16599]
13004 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13005 min_plus_half.
13006 (fp_formats): Update initializers.
13007 (init_fp_formats): Initialize new field.
13008 (output_for_one_input_case): Allow underflow for results up to
13009 min_plus_half.
13010 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13011 * math/auto-libm-test-in: Don't mark some underflows from asin and
13012 atanh as spurious.
13013 * math/auto-libm-test-out: Regenerated.
13014 * sysdeps/i386/fpu/libm-test-ulps: Update.
13015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13016
003e49ed
AS
130172014-03-25 Andreas Schwab <schwab@suse.de>
13018
13019 * libio/Makefile (tst-ftell-partial-wide-ENV)
13020 (tst-ftell-active-handler-ENV): Define.
13021
de031874
SL
130222014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13023
13024 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13025
55a81e3b
PP
130262014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13027
13028 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13029
f3426898
JM
130302014-03-24 Joseph Myers <joseph@codesourcery.com>
13031
13032 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13033 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13034 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13035
a42faf59
PP
130362014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13037
13038 [BZ #16634]
a42faf59 13039 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13040 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13041 (open_path): Change from boolean 'secure' to complete flag 'mode'
13042 (_dl_map_object): Adjust.
a42faf59
PP
13043 * elf/Makefile (tests): Add tst-dlopen-aout.
13044 * elf/tst-dlopen-aout.c: New test.
13045
50936127
SL
130462014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13047
13048 [BZ #16714]
13049 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13050 (struct stat): Rename member pad0 to __glibc_reserved0.
13051
26011b5c
SL
13052 [BZ #16712]
13053 * sysdeps/s390/s390-32/bits/wordsize.h
13054 (__WORDSIZE32_SIZE_ULONG): New define.
13055 * sysdeps/s390/s390-64/bits/wordsize.h
13056 (__WORDSIZE32_SIZE_ULONG): Likewise.
13057 * sysdeps/generic/stdint.h (SIZE_MAX):
13058 Define as UL if __WORDSIZE32_SIZE_ULONG.
13059
a2d86bf1
SL
13060 [BZ #16713]
13061 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13062 (__glibc_reserved0): New variable.
13063 (sa_flags): Change type to int.
13064
78b6eebc
SL
13065 * posix/Makefile (before-compile): Use += before-compile instead
13066 of a :=.
13067
f1399b5a
SL
13068 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13069 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13070
a071766e
AS
130712014-03-20 Andreas Schwab <schwab@suse.de>
13072
13073 [BZ #16743]
13074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13075 non-matching result from nscd.
13076
27c673b8
SP
130772014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13078
13079 * scripts/bench.py: Moved to ...
13080 * benchtests/scripts/bench.py: ... here.
13081 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13082
44152e4b
AS
130832014-03-24 Andreas Schwab <schwab@suse.de>
13084
13085 [BZ #16002]
13086 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13087 alloca_account and account alloca use for struct in6ailist.
13088
b376a11a
JM
130892014-03-24 Joseph Myers <joseph@codesourcery.com>
13090
13091 [BZ #16284]
13092 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13093 rounding mode to recompute results that overflow to infinity or
13094 underflow to zero.
13095 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13096 bug 16284.
13097 * math/auto-libm-test-out: Regenerated.
13098 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13099 (ccosh_test): Likewise.
13100 (csin_test_data): Use plus_oflow.
13101 (csin_test): Use ALL_RM_TEST.
13102 (csinh_test_data): Use plus_oflow.
13103 (csinh_test): Use ALL_RM_TEST.
13104 * sysdeps/i386/fpu/libm-test-ulps: Update.
13105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13106
f7be7376
JM
131072014-03-21 Joseph Myers <joseph@codesourcery.com>
13108
1ca2d03e
JM
13109 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13110 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13111 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13112
f7be7376
JM
13113 [BZ #16731]
13114 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13115 when x - 1 is zero.
13116 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13117 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13118 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13119 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13120 argument is 1.
13121 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13122 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13123 zero.
13124 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13125 * sysdeps/i386/fpu/libm-test-ulps: Update.
13126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13127
fdf4534d
SP
131282014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13129
df26ea53
SP
13130 * scripts/bench.pl: Remove file.
13131 * scripts/bench.py: New benchmark script.
13132 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13133 * benchtests/README: Mention python dependency.
13134 * scripts/pylintrc: New file.
13135 * scripts/pylint: New file.
13136
fdf4534d
SP
13137 * bits/mathdef.h: Use #ifdef instead of #if.
13138 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13139 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13140 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13141 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13142 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13143 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13144
6f23d093
AZ
131452014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13146 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13147
13148 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13150 and strpbrk-ppc64 objects.
13151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13152 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13153 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13154 multiarch strpbrk for POWER7.
13155 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13156 multiarch strpbrk for PPC64.
13157 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13158 ifunc selector.
13159 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13160 strpbrk for POWER7.
13161
8c92dfff
JM
131622014-03-20 Joseph Myers <joseph@codesourcery.com>
13163
13164 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13165 (atan_test): Likewise.
13166 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13167 (atanh_test): Use ALL_RM_TEST.
13168 (atan2_test_data): Likewise.
13169 (cabs_test): Likewise.
13170 (cacosh_test): Likewise.
13171 (carg_test): Likewise.
13172 (casin_test): Likewise.
13173 (casinh_test): Likewise.
13174 (cbrt_test): Likewise.
13175 (csqrt_test): Likewise.
13176 (erf_test): Likewise.
13177 (erfc_test): Likewise.
13178 (pow10_test): Likewise.
13179 (exp2_test): Likewise.
13180 (hypot_test): Likewise.
13181 (j0_test): Likewise.
13182 (j1_test): Likewise.
13183 (lgamma_test): Likewise.
13184 (gamma_test): Likewise.
13185 (sincos_test): Likewise.
13186 (tanh_test): Likewise.
13187 (y0_test): Likewise.
13188 (y1_test): Likewise.
13189 * sysdeps/i386/fpu/libm-test-ulps: Update.
13190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191
6eaf95cb
AZ
131922014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13193
a387428c
SP
13194 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13196 and strcspn-ppc64 objects.
13197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13198 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13199 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13200 multiarch strcspn for POWER7.
13201 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13202 multiarch strcspn for PPC64.
13203 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13204 ifunc selector.
13205 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13206 strcspn for POWER7.
13207
ae3a5dff
JM
132082014-03-20 Joseph Myers <joseph@codesourcery.com>
13209
13210 * math/gen-libm-test.pl (generate_testfile): Expect only function
13211 name as argument to AUTO_TESTS_* and pass results for all rounding
13212 modes to parse_args.
13213 (parse_auto_input): Separate inputs of automatic tests from
13214 outputs before storing in %auto_tests.
13215 * math/libm-test.inc (acos_test_data): Update call to
13216 AUTO_TESTS_f_f.
13217 (acos_test): Use ALL_RM_TEST.
13218 (acos_tonearest_test_data): Remove.
13219 (acos_test_tonearest): Likewise.
13220 (acos_towardzero_test_data): Likewise.
13221 (acos_test_towardzero): Likewise.
13222 (acos_downward_test_data): Likewise.
13223 (acos_test_downward): Likewise.
13224 (acos_upward_test_data): Likewise.
13225 (acos_test_upward): Likewise.
13226 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13227 (asin_test_data): Likewise.
13228 (asin_test): Use ALL_RM_TEST.
13229 (asin_tonearest_test_data): Remove.
13230 (asin_test_tonearest): Likewise.
13231 (asin_towardzero_test_data): Likewise.
13232 (asin_test_towardzero): Likewise.
13233 (asin_downward_test_data): Likewise.
13234 (asin_test_downward): Likewise.
13235 (asin_upward_test_data): Likewise.
13236 (asin_test_upward): Likewise.
13237 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13238 (atan_test_data): Likewise.
13239 (atanh_test_data): Likewise.
13240 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13241 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13242 (carg_test_data): Likewise.
13243 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13244 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13245 (ccosh_test_data): Likewise.
13246 (cexp_test_data): Likewise.
13247 (clog_test_data): Likewise.
13248 (clog10_test_data): Likewise.
13249 (cos_test_data): Update call to AUTO_TESTS_f_f.
13250 (cos_test): Use ALL_RM_TEST.
13251 (cos_tonearest_test_data): Remove.
13252 (cos_test_tonearest): Likewise.
13253 (cos_towardzero_test_data): Likewise.
13254 (cos_test_towardzero): Likewise.
13255 (cos_downward_test_data): Likewise.
13256 (cos_test_downward): Likewise.
13257 (cos_upward_test_data): Likewise.
13258 (cos_test_upward): Likewise.
13259 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13260 (cosh_test): Use ALL_RM_TEST.
13261 (cosh_tonearest_test_data): Remove.
13262 (cosh_test_tonearest): Likewise.
13263 (cosh_towardzero_test_data): Likewise.
13264 (cosh_test_towardzero): Likewise.
13265 (cosh_downward_test_data): Likewise.
13266 (cosh_test_downward): Likewise.
13267 (cosh_upward_test_data): Likewise.
13268 (cosh_test_upward): Likewise.
13269 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13270 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13271 (ctan_test_data): Likewise.
13272 (ctan_test): Use ALL_RM_TEST.
13273 (ctan_tonearest_test_data): Remove.
13274 (ctan_test_tonearest): Likewise.
13275 (ctan_towardzero_test_data): Likewise.
13276 (ctan_test_towardzero): Likewise.
13277 (ctan_downward_test_data): Likewise.
13278 (ctan_test_downward): Likewise.
13279 (ctan_upward_test_data): Likewise.
13280 (ctan_test_upward): Likewise.
13281 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13282 (ctanh_test): Use ALL_RM_TEST.
13283 (ctanh_tonearest_test_data): Remove.
13284 (ctanh_test_tonearest): Likewise.
13285 (ctanh_towardzero_test_data): Likewise.
13286 (ctanh_test_towardzero): Likewise.
13287 (ctanh_downward_test_data): Likewise.
13288 (ctanh_test_downward): Likewise.
13289 (ctanh_upward_test_data): Likewise.
13290 (ctanh_test_upward): Likewise.
13291 (erf_test_data): Update call to AUTO_TESTS_f_f.
13292 (erfc_test_data): Likewise.
13293 (exp_test_data): Likewise.
13294 (exp_test): Use ALL_RM_TEST.
13295 (exp_tonearest_test_data): Remove.
13296 (exp_test_tonearest): Likewise.
13297 (exp_towardzero_test_data): Likewise.
13298 (exp_test_towardzero): Likewise.
13299 (exp_downward_test_data): Likewise.
13300 (exp_test_downward): Likewise.
13301 (exp_upward_test_data): Likewise.
13302 (exp_test_upward): Likewise.
13303 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13304 (exp10_test): Use ALL_RM_TEST.
13305 (exp10_tonearest_test_data): Remove.
13306 (exp10_test_tonearest): Likewise.
13307 (exp10_towardzero_test_data): Likewise.
13308 (exp10_test_towardzero): Likewise.
13309 (exp10_downward_test_data): Likewise.
13310 (exp10_test_downward): Likewise.
13311 (exp10_upward_test_data): Likewise.
13312 (exp10_test_upward): Likewise.
13313 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13314 (expm1_test_data): Likewise.
13315 (expm1_test): Use ALL_RM_TEST.
13316 (expm1_tonearest_test_data): Remove.
13317 (expm1_test_tonearest): Likewise.
13318 (expm1_towardzero_test_data): Likewise.
13319 (expm1_test_towardzero): Likewise.
13320 (expm1_downward_test_data): Likewise.
13321 (expm1_test_downward): Likewise.
13322 (expm1_upward_test_data): Likewise.
13323 (expm1_test_upward): Likewise.
13324 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13325 (fma_test): Use ALL_RM_TEST.
13326 (fma_towardzero_test_data): Remove.
13327 (fma_test_towardzero): Likewise.
13328 (fma_downward_test_data): Likewise.
13329 (fma_test_downward): Likewise.
13330 (fma_upward_test_data): Likewise.
13331 (fma_test_upward): Likewise.
13332 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13333 (j0_test_data): Update call to AUTO_TESTS_f_f.
13334 (j1_test_data): Likewise.
13335 (jn_test_data): Update call to AUTO_TESTS_if_f.
13336 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13337 (log_test_data): Update call to AUTO_TESTS_f_f.
13338 (log10_test_data): Likewise.
13339 (log1p_test_data): Likewise.
13340 (log2_test_data): Likewise.
13341 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13342 (pow_tonearest_test_data): Likewise.
13343 (sin_test_data): Update call to AUTO_TESTS_f_f.
13344 (sin_test): Use ALL_RM_TEST.
13345 (sin_tonearest_test_data): Remove.
13346 (sin_test_tonearest): Likewise.
13347 (sin_towardzero_test_data): Likewise.
13348 (sin_test_towardzero): Likewise.
13349 (sin_downward_test_data): Likewise.
13350 (sin_test_downward): Likewise.
13351 (sin_upward_test_data): Likewise.
13352 (sin_test_upward): Likewise.
13353 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13354 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13355 (sinh_test): Use ALL_RM_TEST.
13356 (sinh_tonearest_test_data): Remove.
13357 (sinh_test_tonearest): Likewise.
13358 (sinh_towardzero_test_data): Likewise.
13359 (sinh_test_towardzero): Likewise.
13360 (sinh_downward_test_data): Likewise.
13361 (sinh_test_downward): Likewise.
13362 (sinh_upward_test_data): Likewise.
13363 (sinh_test_upward): Likewise.
13364 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13365 (sqrt_test): Use ALL_RM_TEST.
13366 (sqrt_tonearest_test_data): Remove.
13367 (sqrt_test_tonearest): Likewise.
13368 (sqrt_towardzero_test_data): Likewise.
13369 (sqrt_test_towardzero): Likewise.
13370 (sqrt_downward_test_data): Likewise.
13371 (sqrt_test_downward): Likewise.
13372 (sqrt_upward_test_data): Likewise.
13373 (sqrt_test_upward): Likewise.
13374 (tan_test_data): Update call to AUTO_TESTS_f_f.
13375 (tan_test): Use ALL_RM_TEST.
13376 (tan_tonearest_test_data): Remove.
13377 (tan_test_tonearest): Likewise.
13378 (tan_towardzero_test_data): Likewise.
13379 (tan_test_towardzero): Likewise.
13380 (tan_downward_test_data): Likewise.
13381 (tan_test_downward): Likewise.
13382 (tan_upward_test_data): Likewise.
13383 (tan_test_upward): Likewise.
13384 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13385 (tgamma_test_data): Likewise.
13386 (y0_test_data): Likewise.
13387 (y1_test_data): Likewise.
13388 (yn_test_data): Update call to AUTO_TESTS_if_f.
13389 (main): Do not call removed functions.
13390
d71aeee8
JM
133912014-03-19 Joseph Myers <joseph@codesourcery.com>
13392
13393 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13394 (ldexp_test_data): Remove.
13395 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13396 scalbn_test_data.
13397 (scalb_test): Use ALL_RM_TEST.
13398
baaf1ded
AS
133992014-03-19 Andreas Schwab <schwab@suse.de>
13400
13401 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13402
b1115e91
JM
134032014-03-19 Joseph Myers <joseph@codesourcery.com>
13404
13405 [BZ #16649]
13406 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13407 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13408 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13409 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13410 (__ASSUME_PREADV): Undefine.
13411 (__ASSUME_PWRITEV): Likewise.
13412
0283ecca
RM
134132014-03-18 Roland McGrath <roland@hack.frob.com>
13414
7d375303
RM
13415 * bits/mman-linux.h: Add comment about non-Linux use.
13416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13417 bits/mman-linux.h resting place.
13418
0283ecca
RM
13419 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13420 * bits/mman-linux.h: ... here.
13421
aebe1003
AZ
134222014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13423
13424 * conform/conformtest.pl: Add standard definition when calling C
13425 preprocessor on data files.
13426 (checknamespace): Remove unused variable.
13427
b29b6bb8
JM
134282014-03-18 Joseph Myers <joseph@codesourcery.com>
13429
13430 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13431 minus_oflow, plus_uflow and minus_uflow in expected results.
13432 * math/libm-test.inc (scalbn_test_data): Add more tests of
13433 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13434 minus_uflow.
13435 (scalbn_test): Use ALL_RM_TEST.
13436 (scalbln_test_data): Add more tests of negative arguments. Use
13437 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13438 (scalbln_test): Use ALL_RM_TEST.
13439
c8f8fa15
RM
134402014-03-18 Roland McGrath <roland@hack.frob.com>
13441
13442 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13443
fede7a5f
WN
134442014-03-18 Will Newton <will.newton@linaro.org>
13445
13446 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13447 inaccurate comment.
13448
80cf0a58
JM
134492014-03-18 Joseph Myers <joseph@codesourcery.com>
13450
13451 * Makerules [!subdir] (check-abi): Exit with error status if a
13452 test failed.
13453
b3620862
JM
134542014-03-17 Joseph Myers <joseph@codesourcery.com>
13455
13456 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13457 for rint. Include results for all rounding modes.
13458 (nearbyint_test): Use ALL_RM_TEST.
13459 (rint_test_data): Include all tests used for nearbyint.
13460
788bba36
WN
134612014-03-17 Will Newton <will.newton@linaro.org>
13462
04ec140a
WN
13463 * nptl/sysdeps/pthread/pthread.h: Revert previous
13464 change.
13465
7579d8d5
WN
13466 * sysdeps/generic/ldsodefs.h: Revert previous
13467 change.
13468
c15cf13a
WN
13469 * libio/genops.c: Revert previous change.
13470 * libio/libioP.h: Likewise.
13471 * stdio-common/vfprintf.c: Likewise.
13472
d0ac1324
WN
13473 * sysdeps/generic/math_private.h: Revert previous
13474 change.
13475
9290130a
WN
13476 * sysdeps/generic/math_private.h: Check whether
13477 HAVE_RM_CTX is defined with #ifdef rather
13478 than #if.
13479
afb466fc
WN
13480 * argp/argp-fmtstream.h: Check whether
13481 __STRICT_ANSI__ is defined with #ifdef rather
13482 than #if.
13483 * argp/argp.h: Likewise.
13484
f7efd7c3
WN
13485 * libio/genops.c: Check whether
13486 _IO_JUMPS_OFFSET is defined with #ifdef rather
13487 than #if.
13488 * libio/libioP.h: Likewise.
13489 * stdio-common/vfprintf.c: Likewise.
13490
53f1bed3
WN
13491 * sysdeps/generic/ldsodefs.h: Check whether
13492 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13493 than #if.
13494
788bba36
WN
13495 * nptl/sysdeps/pthread/pthread.h: Check
13496 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13497 its value.
13498
fcd89ebe
SP
134992014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13500
ae42bbc5
SP
13501 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13502 setting O_APPEND.
13503 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13504 test case.
13505
ea33158c
SP
13506 [BZ #16680]
13507 * libio/fileops.c (_IO_file_open): Seek to end of file but
13508 don't cache the offset.
13509 (get_file_offset): Remove function.
13510 (do_ftell): Use cached offset when available.
13511 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13512 don't cache the offset.
13513 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13514 case.
13515 (do_one_test): Call it.
13516 (do_ftell_test): Fix up expected old offset for a+ mode.
13517 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13518 available.
13519
b1dbb426
SP
13520 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13521 up test status with function return status.
13522 (do_write_test): Likewise.
13523 (do_append_test): Likewise.
13524
fcd89ebe
SP
13525 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13526 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13527 Remove.
13528
9962a2d3
JM
135292014-03-17 Joseph Myers <joseph@codesourcery.com>
13530
13531 * math/gen-libm-test.pl (parse_args): Handle results specified for
13532 each rounding mode separately.
13533 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13534 tests and results from lrint_tonearest_test_data,
13535 lrint_towardzero_test_data, lrint_downward_test_data and
13536 lrint_upward_test_data.
13537 (lrint_test): Use ALL_RM_TEST.
13538 (lrint_tonearest_test_data): Remove.
13539 (lrint_test_tonearest): Likewise.
13540 (lrint_towardzero_test_data): Likewise.
13541 (lrint_test_towardzero): Likewise.
13542 (lrint_downward_test_data): Likewise.
13543 (lrint_test_downward): Likewise.
13544 (lrint_upward_test_data): Likewise.
13545 (lrint_test_upward): Likewise.
13546 (llrint_test_data): Merge in per-rounding-mode tests and results
13547 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13548 llrint_downward_test_data and llrint_upward_test_data.
13549 (llrint_test): Use ALL_RM_TEST.
13550 (llrint_tonearest_test_data): Remove.
13551 (llrint_test_tonearest): Likewise.
13552 (llrint_towardzero_test_data): Likewise.
13553 (llrint_test_towardzero): Likewise.
13554 (llrint_downward_test_data): Likewise.
13555 (llrint_test_downward): Likewise.
13556 (llrint_upward_test_data): Likewise.
13557 (llrint_test_upward): Likewise.
13558 (rint_test_data): Merge in per-rounding-mode tests and results
13559 from rint_tonearest_test_data, rint_towardzero_test_data,
13560 rint_downward_test_data and rint_upward_test_data. Add
13561 per-rounding-mode results for tests not in those arrays.
13562 (rint_test): Use ALL_RM_TEST.
13563 (rint_tonearest_test_data): Remove.
13564 (rint_test_tonearest): Likewise.
13565 (rint_towardzero_test_data): Likewise.
13566 (rint_test_towardzero): Likewise.
13567 (rint_downward_test_data): Likewise.
13568 (rint_test_downward): Likewise.
13569 (rint_upward_test_data): Likewise.
13570 (rint_test_upward): Likewise.
13571 (main): Don't call removed functions.
13572
5006148e
RM
135732014-03-14 Roland McGrath <roland@hack.frob.com>
13574
13575 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13576 "Compiled on ..." crapola. It is anti-useful.
13577
d6fe5e58
JM
135782014-03-14 Joseph Myers <joseph@codesourcery.com>
13579
13580 * scripts/evaluate-test.sh: Handle fourth argument to determine
13581 whether test run should stop on failure.
13582 * Makeconfig (stop-on-test-failure): New variable.
13583 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13584 $(stop-on-test-failure).
13585 * Makefile (tests): Give a summary of results from testing and
13586 exit with failure status if they include an ERROR or FAIL.
13587 (xtests): Likewise.
13588 * manual/install.texi (Configuring and compiling): Mention
13589 stop-on-test-failure=y.
13590 * INSTALL: Regenerated.
13591
498a2233
RM
135922014-03-14 Roland McGrath <roland@hack.frob.com>
13593
22dbc19d
RM
13594 * scripts/versionlist.awk: New file.
13595 * Makerules [$(build-shared) = yes]
13596 (postclean-generated): Add Versions.def, not Versions.def.v and
13597 Versions.def.v.i.
13598 ($(common-objpfx)Versions.def.v.i): Target removed.
13599 ($(common-objpfx)Versions.def): New target.
13600 ($(common-objpfx)Versions.all): Depend on that rather that
13601 $(common-objpfx)Versions.def.v.
13602 * Versions.def: File removed.
13603
498a2233
RM
13604 * Makeconfig (+gccwarn): Add -Wundef.
13605 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13606 a dl-sysdep.h breaking its contract.
13607 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13608 * include/stackinfo.h: New file.
13609 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13610 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13611 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13612 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13613 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13614 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13615 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13616 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13617 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13618 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13619 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13620 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13621 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13622 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13623 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13624
c7de5025
AZ
136252014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13626
13627 [BZ #16707]
13628 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13629 implementation.
13630 * math/libm-test.inc (round_test_data): Add more tests.
13631
98fb27a3
AZ
13632 [BZ #16706]
13633 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13634 implementation.
13635 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13636
374f7f61
AZ
13637 [BZ #16701]
13638 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13639 implementation.
13640 * math/libm-test.inc (ceil_test_data): Add more tests.
13641
4655c291
AZ
13642 * math/libm-test.inc (trunc_test_data): Add more tests related to
13643 BZ#16414.
13644
d7329d4b
RM
136452014-03-14 Roland McGrath <roland@hack.frob.com>
13646
13647 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13648 with #if rather than #ifdef.
13649 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13650
aa4de9ce
L
136512014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13654 first. Disable AVX-512 GCC support if assembler doesn't support
13655 it.
13656 * sysdeps/x86_64/configure: Regenerated.
13657
2e03fae7
CD
136582014-03-13 Carlos O'Donell <carlos@redhat.com>
13659
13660 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13661 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13662 (__old_pthread_attr_setstack): Likewise.
13663 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13664 [!_STACK_GROWS_DOWN]: Likewise.
13665
43ca83ec
MF
136662014-03-13 Mike Frysinger <vapier@gentoo.org>
13667
13668 * config.make.in (have-bash2): Delete.
13669 * configure.ac (libc_cv_have_bash2): Delete.
13670 * configure: Regenerate.
13671 * elf/Makefile (common-ldd-rewrite): Rename to ...
13672 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13673 (sh-ldd-rewrite): Delete.
13674 (bash-ldd-rewrite): Delete.
13675 (have-bash2): Delete checks.
57f41c40
AS
13676 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13677 ldd-rewrite.
c66e48b4
MF
13678
13679 * config.make.in (have-ksh): Delete.
13680 (KSH): Delete.
13681 * configure.ac (libc_cv_have_ksh): Delete.
13682 * configure: Regenerate.
13683
b93834ef
MF
13684 * elf/Makefile: Delete $(have-ksh) check.
13685 ($(objpfx)sotruss): Change KSH to BASH.
13686 * elf/sotruss.ksh: Rename to ...
13687 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13688 function style to match POSIX. Drop ksh vim mode setting.
13689
f3a4632a
MF
13690 * manual/time.texi (Specifying the Time Zone with TZ): Change
13691 Tuesday to Thursday.
13692
5896c8bd
MF
13693 * debug/tst-longjmp_chk2.c: Update header comment.
13694 (stackoverflow_handler): Add comment. Call assert on pass value.
13695
2d63a517
IZ
136962014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13697
7e54fd04 13698 [BZ #16194]
2d63a517
IZ
13699 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13700 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13701 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13702 (La_x86_64_vector): Add zmm.
13703 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13704 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13705 ($(objpfx)tst-audit10): New target.
13706 ($(objpfx)tst-audit10.out): Likewise.
13707 (tst-audit10-ENV): New.
13708 (AVX512-CFLAGS): Likewise.
13709 (CFLAGS-tst-audit10.c): Likewise.
13710 (CFLAGS-tst-auditmod10a.c): Likewise.
13711 (CFLAGS-tst-auditmod10b.c): Likewise.
13712 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13713 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13714 * sysdeps/x86_64/configure: Regenerated.
13715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13716 AVX-512 zmm register support.
13717 (_dl_x86_64_save_sse): Likewise.
13718 (_dl_x86_64_restore_sse): Likewise.
13719 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13720 size vector registers.
13721 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13722 (ZMM_SIZE): Likewise.
13723 * sysdeps/x86_64/tst-audit10.c: New file.
13724 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13725 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13726
44c4e5d5
RM
137272014-03-13 Roland McGrath <roland@hack.frob.com>
13728
13729 * configure.ac (HAVE_EHDR_START): New check.
13730 * configure: Regenerated.
13731 * config.h.in (HAVE_EHDR_START): New #undef.
13732 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13733 assuming the lowest-addressed segment maps the start of the file.
13734
acd6e389
JM
137352014-03-13 Joseph Myers <joseph@codesourcery.com>
13736
13737 * INSTALL: Regenerated.
13738
6f918f36
WN
137392014-03-13 Will Newton <will.newton@linaro.org>
13740
13741 * manual/setjmp.texi (System V contexts): Improve
13742 clarity and grammar of documentation.
13743
798212a0
PP
137442014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13745
13746 [BZ #16381]
798212a0 13747 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 13748 (tests-pie): Add tst-pie2.
798212a0
PP
13749 * elf/tst-pie2.c: New file.
13750 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13751 for ET_EXEC.
13752 * elf/rtld.c (map_doit): Load executable as lt_executable.
13753 (dl_main): Likewise.
13754
abe6d90c
JM
137552014-03-12 Joseph Myers <joseph@codesourcery.com>
13756
13757 [BZ #16642]
13758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13759 (__ASSUME_PSELECT): Undefine.
13760
dd3946c6
AZ
137612014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13762
13763 [BZ #16689]
13764 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13765 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13766 static build.
13767 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13768 selector for static builds.
13769
c44496df
SP
137702014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13771
13772 [BZ #16695]
13773 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13774 key in the buffer.
13775
27c7220a
AZ
137762014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13777
57f41c40
AS
13778 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13779 IFUNC selector for static builds.
27c7220a 13780
600fa361
JM
137812014-03-11 Joseph Myers <joseph@codesourcery.com>
13782
76c96cf7
JM
13783 * sysdeps/mips/math_private.h [__mips_hard_float]
13784 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13785 libc_feresetround_mips_ctx.
13786 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13787 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13788 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13789
600fa361
JM
13790 [BZ #16677]
13791 * math/s_nextafter.c (__nextafter): Do not return value from
13792 overflowing computation.
13793 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13794 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13795 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13796 Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13798 Likewise.
13799 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13800 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13801
d7706c32
RM
138022014-03-11 Roland McGrath <roland@hack.frob.com>
13803
13804 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13805 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13806 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13807 the new mov targetting sp.
13808
4facea47
AZ
138092014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13810
13811 [BZ #16683]
13812 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13813 Define it for static builds as well.
13814 (NO_BZERO_IMPL): Likewise.
13815
e65caf1f
VR
138162014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13817
13818 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13819 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13820 multiarch strspn for PPC64.
13821 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13822 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13824 (__libc_ifunc_impl_list): Likewise.
13825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13826 multiarch optimizations
13827 * string/strspn.c (strspn): Using macro to redefine symbol name.
13828
ba9cc071
AZ
138292014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13830 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13831
13832 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13833 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13834 multiarch strncat for PPC64.
13835 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13836 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13838 (__libc_ifunc_impl_list): Likewise.
13839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13840 multiarch optimizations
13841
8b4ff974
SP
138422014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13843
13844 [BZ #16639]
13845 * nscd/nscd.service: Make service type forking.
13846
54b46a4b
AZ
138472014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13848
13849 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13850 sign in non default rounding modes.
13851 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13852
e9996ef7
JM
138532014-03-08 Joseph Myers <joseph@codesourcery.com>
13854
13855 * math/libm-test.inc (ALL_RM_TEST): New macro.
13856 (ceil_test): Use ALL_RM_TEST.
13857 (cimag_test): Likewise.
13858 (conj_test): Likewise.
13859 (copysign_test): Likewise.
13860 (cproj_test): Likewise.
13861 (creal_test): Likewise.
13862 (fabs_test): Likewise.
13863 (floor_test): Likewise.
13864 (fmax_test): Likewise.
13865 (fmin_test): Likewise.
13866 (fmod_test): Likewise.
13867 (fpclassify_test): Likewise.
13868 (frexp_test): Likewise.
13869 (ilogb_test): Likewise.
13870 (isfinite_test): Likewise.
13871 (finite_test): Likewise.
13872 (isgreater_test): Likewise.
13873 (isgreaterequal_test): Likewise.
13874 (isinf_test): Likewise.
13875 (isless_test): Likewise.
13876 (islessequal_test): Likewise.
13877 (islessgreater_test): Likewise.
13878 (isnan_test): Likewise.
13879 (isnormal_test): Likewise.
13880 (issignaling_test): Likewise.
13881 (isunordered_test): Likewise.
13882 (logb_test): Likewise.
13883 (logb_downward_test_data): Remove.
13884 (logb_test_downward): Likewise.
13885 (lround_test): Use ALL_RM_TEST.
13886 (llround_test): Likewise.
13887 (modf_test): Likewise.
13888 (nexttoward_test): Likewise.
13889 (remainder_test): Likewise.
13890 (drem_test): Likewise.
13891 (remainder_tonearest_test_data): Likewise.
13892 (remainder_test_tonearest): Likewise.
13893 (drem_test_tonearest): Likewise.
13894 (remainder_towardzero_test_data): Likewise.
13895 (remainder_test_towardzero): Likewise.
13896 (drem_test_towardzero): Likewise.
13897 (remainder_downward_test_data): Likewise.
13898 (remainder_test_downward): Likewise.
13899 (drem_test_downward): Likewise.
13900 (remainder_upward_test_data): Likewise.
13901 (remainder_test_upward): Likewise.
13902 (drem_test_upward): Likewise.
13903 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13904 (round_test): Use ALL_RM_TEST.
13905 (signbit_test): Likewise.
13906 (trunc_test): Likewise.
13907 (significand_test): Likewise.
13908 (main): Don't call removed functions.
13909
bc61d27c
JM
139102014-03-07 Joseph Myers <joseph@codesourcery.com>
13911
5c780849
JM
13912 [BZ #16674]
13913 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13914 || __USE_XOPEN2K8].
13915 (ILL_ILLOPN): Likewise.
13916 (ILL_ILLADR): Likewise.
13917 (ILL_ILLTRP): Likewise.
13918 (ILL_PRVOPC): Likewise.
13919 (ILL_PRVREG): Likewise.
13920 (ILL_COPROC): Likewise.
13921 (ILL_BADSTK): Likewise.
13922 (FPE_INTDIV): Likewise.
13923 (FPE_INTOVF): Likewise.
13924 (FPE_FLTDIV): Likewise.
13925 (FPE_FLTOVF): Likewise.
13926 (FPE_FLTUND): Likewise.
13927 (FPE_FLTRES): Likewise.
13928 (FPE_FLTINV): Likewise.
13929 (FPE_FLTSUB): Likewise.
13930 (SEGV_MAPERR): Likewise.
13931 (SEGV_ACCERR): Likewise.
13932 (BUS_ADRALN): Likewise.
13933 (BUS_ADRERR): Likewise.
13934 (BUS_OBJERR): Likewise.
13935 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13936 (TRAP_TRACE): Likewise.
13937 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13938 __USE_XOPEN2K8].
13939 (CLD_KILLED): Likewise.
13940 (CLD_DUMPED): Likewise.
13941 (CLD_TRAPPED): Likewise.
13942 (CLD_STOPPED): Likewise.
13943 (CLD_CONTINUED): Likewise.
13944 (POLL_IN): Likewise.
13945 (POLL_OUT): Likewise.
13946 (POLL_MSG): Likewise.
13947 (POLL_ERR): Likewise.
13948 (POLL_PRI): Likewise.
13949 (POLL_HUP): Likewise.
13950 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13951 Likewise.
13952 (ILL_ILLOPN): Likewise.
13953 (ILL_ILLADR): Likewise.
13954 (ILL_ILLTRP): Likewise.
13955 (ILL_PRVOPC): Likewise.
13956 (ILL_PRVREG): Likewise.
13957 (ILL_COPROC): Likewise.
13958 (ILL_BADSTK): Likewise.
13959 (FPE_INTDIV): Likewise.
13960 (FPE_INTOVF): Likewise.
13961 (FPE_FLTDIV): Likewise.
13962 (FPE_FLTOVF): Likewise.
13963 (FPE_FLTUND): Likewise.
13964 (FPE_FLTRES): Likewise.
13965 (FPE_FLTINV): Likewise.
13966 (FPE_FLTSUB): Likewise.
13967 (SEGV_MAPERR): Likewise.
13968 (SEGV_ACCERR): Likewise.
13969 (BUS_ADRALN): Likewise.
13970 (BUS_ADRERR): Likewise.
13971 (BUS_OBJERR): Likewise.
13972 (BUS_MCEERR_AR): Likewise.
13973 (BUS_MCEERR_AO): Likewise.
13974 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13975 (TRAP_TRACE): Likewise.
13976 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13977 __USE_XOPEN2K8].
13978 (CLD_KILLED): Likewise.
13979 (CLD_DUMPED): Likewise.
13980 (CLD_TRAPPED): Likewise.
13981 (CLD_STOPPED): Likewise.
13982 (CLD_CONTINUED): Likewise.
13983 (POLL_IN): Likewise.
13984 (POLL_OUT): Likewise.
13985 (POLL_MSG): Likewise.
13986 (POLL_ERR): Likewise.
13987 (POLL_PRI): Likewise.
13988 (POLL_HUP): Likewise.
13989 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13990 (ILL_ILLOPN): Likewise.
13991 (ILL_ILLADR): Likewise.
13992 (ILL_ILLTRP): Likewise.
13993 (ILL_PRVOPC): Likewise.
13994 (ILL_PRVREG): Likewise.
13995 (ILL_COPROC): Likewise.
13996 (ILL_BADSTK): Likewise.
13997 (FPE_INTDIV): Likewise.
13998 (FPE_INTOVF): Likewise.
13999 (FPE_FLTDIV): Likewise.
14000 (FPE_FLTOVF): Likewise.
14001 (FPE_FLTUND): Likewise.
14002 (FPE_FLTRES): Likewise.
14003 (FPE_FLTINV): Likewise.
14004 (FPE_FLTSUB): Likewise.
14005 (SEGV_MAPERR): Likewise.
14006 (SEGV_ACCERR): Likewise.
14007 (BUS_ADRALN): Likewise.
14008 (BUS_ADRERR): Likewise.
14009 (BUS_OBJERR): Likewise.
14010 (BUS_MCEERR_AR): Likewise.
14011 (BUS_MCEERR_AO): Likewise.
14012 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14013 (TRAP_TRACE): Likewise.
14014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14015 __USE_XOPEN2K8].
14016 (CLD_KILLED): Likewise.
14017 (CLD_DUMPED): Likewise.
14018 (CLD_TRAPPED): Likewise.
14019 (CLD_STOPPED): Likewise.
14020 (CLD_CONTINUED): Likewise.
14021 (POLL_IN): Likewise.
14022 (POLL_OUT): Likewise.
14023 (POLL_MSG): Likewise.
14024 (POLL_ERR): Likewise.
14025 (POLL_PRI): Likewise.
14026 (POLL_HUP): Likewise.
14027 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14028 Likewise.
14029 (ILL_ILLOPN): Likewise.
14030 (ILL_ILLADR): Likewise.
14031 (ILL_ILLTRP): Likewise.
14032 (ILL_PRVOPC): Likewise.
14033 (ILL_PRVREG): Likewise.
14034 (ILL_COPROC): Likewise.
14035 (ILL_BADSTK): Likewise.
14036 (ILL_BADIADDR): Likewise.
14037 (ILL_BREAK): Likewise.
14038 (FPE_INTDIV): Likewise.
14039 (FPE_INTOVF): Likewise.
14040 (FPE_FLTDIV): Likewise.
14041 (FPE_FLTOVF): Likewise.
14042 (FPE_FLTUND): Likewise.
14043 (FPE_FLTRES): Likewise.
14044 (FPE_FLTINV): Likewise.
14045 (FPE_FLTSUB): Likewise.
14046 (FPE_DECOVF): Likewise.
14047 (FPE_DECDIV): Likewise.
14048 (FPE_DECERR): Likewise.
14049 (FPE_INVASC): Likewise.
14050 (FPE_INVDEC): Likewise.
14051 (SEGV_MAPERR): Likewise.
14052 (SEGV_ACCERR): Likewise.
14053 (SEGV_PSTKOVF): Likewise.
14054 (BUS_ADRALN): Likewise.
14055 (BUS_ADRERR): Likewise.
14056 (BUS_OBJERR): Likewise.
14057 (BUS_MCEERR_AR): Likewise.
14058 (BUS_MCEERR_AO): Likewise.
14059 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14060 (TRAP_TRACE): Likewise.
14061 (TRAP_BRANCH): Likewise.
14062 (TRAP_HWBKPT): Likewise.
14063 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14064 __USE_XOPEN2K8].
14065 (CLD_KILLED): Likewise.
14066 (CLD_DUMPED): Likewise.
14067 (CLD_TRAPPED): Likewise.
14068 (CLD_STOPPED): Likewise.
14069 (CLD_CONTINUED): Likewise.
14070 (POLL_IN): Likewise.
14071 (POLL_OUT): Likewise.
14072 (POLL_MSG): Likewise.
14073 (POLL_ERR): Likewise.
14074 (POLL_PRI): Likewise.
14075 (POLL_HUP): Likewise.
14076 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14077 (ILL_ILLOPN): Likewise.
14078 (ILL_ILLADR): Likewise.
14079 (ILL_ILLTRP): Likewise.
14080 (ILL_PRVOPC): Likewise.
14081 (ILL_PRVREG): Likewise.
14082 (ILL_COPROC): Likewise.
14083 (ILL_BADSTK): Likewise.
14084 (FPE_INTDIV): Likewise.
14085 (FPE_INTOVF): Likewise.
14086 (FPE_FLTDIV): Likewise.
14087 (FPE_FLTOVF): Likewise.
14088 (FPE_FLTUND): Likewise.
14089 (FPE_FLTRES): Likewise.
14090 (FPE_FLTINV): Likewise.
14091 (FPE_FLTSUB): Likewise.
14092 (SEGV_MAPERR): Likewise.
14093 (SEGV_ACCERR): Likewise.
14094 (BUS_ADRALN): Likewise.
14095 (BUS_ADRERR): Likewise.
14096 (BUS_OBJERR): Likewise.
14097 (BUS_MCEERR_AR): Likewise.
14098 (BUS_MCEERR_AO): Likewise.
14099 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14100 (TRAP_TRACE): Likewise.
14101 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14102 __USE_XOPEN2K8].
14103 (CLD_KILLED): Likewise.
14104 (CLD_DUMPED): Likewise.
14105 (CLD_TRAPPED): Likewise.
14106 (CLD_STOPPED): Likewise.
14107 (CLD_CONTINUED): Likewise.
14108 (POLL_IN): Likewise.
14109 (POLL_OUT): Likewise.
14110 (POLL_MSG): Likewise.
14111 (POLL_ERR): Likewise.
14112 (POLL_PRI): Likewise.
14113 (POLL_HUP): Likewise.
14114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14115 (ILL_ILLOPN): Likewise.
14116 (ILL_ILLADR): Likewise.
14117 (ILL_ILLTRP): Likewise.
14118 (ILL_PRVOPC): Likewise.
14119 (ILL_PRVREG): Likewise.
14120 (ILL_COPROC): Likewise.
14121 (ILL_BADSTK): Likewise.
14122 (FPE_INTDIV): Likewise.
14123 (FPE_INTOVF): Likewise.
14124 (FPE_FLTDIV): Likewise.
14125 (FPE_FLTOVF): Likewise.
14126 (FPE_FLTUND): Likewise.
14127 (FPE_FLTRES): Likewise.
14128 (FPE_FLTINV): Likewise.
14129 (FPE_FLTSUB): Likewise.
14130 (SEGV_MAPERR): Likewise.
14131 (SEGV_ACCERR): Likewise.
14132 (BUS_ADRALN): Likewise.
14133 (BUS_ADRERR): Likewise.
14134 (BUS_OBJERR): Likewise.
14135 (BUS_MCEERR_AR): Likewise.
14136 (BUS_MCEERR_AO): Likewise.
14137 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14138 (TRAP_TRACE): Likewise.
14139 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14140 __USE_XOPEN2K8].
14141 (CLD_KILLED): Likewise.
14142 (CLD_DUMPED): Likewise.
14143 (CLD_TRAPPED): Likewise.
14144 (CLD_STOPPED): Likewise.
14145 (CLD_CONTINUED): Likewise.
14146 (POLL_IN): Likewise.
14147 (POLL_OUT): Likewise.
14148 (POLL_MSG): Likewise.
14149 (POLL_ERR): Likewise.
14150 (POLL_PRI): Likewise.
14151 (POLL_HUP): Likewise.
14152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14153 (ILL_ILLOPN): Likewise.
14154 (ILL_ILLADR): Likewise.
14155 (ILL_ILLTRP): Likewise.
14156 (ILL_PRVOPC): Likewise.
14157 (ILL_PRVREG): Likewise.
14158 (ILL_COPROC): Likewise.
14159 (ILL_BADSTK): Likewise.
14160 (FPE_INTDIV): Likewise.
14161 (FPE_INTOVF): Likewise.
14162 (FPE_FLTDIV): Likewise.
14163 (FPE_FLTOVF): Likewise.
14164 (FPE_FLTUND): Likewise.
14165 (FPE_FLTRES): Likewise.
14166 (FPE_FLTINV): Likewise.
14167 (FPE_FLTSUB): Likewise.
14168 (SEGV_MAPERR): Likewise.
14169 (SEGV_ACCERR): Likewise.
14170 (BUS_ADRALN): Likewise.
14171 (BUS_ADRERR): Likewise.
14172 (BUS_OBJERR): Likewise.
14173 (BUS_MCEERR_AR): Likewise.
14174 (BUS_MCEERR_AO): Likewise.
14175 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14176 (TRAP_TRACE): Likewise.
14177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14178 __USE_XOPEN2K8].
14179 (CLD_KILLED): Likewise.
14180 (CLD_DUMPED): Likewise.
14181 (CLD_TRAPPED): Likewise.
14182 (CLD_STOPPED): Likewise.
14183 (CLD_CONTINUED): Likewise.
14184 (POLL_IN): Likewise.
14185 (POLL_OUT): Likewise.
14186 (POLL_MSG): Likewise.
14187 (POLL_ERR): Likewise.
14188 (POLL_PRI): Likewise.
14189 (POLL_HUP): Likewise.
14190 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14191 (ILL_ILLOPN): Likewise.
14192 (ILL_ILLADR): Likewise.
14193 (ILL_ILLTRP): Likewise.
14194 (ILL_PRVOPC): Likewise.
14195 (ILL_PRVREG): Likewise.
14196 (ILL_COPROC): Likewise.
14197 (ILL_BADSTK): Likewise.
14198 (ILL_DBLFLT): Likewise.
14199 (ILL_HARDWALL): Likewise.
14200 (FPE_INTDIV): Likewise.
14201 (FPE_INTOVF): Likewise.
14202 (FPE_FLTDIV): Likewise.
14203 (FPE_FLTOVF): Likewise.
14204 (FPE_FLTUND): Likewise.
14205 (FPE_FLTRES): Likewise.
14206 (FPE_FLTINV): Likewise.
14207 (FPE_FLTSUB): Likewise.
14208 (SEGV_MAPERR): Likewise.
14209 (SEGV_ACCERR): Likewise.
14210 (BUS_ADRALN): Likewise.
14211 (BUS_ADRERR): Likewise.
14212 (BUS_OBJERR): Likewise.
14213 (BUS_MCEERR_AR): Likewise.
14214 (BUS_MCEERR_AO): Likewise.
14215 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14216 (TRAP_TRACE): Likewise.
14217 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14218 __USE_XOPEN2K8].
14219 (CLD_KILLED): Likewise.
14220 (CLD_DUMPED): Likewise.
14221 (CLD_TRAPPED): Likewise.
14222 (CLD_STOPPED): Likewise.
14223 (CLD_CONTINUED): Likewise.
14224 (POLL_IN): Likewise.
14225 (POLL_OUT): Likewise.
14226 (POLL_MSG): Likewise.
14227 (POLL_ERR): Likewise.
14228 (POLL_PRI): Likewise.
14229 (POLL_HUP): Likewise.
14230 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14231 (ILL_ILLOPN): Likewise.
14232 (ILL_ILLADR): Likewise.
14233 (ILL_ILLTRP): Likewise.
14234 (ILL_PRVOPC): Likewise.
14235 (ILL_PRVREG): Likewise.
14236 (ILL_COPROC): Likewise.
14237 (ILL_BADSTK): Likewise.
14238 (FPE_INTDIV): Likewise.
14239 (FPE_INTOVF): Likewise.
14240 (FPE_FLTDIV): Likewise.
14241 (FPE_FLTOVF): Likewise.
14242 (FPE_FLTUND): Likewise.
14243 (FPE_FLTRES): Likewise.
14244 (FPE_FLTINV): Likewise.
14245 (FPE_FLTSUB): Likewise.
14246 (SEGV_MAPERR): Likewise.
14247 (SEGV_ACCERR): Likewise.
14248 (BUS_ADRALN): Likewise.
14249 (BUS_ADRERR): Likewise.
14250 (BUS_OBJERR): Likewise.
14251 (BUS_MCEERR_AR): Likewise.
14252 (BUS_MCEERR_AO): Likewise.
14253 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14254 (TRAP_TRACE): Likewise.
14255 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14256 __USE_XOPEN2K8].
14257 (CLD_KILLED): Likewise.
14258 (CLD_DUMPED): Likewise.
14259 (CLD_TRAPPED): Likewise.
14260 (CLD_STOPPED): Likewise.
14261 (CLD_CONTINUED): Likewise.
14262 (POLL_IN): Likewise.
14263 (POLL_OUT): Likewise.
14264 (POLL_MSG): Likewise.
14265 (POLL_ERR): Likewise.
14266 (POLL_PRI): Likewise.
14267 (POLL_HUP): Likewise.
14268 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14269 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14270
bc61d27c
JM
14271 [BZ #16670]
14272 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14273 before #include of <time.h>.
14274 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14275 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14276 (test-xfail-UNIX98/sched.h/conform): Likewise.
14277
302949e2
MS
142782014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14279
14280 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14281 error absence of trapping exception support.
14282 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14283
a00f522a
JM
142842014-03-07 Joseph Myers <joseph@codesourcery.com>
14285
6f99f280
JM
14286 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14287 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14288 * timezone/Makefile (testdata): Move definition above include of
14289 Rules.
14290 (test-zones): New variable.
14291 (tests-special): Add zone files.
14292 (build-testdata): Use $(evaluate-test).
14293
0b20a9e8
JM
14294 * elf/Makefile (tests-special): Rename tests to end with .out.
14295 ($(objpfx)noload-mem): Likewise.
14296 ($(objpfx)tst-leaks1-mem): Likewise.
14297 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14298 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14299 $(objpfx)test-iconvconfig.out.
14300 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14301 set -e inside subshell and redirect output to file.
14302 * iconvdata/Makefile (generated): Rename tests to end with .out.
14303 Correct type.
14304 (tests-special): Rename tests to end with .out.
14305 ($(objpfx)mtrace-tst-loading): Likewise.
14306 * intl/Makefile (generated): Likewise.
14307 (tests-special): Likewise.
14308 ($(objpfx)mtrace-tst-gettext): Likewise.
14309 * misc/Makefile (generated): Likewise.
14310 (tests-special): Likewise.
14311 ($(objpfx)tst-error1-mem): Likewise.
14312 * nptl/Makefile (tests-special): Likewise.
14313 ($(objpfx)tst-stack3-mem): Likewise.
14314 (generated): Likewise.
14315 * posix/Makefile (generated): Likewise.
14316 (tests-special): Likewise.
14317 (xtests-special): Likewise.
14318 ($(objpfx)tst-fnmatch-mem): Likewise.
14319 ($(objpfx)bug-regex2-mem): Likewise.
14320 ($(objpfx)bug-regex14-mem): Likewise.
14321 ($(objpfx)bug-regex21-mem): Likewise.
14322 ($(objpfx)bug-regex31-mem): Likewise.
14323 ($(objpfx)tst-vfork3-mem): Likewise.
14324 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14325 ($(objpfx)tst-pcre-mem): Likewise.
14326 ($(objpfx)tst-boost-mem): Likewise.
14327 ($(objpfx)bug-ga2-mem): Likewise.
14328 ($(objpfx)bug-glob2-mem): Likewise.
14329 * resolv/Makefile (generate): Likewise.
14330 (tests-special): Likewise.
14331 (xtests-special): Likewise.
14332 (generated): Likewise.
14333 ($(objpfx)mtrace-tst-leaks): Likewise.
14334 ($(objpfx)mtrace-tst-leaks2): Likewise.
14335
265d52ab
JM
14336 * scripts/merge-test-results.sh: New file.
14337 * Makefile (tests-special-notdir): New variable.
14338 (tests): Run merge-test-results.sh.
14339 (xtests): Likewise.
14340 * Rules (tests-special-notdir): New variable.
14341 (xtests-special-notdir): Likewise.
14342 (tests): Run merge-test-results.sh
14343 (xtests): Likewise.
14344
54ee292d
JM
14345 * Makeconfig (test-xfail-name): New variable.
14346 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14347 compute variable name for expected failures.
14348 * conform/Makefile (conformtest-headers-data): New variable.
14349 (conformtest-standards): Likewise.
14350 (conformtest-headers-ISO): Likewise.
14351 (conformtest-headers-ISO99): Likewise.
14352 (conformtest-headers-ISO11): Likewise.
14353 (conformtest-headers-POSIX): Likewise.
14354 (conformtest-headers-XPG3): Likewise.
14355 (conformtest-headers-XPG4): Likewise.
14356 (conformtest-headers-UNIX98): Likewise.
14357 (conformtest-headers-XOPEN2K): Likewise.
14358 (conformtest-headers-POSIX2008): Likewise.
14359 (conformtest-headers-XOPEN2K8): Likewise.
14360 (conformtest-header-list-base): Likewise.
14361 (conformtest-header-list-tests): Likewise.
14362 (conformtest-header-base): Likewise.
14363 (conformtest-header-tests): Likewise.
14364 (tests-special): Add $(conformtest-header-list-tests). If
14365 [$(fast-check) && !$(cross-compiling)], add
14366 $(conformtest-header-tests) instead of
14367 $(objpfx)run-conformtest.out.
14368 (generated): Add $(conformtest-header-list-base). If
14369 [$(fast-check) && !$(cross-compiling)], add
14370 $(conformtest-header-base). Remove previous setting.
14371 ($(conformtest-header-list-tests)): New target.
14372 (test-xfail-run-conformtest): Remove variable.
14373 ($(objpfx)run-conformtest.out): Remove target.
14374 (test-xfail-ISO11/complex.h/conform): New variable.
14375 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14376 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14377 (test-xfail-XPG3/varargs.h/conform): Likewise.
14378 (test-xfail-XPG4/varargs.h/conform): Likewise.
14379 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14380 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14381 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14382 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14383 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14384 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14385 (test-xfail-XPG3/ftw.h/conform): Likewise.
14386 (test-xfail-XPG3/grp.h/conform): Likewise.
14387 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14388 (test-xfail-XPG3/limits.h/conform): Likewise.
14389 (test-xfail-XPG3/pwd.h/conform): Likewise.
14390 (test-xfail-XPG3/search.h/conform): Likewise.
14391 (test-xfail-XPG3/signal.h/conform): Likewise.
14392 (test-xfail-XPG3/stdio.h/conform): Likewise.
14393 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14394 (test-xfail-XPG3/string.h/conform): Likewise.
14395 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14396 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14397 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14398 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14399 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14400 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14401 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14402 (test-xfail-XPG3/termios.h/conform): Likewise.
14403 (test-xfail-XPG3/time.h/conform): Likewise.
14404 (test-xfail-XPG3/unistd.h/conform): Likewise.
14405 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14406 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14407 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14408 (test-xfail-XPG4/netdb.h/conform): Likewise.
14409 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14410 (test-xfail-XPG4/signal.h/conform): Likewise.
14411 (test-xfail-XPG4/stdio.h/conform): Likewise.
14412 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14413 (test-xfail-XPG4/stropts.h/conform): Likewise.
14414 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14415 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14416 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14417 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14418 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14419 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14420 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14421 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14422 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14423 (test-xfail-XPG4/termios.h/conform): Likewise.
14424 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14425 (test-xfail-XPG4/unistd.h/conform): Likewise.
14426 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14427 (test-xfail-POSIX/sched.h/conform): Likewise.
14428 (test-xfail-POSIX/signal.h/conform): Likewise.
14429 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14430 (test-xfail-POSIX/tar.h/conform): Likewise.
14431 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14432 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14433 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14434 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14435 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14436 (test-xfail-UNIX98/sched.h/conform): Likewise.
14437 (test-xfail-UNIX98/signal.h/conform): Likewise.
14438 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14439 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14440 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14441 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14442 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14443 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14444 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14445 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14446 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14447 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14448 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14449 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14450 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14451 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14452 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14453 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14454 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14455 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14456 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14457 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14458 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14459 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14460 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14461 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14462 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14463 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14464 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14465 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14466 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14467 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14468 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14469 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14470 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14471 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14472 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14473 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14474 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14475 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14476 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14477 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14478 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14479 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14480 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14481 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14482 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14483 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14484 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14485 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14486 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14487 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14488 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14489 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14490 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14491 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14492 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14493 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14494 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14495 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14496 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14497 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14498 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14499 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14500 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14501 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14502 (conformtest-cc-flags): Likewise.
14503 ($(conformtest-header-tests): New target.
14504 * conform/check-header-lists.sh: New file.
14505 * conform/run-conformtest.sh: Remove.
14506
a00f522a
JM
14507 * conform/conformtest.pl: Allow ' and \ in values given for
14508 constants.
14509 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14510 inclusion.
14511 [POSIX] (sys/types.h): Likewise.
14512 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14513 inclusion.
14514 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14515 inclusion.
14516 * conform/data/signal.h-data (SIGIO): Remove expectation.
14517 [XPG3] (SIGBUS): Do not expect.
14518 [POSIX || XPG3] (SIGPOLL): Likewise.
14519 [POSIX || XPG3] (SIGPROF): Likewise.
14520 [POSIX || XPG3] (SIGSYS): Likewise.
14521 [XPG3] (SIGTRAP): Likewise.
14522 [POSIX || XPG3] (SIGURG): Likewise.
14523 [POSIX || XPG3] (SIGVTALRM): Likewise.
14524 [POSIX || XPG3] (SIGXCPU): Likewise.
14525 [POSIX || XPG3] (SIGXFSZ): Likewise.
14526 [POSIX] (SA_SIGINFO): Expect.
14527 [XPG3] (siginfo_t): Do not expect type or contents.
14528 [POSIX] (si_pid): Do not expect element.
14529 [POSIX] (si_uid): Likewise.
14530 [POSIX] (si_addr): Likewise.
14531 [POSIX] (si_status): Likewise.
14532 [POSIX] (si_band): Likewise.
14533 [XPG4] (si_value): Likewise.
14534 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14535 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14536 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14537 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14538 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14539 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14540 [POSIX || XPG3] (ILL_COPROC): Likewise.
14541 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14542 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14543 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14544 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14545 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14546 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14547 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14548 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14549 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14550 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14551 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14552 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14553 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14554 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14555 [POSIX || XPG3] (CLD_EXITED): Likewise.
14556 [POSIX || XPG3] (CLD_KILLED): Likewise.
14557 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14558 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14559 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14560 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14561 [POSIX || XPG3] (POLL_IN): Likewise.
14562 [POSIX || XPG3] (POLL_OUT): Likewise.
14563 [POSIX || XPG3] (POLL_MSG): Likewise.
14564 [POSIX || XPG3] (POLL_ERR): Likewise.
14565 [POSIX || XPG3] (POLL_PRI): Likewise.
14566 [POSIX || XPG3] (POLL_HUP): Likewise.
14567 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14568 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14569 (SIG*): Do not allow.
14570 [XPG3] (si_*): Likewise.
14571 [XPG3] (SI_*): Likewise.
14572 [XPG3 || XPG4] (sigev_*): Likewise.
14573 [XPG3 || XPG4] (SIGEV_*): Likewise.
14574 [XPG3 || XPG4] (sival_*): Likewise.
14575 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14576 [POSIX || XPG3] (BUS_*): Likewise.
14577 [POSIX || XPG3] (CLD_*): Likewise.
14578 [POSIX || XPG3] (FPE_*): Likewise.
14579 [POSIX || XPG3] (ILL_*): Likewise.
14580 [POSIX || XPG3] (POLL_*): Likewise.
14581 [POSIX || XPG3] (SEGV_*): Likewise.
14582 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14583 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14584 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14585 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14586 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14587 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14588 Specify type and value.
14589 (TVERSLEN): Likewise.
14590 (REGTYPE): Likewise.
14591 (AREGTYPE): Likewise.
14592 (LNKTYPE): Likewise.
14593 (SYMTYPE): Likewise.
14594 (CHRTYPE): Likewise.
14595 (BLKTYPE): Likewise.
14596 (DIRTYPE): Likewise.
14597 (FIFOTYPE): Likewise.
14598 (CONTTYPE): Likewise.
14599 (TSUID): Likewise.
14600 (TSGID): Likewise.
14601 (TSVTX): Likewise.
14602 (TUREAD): Likewise.
14603 (TUWRITE): Likewise.
14604 (TUEXEC): Likewise.
14605 (TGREAD): Likewise.
14606 (TGWRITE): Likewise.
14607 (TGEXEC): Likewise.
14608 (TOREAD): Likewise.
14609 (TOWRITE): Likewise.
14610 (TOEXEC): Likewise.
14611 [POSIX] (TSVTX): Expect constant.
14612
aa97dee1
JM
146132014-03-06 Joseph Myers <joseph@codesourcery.com>
14614
f214606a
JM
14615 * Makefile (tests): Change dependencies to ....
14616 (tests-special): ... additions to this variable.
14617 (tests): Depend on $(tests-special).
14618 * Makerules (check-abi-list): New variable.
14619 (check-abi): Depend on $(check-abi-list).
14620 [$(subdir) = elf] (tests-special): Add
14621 $(objpfx)check-abi-libc.out.
14622 [$(build-shared) = yes && subdir] (tests-special): Add
14623 $(check-abi-list).
14624 [$(build-shared) = yes && subdir] (tests): Do not depend on
14625 check-abi.
14626 * Rules (tests): Depend on $(tests-special).
14627 (xtests): Depend on $(xtests-special).
14628 * catgets/Makefile (tests): Change dependencies to ....
14629 (tests-special): ... additions to this variable.
14630 * conform/Makefile (tests): Change dependencies to ....
14631 (tests-special): ... additions to this variable.
14632 * elf/Makefile (tests): Change dependencies to ....
14633 (tests-special): ... additions to this variable.
14634 * grp/Makefile (tests): Change dependencies to ....
14635 (tests-special): ... additions to this variable.
14636 * iconv/Makefile (xtests): Change dependencies to ....
14637 (xtests-special): ... additions to this variable.
14638 * iconvdata/Makefile (tests): Change dependencies to ....
14639 (tests-special): ... additions to this variable.
14640 * intl/Makefile (tests): Change dependencies to ....
14641 (tests-special): ... additions to this variable. Also add
14642 $(objpfx)tst-gettext.out.
14643 * io/Makefile (tests): Change dependencies to ....
14644 (tests-special): ... additions to this variable.
14645 * libio/Makefile (tests): Change dependencies to ....
14646 (tests-special): ... additions to this variable.
14647 * malloc/Makefile (tests): Change dependencies to ....
14648 (tests-special): ... additions to this variable.
14649 * misc/Makefile (tests): Change dependencies to ....
14650 (tests-special): ... additions to this variable.
14651 * nptl/Makefile (tests): Change dependencies to ....
14652 (tests-special): ... additions to this variable.
14653 * nptl_db/Makefile (tests): Change dependencies to ....
14654 (tests-special): ... additions to this variable.
14655 * posix/Makefile (tests): Change dependencies to ....
14656 (tests-special): ... additions to this variable.
14657 (xtests): Change dependencies to ....
14658 (xtests-special): ... additions to this variable.
14659 * resolv/Makefile (tests): Change dependencies to ....
14660 (tests-special): ... additions to this variable.
14661 (xtests): Change dependencies to ....
14662 (xtests-special): ... additions to this variable.
14663 * stdio-common/Makefile (tests): Change dependencies to ....
14664 (tests-special): ... additions to this variable.
14665 (do-tst-unbputc): Remove target.
14666 (do-tst-printf): Likewise.
14667 * stdlib/Makefile (tests): Change dependencies to ....
14668 (tests-special): ... additions to this variable.
14669 * string/Makefile (tests): Change dependencies to ....
14670 (tests-special): ... additions to this variable.
14671 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14672 (tests-special): ... additions to this variable.
14673
81700b53
JM
14674 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14675 whole file.
14676 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14677 whole file.
14678 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14679 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14680
2ea18461
JM
14681 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14682 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14683 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14684 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14685 * conform/data/libgen.h-data [XPG3]: Likewise.
14686 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14687 * conform/data/ndbm.h-data [XPG3]: Likewise.
14688 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14689 * conform/data/netdb.h-data [XPG3]: Likewise.
14690 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14691 * conform/data/poll.h-data [XPG3]: Likewise.
14692 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14693 * conform/data/strings.h-data [XPG3]: Likewise.
14694 * conform/data/stropts.h-data [XPG3]: Likewise.
14695 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14696 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14697 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14698 Likewise.
14699 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14700 * conform/data/sys/time.h-data [XPG3]: Likewise.
14701 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14702 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14703 * conform/data/sys/un.h-data [XPG3]: Likewise.
14704 * conform/data/syslog.h-data [XPG3]: Likewise.
14705 * conform/data/ucontext.h-data [XPG3]: Likewise.
14706 * conform/data/utmpx.h-data [XPG3]: Likewise.
14707 * conform/data/varargs.h-data [UNIX98]: Enable file.
14708
355bc986
JM
14709 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14710
215db402
JM
14711 * math/libm-test.inc (struct test_f_f_data): Move expected results
14712 into structure for each rounding mode.
14713 (struct test_ff_f_data): Likewise.
14714 (struct test_ff_f_data_nexttoward): Likewise.
14715 (struct test_fi_f_data): Likewise.
14716 (struct test_fl_f_data): Likewise.
14717 (struct test_if_f_data): Likewise.
14718 (struct test_fff_f_data): Likewise.
14719 (struct test_c_f_data): Likewise.
14720 (struct test_f_f1_data): Likewise.
14721 (struct test_fF_f1_data): Likewise.
14722 (struct test_ffI_f1_data): Likewise.
14723 (struct test_c_c_data): Likewise.
14724 (struct test_cc_c_data): Likewise.
14725 (struct test_f_i_data): Likewise.
14726 (struct test_ff_i_data): Likewise.
14727 (struct test_f_l_data): Likewise.
14728 (struct test_f_L_data): Likewise.
14729 (struct test_fFF_11_data): Likewise.
14730 (RM_): New macro.
14731 (RM_FE_DOWNWARD): Likewise.
14732 (RM_FE_TONEAREST): Likewise.
14733 (RM_FE_TOWARDZERO): Likewise.
14734 (RM_FE_UPWARD): Likewise.
14735 (RUN_TEST_LOOP_f_f): Update references to expected results.
14736 (RUN_TEST_LOOP_2_f): Likewise.
14737 (RUN_TEST_LOOP_fff_f): Likewise.
14738 (RUN_TEST_LOOP_c_f): Likewise.
14739 (RUN_TEST_LOOP_f_f1): Likewise.
14740 (RUN_TEST_LOOP_fF_f1): Likewise.
14741 (RUN_TEST_LOOP_fI_f1): Likewise.
14742 (RUN_TEST_LOOP_ffI_f1): Likewise.
14743 (RUN_TEST_LOOP_c_c): Likewise.
14744 (RUN_TEST_LOOP_cc_c): Likewise.
14745 (RUN_TEST_LOOP_f_i): Likewise.
14746 (RUN_TEST_LOOP_f_i_tg): Likewise.
14747 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14748 (RUN_TEST_LOOP_f_b): Likewise.
14749 (RUN_TEST_LOOP_f_b_tg): Likewise.
14750 (RUN_TEST_LOOP_f_l): Likewise.
14751 (RUN_TEST_LOOP_f_L): Likewise.
14752 (RUN_TEST_LOOP_fFF_11): Likewise.
14753 * math/gen-libm-test.pl (parse_args): Output four copies of
14754 expected results for each test.
14755
67737b8f
JM
14756 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14757 (__ASSUME_UTIMES): Remove.
14758 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14759 (__ASSUME_UTIMES): Likewise.
14760
aa97dee1
JM
14761 * math/gen-auto-libm-tests.c: Update comment on output format.
14762 (output_for_one_input_case): Generate before-rounding and
14763 after-rounding information as conditions on output flags not
14764 floating-point format.
14765 * math/auto-libm-test-out: Regenerated.
14766 * math/gen-libm-test.pl (cond_value): New function.
14767 (or_cond_value): Use cond_value.
14768 (generate_testfile): Handle conditional exceptions.
14769
e6b6a857
JM
147702014-03-05 Joseph Myers <joseph@codesourcery.com>
14771
2f0a0f44
JM
14772 * math/libm-test.inc (max_valid_error): New variable.
14773 (init_max_error): Take new argument specifying whether function
14774 results are exactly determined. Set max_valid_error and bound
14775 other variables for errors based on this argument.
14776 (set_max_error): Do not record results above max_valid_error.
14777 (check_float_internal): Only accept errors of up to 0.5ulps if
14778 also at most max_valid_error.
14779 (START): Take new argument EXACT and pass it to init_max_error.
14780 (acos_test): Update call to START.
14781 (acos_test_tonearest): Likewise.
14782 (acos_test_towardzero): Likewise.
14783 (acos_test_downward): Likewise.
14784 (acos_test_upward): Likewise.
14785 (acosh_test): Likewise.
14786 (asin_test): Likewise.
14787 (asin_test_tonearest): Likewise.
14788 (asin_test_towardzero): Likewise.
14789 (asin_test_downward): Likewise.
14790 (asin_test_upward): Likewise.
14791 (asinh_test): Likewise.
14792 (atan_test): Likewise.
14793 (atanh_test): Likewise.
14794 (atan2_test): Likewise.
14795 (cabs_test): Likewise.
14796 (cacos_test): Likewise.
14797 (cacosh_test): Likewise.
14798 (carg_test): Likewise.
14799 (casin_test): Likewise.
14800 (casinh_test): Likewise.
14801 (catan_test): Likewise.
14802 (catanh_test): Likewise.
14803 (cbrt_test): Likewise.
14804 (ccos_test): Likewise.
14805 (ccosh_test): Likewise.
14806 (ceil_test): Likewise.
14807 (cexp_test): Likewise.
14808 (cimag_test): Likewise.
14809 (clog_test): Likewise.
14810 (clog10_test): Likewise.
14811 (conj_test): Likewise.
14812 (copysign_test): Likewise.
14813 (cos_test): Likewise.
14814 (cos_test_tonearest): Likewise.
14815 (cos_test_towardzero): Likewise.
14816 (cos_test_downward): Likewise.
14817 (cos_test_upward): Likewise.
14818 (cosh_test): Likewise.
14819 (cosh_test_tonearest): Likewise.
14820 (cosh_test_towardzero): Likewise.
14821 (cosh_test_downward): Likewise.
14822 (cosh_test_upward): Likewise.
14823 (cpow_test): Likewise.
14824 (cproj_test): Likewise.
14825 (creal_test): Likewise.
14826 (csin_test): Likewise.
14827 (csinh_test): Likewise.
14828 (csqrt_test): Likewise.
14829 (ctan_test): Likewise.
14830 (ctan_test_tonearest): Likewise.
14831 (ctan_test_towardzero): Likewise.
14832 (ctan_test_downward): Likewise.
14833 (ctan_test_upward): Likewise.
14834 (ctanh_test): Likewise.
14835 (ctanh_test_tonearest): Likewise.
14836 (ctanh_test_towardzero): Likewise.
14837 (ctanh_test_downward): Likewise.
14838 (ctanh_test_upward): Likewise.
14839 (erf_test): Likewise.
14840 (erfc_test): Likewise.
14841 (exp_test): Likewise.
14842 (exp_test_tonearest): Likewise.
14843 (exp_test_towardzero): Likewise.
14844 (exp_test_downward): Likewise.
14845 (exp_test_upward): Likewise.
14846 (exp10_test): Likewise.
14847 (exp10_test_tonearest): Likewise.
14848 (exp10_test_towardzero): Likewise.
14849 (exp10_test_downward): Likewise.
14850 (exp10_test_upward): Likewise.
14851 (pow10_test): Likewise.
14852 (exp2_test): Likewise.
14853 (expm1_test): Likewise.
14854 (expm1_test_tonearest): Likewise.
14855 (expm1_test_towardzero): Likewise.
14856 (expm1_test_downward): Likewise.
14857 (expm1_test_upward): Likewise.
14858 (fabs_test): Likewise.
14859 (fdim_test): Likewise.
14860 (floor_test): Likewise.
14861 (fma_test): Likewise.
14862 (fma_test_towardzero): Likewise.
14863 (fma_test_downward): Likewise.
14864 (fma_test_upward): Likewise.
14865 (fmax_test): Likewise.
14866 (fmin_test): Likewise.
14867 (fmod_test): Likewise.
14868 (fpclassify_test): Likewise.
14869 (frexp_test): Likewise.
14870 (hypot_test): Likewise.
14871 (ilogb_test): Likewise.
14872 (isfinite_test): Likewise.
14873 (finite_test): Likewise.
14874 (isgreater_test): Likewise.
14875 (isgreaterequal_test): Likewise.
14876 (isinf_test): Likewise.
14877 (isless_test): Likewise.
14878 (islessequal_test): Likewise.
14879 (islessgreater_test): Likewise.
14880 (isnan_test): Likewise.
14881 (isnormal_test): Likewise.
14882 (issignaling_test): Likewise.
14883 (isunordered_test): Likewise.
14884 (j0_test): Likewise.
14885 (j1_test): Likewise.
14886 (jn_test): Likewise.
14887 (ldexp_test): Likewise.
14888 (lgamma_test): Likewise.
14889 (gamma_test): Likewise.
14890 (lrint_test): Likewise.
14891 (lrint_test_tonearest): Likewise.
14892 (lrint_test_towardzero): Likewise.
14893 (lrint_test_downward): Likewise.
14894 (lrint_test_upward): Likewise.
14895 (llrint_test): Likewise.
14896 (llrint_test_tonearest): Likewise.
14897 (llrint_test_towardzero): Likewise.
14898 (llrint_test_downward): Likewise.
14899 (llrint_test_upward): Likewise.
14900 (log_test): Likewise.
14901 (log10_test): Likewise.
14902 (log1p_test): Likewise.
14903 (log2_test): Likewise.
14904 (logb_test): Likewise.
14905 (logb_test_downward): Likewise.
14906 (lround_test): Likewise.
14907 (llround_test): Likewise.
14908 (modf_test): Likewise.
14909 (nearbyint_test): Likewise.
14910 (nextafter_test): Likewise.
14911 (nexttoward_test): Likewise.
14912 (pow_test): Likewise.
14913 (pow_test_tonearest): Likewise.
14914 (pow_test_towardzero): Likewise.
14915 (pow_test_downward): Likewise.
14916 (pow_test_upward): Likewise.
14917 (remainder_test): Likewise.
14918 (drem_test): Likewise.
14919 (remainder_test_tonearest): Likewise.
14920 (drem_test_tonearest): Likewise.
14921 (remainder_test_towardzero): Likewise.
14922 (drem_test_towardzero): Likewise.
14923 (remainder_test_downward): Likewise.
14924 (drem_test_downward): Likewise.
14925 (remainder_test_upward): Likewise.
14926 (drem_test_upward): Likewise.
14927 (remquo_test): Likewise.
14928 (rint_test): Likewise.
14929 (rint_test_tonearest): Likewise.
14930 (rint_test_towardzero): Likewise.
14931 (rint_test_downward): Likewise.
14932 (rint_test_upward): Likewise.
14933 (round_test): Likewise.
14934 (scalb_test): Likewise.
14935 (scalbn_test): Likewise.
14936 (scalbln_test): Likewise.
14937 (signbit_test): Likewise.
14938 (sin_test): Likewise.
14939 (sin_test_tonearest): Likewise.
14940 (sin_test_towardzero): Likewise.
14941 (sin_test_downward): Likewise.
14942 (sin_test_upward): Likewise.
14943 (sincos_test): Likewise.
14944 (sinh_test): Likewise.
14945 (sinh_test_tonearest): Likewise.
14946 (sinh_test_towardzero): Likewise.
14947 (sinh_test_downward): Likewise.
14948 (sinh_test_upward): Likewise.
14949 (sqrt_test): Likewise.
14950 (sqrt_test_tonearest): Likewise.
14951 (sqrt_test_towardzero): Likewise.
14952 (sqrt_test_downward): Likewise.
14953 (sqrt_test_upward): Likewise.
14954 (tan_test): Likewise.
14955 (tan_test_tonearest): Likewise.
14956 (tan_test_towardzero): Likewise.
14957 (tan_test_downward): Likewise.
14958 (tan_test_upward): Likewise.
14959 (tanh_test): Likewise.
14960 (tgamma_test): Likewise.
14961 (trunc_test): Likewise.
14962 (y0_test): Likewise.
14963 (y1_test): Likewise.
14964 (yn_test): Likewise.
14965 (significand_test): Likewise.
14966
e6b6a857
JM
14967 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14968 individual tests in comment.
14969 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14970 (prev_max_error): New variable.
14971 (prev_real_max_error): Likewise.
14972 (prev_imag_max_error): Likewise.
14973 (compare_ulp_data): Don't refer to test names in comment.
14974 (find_test_ulps): Remove function.
14975 (find_function_ulps): Likewise.
14976 (find_complex_function_ulps): Likewise.
14977 (init_max_error): Take function name as argument. Look up ulps
14978 for that function.
14979 (print_ulps): Remove function.
14980 (print_max_error): Use prev_max_error instead of calling
14981 find_function_ulps.
14982 (print_complex_max_error): Use prev_real_max_error and
14983 prev_imag_max_error instead of calling find_complex_function_ulps.
14984 (check_float_internal): Take max_ulp parameter instead of calling
14985 find_test_ulps. Don't call print_ulps.
14986 (check_float): Update call to check_float_internal.
14987 (check_complex): Update calls to check_float_internal.
14988 (START): Pass argument to init_max_error.
14989 * math/gen-libm-test.pl (%results): Don't include "kind"
14990 information.
14991 (parse_ulps): Don't handle ulps of individual tests.
14992 (print_ulps_file): Likewise.
14993 (output_ulps): Likewise.
14994 * math/README.libm-test: Update.
14995 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14996 individual tests.
14997 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14998 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14999 * sysdeps/arm/libm-test-ulps: Likewise.
15000 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15001 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15002 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15003 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15004 * sysdeps/microblaze/libm-test-ulps: Likewise.
15005 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15006 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15007 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15008 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15009 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15010 * sysdeps/sh/libm-test-ulps: Likewise.
15011 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15012 * sysdeps/tile/libm-test-ulps: Likewise.
15013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014
45adef3c
JM
150152014-03-04 Joseph Myers <joseph@codesourcery.com>
15016
15017 * math/libm-test.inc (print_complex_max_error): Check separately
15018 whether real and imaginary errors are within allowed range and
15019 pass 0 to print_complex_function_ulps instead of value within
15020 allowed range.
15021
000232b9
SP
150222014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15023
d4b17258
SP
15024 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15025 formatting.
15026 (get_handles_fopen): Likewise.
15027 (do_write_test): Likewise.
15028
091eff71
SP
15029 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15030
fa3cd248
SP
15031 * libio/fileops.c (do_ftell): Use cached offset when
15032 available.
15033 * libio/iofwide.c (do_ftell_wide): Likewise.
15034 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15035 _IO_file_attach.
15036 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15037
000232b9
SP
15038 [BZ #16532]
15039 * libio/libioP.h (get_file_offset): New function.
15040 * libio/fileops.c (get_file_offset): Likewise.
15041 (do_ftell): Likewise.
15042 (_IO_new_file_seekoff): Split out ftell logic.
15043 * libio/wfileops.c (do_ftell_wide): Likewise.
15044 (_IO_wfile_seekoff): Split out ftell logic.
15045 * libio/tst-ftell-active-handler.c: New test case.
15046 * libio/Makefile (tests): Add it.
15047
116f4d1a
RM
150482014-03-03 Roland McGrath <roland@hack.frob.com>
15049
15050 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15051 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15052
532a6035
SP
150532014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15054
15055 [BZ #16639]
15056 * nscd/connections.c (nscd_init): Call do_exit.
15057 (start_threads): Call do_exit and notify_parent.
15058 (begin_drop_privileges): Call do_exit.
15059 (finish_drop_privileges): Likewise.
15060 * nscd/selinux.c (preserve_capabilities): Likewise.
15061 (install_real_capabilities): Likewise.
15062 (nscd_selinux_enabled): Likewise.
15063 (avc_create_thread): Likewise.
15064 (avc_alloc_lock): Likewise.
15065 (nscd_avc_init): Likewise.
15066 * nscd/nscd.c (parent_fd): New static variable.
15067 (main): Create a pipe between parent and child processes.
15068 Skip closing parent_fd.
15069 (monitor_child): New function.
15070 (do_exit): Likewise.
15071 (notify_parent): Likewise.
15072 * nscd/nscd.h (notify_parent): Likewise.
15073 (do_exit): Likewise.
15074
d6285c9f
CD
150752014-03-03 Carlos O'Donell <carlos@redhat.com>
15076
15077 * malloc/malloc.c (__libc_calloc): Revert last change.
15078
2b85d2a0
AZ
150792014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15080
15081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15082
c7debbdf
RS
150832014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15084
15085 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15087 implementation.
15088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15089 (__libc_ifunc_impl_list): Likewise.
15090 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15091 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15092 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15093 * string/strrchr.c: Define STRRCHR.
15094
235eed86
OB
150952014-02-28 Ondřej Bílka <neleai@seznam.cz>
15096
15097 * benchtest/bench-strtok.c (simple_strtok): Delete.
15098 (strtok_string): Use as benchmark.
15099 * string/strtok (STRTOK): New macro.
15100
8e25d1e7
CD
151012014-02-28 Carlos O'Donell <carlos@redhat.com>
15102
ef563f92
CD
15103 * manual/threads.texi: Add header and standard comments to all
15104 functions.
15105
8e25d1e7
CD
15106 * elf/dl-lookup.c (check_match): New function.
15107 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15108 (do_lookup_x): Remove nested function check_match. Use non-nested
15109 function check_match.
15110
ff71cc37
RM
151112014-02-28 Roland McGrath <roland@hack.frob.com>
15112
f08e9a26
RM
15113 * csu/Makefile (generated, before-compile): Use += rather than =.
15114 * catgets/Makefile (generated, generated-dirs): Likewise.
15115 * debug/Makefile (generated): Likewise.
15116 * dlfcn/Makefile (generated): Likewise.
15117 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15118 * iconvdata/Makefile (before-compile, generated): Likewise.
15119 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15120 * libio/Makefile (generated): Likewise.
15121 * malloc/Makefile (generated): Likewise.
15122 * manual/Makefile (generated, generated-dirs): Likewise.
15123 * misc/Makefile (generated): Likewise.
15124 * posix/Makefile (generated): Likewise.
15125 * resolv/Makefile (generated): Likewise.
15126 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15127 * timezone/Makefile (generated, generated-dirs): Likewise.
15128
ff71cc37
RM
15129 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15130
fe13a20c
AZ
151312014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15132
57f41c40
AS
15133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15134 power8 implementation.
15135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15136 file: POWER8 llround ifunc implementation.
15137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15138 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15139 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15140 POWER8 llround implementation.
15141
57f41c40
AS
15142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15143 power8 implementation.
15144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15145 file: POWER8 llrint ifunc implementation.
15146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15147 Add POWER8 implementation.
1ad8950a
AZ
15148 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15149 POWER8 llrint implementation.
15150
57f41c40
AS
15151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15152 power8 implementation.
15153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15154 file: POWER8 finite ifunc implementation.
15155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15156 Add POWER8 implementation.
cac626d6
AZ
15157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15158 Likewise.
15159 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15160 POWER8 finite implementation.
15161 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15162
57f41c40
AS
15163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15164 power8 implementation.
15165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15166 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15168 POWER8 implementation.
15169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15170 Likewise.
57f41c40
AS
15171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15172 isinf implementation.
4393fc11
AZ
15173 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15174
57f41c40
AS
15175 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15176 (INIT_ARCH): Add hwcap2 initialization.
15177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15178 power8 implementation.
15179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15180 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15182 POWER8 implementation.
15183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15184 Likewise.
57f41c40
AS
15185 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15186 isnan implementation.
487972ae
AZ
15187 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15188
7d92b787
JY
151892014-02-27 Joey Ye <joey.ye@arm.com>
15190
15191 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15192 (_FP_NANFRAC_Q): Set to zero.
15193
1cadc858
SP
151942014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15195
15196 [BZ #16623]
15197 * math/auto-libm-test-in: New test inputs.
15198 * math/auto-libm-test-out: Regenerate.
15199 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15200 and DA.
15201 (__cos): Likewise.
15202 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15203
f8c17e79
JM
152042014-02-27 Joseph Myers <joseph@codesourcery.com>
15205
15206 * scripts/evaluate-test.sh: Take new argument indicating whether
15207 failure is expected.
15208 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15209 indicating whether failure is expected.
15210 * conform/Makefile (test-xfail-run-conformtest): New variable.
15211 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15212 level.
15213 * posix/Makefile (test-xfail-annexc): New variable.
15214 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15215
a5f891ac
JM
152162014-02-26 Joseph Myers <joseph@codesourcery.com>
15217
15218 * argp/Makefile: Include Makeconfig immediately after defining
15219 subdir.
15220 * assert/Makefile: Likewise.
15221 * benchtests/Makefile: Likewise.
15222 * catgets/Makefile: Likewise.
15223 * conform/Makefile: Likewise.
15224 * crypt/Makefile: Likewise.
15225 * csu/Makefile: Likewise.
15226 (all): Remove target.
15227 * ctype/Makefile: Include Makeconfig immediately after defining
15228 subdir.
15229 * debug/Makefile: Likewise.
15230 * dirent/Makefile: Likewise.
15231 * dlfcn/Makefile: Likewise.
15232 * gmon/Makefile: Likewise.
15233 * gnulib/Makefile: Likewise.
15234 * grp/Makefile: Likewise.
15235 * gshadow/Makefile: Likewise.
15236 * hesiod/Makefile: Likewise.
15237 * hurd/Makefile: Likewise.
15238 (all): Remove target.
15239 * iconvdata/Makefile: Include Makeconfig immediately after
15240 defining subdir.
15241 * inet/Makefile: Likewise.
15242 * intl/Makefile: Likewise.
15243 * io/Makefile: Likewise.
15244 * libio/Makefile: Likewise.
15245 (all): Remove target.
15246 * locale/Makefile: Include Makeconfig immediately after defining
15247 subdir.
15248 * login/Makefile: Likewise.
15249 * mach/Makefile: Likewise.
15250 (all): Remove target.
15251 * malloc/Makefile: Include Makeconfig immediately after defining
15252 subdir.
15253 (all): Remove target.
15254 * manual/Makefile: Include Makeconfig immediately after defining
15255 subdir.
15256 * math/Makefile: Likewise.
15257 * misc/Makefile: Likewise.
15258 * nis/Makefile: Likewise.
15259 * nss/Makefile: Likewise.
15260 * po/Makefile: Likewise.
15261 (all): Remove target.
15262 * posix/Makefile: Include Makeconfig immediately after defining
15263 subdir.
15264 * pwd/Makefile: Likewise.
15265 * resolv/Makefile: Likewise.
15266 * resource/Makefile: Likewise.
15267 * rt/Makefile: Likewise.
15268 * setjmp/Makefile: Likewise.
15269 * shadow/Makefile: Likewise.
15270 * signal/Makefile: Likewise.
15271 * socket/Makefile: Likewise.
15272 * soft-fp/Makefile: Likewise.
15273 * stdio-common/Makefile: Likewise.
15274 * stdlib/Makefile: Likewise.
15275 * streams/Makefile: Likewise.
15276 * string/Makefile: Likewise.
15277 * sunrpc/Makefile: Likewise.
15278 (all): Remove target.
15279 * sysvipc/Makefile: Include Makeconfig immediately after defining
15280 subdir.
15281 * termios/Makefile: Likewise.
15282 * time/Makefile: Likewise.
15283 * timezone/Makefile: Likewise.
15284 (all): Remove target.
15285 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15286 subdir.
15287 * wctype/Makefile: Likewise.
15288
5b456e9d
SE
152892014-02-26 Steve Ellcey <sellcey@mips.com>
15290
15291 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15292 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15293 (libc_feholdexcept_setround_mips): Ditto.
15294 (libc_feholdsetround): New.
15295 (libc_feholdsetroundf): New.
15296 (libc_feholdsetroundl): New.
15297 (libc_feupdateenv_test_mips): New.
15298 (libc_feupdateenv_test): New.
15299 (libc_feupdateenv_testf): New.
15300 (libc_feupdateenv_testl): New.
15301 (libc_feresetround): New.
15302 (libc_feresetroundf): New.
15303 (libc_feresetroundl): New.
15304 (libc_fetestexcept_mips): New.
15305 (libc_fetestexcept): New.
15306 (libc_fetestexceptf): New.
15307 (libc_fetestexceptl): New.
15308 (HAVE_RM_CTX): New.
15309 (libc_feholdexcept_setround_mips_ctx): New.
15310 (libc_feholdexcept_setround_ctx): New.
15311 (libc_feholdexcept_setroundf_ctx): New.
15312 (libc_feholdexcept_setroundl_ctx): New.
15313 (libc_fesetenv_mips_ctx): New.
15314 (libc_fesetenv_ctx): New.
15315 (libc_fesetenv_ctxf): New.
15316 (libc_fesetenv_ctxl): New.
15317 (libc_feupdateenv_mips_ctx): New.
15318 (libc_feupdateenv_ctx): New.
15319 (libc_feupdateenvf_ctx): New.
15320 (libc_feupdateenvl_ctx): New.
15321 (libc_feholdsetround_mips_ctx): New.
15322 (libc_feholdsetround_ctx): New.
15323 (libc_feholdsetroundf_ctx): New.
15324 (libc_feholdsetroundl_ctx): New.
15325 (libc_feresetround_mips_ctx): New.
15326 (libc_feresetround_ctx): New.
15327 (libc_feresetroundf_ctx): New.
15328 (libc_feresetroundl_ctx): New.
15329
085d0e35
CD
153302014-02-26 Carlos O'Donell <carlos@redhat.com>
15331
f067bf1f
CD
15332 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15333
085d0e35
CD
15334 * manual/ipc.texi: New file.
15335 * manual/Makefile (chapters): Add ipc.
15336 * manual/job.texi: Add "Inter-Process Communication" to next.
15337 * manual/process.texi: Add "Inter-Process Communication" to prev.
15338
86e58c08
AZ
153392014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340
15341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15342
4248f0da
OB
153432014-02-26 Ondřej Bílka <neleai@seznam.cz>
15344
15345 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15346
cf822e3c
OB
15347 * manual/arith.texi: Fix spaces after sentences.
15348 * manual/charset.texi: Likewise.
15349 * manual/errno.texi: Likewise.
15350 * manual/install.texi: Likewise.
15351 * manual/llio.texi: Likewise.
15352 * manual/locale.texi: Likewise.
15353 * manual/maint.texi: Likewise.
15354 * manual/math.texi: Likewise.
15355 * manual/memory.texi: Likewise.
15356 * manual/message.texi: Likewise.
15357 * manual/probes.texi: Likewise.
15358 * manual/resource.texi: Likewise.
15359 * manual/signal.texi: Likewise.
15360 * manual/socket.texi: Likewise.
15361 * manual/stdio.texi: Likewise.
15362 * manual/string.texi: Likewise.
15363 * manual/time.texi: Likewise.
15364 * manual/users.texi: Likewise.
15365
ade40b10
CD
153662014-02-25 Carlos O'Donell <carlos@redhat.com>
15367
15368 [BZ #16632]
15369 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15370 _DEFAULT_SOURCE is defined.
15371
d0503676
CD
153722014-02-25 Ulrich Drepper <drepper@gmail.com>
15373 Carlos O'Donell <carlos@redhat.com>
15374
15375 [BZ #16613]
15376 * elf/dl-tls.c (_dl_count_modids): New function.
15377 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15378 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15379 audit library and increment generation counter.
15380 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15381 * elf/tst-audit9.c: New file.
15382 * elf/tst-auditmod9a.c: New file.
15383 * elf/tst-auditmod9b.c: New file.
15384 * elf/Makefile: Add rules to build and run tst-audit9.
15385
4cbf380c
FW
153862014-02-25 Florian Weimer <fweimer@redhat.com>
15387
15388 [BZ #15347]
15389 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15390
80a56cc3
WN
153912014-02-25 Will Newton <will.newton@linaro.org>
15392
15393 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15394 (__longjmp): Restore sp and lr before restoring callee
15395 saved registers. Add longjmp and longjmp_target
15396 SystemTap probe point.
15397 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15398 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15399 Define to zero to match jmpbuf layout.
15400 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15401 (__sigsetjmp): Save sp and lr before saving callee
15402 saved registers. Add setjmp SystemTap probe point.
15403
3ea0f74e
SL
154042014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15405
15406 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15407
b04acb26
AS
154082014-02-24 Andreas Schwab <schwab@suse.de>
15409
15410 [BZ #15804]
15411 * elf/pldd.c (wait_for_ptrace_stop): New function.
15412 (main): Call it after attaching.
15413
098ad55c
RM
154142014-02-22 Roland McGrath <roland@hack.frob.com>
15415
d4ec6ae1
RM
15416 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15417 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15418 Versions files is now verboten.
15419 * hurd/Versions (libc: GLIBC_2.0):
15420 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15421 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15422 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15423 * mach/Versions: Likewise.
15424
098ad55c
RM
15425 * csu/Versions: Remove unused %include.
15426 * resolv/Versions: Likewise.
15427
acd7f096
JM
154282014-02-21 Joseph Myers <joseph@codesourcery.com>
15429
f0881698
JM
15430 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15431 ($(objpfx)check-local-headers.out): Likewise.
15432 ($(objpfx)begin-end-check.out): Likewise.
15433 * Makerules (check-abi-%.out): Likewise.
15434 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15435 ($(objpfx)test2.cat): Likewise.
15436 ($(objpfx)de/libc.cat): Likewise.
15437 ($(objpfx)test-gencat.out): Likewise.
15438 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15439 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15440 ($(objpfx)noload-mem): Likewise.
15441 ($(objpfx)tst-pathopt.out): Likewise.
15442 ($(objpfx)tst-rtld-load-self.out): Likewise.
15443 ($(objpfx)tst-array1-cmp.out): Likewise.
15444 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15445 ($(objpfx)tst-array2-cmp.out): Likewise.
15446 ($(objpfx)tst-array3-cmp.out): Likewise.
15447 ($(objpfx)tst-array4-cmp.out): Likewise.
15448 ($(objpfx)tst-array5-cmp.out): Likewise.
15449 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15450 ($(objpfx)check-textrel.out): Likewise.
15451 ($(objpfx)check-execstack.out): Likewise.
15452 ($(objpfx)check-localplt.out): Likewise.
15453 ($(objpfx)order2-cmp.out): Likewise.
15454 ($(objpfx)tst-leaks1-mem): Likewise.
15455 ($(objpfx)tst-leaks1-static-mem): Likewise.
15456 ($(objpfx)tst-initorder-cmp.out): Likewise.
15457 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15458 ($(objpfx)tst-unused-dep.out): Likewise.
15459 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15461 * iconv/Makefile (test-iconvconfig): Likewise.
15462 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15463 ($(objpfx)iconv-test.out): Likewise.
15464 ($(objpfx)tst-tables.out): Likewise.
15465 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15466 ($(objpfx)tst-gettext.out): Likewise.
15467 ($(objpfx)tst-translit.out): Likewise.
15468 ($(objpfx)tst-gettext2.out): Likewise.
15469 ($(objpfx)tst-gettext4.out): Likewise.
15470 ($(objpfx)tst-gettext6.out): Likewise.
15471 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15472 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15473 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15474 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15475 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15476 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15477 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15478 ($(objpfx)wordexp-tst.out): Likewise.
15479 ($(objpfx)annexc.out): Likewise.
15480 ($(objpfx)tst-fnmatch-mem): Likewise.
15481 ($(objpfx)bug-regex2-mem): Likewise.
15482 ($(objpfx)bug-regex14-mem): Likewise.
15483 ($(objpfx)bug-regex21-mem): Likewise.
15484 ($(objpfx)bug-regex31-mem): Likewise.
15485 ($(objpfx)tst-vfork3-mem): Likewise.
15486 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15487 ($(objpfx)tst-pcre-mem): Likewise.
15488 ($(objpfx)tst-boost-mem): Likewise.
15489 ($(objpfx)tst-getconf.out): Likewise.
15490 ($(objpfx)bug-ga2-mem): Likewise.
15491 ($(objpfx)bug-glob2-mem): Likewise.
15492 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15493 ($(objpfx)mtrace-tst-leaks2): Likewise.
15494 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15495 ($(objpfx)tst-printf.out): Likewise.
15496 ($(objpfx)tst-setvbuf1.out): Likewise.
15497 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15498 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15499 ($(objpfx)tst-fmtmsg.out): Likewise.
15500 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15501 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15502
acd7f096
JM
15503 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15504 * bits/sigaction.h [__USE_MISC]: Likewise.
15505 * bits/waitstatus.h: Update #endif comments.
15506 * ctype/ctype.h: Likewise.
15507 * dirent/dirent.h: Likewise.
15508 [__USE_MISC]: Remove redundant conditionals.
15509 * grp/grp.h: Update #endif comments.
15510 [__USE_GNU]: Remove redundant conditionals.
15511 [__USE_MISC]: Likewise.
15512 * inet/netinet/in.h [__USE_GNU]: Likewise.
15513 * io/sys/stat.h [__USE_MISC]: Likewise.
15514 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15515 * libio/bits/stdio.h: Update #endif comments.
15516 [__USE_MISC]: Remove redundant conditionals.
15517 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15518 * libio/stdio.h: Update #endif comments.
15519 [__USE_MISC]: Remove redundant conditionals.
15520 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15521 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15522 * math/math.h: Update #else and #endif comments.
15523 [__USE_MISC]: Remove redundant conditionals.
15524 * misc/sys/uio.h: Update #endif comments.
15525 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15526 * posix/glob.h [__USE_MISC]: Likewise.
15527 * posix/sys/types.h: Update #endif comments.
15528 [__USE_MISC]: Remove redundant conditionals.
15529 * posix/sys/wait.h: Update #endif comments.
15530 [__USE_MISC]: Remove redundant conditionals.
15531 * posix/unistd.h: Update #endif comments.
15532 [__USE_MISC]: Remove redundant conditionals.
15533 * pwd/pwd.h [__USE_GNU]: Likewise.
15534 [__USE_MISC]: Likewise.
15535 * resolv/netdb.h [__USE_GNU]: Likewise.
15536 * signal/signal.h: Update #endif comments.
15537 [__USE_MISC]: Remove redundant conditionals.
15538 * stdlib/stdlib.h: Update #else and #endif comments.
15539 [__USE_MISC]: Remove redundant conditionals.
15540 [__USE_GNU]: Likewise.
15541 * string/bits/string2.h [__USE_MISC]: Likewise.
15542 * string/string.h: Update #endif comments.
15543 [__USE_MISC]: Remove redundant conditionals.
15544 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15545 Likewise.
15546 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15547 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15548 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15549 Likewise.
15550 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15551 Likewise.
15552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15553 comments.
15554 [__USE_MISC]: Remove redundant conditionals.
15555 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15556 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15557 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15558 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15559 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15560 Likewise.
15561 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15562 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15563 Likewise.
15564 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15565 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15566 Likewise.
15567 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15568 Likewise.
15569 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15571 Likewise.
15572 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15573 Likewise.
15574 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15575 * sysdeps/x86/bits/string.h: Update #endif comments.
15576 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15577 conditionals.
15578 * time/sys/time.h: Update #endif comments.
15579 * time/time.h: Likewise.
15580 [__USE_MISC]: Remove redundant conditionals.
15581
a5d82e4e
YG
155822014-02-21 Yury Gribov <y.gribov@samsung.com>
15583
15584 [BZ #16600]
15585 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15586
9a80491d
AS
155872014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15588
15589 * Versions.def (librt): Add GLIBC_2.17.
15590
105fa381
AC
155912014-02-21 Adam Conrad <adconrad@0c3.net>
15592
15593 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15594 synonym for _SYS_AUXV_H to allow direct inclusion.
15595 * sysdeps/sparc/bits/hwcap.h: Likewise.
15596 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15597 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15598 * sysdeps/sparc/sysdep.h: Likewise.
15599
b8cd1c4e
SP
156002014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15601
15602 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15603
bd939d23
RS
156042014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15605
15606 * benchtests/bench-strrchr.c: Print length instead of position.
15607
5d7b57ca
JM
156082014-02-20 Joseph Myers <joseph@codesourcery.com>
15609
bc688c10
JM
15610 [BZ #16611]
15611 * sysdeps/unix/sysv/linux/kernel-features.h
15612 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15613 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15614 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15615 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15616 Likewise.
15617 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15618 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15619 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15620 (__ASSUME_SENDMMSG): Define instead of using previous
15621 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15622 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15623 (__ASSUME_SENDMMSG_SYSCALL): Define.
15624 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15625 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15626 Likewise.
15627 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15628 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15629 Likewise.
15630 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15631 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15632 Likewise.
15633 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15634 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15635 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15636 [__ASSUME_SENDMMSG]: Change conditionals to
15637 [__ASSUME_SENDMMSG_SOCKETCALL].
15638 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15639 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15640 Define.
15641 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15642 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15643 Likewise.
15644 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15645 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15646 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15647 [!__ASSUME_SENDMMSG]: Change conditional to
15648 [!__ASSUME_SENDMMSG_SOCKETCALL].
15649 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15650 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15651 Define.
15652
0e31b18c
JM
15653 [BZ #16610]
15654 * sysdeps/unix/sysv/linux/kernel-features.h
15655 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15656 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15657 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15658 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15659 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15660 [__i386__ || __sparc__]
15661 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15662 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15663 (__ASSUME_RECVMMSG): Define instead of using previous
15664 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15665 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15666 (__ASSUME_RECVMMSG_SYSCALL): Define.
15667 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15668 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15669 Likewise.
15670 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15671 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15672 Likewise.
15673 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15674 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15675 Likewise.
15676 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15677 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15678 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15679 [__ASSUME_RECVMMSG]: Change condition to
15680 [__ASSUME_RECVMMSG_SOCKETCALL].
15681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15682 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15683 Define.
15684 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15685 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15686 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15687 Likewise.
15688 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15689 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15690 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15691 [!__ASSUME_RECVMMSG]: Change condition to
15692 [!__ASSUME_RECVMMSG_SOCKETCALL].
15693 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15694 (__ASSUME_RECVMMSG_SYSCALL): Define.
15695
dd481ccf
JM
15696 [BZ #16609]
15697 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15698 __powerpc__ || __s390__ || __sh__ || __sparc__]
15699 (__ASSUME_SOCKETCALL): Define.
15700 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15701 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15702 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15703 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15704 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15705 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15706 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15707 (__ASSUME_ACCEPT4): Define instead of using previous
15708 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15709 __powerpc__ || __sparc__ || __s390__)] condition.
15710 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15711 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15712 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15713 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15714 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15715 [!__ASSUME_ACCEPT4]: Change condition to
15716 [!__ASSUME_ACCEPT4_SOCKETCALL].
15717 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15718 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15719 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15721 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15722 __ASSUME_ACCEPT4_SYSCALL.
15723 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15724 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15725 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15726 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15727 __ASSUME_ACCEPT4_SYSCALL.
15728 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15729 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15730 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15731 [__ASSUME_ACCEPT4]: Change condition to
15732 [__ASSUME_ACCEPT4_SOCKETCALL].
15733 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15734 (__ASSUME_SOCKETCALL): Define.
15735 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15736 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15737 (__ASSUME_SOCKETCALL): Define.
15738 (__ASSUME_ACCEPT4): Remove.
15739 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15740 Define.
15741 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15742 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15743 Likewise.
15744 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15745 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15746
5d7b57ca
JM
15747 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15748 macro.
15749 (HWCAP_ARM_LPAE): Likewise.
15750 (HWCAP_ARM_EVTSTRM): Likewise.
15751 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15752 Add vpfd32, lpae and evtstrm.
15753 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15754 Increase to 22.
15755
63689d61
JM
157562014-02-19 Joseph Myers <joseph@codesourcery.com>
15757
15758 * math/auto-libm-test-in: Add tests of clog10.
15759 * math/auto-libm-test-out: Regenerated.
15760 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15761 * sysdeps/i386/fpu/libm-test-ulps: Update.
15762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15763
ab09bf61
AS
157642014-02-18 Andreas Schwab <schwab@suse.de>
15765
15766 [BZ #16574]
15767 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15768 Store non-zero if the second buffer was newly allocated.
15769 (send_dg): Likewise.
15770 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15771 to send_vc and send_dg.
15772 (res_nsend): Pass NULL for ansp2_malloced.
15773 * resolv/res_query.c (__libc_res_nquery): Add parameter
15774 answerp2_malloced and pass it down to __libc_res_nsend.
15775 (res_nquery): Pass additional NULL to __libc_res_nquery.
15776 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15777 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15778 second answer buffer if answerp2_malloced was set.
15779 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15780 (__libc_res_nquerydomain): Add parameter
15781 answerp2_malloced and pass it down to __libc_res_nquery.
15782 (res_nquerydomain): Pass additional NULL to
15783 __libc_res_nquerydomain.
15784 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15785 additional NULL to __libc_res_nsend and __libc_res_nquery.
15786 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15787 additional NULL to __libc_res_nsearch.
15788 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15789 parameter of __libc_res_nsearch to check for separately allocated
15790 second buffer.
15791 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15792 __libc_res_nquery.
15793 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15794 additional NULL to __libc_res_nquery.
15795 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15796 __libc_res_nsearch.
15797 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15798 * include/resolv.h: Update prototypes of __libc_res_nquery,
15799 __libc_res_nsearch, __libc_res_nsend.
15800
a4fb7861
JM
158012014-02-18 Joseph Myers <joseph@codesourcery.com>
15802
c6af2d89
JM
15803 * math/auto-libm-test-in: Add tests of fma.
15804 * math/auto-libm-test-out: Regenerated.
15805 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15806 (fma_towardzero_test_data): Likewise.
15807 (fma_downward_test_data): Likewise.
15808 (fma_upward_test_data): Likewise.
15809 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15810 mpc_mode.
15811 (rounding_modes): Add values for new field.
15812 (func_calc_method): Add value mpfr_fff_f.
15813 (func_calc_desc): Add mpfr_fff_f union field.
15814 (test_function): Add field exact_args.
15815 (FUNC): Add macro argument EXACT_ARGS.
15816 (FUNC_mpfr_f_f): Update call to FUNC.
15817 (FUNC_mpfr_f_f): Likewise.
15818 (FUNC_mpfr_ff_f): Likewise.
15819 (FUNC_mpfr_if_f): Likewise.
15820 (FUNC_mpc_c_f): Likewise.
15821 (FUNC_mpc_c_c): Likewise.
15822 (test_functions): Add fma. Update calls to FUNC.
15823 (handle_input_arg): Add argument exact_args.
15824 (add_test): Update call to handle_input_arg.
15825 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15826 (output_for_one_input_case): Update call to calc_generic_results.
15827 Recalculate exact zero results in each rounding mode.
15828
a4fb7861
JM
15829 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15830 non-negative before setting low bit.
15831 * math/auto-libm-test-in: Mark one asin test possibly having
15832 spurious underflow.
15833 * math/auto-libm-test-out: Regenerated.
15834 * sysdeps/i386/fpu/libm-test-ulps: Update.
15835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15836
ef114eaf
DH
158372014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15838
2b7f4f2c
SP
15839 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15840 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15841 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
15842 * README: Add missing listing for microblaze*-*-linux-gnu.
15843
8125aedc
AM
158442014-02-16 Ondřej Bílka <neleai@seznam.cz>
15845
15846 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15847 duplicate code
15848
c70a4b1d
MF
158492014-02-16 Mike Frysinger <vapier@gentoo.org>
15850
15851 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15852 * sysdeps/unix/sysv/linux/ia64: Move directory from
15853 ports/sysdeps/unix/sysv/linux/ia64.
15854 * README: Update listing for ia64-*-linux-gnu.
15855
591aeaf7
TD
158562014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15857 Joseph Myers <joseph@codesourcery.com>
15858
15859 * Makeconfig (test-name): New variable.
15860 (evaluate-test): Likewise.
15861 * Makerules (do-test-clean): Remove .test-result files.
15862 (common-mostlyclean): Likewise.
15863 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15864 * scripts/evaluate-test.sh: New file.
15865
6e89caf1
JM
158662014-02-14 Joseph Myers <joseph@codesourcery.com>
15867
7f98f180
JM
15868 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15869 separate $(objpfx)tst-fopenloc-cmp.out and
15870 $(objpfx)tst-fopenloc-mem.out targets.
15871 (tests): Update dependencies.
15872 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15873 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15874 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15875 (tst-rxspencer-no-utf8-ARGS): New variable.
15876 (tst-rxspencer-no-utf8-ENV): Likewise.
15877 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15878 instead of $(objpfx)tst-rxspencer-mem.
15879 ($(objpfx)tst-rxspencer-mem): Change target to
15880 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15881 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15882 * posix/tst-rxspencer-no-utf8.c: New file.
15883
6e89caf1
JM
15884 * elf/Makefile ($(objpfx)order.out): Remove rule.
15885 [$(run-built-tests) = yes] (tests): Depend on
15886 $(objpfx)order-cmp.out.
15887 ($(objpfx)order-cmp.out): New rule.
15888 [$(run-built-tests) = yes] (tests): Depend on
15889 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15890 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15891 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15892 $(objpfx)tst-array5-static-cmp.out.
15893 ($(objpfx)tst-array1.out): Remove rule.
15894 ($(objpfx)tst-array1-cmp.out): New rule.
15895 ($(objpfx)tst-array1-static.out): Remove rule.
15896 ($(objpfx)tst-array1-static-cmp.out): New rule.
15897 ($(objpfx)tst-array2.out): Remove rule.
15898 ($(objpfx)tst-array2-cmp.out): New rule.
15899 ($(objpfx)tst-array3.out): Remove rule.
15900 ($(objpfx)tst-array3-cmp.out): New rule.
15901 ($(objpfx)tst-array4.out): Remove rule.
15902 ($(objpfx)tst-array4-cmp.out): New rule.
15903 ($(objpfx)tst-array5.out): Remove rule.
15904 ($(objpfx)tst-array5-cmp.out): New rule.
15905 ($(objpfx)tst-array5-static.out): Remove rule.
15906 ($(objpfx)tst-array5-static-cmp.out): New rule.
15907 [$(run-built-tests) = yes] (tests): Depend on
15908 $(objpfx)order2-cmp.out.
15909 ($(objpfx)order2.out): Remove rule.
15910 ($(objpfx)order2-cmp.out): New rule.
15911 ($(objpfx)tst-initorder.out): Remove rule.
15912 [$(run-built-tests) = yes] (tests): Depend on
15913 $(objpfx)tst-initorder-cmp.out.
15914 ($(objpfx)tst-initorder-cmp.out): New rule.
15915 ($(objpfx)tst-initorder2.out): Remove rule.
15916 [$(run-built-tests) = yes] (tests): Depend on
15917 $(objpfx)tst-initorder2-cmp.out.
15918 ($(objpfx)tst-initorder2-cmp.out): New rule.
15919 [$(run-built-tests) = yes] (tests): Depend on
15920 $(objpfx)tst-unused-dep-cmp.out.
15921 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15922 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15923 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15924 on $(objpfx)tst-setvbuf1-cmp.out.
15925 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15926 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15927 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15928 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15929 ($(objpfx)tst-svc.out): Remove rule.
15930 ($(objpfx)tst-svc-cmp.out): New rule.
15931
ed9a38e2
JM
159322014-02-13 Joseph Myers <joseph@codesourcery.com>
15933
15934 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15935 * ctype/ctype.h [__USE_MISC]: Likewise.
15936 * dirent/dirent.h [__USE_MISC]: Likewise.
15937 * grp/grp.h [__USE_MISC]: Likewise.
15938 * io/fcntl.h [__USE_MISC]: Likewise.
15939 * io/sys/stat.h [__USE_MISC]: Likewise.
15940 * libio/stdio.h [__USE_MISC]: Likewise.
15941 * posix/unistd.h [__USE_MISC]: Likewise.
15942 * pwd/pwd.h [__USE_MISC]: Likewise.
15943 * stdlib.h [__USE_MISC]: Likewise.
15944 * string/bits/string2.h [__USE_MISC]: Likewise.
15945 * string/string.h [__USE_MISC]: Likewise.
15946 * time/time.h [__USE_MISC]: Likewise.
15947
d6680619
AS
159482014-02-13 Andreas Schwab <schwab@suse.de>
15949
15950 [BZ #16574]
15951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15952 second answer buffer if it was separately allocated.
15953
ace614b8
JM
159542014-02-12 Joseph Myers <joseph@codesourcery.com>
15955
743151ae
JM
15956 * sysdeps/mips/math-tests.h: Include <features.h>.
15957 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15958 (ROUNDING_TESTS_long_double): Do not define.
15959 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15960 (EXCEPTION_TESTS_long_double): Likewise.
15961 * sysdeps/mips/mips64/libm-test-ulps: Update.
15962
498afc54
JM
15963 * include/features.h (__USE_BSD): Remove macro definitions.
15964 (__USE_SVID): Likewise.
15965 (_BSD_SOURCE): Likewise.
15966 (_SVID_SOURCE): Likewise.
15967 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15968 from definition of _DEFAULT_SOURCE.
15969 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15970 [_DEFAULT_SOURCE].
15971 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15972 * bits/mman.h [__USE_BSD]: Likewise.
15973 * bits/termios.h [__USE_BSD]: Likewise.
15974 * bits/waitstatus.h [__USE_BSD]: Likewise.
15975 * ctype/ctype.h [__USE_SVID]: Likewise.
15976 * dirent/dirent.h [__USE_BSD]: Likewise.
15977 * grp/grp.h [__USE_SVID]: Likewise.
15978 [__USE_BSD]: Likewise.
15979 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15980 * io/fcntl.h [__USE_BSD]: Likewise.
15981 * io/ftw.h [__USE_BSD]: Likewise.
15982 * io/sys/stat.h [__USE_BSD]: Likewise.
15983 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15984 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15985 * libio/stdio.h [__USE_SVID]: Likewise.
15986 [__USE_BSD]: Likewise.
15987 * math/math.h [__USE_SVID]: Likewise.
15988 [__USE_BSD]: Likewise.
15989 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15990 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15991 * misc/search.h [__USE_SVID]: Likewise.
15992 * misc/sys/mman.h [__USE_BSD]: Likewise.
15993 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15994 * misc/sys/uio.h [__USE_BSD]: Likewise.
15995 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15996 * posix/glob.h [__USE_BSD]: Likewise.
15997 * posix/regex.h [__USE_BSD]: Likewise.
15998 * posix/sys/types.h [__USE_BSD]: Likewise.
15999 [__USE_SVID]: Likewise.
16000 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16001 * posix/sys/wait.h [__USE_BSD]: Likewise.
16002 [__USE_SVID]: Likewise.
16003 * posix/unistd.h [__USE_BSD]: Likewise.
16004 [__USE_SVID]: Likewise.
16005 * pwd/pwd.h [__USE_SVID]: Likewise.
16006 * resolv/netdb.h [__USE_BSD]: Likewise.
16007 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16008 * signal/signal.h [__USE_BSD]: Likewise.
16009 [__USE_SVID]: Likewise.
16010 * socket/sys/socket.h [__USE_BSD]: Likewise.
16011 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16012 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16013 [__USE_SVID]: Likewise.
16014 * string/bits/string2.h [__USE_BSD]: Likewise.
16015 [__USE_SVID]: Likewise.
16016 * string/bits/string3.h [__USE_BSD]: Likewise.
16017 * string/endian.h [__USE_BSD]: Likewise.
16018 * string/string.h [__USE_SVID]: Likewise.
16019 [__USE_BSD]: Likewise.
16020 * string/strings.h [__USE_BSD]: Likewise.
16021 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16022 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16023 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16024 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16025 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16026 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16027 Likewise.
16028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16029 Likewise.
16030 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16031 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16032 Likewise.
16033 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16034 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16035 Likewise.
16036 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16037 Likewise.
16038 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16039 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16040 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16041 Likewise.
16042 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16043 Likewise.
16044 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16045 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16046 * termios/termios.h [__USE_BSD]: Likewise.
16047 * time/sys/time.h [__USE_BSD]: Likewise.
16048 * time/time.h [__USE_BSD]: Likewise.
16049 [__USE_SVID]: Likewise.
16050
dd7b064c
JM
16051 * Makefile (subdir_targets): Remove subdir_lint.out.
16052
a2c4c199
JM
16053 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16054 (do-tst-printf): Likewise.
16055 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16056 $(objpfx)tst-printf.out.
16057
8756f740
JM
16058 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16059
1b6dd3f1
JM
16060 * Makerules (check-abi-%): Change target to
16061 $(objpfx)check-abi-%.out.
16062 (check-abi target): Update dependencies.
16063 (check-abi-pattern variable): Redirect output of diff to $@.
16064 (check-abi variable): Likewise.
16065 * elf/Makefile (check-abi): Update dependencies.
16066
ace614b8
JM
16067 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16068 unused.
16069 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16070 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16071 subnormal range.
16072 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16073 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16074 value has largest subnormal exponent.
16075 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16076 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16077 * sysdeps/aarch64/soft-fp/sfp-machine.h
16078 (_FP_TININESS_AFTER_ROUNDING): New macro.
16079 * sysdeps/alpha/soft-fp/sfp-machine.h
16080 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16081 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16082 Likewise.
16083 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16084 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16085 * sysdeps/mips/soft-fp/sfp-machine.h
16086 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16087 * sysdeps/powerpc/soft-fp/sfp-machine.h
16088 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16089 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16090 Likewise.
16091 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16092 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16093 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16094 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16095 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16096 Likewise.
16097
fbfdf9cb
DAS
160982014-02-12 Dylan Alex Simon <dylan@dylex.net>
16099
16100 [BZ #16545]
16101 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16102 model 1.
16103
68b7efaa
RH
161042014-02-12 Richard Henderson <rth@redhat.com>
16105
c70a4b1d 16106 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16107 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16108 * sysdeps/unix/sysv/linux/alpha: Move directory from
16109 ports/sysdeps/unix/sysv/linux/alpha.
16110 * README: Update listing for alpha-*-linux-gnu.
16111
cb4a2928
JM
161122014-02-11 Joseph Myers <joseph@codesourcery.com>
16113
c941736c
JM
16114 * include/features.h: Update comment documenting feature test
16115 macros.
16116 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16117 _DEFAULT_SOURCE.
16118 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16119 (_SVID_SOURCE): Likewise.
16120 (_DEFAULT_SOURCE): Update description of default features.
16121 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16122 with _GNU_SOURCE.
16123 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16124 (S_ISVTX): Likewise.
16125 * manual/math.texi (Mathematical Constants): Likewise.
16126 * manual/signal.texi (Interrupted Primitives): Likewise.
16127 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16128 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16129 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16130 Don't refer to _SVID_SOURCE in warning text.
16131
e8d8d7ec
JM
16132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16133
cb4a2928
JM
16134 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16135 already defined.
16136 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16137 * sysdeps/mips/dl-lookup.c: Remove.
16138 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16139
7e6424e3
AK
161402014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16141
16142 [BZ #16447]
16143 * math/auto-libm-test-in: Add testcase for expl.
16144 * math/auto-libm-test-out: Regenerate.
16145 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16146 calculation of unsafe.
16147 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16148
75eff3fe
MS
161492014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16150
16151 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16152 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16153 ports/sysdeps/unix/sysv/linux/aarch64.
16154 * README: Update listing for aarch64*-*-linux-gnu.
16155
d35f1e80
WN
161562014-02-11 Will Newton <will.newton@linaro.org>
16157
16158 * manual/probes.texi (Mathematical Function Probes): Use
16159 "triggered" instead of "hit".
16160
7b3436d4
WN
16161 * manual/probes.texi (Internal Probes): Add documentation
16162 of setjmp, longjmp and longjmp_target probes.
16163
b4f12ca3
WN
16164 * include/stap-probe.h: Add comment about probe argument
16165 format.
16166
c13a72b7
WN
16167 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16168 definition. (tr_where, tr_freehook, tr_mallochook,
16169 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16170
195b8165
DM
161712014-02-11 David S. Miller <davem@davemloft.net>
16172
16173 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16174 processing int_tests.
16175
2ad7600b
JM
161762014-02-10 Joseph Myers <joseph@codesourcery.com>
16177
16178 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16179 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16180 * sysdeps/unix/sysv/linux/mips: Move directory from
16181 ports/sysdeps/unix/sysv/linux/mips.
16182 * README: Update listing for mips-*-linux-gnu and
16183 mips64-*-linux-gnu.
16184
73588a72
AS
161852014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16186
16187 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16188 * sysdeps/unix/sysv/linux/m68k: Move directory from
16189 ports/sysdeps/unix/sysv/linux/m68k.
16190 * README: Update listing for m68k-*-linux-gnu.
16191
4372980f
CM
161922014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16193
16194 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16195 * sysdeps/unix/sysv/linux/generic: Move directory from
16196 ports/sysdeps/unix/sysv/linux/generic.
16197 * sysdeps/unix/sysv/linux/tile: Move directory from
16198 ports/sysdeps/unix/sysv/linux/tile.
16199 * README: Update listing for tile*-*-linux-gnu.
16200
a1ffb40e
OB
162012014-02-10 Ondřej Bílka <neleai@seznam.cz>
16202
57f41c40
AS
16203 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16204 __builtin_expect.
a1ffb40e
OB
16205 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16206 * catgets/open_catalog.c (__open_catalog): Likewise.
16207 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16208 * debug/confstr_chk.c: Likewise.
16209 * debug/fread_chk.c (__fread_chk): Likewise.
16210 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16211 * debug/getgroups_chk.c: Likewise.
16212 * debug/mbsnrtowcs_chk.c: Likewise.
16213 * debug/mbsrtowcs_chk.c: Likewise.
16214 * debug/mbstowcs_chk.c: Likewise.
16215 * debug/memcpy_chk.c: Likewise.
16216 * debug/memmove_chk.c: Likewise.
16217 * debug/mempcpy_chk.c: Likewise.
16218 * debug/memset_chk.c: Likewise.
16219 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16220 * debug/strcat_chk.c (__strcat_chk): Likewise.
16221 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16222 * debug/strncat_chk.c (__strncat_chk): Likewise.
16223 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16224 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16225 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16226 * debug/wcpncpy_chk.c: Likewise.
16227 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16228 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16229 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16230 * debug/wcsncpy_chk.c: Likewise.
16231 * debug/wcsnrtombs_chk.c: Likewise.
16232 * debug/wcsrtombs_chk.c: Likewise.
16233 * debug/wcstombs_chk.c: Likewise.
16234 * debug/wmemcpy_chk.c: Likewise.
16235 * debug/wmemmove_chk.c: Likewise.
16236 * debug/wmempcpy_chk.c: Likewise.
16237 * debug/wmemset_chk.c: Likewise.
16238 * dirent/scandirat.c (SCANDIRAT): Likewise.
16239 * dlfcn/dladdr1.c (dladdr1): Likewise.
16240 * dlfcn/dladdr.c (dladdr): Likewise.
16241 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16242 * dlfcn/dlerror.c (__dlerror): Likewise.
16243 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16244 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16245 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16246 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16247 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16248 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16249 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16250 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16251 Likewise.
16252 * elf/dl-conflict.c: Likewise.
16253 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16254 * elf/dl-dst.h: Likewise.
16255 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16256 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16257 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16258 * elf/dl-init.c (call_init, _dl_init): Likewise.
16259 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16260 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16261 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16262 Likewise.
a1ffb40e
OB
16263 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16264 Likewise.
16265 * elf/dl-minimal.c (__libc_memalign): Likewise.
16266 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16267 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16268 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16269 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16270 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16271 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16272 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16273 * elf/dl-writev.h (_dl_writev): Likewise.
16274 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16275 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16276 (dl_main): Likewise.
a1ffb40e
OB
16277 * elf/setup-vdso.h (setup_vdso): Likewise.
16278 * grp/compat-initgroups.c (compat_call): Likewise.
16279 * grp/fgetgrent.c (fgetgrent): Likewise.
16280 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16281 * grp/putgrent.c (putgrent): Likewise.
16282 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16283 Likewise.
16284 * hurd/hurdinit.c: Likewise.
16285 * iconvdata/8bit-gap.c (struct): Likewise.
16286 * iconvdata/ansi_x3.110.c : Likewise.
16287 * iconvdata/big5.c : Likewise.
16288 * iconvdata/big5hkscs.c : Likewise.
16289 * iconvdata/cp1255.c: Likewise.
16290 * iconvdata/cp1258.c : Likewise.
16291 * iconvdata/cp932.c : Likewise.
16292 * iconvdata/euc-cn.c: Likewise.
16293 * iconvdata/euc-jisx0213.c : Likewise.
16294 * iconvdata/euc-jp.c: Likewise.
16295 * iconvdata/euc-jp-ms.c : Likewise.
16296 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16297 * iconvdata/gb18030.c : Likewise.
16298 * iconvdata/gbbig5.c (const): Likewise.
16299 * iconvdata/gbgbk.c: Likewise.
16300 * iconvdata/gbk.c : Likewise.
16301 * iconvdata/ibm1364.c : Likewise.
16302 * iconvdata/ibm930.c : Likewise.
16303 * iconvdata/ibm932.c: Likewise.
16304 * iconvdata/ibm933.c : Likewise.
16305 * iconvdata/ibm935.c : Likewise.
16306 * iconvdata/ibm937.c : Likewise.
16307 * iconvdata/ibm939.c : Likewise.
16308 * iconvdata/ibm943.c: Likewise.
16309 * iconvdata/iso_11548-1.c: Likewise.
16310 * iconvdata/iso-2022-cn.c : Likewise.
16311 * iconvdata/iso-2022-cn-ext.c : Likewise.
16312 * iconvdata/iso-2022-jp-3.c: Likewise.
16313 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16314 * iconvdata/iso-2022-kr.c : Likewise.
16315 * iconvdata/iso646.c (gconv_end): Likewise.
16316 * iconvdata/iso_6937-2.c : Likewise.
16317 * iconvdata/iso_6937.c : Likewise.
16318 * iconvdata/iso8859-1.c: Likewise.
16319 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16320 * iconvdata/shift_jisx0213.c : Likewise.
16321 * iconvdata/sjis.c : Likewise.
16322 * iconvdata/t.61.c : Likewise.
16323 * iconvdata/tcvn5712-1.c : Likewise.
16324 * iconvdata/tscii.c: Likewise.
16325 * iconvdata/uhc.c : Likewise.
16326 * iconvdata/unicode.c (gconv_end): Likewise.
16327 * iconvdata/utf-16.c (gconv_end): Likewise.
16328 * iconvdata/utf-32.c (gconv_end): Likewise.
16329 * iconvdata/utf-7.c (base64): Likewise.
16330 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16331 * iconv/gconv_close.c (__gconv_close): Likewise.
16332 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16333 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16334 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16335 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16336 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16337 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16338 * iconv/iconv.c (iconv): Likewise.
16339 * iconv/iconv_close.c: Likewise.
16340 * iconv/loop.c (SINGLE): Likewise.
16341 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16342 * include/atomic.h: Likewise.
16343 * inet/inet6_option.c (option_alloc): Likewise.
16344 * intl/bindtextdom.c (set_binding_values): Likewise.
16345 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16346 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16347 * intl/localealias.c (read_alias_file): Likewise.
16348 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16349 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16350 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16351 * libio/fmemopen.c (fmemopen): Likewise.
16352 * libio/iofgets.c (_IO_fgets): Likewise.
16353 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16354 * libio/iofgetws.c (fgetws): Likewise.
16355 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16356 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16357 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16358 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16359 * locale/findlocale.c (_nl_find_locale): Likewise.
16360 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16361 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16362 Likewise.
16363 * locale/setlocale.c (setlocale): Likewise.
16364 * login/programs/pt_chown.c (main): Likewise.
16365 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16366 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16367 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16368 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16369 * math/e_exp2l.c: Likewise.
16370 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16371 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16372 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16373 * math/s_catan.c (__catan): Likewise.
16374 * math/s_catanf.c (__catanf): Likewise.
16375 * math/s_catanh.c (__catanh): Likewise.
16376 * math/s_catanhf.c (__catanhf): Likewise.
16377 * math/s_catanhl.c (__catanhl): Likewise.
16378 * math/s_catanl.c (__catanl): Likewise.
16379 * math/s_ccosh.c (__ccosh): Likewise.
16380 * math/s_ccoshf.c (__ccoshf): Likewise.
16381 * math/s_ccoshl.c (__ccoshl): Likewise.
16382 * math/s_cexp.c (__cexp): Likewise.
16383 * math/s_cexpf.c (__cexpf): Likewise.
16384 * math/s_cexpl.c (__cexpl): Likewise.
16385 * math/s_clog10.c (__clog10): Likewise.
16386 * math/s_clog10f.c (__clog10f): Likewise.
16387 * math/s_clog10l.c (__clog10l): Likewise.
16388 * math/s_clog.c (__clog): Likewise.
16389 * math/s_clogf.c (__clogf): Likewise.
16390 * math/s_clogl.c (__clogl): Likewise.
16391 * math/s_csin.c (__csin): Likewise.
16392 * math/s_csinf.c (__csinf): Likewise.
16393 * math/s_csinh.c (__csinh): Likewise.
16394 * math/s_csinhf.c (__csinhf): Likewise.
16395 * math/s_csinhl.c (__csinhl): Likewise.
16396 * math/s_csinl.c (__csinl): Likewise.
16397 * math/s_csqrt.c (__csqrt): Likewise.
16398 * math/s_csqrtf.c (__csqrtf): Likewise.
16399 * math/s_csqrtl.c (__csqrtl): Likewise.
16400 * math/s_ctan.c (__ctan): Likewise.
16401 * math/s_ctanf.c (__ctanf): Likewise.
16402 * math/s_ctanh.c (__ctanh): Likewise.
16403 * math/s_ctanhf.c (__ctanhf): Likewise.
16404 * math/s_ctanhl.c (__ctanhl): Likewise.
16405 * math/s_ctanl.c (__ctanl): Likewise.
16406 * math/w_pow.c: Likewise.
16407 * math/w_powf.c: Likewise.
16408 * math/w_powl.c: Likewise.
16409 * math/w_scalb.c (sysv_scalb): Likewise.
16410 * math/w_scalbf.c (sysv_scalbf): Likewise.
16411 * math/w_scalbl.c (sysv_scalbl): Likewise.
16412 * misc/error.c (error_tail): Likewise.
16413 * misc/pselect.c (__pselect): Likewise.
16414 * nis/nis_callback.c (__nis_create_callback): Likewise.
16415 * nis/nis_call.c (__nisfind_server): Likewise.
16416 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16417 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16418 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16419 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16420 * nis/nis_lookup.c (nis_lookup): Likewise.
16421 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
16422 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16423 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 16424 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
16425 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16426 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16427 * nis/nss_compat/compat-initgroups.c (add_group)
16428 (internal_getgrent_r): Likewise.
16429 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16430 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16431 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16432 (internal_getspnam_r): Likewise.
16433 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16434 (_nss_nis_getaliasbyname_r): Likewise.
16435 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16436 (_nss_nis_getntohost_r): Likewise.
16437 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16438 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16439 (_nss_nis_getgrgid_r): Likewise.
16440 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16441 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16442 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16443 (_nss_nis_gethostbyname4_r): Likewise.
16444 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16445 (initgroups_netid): Likewise.
a1ffb40e 16446 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
16447 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16448 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16449 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16450 (_nss_nis_getprotobynumber_r): Likewise.
16451 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16452 (_nss_nis_getsecretkey): Likewise.
16453 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16454 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16455 (_nss_nis_getpwuid_r): Likewise.
16456 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16457 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16458 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16459 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16460 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16461 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
16462 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16463 Likewise.
57f41c40
AS
16464 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16465 (_nss_nisplus_getntohost_r): Likewise.
16466 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16467 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16468 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16469 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 16470 Likewise.
57f41c40
AS
16471 * nis/nss_nisplus/nisplus-initgroups.c
16472 (_nss_nisplus_initgroups_dyn): Likewise.
16473 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16474 (_nss_nisplus_getnetbyaddr_r): Likewise.
16475 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16476 (_nss_nisplus_getprotobynumber_r): Likewise.
16477 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16478 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
16479 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16480 Likewise.
57f41c40
AS
16481 * nis/nss_nisplus/nisplus-service.c
16482 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16483 (_nss_nisplus_getservbyport_r): Likewise.
16484 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16485 (_nss_nisplus_getspnam_r): Likewise.
16486 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16487 Likewise.
a1ffb40e
OB
16488 * nscd/aicache.c (addhstaiX): Likewise.
16489 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
16490 * nscd/connections.c (register_traced_file, send_ro_fd)
16491 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16492 (main_loop_epoll): Likewise.
a1ffb40e
OB
16493 * nscd/grpcache.c (addgrbyX): Likewise.
16494 * nscd/hstcache.c (addhstbyX): Likewise.
16495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16496 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
16497 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16498 (addinnetgrX): Likewise.
16499 * nscd/nscd-client.h (__nscd_acquire_maplock)
16500 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
16501 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16502 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16503 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16504 Likewise.
16505 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
16507 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16508 (__nscd_get_map_ref): Likewise.
a1ffb40e 16509 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
16510 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16511 Likewise.
a1ffb40e
OB
16512 * nscd/pwdcache.c (addpwbyX): Likewise.
16513 * nscd/selinux.c (preserve_capabilities): Likewise.
16514 * nscd/servicescache.c (addservbyX): Likewise.
16515 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16516 * posix/fnmatch.c (fnmatch): Likewise.
16517 * posix/getopt.c (_getopt_internal_r): Likewise.
16518 * posix/glob.c (glob, glob_in_dir): Likewise.
16519 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
16520 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16521 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
16522 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16523 * resolv/res_init.c: Likewise.
16524 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16525 * resolv/res_query.c (__libc_res_nquery): Likewise.
16526 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16527 Likewise.
16528 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16529 * stdio-common/perror.c (perror): Likewise.
16530 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16531 * stdio-common/tmpnam.c (tmpnam): Likewise.
16532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16533 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
16534 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16535 Likewise.
a1ffb40e
OB
16536 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16537 * stdlib/putenv.c (putenv): Likewise.
16538 * stdlib/setenv.c (__add_to_environ): Likewise.
16539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16540 * stdlib/strtol_l.c (INTERNAL): Likewise.
16541 * string/memmem.c (memmem): Likewise.
16542 * string/strerror.c (strerror): Likewise.
16543 * string/strnlen.c (__strnlen): Likewise.
16544 * string/test-memmem.c (simple_memmem): Likewise.
16545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16546 * sunrpc/pm_getport.c (__get_socket): Likewise.
16547 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16548 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
16549 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16550 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
16551 Likewise.
16552 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16553 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16554 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16555 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16556 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
16557 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16558 Likewise.
16559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16560 Likewise.
a1ffb40e
OB
16561 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16562 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16563 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16564 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16565 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16567 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16568 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16569 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16570 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16571 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16572 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16573 Likewise.
16574 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16575 Likewise.
16576 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16577 Likewise.
16578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16580 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16581 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16582 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16583 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16584 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16586 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16587 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16588 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16590 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16591 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
16593 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16594 Likewise.
a1ffb40e
OB
16595 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16596 Likewise.
16597 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16598 Likewise.
16599 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16600 Likewise.
16601 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16603 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16604 Likewise.
16605 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16606 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16607 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16608 * sysdeps/posix/sleep.c: Likewise.
16609 * sysdeps/posix/tempname.c: Likewise.
16610 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16611 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16612 Likewise.
57f41c40
AS
16613 * sysdeps/powerpc/powerpc32/dl-machine.h
16614 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
16615 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16616 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16617 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16618 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16619 Likewise.
16620 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16622 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16624 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16625 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16626 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16627 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16628 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16629 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16631 (elf_machine_lazy_rel): Likewise.
a1ffb40e 16632 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16634 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16635 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16636 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16637 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16638 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16639 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16640 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16641 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16643 Likewise.
16644 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16645 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16646 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16647 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16648 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16649 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16650 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16651 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16652 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16653 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16654 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16655 Likewise.
16656 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16657 (__posix_fallocate64_l64): Likewise.
16658 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16659 (posix_fallocate): Likewise.
57f41c40
AS
16660 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16661 Likewise.
a1ffb40e 16662 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
16663 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16664 (getifaddrs_internal): Likewise.
a1ffb40e
OB
16665 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16666 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16667 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16668 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16669 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16670 (__posix_fallocate64_l64): Likewise.
16671 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16672 Likewise.
16673 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
16674 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16675 (__get_clockfreq): Likewise.
a1ffb40e
OB
16676 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16677 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16678 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16681 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16682 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16683 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16684 Likewise.
16685 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16686 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16687 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16688 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16689 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16690 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16691 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16692 Likewise.
16693 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16694 (posix_fallocate): Likewise.
16695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16696 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16697 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16698 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16699 (elf_machine_rela, elf_machine_rela_relative)
16700 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16701 * time/asctime.c (asctime_internal): Likewise.
16702 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16703 * time/tzset.c (__tzset_parse_tz): Likewise.
16704 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16705 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16706 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16707 * wcsmbs/wcsmbsload.h: Likewise.
16708
f3d338c9
OB
16709 [BZ #15894]
16710 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16711
57f41c40
AS
16712 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16713 (arena_get2): Remove THREAD_STATS conditionals.
16714 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16715 (__malloc_stats, int): Likewise.
bdfe308a 16716
d674667c
MF
167172014-02-08 Mike Frysinger <vapier@gentoo.org>
16718
16719 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16720 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16721
6349768c
MF
16722 * manual/setjmp.texi: Fix typos/grammar errors.
16723
0b7c7473
MF
16724 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16725 Only return early when n is <= 0. Delete unused return statement.
16726
ac8cc9e3
MF
16727 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16728 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16729 * debug/tst-longjmp_chk3.c: New file.
16730
c5bb8e23
MF
16731 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16732 (test_main): Replace code with set_fortify_handler call.
16733 * debug/test-strcpy_chk.c: Likewise.
16734 * debug/tst-chk1.c: Likewise.
16735 * debug/tst-longjmp_chk.c: Likewise.
16736 * test-skeleton.c: Include fcntl.h & paths.h
16737 (set_fortify_handler): Define.
16738
10444e42
MF
16739 * debug/tst-longjmp_chk.c: Add header comment and include
16740 ../test-skeleton.c.
16741 (do_test): Mark static.
16742 (TEST_FUNCTION): Define.
16743
1e805e8d
MF
16744 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16745 (IP_PMTUDISC_INTERFACE): Likewise.
16746 (IP_MULTICAST_IF): Likewise.
16747 (IP_MULTICAST_TTL): Likewise.
16748 (IP_MULTICAST_LOOP): Likewise.
16749 (IP_ADD_MEMBERSHIP): Likewise.
16750 (IP_DROP_MEMBERSHIP): Likewise.
16751 (IP_UNBLOCK_SOURCE): Likewise.
16752 (IP_BLOCK_SOURCE): Likewise.
16753 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16754 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16755 (IP_MSFILTER): Likewise.
16756 (MCAST_JOIN_GROUP): Likewise.
16757 (MCAST_BLOCK_SOURCE): Likewise.
16758 (MCAST_UNBLOCK_SOURCE): Likewise.
16759 (MCAST_LEAVE_GROUP): Likewise.
16760 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16761 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16762 (MCAST_MSFILTER): Likewise.
16763 (IP_MULTICAST_ALL): Likewise.
16764 (IP_UNICAST_IF): Likewise.
16765
73f79bb7
MF
16766 * timezone/Makefile: Delete $(have-ksh) check.
16767 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16768 * timezone/tzselect.ksh: Add +x mode bits.
16769
8da79b60
MF
16770 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16771 (ANON_INODE_FS_MAGIC): Likewise.
16772 (BDEVFS_MAGIC): Likewise.
16773 (BINFMTFS_MAGIC): Likewise.
16774 (BTRFS_TEST_MAGIC): Likewise.
16775 (CRAMFS_MAGIC_WEND): Likewise.
16776 (DEBUGFS_MAGIC): Likewise.
16777 (ECRYPTFS_SUPER_MAGIC): Likewise.
16778 (EXT3_SUPER_MAGIC): Likewise.
16779 (EXT4_SUPER_MAGIC): Likewise.
16780 (FUTEXFS_SUPER_MAGIC): Likewise.
16781 (HOSTFS_SUPER_MAGIC): Likewise.
16782 (HUGETLBFS_MAGIC): Likewise.
16783 (MINIX3_SUPER_MAGIC): Likewise.
16784 (MTD_INODE_FS_MAGIC): Likewise.
16785 (NILFS_SUPER_MAGIC): Likewise.
16786 (OPENPROM_SUPER_MAGIC): Likewise.
16787 (PIPEFS_MAGIC): Likewise.
16788 (PSTOREFS_MAGIC): Likewise.
16789 (QNX6_SUPER_MAGIC): Likewise.
16790 (RAMFS_MAGIC): Likewise.
16791 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16792 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16793 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16794 (SECURITYFS_MAGIC): Likewise.
16795 (SELINUX_MAGIC): Likewise.
16796 (SMACK_MAGIC): Likewise.
16797 (SOCKFS_MAGIC): Likewise.
16798 (SQUASHFS_MAGIC): Likewise.
16799 (STACK_END_MAGIC): Likewise.
16800 (TMPFS_MAGIC): Likewise.
16801 (USBDEVICE_SUPER_MAGIC): Likewise.
16802 (V9FS_MAGIC): Likewise.
16803 (XENFS_SUPER_MAGIC): Likewise.
16804 (CRAMFS_MAGIC): Fix typo in comment.
16805 (EXT2_SUPER_MAGIC): Update comment.
16806 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16807
464263cc
JM
168082014-02-08 Joseph Myers <joseph@codesourcery.com>
16809
c6bfe5c4
JM
16810 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16811 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16812 * sysdeps/unix/sysv/linux/arm: Move directory from
16813 ports/sysdeps/unix/sysv/linux/arm.
16814 * README: Update listing for arm-*-linux-gnueabi.
16815
464263cc
JM
16816 * README: Remove mention of am33.
16817
32749f6c
RM
168182014-02-07 Roland McGrath <roland@hack.frob.com>
16819
16820 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16821 than the comma operator, to avoid "rhs of comma has no effect"
16822 compiler warnings.
16823 (__sigfillset, __sigandset, __sigorset): Likewise.
16824 * include/signal.h (__sigemptyset): Likewise.
16825 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16826
d5b396c1
AM
168272014-02-07 Allan McRae <allan@archlinux.org>
16828
16829 * version.h (RELEASE): Set to "development".
16830 (VERSION): Set to "2.19.90"
16831 * NEWS: Add 2.20 section.
16832
3bfff2ed
CD
168332014-02-06 Carlos O'Donell <carlos@redhat.com>
16834
16835 [BZ #16529]
16836 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16837
ee7cc385
SP
168382014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16839
16840 * manual/contrib.texi: Update entry for Carlos O'Donell,
16841 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16842
f877c4f2
CD
168432014-02-05 Carlos O'Donell <carlos@rehdat.com>
16844
27e839f6
CD
16845 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16846
f877c4f2
CD
16847 * sysdeps/unix/sysv/linux/kernel-features.h
16848 [__LINUX_KERNEL_VERSION >= 0x020621]
16849 (__ASSUME_PROC_PID_TASK_COMM): Define.
16850
68159946
SP
168512014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16852
ba17cdbd
SP
16853 [BZ #16398]
16854 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16855 conversion when destination buffer does not have enough space.
16856 * libio/tst-ftell-partial-wide.c: New test case.
16857 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16858
68159946
SP
16859 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16860 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16861 Leonard and Allan McRae.
16862
2b528732
DM
168632014-02-04 David S. Miller <davem@davemloft.net>
16864
16865 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16866 32-bit.
16867
0ff82463
AZ
168682014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16869
57f41c40
AS
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16871 New file
c01603f7
AZ
16872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16873 New file
57f41c40
AS
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16875 New file.
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16877 New file.
c01603f7
AZ
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16879 New file.
57f41c40
AS
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16881 New file.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16883 New file.
c01603f7
AZ
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16885 New file.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16887 New file.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16889 New file.
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16891 New file.
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16893 New file.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16895 New file.
16896
168972014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16898
0ff82463
AZ
16899 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16900 * shlib-versions: Likewise.
16901
1695c773
AZ
169022014-02-04 Roland McGrath <roland@hack.frob.com>
16903 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16904
16905 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16906 (abilist-pattern): New variable, set to %-le.abilist.
16907
16908 * Makerules (abilist-pattern): New variable.
16909 (vpath): Use $(abilist-pattern) in place of %.abilist.
16910 (check-abi-% pattern rule): Likewise.
16911 (check-abi, update-abi): Likewise.
16912
6c0ce4b4
EW
169132014-02-04 Eric Wong <normalperson@yhbt.net>
16914
16915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16916
481e3524
CD
169172014-02-03 Carlos O'Donell <carlos@redhat.com>
16918
16919 * manual/startup.texi: Add next, previous, and top entries for
16920 the `Program Arguments' and `Environment Variables' nodes.
16921
375592d3
AO
169222014-02-03 Alexandre Oliva <aoliva@redhat.com>
16923
16924 * manual/macros.texi: Add comments before MTASC-safety macros.
16925
f54838ba
AO
16926 * manual/users.texi: Document MTASC-safety properties.
16927
57f41c40
AS
16928 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16929 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
16930 @deftypefun, and add @safety note.
16931 * manual/signal.texi: Move comments that analyze the above
16932 functions to their home place.
16933
fd3daba4
AM
169342014-02-03 Allan McRae <allan@archlinux.org>
16935
16936 * po/sl.po: Update Slovenian translation from translation project.
16937
597636d7
AO
169382014-02-02 Alexandre Oliva <aoliva@redhat.com>
16939
16940 * manual/time.texi (timegm): Add missing blank after @c.
16941 Reported by Joseph Myers <joseph@codesourcery.com>.
16942
ee196e3c
AO
169432014-02-01 Alexandre Oliva <aoliva@redhat.com>
16944
16945 * manual/check-safety.sh: New.
16946 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16947
f8d529d5
AO
16948 * manual/terminal.texi: Document MTASC-safety properties.
16949
de55fdf4
AO
16950 * manual/filesys.texi: Document MTASC-safety properties.
16951
c3299c08
AO
16952 * manual/errno.texi: Document MTASC-safety properties.
16953
06e90b14
AO
16954 * manual/intro.texi: Document safety identifiers and
16955 conditionals.
16956
1acd4371
AO
16957 * manual/string.texi (wcstok): Fix prototype.
16958 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16959
23e5b8cb
AO
16960 * manual/time.texi: Document MTASC-safety properties.
16961
11087373
AO
16962 * manual/string.texi: Document MTASC-safety properties.
16963
5da2c93d
AO
16964 * manual/threads.texi: Document MTASC-safety properties.
16965
171e9210
AO
16966 * manual/stdio.texi: Document MTASC-safety properties.
16967
d9e02532
AO
16968 * manual/syslog.texi: Document MTASC-safety properties.
16969
6af8bab7
AO
16970 * manual/sysinfo.texi: Document MTASC-safety properties.
16971
663b02d7
AO
16972 * manual/startup.texi: Document MTASC-safety properties.
16973
973f180b
AO
16974 * manual/socket.texi: Document MTASC-safety properties.
16975
8f3c25c8
AO
16976 * manual/signal.texi: Document MTASC-safety properties.
16977
542210fb
AO
169782014-01-31 Alexandre Oliva <aoliva@redhat.com>
16979
16980 * manual/setjmp.texi: Document MTASC-safety properties.
16981
433c45a2
AO
16982 * manual/search.texi: Document MTASC-safety properties.
16983
c8ce789c
AO
16984 * manual/resource.texi: Document MTASC-safety properties.
16985
19f5d29c
AO
16986 * manual/process.texi: Document MTASC-safety properties.
16987
e2dfb7f4
AO
16988 * manual/platform.texi: Document MTASC-safety properties.
16989
8c1413f5
AO
16990 * manual/pipe.texi: Document MTASC-safety properties.
16991
03483ada
AO
16992 * manual/pattern.texi: Document MTASC-safety properties.
16993
29e7e2df
AO
16994 * manual/message.texi: Document MTASC-safety properties.
16995
9f529d7c
AO
16996 [BZ #12751]
16997 * manual/memory.texi: Document MTASC-safety properties.
16998
27aaa791
AO
16999 * manual/math.texi: Document MTASC-safety properties.
17000
f2d58726
AO
17001 * manual/locale.texi: Document MTASC-safety properties.
17002
2cc3615c
AO
17003 * manual/llio.texi: Document MTASC-safety properties.
17004
d9f0ec97
AO
17005 * manual/libdl.texi: New.
17006
e7c4409a
AO
17007 * manual/lang.texi: Document MTASC-safety properties.
17008
27bdc63c
AO
17009 * manual/job.texi: Document MTASC-safety properties.
17010
a7b90ea9
AO
17011 * manual/getopt.texi: Document MTASC-safety properties.
17012
c49130e3
AO
17013 * manual/ctype.texi: Document MTASC-safety properties.
17014
0d23a5c1
MR
170152014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17016
17017 [BZ #16046]
17018 * csu/libc-tls.c (static_map): Remove variable.
17019 (__libc_setup_tls): Use main executable's link map for TLS data.
17020 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17021 casing for LM_ID_BASE and GL(dl_nns).
17022 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17023 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17024 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17025 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17026 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17027 member.
17028 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17029 l_phnum members.
17030
0037bb60
AO
170312014-01-30 Alexandre Oliva <aoliva@redhat.com>
17032
17033 * manual/debug.texi: Document MTASC-safety properties.
17034
409e00bd
L
170352014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17036
17037 [BZ #16510]
17038 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17039 of __x86_64__ when disabling x87 inline functions.
17040
86e60666
AO
170412014-01-29 Alexandre Oliva <aoliva@redhat.com>
17042
17043 * manual/charset.texi: Document MTASC-safety properties.
17044
76167637
AO
17045 * manual/crypt.texi: Document MTASC-safety properties.
17046
e567f2a0
AO
17047 * manual/conf.texi: Document MTASC-safety properties.
17048
b719dafd
AO
17049 * manual/arith.texi: Document MTASC-safety properties.
17050
4a16c662
AO
17051 * manual/argp.texi: Document MTASC-safety properties.
17052
0a57b83e
AO
17053 * manual/macros.texi: Introduce macros to document multi
17054 thread, asynchronous signal and asynchronous cancellation
17055 safety properties.
17056 * manual/intro.texi: Introduce the properties themselves.
17057
feab2397
KK
170582014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17059
17060 * sysdeps/sh/sh4/Makefile: New file.
17061
1c0d11bc
AS
170622014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17063
17064 * math/gen-libm-test.pl ($srcdir): New variable.
17065 ($auto_input): Use it.
17066
af37a8a3
SP
170672014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17068
d7b00f98
SP
17069 [BZ #16506]
17070 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17071 access beyond array bounds when parsing netgroups file.
17072
af37a8a3
SP
17073 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17074 the old buffer before realloc.
17075
0c00f062
AM
170762014-01-27 Allan McRae <allan@archlinux.org>
17077
17078 * po/fr.po: Update French translation from translation project.
17079
7d69a1b0
KK
170802014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17081
17082 * sysdeps/sh/libm-test-ulps: Regenerate.
17083
6e697ff7
DM
170842014-01-24 David S. Miller <davem@davemloft.net>
17085
17086 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17087
9cadb35c
KK
170882014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17089
17090 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17091 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17092
5d41dadf
SP
170932013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17094
17095 [BZ #16474]
17096 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17097 string pointers after reallocation.
17098
0bad441c
KK
170992014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17100
17101 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17102 __SH4A__ instead of __SH_FPU_ANY__.
17103
7007c661
KK
171042014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17105
17106 * sysdeps/sh/fpu_control.h: New file.
17107 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17108 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17109 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17110 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17111 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17112 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17113 * sysdeps/sh/sys/ucontext.h: Remove.
17114 * sysdeps/sh/sys: Remove directory.
17115
0f0c35e4
AK
171162014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17117
17118 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17119 s390/sys/ucontext.h.
17120 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17121 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17122
4959e284
L
171232014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17124
17125 [BZ #15605]
17126 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17127
d98720e0
AZ
171282014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17129
17130 [BZ#16431]
17131 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17132 Adjust the vDSO correctly for internal calls.
17133 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17134
91cbd0bc
AM
171352014-01-20 Allan McRae <allan@archlinux.org>
17136
17137 * po/ca.po: Update Catalan translation from translation project.
17138
7a02cfad
MF
171392014-01-16 Mike Frysinger <vapier@gentoo.org>
17140
17141 * sysdeps/s390/sotruss-lib.c: New file.
17142
736c304a
AZ
171432014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17144
17145 [BZ#16430]
6e077ee5 17146 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17147 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17148 local calls issues by not having a PLT stub required for IFUNC calls.
17149 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17150
94d0cea0
JM
171512014-01-16 Joseph Myers <joseph@codesourcery.com>
17152
17153 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17154 * math/test-fpucw-static.c: Likewise.
17155
980cb518
SP
171562013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17157
17158 [BZ #16453]
17159 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17160
2393fc01
AZ
171612014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17162
17163 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17164 implementation for powerpc.
17165
d359bcc2
OB
171662014-01-15 Ondřej Bílka <neleai@seznam.cz>
17167
17168 [BZ #14782]
17169 * sysdeps/posix/system.c (__libc_system): Do not enable
17170 asynchronous cancellation.
17171
7beb48cb
AK
171722014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17173
17174 [BZ #16427]
17175 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17176 handling only for numbers special also in the IEEE case.
17177
c20d5bf5
AK
171782014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17179
17180 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17181
e83bd4ee
AM
171822014-01-11 Allan McRae <allan@archlinux.org>
17183
76d0ea69
AM
17184 * po/bg.po: Update Bulgarian translation from translation project.
17185
e83bd4ee
AM
17186 * po/de.po: Update German translation from translation project.
17187
bc2ba20a
RM
171882014-01-10 Roland McGrath <roland@hack.frob.com>
17189
17190 * sysdeps/generic/gcc-compat.h: New file.
17191
649ecea2
SP
171922014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17193
17194 * benchtests/asin-inputs: Correct slow inputs.
17195 * benchtests/acos-inputs: Likewise.
17196
1b19c006
AM
171972014-01-10 Allan McRae <allan@archlinux.org>
17198
a46dab08
AM
17199 * po:sv.po: Update Swedish translation from translation project.
17200
421df74a
AM
17201 * po/vi.po: Update Vietnamese translation from translation project.
17202
d61c51a7
AM
17203 * po/eo.po: Update Esperanto translation from translation project.
17204
0339a319
AM
17205 * po/cs.po: Update Czech translation from translation project.
17206
94ad3e99
AM
17207 * po/nl.po: Update Dutch translation from translation project.
17208
e349ca71
AM
17209 * po/pl.po: Update Polish translation from translation project.
17210
ddf930c1
AM
17211 * po/ru.po: Update Russian translation from translation project.
17212
1b19c006
AM
17213 * po/uk.po: Update Ukrainian translation from translation project.
17214
9f236c49
BM
172152014-01-08 Brooks Moses <bmoses@google.com>
17216
17217 * elf/dl-load.c: Fix comment typo.
17218
cd6701cf
CD
172192014-01-08 Carlos O'Donell <carlos@redhat.com>
17220
17221 * po/header.pot: Rename to...
17222 * po/pot.header: ... this.
17223 * po/Makefile: Use pot.header.
17224
66671c84
YK
172252014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17226 Maxim Kuvyrkov <maxim@kugelworks.com>
17227
17228 [BZ #16394]
cd6701cf
CD
17229 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17230 SRC and DEST against LEN.
66671c84 17231
38f34581
AZ
172322014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17233
17234 [BZ #16414]
17235 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17236 implementation.
17237 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17238
172392014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17240
17241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17242
4c327f2a
JM
172432014-01-08 Joseph Myers <joseph@codesourcery.com>
17244
17245 [BZ #16408]
17246 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17247 for large positive arguments.
17248
b821f414
JM
172492014-01-07 Joseph Myers <joseph@codesourcery.com>
17250
1f0f2067
JM
17251 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17252
a5a326f6
JM
17253 * math/auto-libm-test-in: Mark various tests with
17254 xfail-rounding:ldbl-128ibm.
17255 * math/auto-libm-test-out: Regenerated.
17256
b821f414
JM
17257 [BZ #16407]
17258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17259 Increase overflow threshold.
17260
94c8a4bc
OB
172612014-01-07 Ondřej Bílka <neleai@seznam.cz>
17262
17263 [BZ #14286]
17264 * stdio-common/vfprintf.c: Check for integer overflow.
17265
87ded0c3
AK
172662014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17267
17268 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17269 the first argument and return value of __tls_get_addr_internal.
17270
c5eebdd0
AK
172712014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17272
17273 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17274 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17275
05d138ef
AK
172762014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17277
17278 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17279 * sysdeps/s390/rtld-global-offsets.sym: New file.
17280 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17281 GLIBC_2.19 symbol.
17282 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17283 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17285 ... this.
17286 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17287 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17288 ... this.
17289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17290 Regenerate.
17291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17292 Regenerate.
17293 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17294 halfs of GPRs for high_gprs contexts.
17295 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17296 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17297 field.
17298 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17299 uc_flags field.
17300 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17301 64 bit versions:
17302 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17303 for high GPRs (uc_high_gprs) and for future extensions
17304 (__reserved).
17305 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17306 for future extensions (__reserved).
17307 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17308 64 bit versions:
17309 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17310 SC_HIGHGPRS offset definition.
17311 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17312 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17313
93a45ff1
AK
17314 * Versions.def: Add GLIBC_2.19 for libpthread.
17315 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17316 siglongjmp for libpthread with GLIBC_2.19 symver.
17317 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17318 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17319 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17320 * sysdeps/s390/__longjmp.c: New file.
17321 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17322 * sysdeps/s390/longjmp.c: New file.
17323 * sysdeps/s390/setjmp.S: New file.
17324 * sysdeps/s390/sigjmp.S: New file.
17325 * sysdeps/s390/v1-longjmp.c: New file.
17326 * sysdeps/s390/v1-setjmp.h: New file.
17327 * sysdeps/s390/v1-sigjmp.c: New file.
17328 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17329 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17330 GLIBC_2.19 version.
17331 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17332 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17333 versioned symbols for ____longjmp_chk.
17334 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17335 Likewise.
17336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17337 Regenerate.
17338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17339 Regenerate.
17340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17341 Regenerate.
17342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17343 Regenerate.
17344 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17345 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17346 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17347 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17348 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17349 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17350 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17351 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17352 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17353 * sysdeps/s390/rtld-__longjmp.c: New file.
17354 * sysdeps/s390/rtld-setjmp.S: New file.
17355
eb3fc44b
JM
173562014-01-06 Joseph Myers <joseph@codesourcery.com>
17357
17358 [BZ #16400]
17359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17360 Return -__logl (x) for small positive arguments without evaluating
17361 a polynomial.
17362
9341dde4
MF
173632014-01-06 Mike Frysinger <vapier@gentoo.org>
17364
17365 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17366 Rename to ...
17367 (__ptrace_peeksiginfo_args): ... this.
17368 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17369 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17370 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17371
4cff0293
AM
173722014-01-06 Allan McRae <allan@archlinux.org>
17373
17374 * inet/netinet/in.h: Fix typo in comment.
17375
75595dcf
AJ
173762014-01-05 Andreas Jaeger <aj@suse.de>
17377
17378 * sysdeps/i386/fpu/libm-test-ulps: Update.
17379
79c1e109
AM
173802014-01-05 Allan McRae <allan@archlinux.org>
17381
dd804818
AM
17382 * po/libc.pot: Regenerated.
17383
79c1e109
AM
17384 * malloc/memusagestat.c: Fix gettext call formatting.
17385
0c813d1f
SK
173862014-01-04 Sami Kerola <kerolasa@iki.fi>
17387
17388 * nscd/nscd.c: Improve usage() output.
17389
20f4a8d9
MF
173902014-01-04 Mike Frysinger <vapier@gentoo.org>
17391
17392 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17393 * sysdeps/unix/sysv/linux/configure: Regenerated.
17394 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17395 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17396
22562bb2
JM
173972014-01-03 Joseph Myers <joseph@codesourcery.com>
17398
17399 [BZ #16390]
17400 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17401 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17402
d7ad2d9b
AZ
174032014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17404
17405 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17406 extra tokens at end of #undef directive.
17407 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17408 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17409 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17410
7dd009d8
JM
174112014-01-03 Joseph Myers <joseph@codesourcery.com>
17412
24db925a
JM
17413 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17414
7dd009d8
JM
17415 * math/auto-libm-test-in: Mark various tests with
17416 xfail-rounding:ldbl-128ibm.
17417 * math/auto-libm-test-out: Regenerated.
17418
396e3ecf
JM
174192014-01-02 Joseph Myers <joseph@codesourcery.com>
17420
819e5d50
JM
17421 [BZ #16386]
17422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17423 numbers with subnormal high part when calculating exponent.
17424
90b6a1e5
JM
17425 [BZ #16385]
17426 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17427 fabs.
17428
396e3ecf
JM
17429 [BZ #16384]
17430 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17431 M_LN2l.
17432 (__ieee754_acoshl): Use __log1pl not __log1p.
17433
6c8dbf00
OB
174342013-01-02 Ondřej Bílka <neleai@seznam.cz>
17435
57f41c40
AS
17436 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17437 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17438 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17439 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17440 (reused_arena, arena_get2): Convert to GNU style.
17441 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17442 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17443 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 17444 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
17445 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17446 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17447 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17448 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17449 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17450 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 17451 * malloc/malloc.h: Likewise.
57f41c40
AS
17452 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17453 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 17454 * malloc/mcheck.h: Likewise.
57f41c40
AS
17455 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17456 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
17457 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17458 * malloc/morecore.c (__default_morecore): Likewise.
17459 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
17460 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17461 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17462 (print_and_abort): Likewise.
6c8dbf00
OB
17463 * malloc/obstack.h: Likewise.
17464 * malloc/set-freeres.c (__libc_freeres): Likewise.
17465 * malloc/tst-mallocstate.c (main): Likewise.
17466 * malloc/tst-mtrace.c (main): Likewise.
17467 * malloc/tst-realloc.c (do_test): Likewise.
17468
d4124212
SP
174692013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17470
9a3c6a6f
SP
17471 [BZ #16366]
17472 * nscd/netgroupcache.c (do_notfound): New function.
17473 (addgetnetgrentX): Use it.
17474
d4124212
SP
17475 [BZ # 16365]
17476 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17477 NSS_STATUS_NOTFOUND.
17478
97b9a009
JM
174792014-01-01 Joseph Myers <joseph@codesourcery.com>
17480
17481 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17483
d4697bc9
AM
174842014-01-01 Allan McRae <allan@archlinux.org>
17485
ddb3687f
AM
17486 * scripts/update-copyrights: Update configure input file suffix.
17487
88726d48
AM
17488 * NEWS: Update copyright year.
17489 * catgets/gencat.c: Likewise.
17490 * csu/version.c: Likewise.
17491 * debug/catchsegv.sh: Likewise.
17492 * debug/pcprofiledump.c: Likewise.
17493 * debug/xtrace.sh: Likewise.
17494 * elf/ldconfig.c: Likewise.
17495 * elf/ldd.bash.in: Likewise.
17496 * elf/pldd.c: Likewise.
17497 * elf/sotruss.ksh: Likewise.
17498 * elf/sprof.c: Likewise.
17499 * iconv/iconv_prog.c: Likewise.
17500 * iconv/iconvconfig.c: Likewise.
17501 * locale/programs/locale.c: Likewise.
17502 * locale/programs/localedef.c: Likewise.
17503 * login/programs/pt_chown.c: Likewise.
17504 * malloc/memusage.sh: Likewise.
17505 * malloc/memusagestat.c: Likewise.
17506 * malloc/mtrace.pl: Likewise.
17507 * manual/libc.texinfo: Likewise.
17508 * nscd/nscd.c: Likewise.
17509 * nss/getent.c: Likewise.
17510 * nss/makedb.c: Likewise.
17511 * posix/getconf.c: Likewise.
17512 * scripts/test-installation.pl: Likewise.
17513
d4697bc9
AM
17514 * All files with FSF copyright notices: Update copyright dates
17515 using scripts/update-copyrights.
17516 * intl/plural.c: Regenerated.
17517 * locale/programs/charmap-kw.h: Likewise.
17518 * locale/programs/locfile-kw.h: Likewise.
17519
c8590f9d
MF
175202013-12-31 Mike Frysinger <vapier@gentoo.org>
17521
17522 * sysdeps/unix/sysv/linux/configure: Regenerated.
17523 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17524 the linux/fanotify.h header.
17525 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17526 HAVE_LINUX_FANOTIFY_H is defined.
17527
b19221b9
SP
175282013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17529
dd1d85e5
SP
17530 * benchtests/cos-inputs: New inputs.
17531 * benchtests/sin-inputs: Likewise.
17532
1acbb90f
SP
17533 * benchtests/atan-inputs: New inputs. Fix name of multiple
17534 precision fallback inputs.
17535
4c012ed3
SP
17536 * benchtests/atanh-inputs: New inputs.
17537 * benchtests/tanh-inputs: Likewise.
17538
eff98324
SP
17539 * benchtests/acosh-inputs: New inputs.
17540 * benchtests/asinh-inputs: Likewise.
17541
ce641152
SP
17542 * benchtests/cosh-inputs: New inputs.
17543 * benchtests/sinh-inputs: Likewise.
17544
b19221b9
SP
17545 * benchtests/acos-inputs: Add more inputs.
17546 * benchtests/asin-inputs: Likewise.
17547
030a4976 175482013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 17549
030a4976 17550 [BZ #16375]
9dcc8f11
VS
17551 * manual/arith.texi: Fix spelling.
17552 * manual/charset.texi: Likewise.
17553 * manual/errno.texi: Likewise.
17554 * manual/filesys.texi: Likewise.
17555 * manual/lang.texi: Likewise.
17556 * manual/llio.texi: Likewise.
17557 * manual/locale.texi: Likewise.
17558 * manual/message.texi: Likewise.
17559 * manual/resource.texi: Likewise.
17560 * manual/search.texi: Likewise.
17561 * manual/setjmp.texi: Likewise.
17562 * manual/stdio.texi: Likewise.
17563 * manual/string.texi: Likewise.
17564 * manual/sysinfo.texi: Likewise.
17565 * manual/time.texi: Likewise.
17566
11520a57
CD
175672013-12-27 Carlos O'Donell <carlos@redhat.com>
17568
17569 * po/sl.po: New file.
17570
471103ae
MF
175712013-12-27 Mike Frysinger <vapier@gentoo.org>
17572
17573 * .gitignore: Add core/.gdbinit/.gdb_history.
17574
6c9642ed
AM
175752013-12-27 Allan McRae <allan@archlinux.org>
17576
17577 [BZ #16369]
17578 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17579 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17580
3f637079
BM
175812013-12-24 Brooks Moses <bmoses@google.com>
17582
17583 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17584 all compilers that claim C++98 compliance, not just GCC.
17585 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17586 Likewise.
17587
abc26e99
MK
175882013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17589
17590 * NEWS: Restore accidentally deleted bug-fix entries.
17591
362b47fe
MK
175922013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17593 Ondřej Bílka <neleai@seznam.cz>
17594
17595 [BZ #15073]
17596 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 17597 have_lock.
362b47fe 17598
b9bcbbcb
OB
175992013-12-23 Ondřej Bílka <neleai@seznam.cz>
17600
17601 [BZ #12986]
17602 * manual/stdio.texi (String Input Conversions): Clarify that character
17603 classes are not supported.
17604
fb55fcd2
AZ
176052013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17606
17607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17608
ef7344f0
JM
176092013-12-22 Joseph Myers <joseph@codesourcery.com>
17610
4f40e4b3
JM
17611 [BZ #16337]
17612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17613 Calculate results for small negative arguments directly rather
17614 than using reflection formula with special underflow handling.
17615
ef7344f0
JM
17616 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17617 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17618 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17619 (fchflags): Likewise.
17620 (revoke): Likewise.
17621 (setlogin): Likewise.
17622 (sigaltstack): Likewise.
17623 (wait4): Likewise.
17624 (sigblock): Remove.
17625 (sigsetmask): Likewise.
17626 (wait3): Likewise.
17627 (waitpid): Likewise.
17628 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17629 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17630 file.
17631 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17632 * sysdeps/unix/bsd/Makefile: ... here.
17633 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17634 * sysdeps/unix/bsd/Versions: ... here.
17635 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17636 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17637 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17638 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17639 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17640 * sysdeps/unix/bsd/sigblock.c: ... here.
17641 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17642 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17643 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17644 * sysdeps/unix/bsd/sigvec.c: ... here.
17645 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17646 * sysdeps/unix/bsd/tcdrain.c: ... here.
17647 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17648 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17649 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17650 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17651 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17652 * sysdeps/unix/bsd/wait.c: ... here.
17653 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17654 * sysdeps/unix/bsd/wait3.c: ... here.
17655 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17656 * sysdeps/unix/bsd/waitpid.c: ... here.
17657
5b0626b9
JM
176582013-12-21 Joseph Myers <joseph@codesourcery.com>
17659
17660 [BZ #16356]
17661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17662 round-to-nearest for [!USE_AS_EXPM1L].
17663 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17664 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17665 more tests of exp and exp10. Expect some exp10 tests to miss
17666 exceptions or fail in directed rounding modes.
17667 * math/auto-libm-test-out: Regenerated.
17668 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17669 (exp10_test_tonearest): New function.
17670 (exp10_towardzero_test_data): New array.
17671 (exp10_test_towardzero): New function.
17672 (exp10_downward_test_data): New array.
17673 (exp10_test_downward): New function.
17674 (exp10_upward_test_data): New array.
17675 (exp10_test_upward): New function.
17676 (main): Call the new functions.
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17679
7fda5682
JM
176802013-12-20 Joseph Myers <joseph@codesourcery.com>
17681
31e3a405
JM
17682 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17683 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17684 * math/auto-libm-test-out: Regenerated.
17685 * math/libm-test.inc (acosh_test_data): Add more tests.
17686 (atanh_test_data): Likewise.
17687 (ceil_test_data): Likewise.
17688 (copysign_test_data): Likewise.
17689 * sysdeps/i386/fpu/libm-test-ulps: Update.
17690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17691
85bff96a
JM
17692 * timezone/checktab.awk: Update from tzcode 2013i.
17693 * timezone/private.h: Likewise.
17694 * timezone/scheck.c: Likewise.
17695 * timezone/tzfile.h: Likewise.
17696 * timezone/tzselect.ksh: Likewise.
17697 * timezone/zdump.c: Likewise.
17698 * timezone/zic.c: Likewise.
17699
b7867a3b
JM
17700 * math/auto-libm-test-in: Add tests of cpow.
17701 * math/auto-libm-test-out: Regenerated.
17702 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 17703 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
17704 mpc_cc_c.
17705 (func_calc_desc): Add mpc_cc_c union field.
17706 (test_functions): Add cpow.
17707 (special_fill_2pi): New function.
17708 (special_real_inputs): Add 2pi.
17709 (calc_generic_results): Handle mpc_cc_c.
17710 * sysdeps/i386/fpu/libm-test-ulps: Update.
17711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17712
7fda5682
JM
17713 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17714 csqrt, ctan and ctanh.
17715 * math/auto-libm-test-out: Regenerated.
17716 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17717 (TEST_COND_x86): Likewise.
17718 (ccos_test_data): Use AUTO_TESTS_c_c.
17719 (ccosh_test_data): Likewise.
17720 (cexp_test_data): Likewise.
17721 (clog_test_data): Likewise.
17722 (csqrt_test_data): Likewise.
17723 (ctan_test_data): Likewise.
17724 (ctan_tonearest_test_data): Likewise.
17725 (ctan_towardzero_test_data): Likewise.
17726 (ctan_downward_test_data): Likewise.
17727 (ctan_upward_test_data): Likewise.
17728 (ctanh_test_data): Likewise.
17729 (ctanh_tonearest_test_data): Likewise.
17730 (ctanh_towardzero_test_data): Likewise.
17731 (ctanh_downward_test_data): Likewise.
17732 (ctanh_upward_test_data): Likewise.
17733 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17734 mpc_c_c.
17735 (func_calc_desc): Add mpc_c_c union field.
17736 (FUNC_mpc_c_c): New macro.
17737 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17738 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17739 ctanh.
17740 (special_fill_min_subnorm_p120): New function.
17741 (special_real_inputs): Add min_subnorm_p120.
17742 (calc_generic_results): Handle mpc_c_c.
17743 * sysdeps/i386/fpu/libm-test-ulps: Update.
17744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17745
5ff8d60e
SP
177462013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17747
57f41c40
AS
17748 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17749 (do_sin_slow): New functions.
17750 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17751 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 17752
84ba214c
SP
17753 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17754 Use M to change sign of result instead of X. Assume X is
17755 positive.
17756 (csloww1): Likewise.
17757 (__sin): Adjust.
17758 (__cos): Adjust.
17759
975195e4
SP
17760 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17761 arguments A and DA.
17762 (__sin): Adjust.
17763 (__cos): Likewise.
17764
5ff8d60e
SP
17765 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17766 (__cos): Likewise.
17767 (sloww1): Don't adjust sign of DX.
17768 (csloww1): Likewise.
17769 (sloww2): Use X directly and don't adjust sign of DX.
17770 (csloww2): Likewise.
17771
eb983568
JM
177722013-12-19 Joseph Myers <joseph@codesourcery.com>
17773
64a17f1a
JM
17774 * math/auto-libm-test-in: Add tests of cabs and carg.
17775 * math/auto-libm-test-out: Regenerated.
17776 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17777 (carg_test_data): Likewise.
17778 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17779 mpc_c_f.
17780 (func_calc_desc): Add mpc_c_f union field.
17781 (test_functions): Add cabs and carg.
17782 (calc_generic_results): Handle mpc_c_f.
17783
eb983568
JM
17784 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17785 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17786 as a macro and a compat symbol.
17787 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17788 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17789 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17790 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17791 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17792 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17793 not use .hidden.
17794 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17795 Likewise.
17796 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17797 Likewise.
17798 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17799 Likewise.
17800 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17801 Likewise.
17802 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17803 Likewise.
17804 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17805 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17806 from GLIBC_2.3.2.
17807
6eeb678a
AZ
178082013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17809
17810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17811
6f6fc482
JM
178122013-12-19 Joseph Myers <joseph@codesourcery.com>
17813
21fea2e2
JM
17814 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17815 trailing whitespace removed.
17816 * scripts/config.guess: Update to version 2013-11-29.
17817 * scripts/config.sub: Update to version 2013-10-01.
17818
6f6fc482
JM
17819 * math/auto-libm-test-in: Add tests of sincos.
17820 * math/auto-libm-test-out: Regenerated.
17821 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17823 mpfr_f_11.
17824 (func_calc_desc): Add mpfr_f_11 union field.
17825 (test_functions): Add sincos.
17826 (calc_generic_results): Handle mpfr_f_11.
17827 * sysdeps/i386/fpu/libm-test-ulps: Update.
17828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17829
83f5c32d
AS
178302013-12-19 Andreas Schwab <schwab@suse.de>
17831
17832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17833 CALL_MCOUNT.
17834 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17835 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17836 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17837
c688b419
JM
178382013-12-19 Joseph Myers <joseph@codesourcery.com>
17839
335ee092
JM
17840 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17843
f88acd39
JM
17844 [BZ #16293]
17845 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17846 round-to-nearest mode when using frndint.
17847 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17848 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17849 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17850 Likewise.
17851 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17852 sinh test to fail.
17853 * math/auto-libm-test-out: Regenerated.
17854 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17855 (TEST_COND_x86): Likewise.
17856 (expm1_tonearest_test_data): New array.
17857 (expm1_test_tonearest): New function.
17858 (expm1_towardzero_test_data): New array.
17859 (expm1_test_towardzero): New function.
17860 (expm1_downward_test_data): New array.
17861 (expm1_test_downward): New function.
17862 (expm1_upward_test_data): New array.
17863 (expm1_test_upward): New function.
17864 (main): Run the new test functions.
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17867
c688b419
JM
17868 * include/features.h: Update comment documenting feature test
17869 macros. Mention _DEFAULT_SOURCE in comment.
17870 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17871 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17872 _BSD_SOURCE and _SVID_SOURCE.
17873 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17874 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17875 !_SVID_SOURCE]: Likewise.
17876 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17877 (__USE_POSIX_IMPLICITLY): Define.
17878 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17879 (_POSIX_SOURCE): Undefine and redefine.
17880 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17881 (_POSIX_C_SOURCE): Likewise.
17882 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17883 (Feature Test Macros): Update documentation of default features.
17884
9f6e964c
RS
178852013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17886
17887 * benchtests/Makefile: Add bench-strtok.
17888 * benchtests/bench-strtok.c: New file: strtok benchtest.
17889
ee0a148a
AM
178902013-12-19 Allan McRae <allan@archlinux.org>
17891
17892 * manual/install.texi: Suppress menu for plain text output.
17893 * INSTALL: Regenerated.
17894
b9ab448f
BM
178952013-12-18 Brooks Moses <bmoses@google.com>
17896
17897 [BZ #15846]
17898 * misc/getauxval.c: Include errno.h.
17899 (__getauxval): Set errno to ENOENT if the requested type is not
17900 found.
17901 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17902 don't declare with __attribute_const__.
17903 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17904 * manual/startup.texi: Document that getauxval sets errno.
17905
23776487
JM
179062013-12-18 Joseph Myers <joseph@codesourcery.com>
17907
f889953b
JM
17908 * math/auto-libm-test-in: Add tests of jn and yn.
17909 * math/auto-libm-test-out: Regenerated.
17910 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17911 (yn_test_data): Likewise.
17912 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17913 mpfr_if_f.
17914 (func_calc_desc): Add mpfr_if_f union field.
17915 (FUNC_mpfr_if_f): New macro.
17916 (test_functions): Add jn and yn.
17917 (calc_generic_results): Assert type of second input for
17918 mpfr_ff_f. Handle mpfr_if_f.
17919 (output_for_one_input_case): Disable all checking for arguments
17920 fitting floating-point types in case of an integer argument.
17921 * sysdeps/i386/fpu/libm-test-ulps: Update.
17922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17923
23776487
JM
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17925 Don't expect fegetround reference in libm.so.
17926
cb756c6d
MS
179272013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17928
17929 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17930 $(config-cflags-nofma).
17931
2dec468f
JM
179322013-12-18 Joseph Myers <joseph@codesourcery.com>
17933
5953eb3a
JM
17934 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17935 * math/auto-libm-test-out: Regenerated.
17936
2dec468f
JM
17937 [BZ #16338]
17938 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17939 to determine exponent and adjust argument to have exponent of -1.
17940 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17941 log2.
17942 * math/auto-libm-test-out: Regenerated.
17943 * sysdeps/i386/fpu/libm-test-ulps: Update.
17944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17945
4d84e6ad
OB
179462013-12-18 Ondřej Bílka <neleai@seznam.cz>
17947
17948 * manual/probes.texi: Remove cases when per-thread arenas are
17949 disabled.
17950
1818483b
AS
179512013-12-18 Andreas Schwab <schwab@suse.de>
17952
17953 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17954 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17955 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17956 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17957 * sysdeps/i386/i686/multiarch/Makefile: Update.
17958 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17959
25de95bf
JM
179602013-12-17 Joseph Myers <joseph@codesourcery.com>
17961
17962 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17963 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17964
674762d9
PE
179652013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17966
ed27ed83 17967 [BZ #15968]
0748546f
PE
17968 Support TZ transition times < 00:00:00.
17969 This is needed for version-3 tz-format files; it supports time
17970 stamps past 2037 for America/Godthab (the only entry in the tz
17971 database for which this change is relevant).
17972 * manual/time.texi (TZ Variable): Document transition times
17973 from -167:59:59 through -00:00:01.
17974 * time/tzset.c (tz_rule): Time of day is now signed.
17975 (__tzset_parse_tz): Parse negative time of day.
17976
4480e934
PE
17977 Document TZ transition times >= 25:00:00.
17978 * manual/time.texi (TZ Variable): Document transition times from
17979 25:00:00 through 167:59:59. These are already supported, and this
17980 support will help with version-3 tz-format files.
17981
69947401
PE
17982 * manual/time.texi (TZ Variable): Modernize North America example
17983 to reflect current (i.e., 2007-and-later) daylight saving rules.
17984
674762d9
PE
17985 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17986
7011c262
JM
179872013-12-17 Joseph Myers <joseph@codesourcery.com>
17988
2fc6557e
JM
17989 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17990 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17993 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17994 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17995 * sysdeps/unix/bsd/clock.c: Likewise.
17996 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17997 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17998 * sysdeps/unix/bsd/init-posix.c: Likewise.
17999 * sysdeps/unix/bsd/poll.c: Likewise.
18000 * sysdeps/unix/bsd/ptsname.c: Likewise.
18001 * sysdeps/unix/bsd/seekdir.c: Likewise.
18002 * sysdeps/unix/bsd/setegid.c: Likewise.
18003 * sysdeps/unix/bsd/seteuid.c: Likewise.
18004 * sysdeps/unix/bsd/setgid.c: Likewise.
18005 * sysdeps/unix/bsd/setrgid.c: Likewise.
18006 * sysdeps/unix/bsd/setruid.c: Likewise.
18007 * sysdeps/unix/bsd/setsid.c: Likewise.
18008 * sysdeps/unix/bsd/setuid.c: Likewise.
18009 * sysdeps/unix/bsd/sigaction.c: Likewise.
18010 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18011 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18012 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18013 * sysdeps/unix/bsd/telldir.c: Likewise.
18014 * sysdeps/unix/bsd/times.c: Likewise.
18015 * sysdeps/unix/bsd/usleep.c: Likewise.
18016
029c7b25
JM
18017 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18018 ($(objpfx)libbsd-compat.a): Remove rule.
18019
7011c262
JM
18020 * include/features.h (__FAVOR_BSD): Do not define.
18021 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18022 features conflicting with POSIX.
18023 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18024 (_BSD_SOURCE): Remove description of not being a subset of other
18025 feature test macros.
18026 * manual/job.texi (getpgrp): Do not document BSD version.
18027 (getpgid): Do not document by reference to BSD getpgrp.
18028 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18029 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18030 * signal/signal.h [__FAVOR_BSD]: Likewise.
18031 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18032 instead of making contents conditional on [__FAVOR_BSD].
18033 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18034
affb6f78
AZ
180352013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18036
18037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18038
c88769dd
JM
180392013-12-17 Joseph Myers <joseph@codesourcery.com>
18040
6432a540
JM
18041 [BZ #16314]
18042 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18043 values below 2**-450, not 2**-500.
18044 * math/auto-libm-test-in: Don't allow spurious underflow from
18045 hypot.
18046 * math/auto-libm-test-out: Regenerated.
18047
c88769dd
JM
18048 [BZ #16316]
18049 [BZ #16330]
18050 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18051 values of ha and hb and sort them after adjusting subnormal
18052 arguments.
18053 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18054 Likewise.
18055 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18056 values of ea and eb and sort them after adjusting subnormal
18057 arguments.
18058 * math/auto-libm-test-in: Do not expect some hypot tests of
18059 subnormals to fail. Add more hypot tests.
18060 * math/auto-libm-test-out: Regenerated.
18061
29618f6b
KK
180622013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18063
18064 [BZ #13304]
18065 * sysdeps/sh/s_fma.c: New file.
18066 * sysdeps/sh/s_fmaf.c: New file.
18067 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18068 version.
18069 * sysdeps/sh/Implies: Add sh/soft-fp.
18070
eacfdfbf
RM
180712013-12-16 Roland McGrath <roland@hack.frob.com>
18072
18073 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18074 level of indirection to members `objname', `errstring', `malloced'.
18075 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18076 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18077 it as the __longjmp argument (just pass 1 instead).
18078 (_dl_catch_error): Initialize C with argument pointers and address of
18079 volatile local ERRCODE rather than copying values out of C at return.
18080
ff362e5b
JM
180812013-12-16 Joseph Myers <joseph@codesourcery.com>
18082
18083 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18084 * math/auto-libm-test-out: Regenerated.
18085 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18086 (hypot_test_data): Likewise.
18087 (pow_test_data): Likewise.
18088 (pow_tonearest_test_data): Likewise.
18089 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18090 mpfr_ff_f.
18091 (func_calc_desc): Add mpfr_ff_f union field.
18092 (FUNC_mpfr_ff_f): New macro.
18093 (test_functions): Add atan2, hypot and pow.
18094 (special_fill_min): New function.
18095 (special_fill_minus_min): Likewise.
18096 (special_fill_min_subnorm): Likewise.
18097 (special_fill_minus_min_subnorm): Likewise.
18098 (special_real_inputs): Add min, -min, min_subnorm and
18099 -min_subnorm.
18100 (calc_generic_results): Handle mpfr_ff_f.
18101 * sysdeps/i386/fpu/libm-test-ulps: Update.
18102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18103
5764c27f
WN
181042013-12-16 Will Newton <will.newton@linaro.org>
18105
18106 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18107 (Aligned Memory Blocks): Add documentation for aligned_alloc
18108 and suggest it as an alternative to posix_memalign.
18109 (Hooks for Malloc): Document __memalign_hook is also called
18110 for aligned_alloc. (Summary of Malloc): Add summary for
18111 aligned alloc. Document __memalign_hook is also called
18112 for aligned_alloc.
18113
0a096e44
WN
181142013-12-16 Will Newton <will.newton@linaro.org>
18115
18116 * manual/memory.texi (Malloc Examples): Clarify default
18117 alignment documentation. Suggest posix_memalign rather
18118 than memalign or valloc.
18119 (Aligned Memory Blocks): Remove suggestion to use memalign
18120 or valloc. Remove obsolete comment about BSD.
18121 Document memalign errno values and mark the function obsolete.
18122 Document posix_memalign returned error codes. Mark valloc
18123 as obsolete. (Hooks for Malloc): __memalign_hook is also
18124 called for posix_memalign and valloc.
18125 (Summary of Malloc): Add posix_memalign to function summary.
18126 __memalign_hook is also called for posix_memalign and valloc.
18127
8d561986
SP
181282013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18129
18130 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18131 TAYLOR_SIN.
18132 (__sin): Adjust.
18133 (__cos): Likewise.
18134 (sloww): Use mynumber union. Expand ternary operator into
18135 if-else statements.
18136 (cslow): use mynumber union.
18137
73616a74
AM
181382013-12-16 Allan McRae <allan@archlinux.org>
18139
9e8ac24b
AM
18140 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18141 * configure: Regenerated.
18142
6f8e37eb
AM
18143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18144
8894bad3
AM
18145 [BZ #14120]
18146 * configure.ac: Added --enable-maintainer-mode. Check for
18147 autoconf when enabled.
18148 * configure: Regenerated.
18149
73616a74
AM
18150 * nscd/nscd.service: New file.
18151 * nscd/nscd.tmpfiles: New file.
18152
584b18eb
OB
181532013-12-14 Ondřej Bílka <neleai@seznam.cz>
18154
18155 [BZ #12100]
18156 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18157 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18158 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18159 (strstr): Add __strstr_sse2_unaligned ifunc.
18160 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18161 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18162 (strcasestr): Remove __strcasestr_sse42 ifunc.
18163 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18166
8a5c7897
KK
181672013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18168
18169 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18170 * sysdeps/sh/bits/fenv.h: ... here.
18171 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18172
fd712ef3
AZ
181732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18174
18175 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18176
42fcb46c
AZ
18177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18178 hypotf multiarch implementations.
18179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18180 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18181 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18182 multiarch hypot for PPC64.
18183 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18184 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18185 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18186 multiarch hypotf for PPC64.
18187
83efded4
AZ
18188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18189 modff multiarch implementations.
18190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18193 multiarch modf for PPC64.
18194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18197 multiarch modff for PPC64.
18198
43e246d2
AZ
18199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18200 and logl multiarch implementations.
18201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18204 multiarch logb for PPC64.
18205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18208 multiarch logb for PPC64.
18209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18212 multiarch logb for PPC64.
18213
8fdad123
AZ
18214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18215 isinff multiarch implementation.
18216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18217 file.
18218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18220 multiarch isinf for PPC64.
18221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18222 file.
18223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18224 multiarch isinff for PPC64.
18225
1481d706
AZ
18226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18227 finitef multiarch implementation.
18228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18229 file.
18230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18232 multiarch finite for PPC64.
18233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18234 file.
18235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18236 multiarch finitef for PPC64.
18237
5ccd5fc8
AZ
18238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18239 lrint multiarch implementation.
18240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18241 file.
18242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18244 multiarch llrint for PPC64.
18245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18246 multiarch lrint for PPC64.
18247
2568f3fa
AZ
18248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18249 copysignf multiarch implementation.
18250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18251 file.
18252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18253 file.
18254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18255 multiarch copysign for PPC64.
18256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18257 multiarch copysignf for PPC64.
18258
1cb341fd
AZ
18259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18260 multiarch implementation.
18261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18262 file.
18263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18264 file.
18265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18266 file.
18267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18268 file.
18269 multiarch llround for PPC64.
18270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18271 multiarch trunc for PPC64.
18272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18273 multiarch truncf for PPC64.
18274
59a3e194
AZ
18275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18276 multiarch implementation.
18277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18278 file.
18279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18280 file.
18281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18282 file.
18283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18284 file.
18285 multiarch llround for PPC64.
18286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18287 multiarch round for PPC64.
18288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18289 multiarch roundf for PPC64.
18290
357fd3b4
AZ
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18292 multiarch implementation.
18293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18294 file.
18295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18296 file.
18297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18298 file.
18299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18300 file.
18301 multiarch llround for PPC64.
18302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18303 multiarch floor for PPC64.
18304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18305 multiarch floorf for PPC64.
18306
96770f12
AZ
18307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18308 multiarch implementation.
18309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18310 file.
18311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18312 file.
18313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18314 file.
18315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18316 file.
18317 multiarch llround for PPC64.
18318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18319 multiarch ceil for PPC64.
18320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18321 multiarch ceilf for PPC64.
18322
c3627f6e
AZ
18323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18324 multiarch implementation.
18325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18326 file.
18327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18328 file.
18329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18330 file.
18331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18332 multiarch llround for PPC64.
18333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18334 multiarch lround for PPC64.
18335
b2284ad7
AZ
18336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18337 multiarch implementation.
18338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18341 file.
18342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18345 multiarch isnan for PPC64.
18346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18347 multiarch isnanf for PPC64.
18348
69bbc63d
AZ
18349 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18350 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18351 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18352 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18353 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18355
c24517c9
AZ
18356 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18360
a52374e8
AZ
18361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18362 multiarch implementations.
18363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18364 (__libc_ifunc_impl_list): Likewise.
18365 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18366 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18367 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18368 multiarch stpcpy for PPC64.
18369
7f5ec113
AZ
18370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18371 multiarch implementations.
18372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18373 (__libc_ifunc_impl_list): Likewise.
18374 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18375 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18376 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18377 multiarch strcpy for PPC64.
18378
e28bcd42
AZ
18379 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18380 redefine function name.
18381 (_wordcopy_fwd_dest_aligned): Likewise.
18382 (_wordcopy_bwd_aligned): Likewise.
18383 (_wordcopy_bwd_dest_aligned): Likewise.
18384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18385 multiarch implementations.
18386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18387 (__libc_ifunc_impl_list): Likewise.
18388 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18389 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18390 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18391 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18392 multiarch wcscpy for PPC64.
18393
92cacfce
AZ
18394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18395 multiarch implementations.
18396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18397 (__libc_ifunc_impl_list): Likewise.
18398 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18399 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18400 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18401 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18402 multiarch wcscpy for PPC64.
18403
7b714620
AZ
18404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18405 multiarch implementations.
18406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18407 (__libc_ifunc_impl_list): Likewise.
18408 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18409 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18410 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18411 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18412 multiarch wcsrchr for PPC64.
18413
16fd2ae3
AZ
18414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18415 multiarch implementations.
18416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18417 (__libc_ifunc_impl_list): Likewise.
18418 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18419 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18420 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18421 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18422 multiarch wcschr for PPC64.
18423
9ee2969b
AZ
18424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18425 multiarch implementations.
18426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18427 (__libc_ifunc_impl_list): Likewise.
18428 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18429 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18430 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18431 multiarch strchrnul for PPC64.
18432
372dc060
AZ
18433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18434 implementations.
18435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18436 (__libc_ifunc_impl_list): Likewise.
18437 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18438 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18439 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18440 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18441 strchr for PPC64.
18442
24c2c3b9
AZ
18443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18444 implementations.
18445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18446 (__libc_ifunc_impl_list): Likewise.
18447 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18448 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18449 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18450 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18451 strncmp for PPC64.
18452
1c92d9a0
AZ
18453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18454 multiarch implementations.
18455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18456 (__libc_ifunc_impl_list): Likewise.
18457 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18458 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18459 strncasecmp for PPC64.
18460 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18461 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18462 multiarch strncasecmp_l for PPC64.
18463
17de3ee3
AZ
18464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18465 multiarch implementations.
18466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18467 (__libc_ifunc_impl_list): Likewise.
18468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18469 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18470 multiarch strcasecmp for PPC64.
18471 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18472 file.
18473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18474 multiarch strcasecmp_l for PPC64.
18475
62982bf9
AZ
18476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18477 implementations.
18478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18479 (__libc_ifunc_impl_list): Likewise.
18480 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18481 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18482 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18483 strnlen for PPC64.
18484
a65f4904
AZ
18485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18486 implementations.
18487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18488 (__libc_ifunc_impl_list): Likewise.
18489 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18490 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18491 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18492 strlen for PPC64.
18493
1fd005ad
AZ
18494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18495 implementations.
18496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18497 (__libc_ifunc_impl_list): Likewise.
18498 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18499 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18500 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18501 rawmemrchr for PPC64.
18502
cd05ba91
AZ
18503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18504 implementation.
18505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18506 (__libc_ifunc_impl_list): Likewise.
18507 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18508 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18509 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18510 memrchr for PPC64.
18511
870f8676
AZ
18512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18513 implementation.
18514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18515 (__libc_ifunc_impl_list): Likewise.
18516 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18517 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18518 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18519 memchr for PPC64.
18520
f00be62b
AZ
18521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18522 implementation.
18523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18524 (__libc_ifunc_impl_list): Likewise.
18525 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18526 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18527 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18528 mempcpy for PPC64.
18529
8a29a3d0
AZ
18530 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18531 avoid cretion of __bzero symbol.
18532 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18533 Likewise.
18534 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18535 Likewise.
18536 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18537 Likewise.
18538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18539 multiarch implementations.
18540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18541 (__libc_ifunc_impl_list): Likewise.
18542 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18543 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18544 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18545 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18546 bzero for PPC32.
18547 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18548 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18549 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18550 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18551 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18552 memset for PPC64.
18553 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18554
07253fcf
AZ
18555 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18557 implementations.
18558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18559 (__libc_ifunc_impl_list): Likewise.
18560 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18561 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18562 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18563 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18564 memcmp for PPC64.
18565
b5beafbc
AZ
18566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18567 multiarch for POWER/PPC64.
18568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18569 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18570 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18571 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18572 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18573 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18574 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18575 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18576 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18577 memcpy for PPC64.
18578
5e6a4d4b
AZ
18579 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18580 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18581 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18582 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18583 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18584 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18585 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18586 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18587 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18588 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18589 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18590 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18591 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18592 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18593 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18601
ddfab6dc
KK
186022013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18603
18604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18605
19b5525e
SP
186062013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18607
18608 * benchtests/Makefile (bench): Add exp2 and log2.
18609 (LDLIBS-bench-exp2): Add -lm.
18610 (LDLIBS-bench-log2): Likewise.
18611 * benchtests/exp2-inputs: New inputs file.
18612 * benchtests/log2-inputs: New inputs file.
18613 * benchtests/log-inputs: Add new inputs.
18614 * benchtests/tan-inputs: Likewise.
18615
196f7f5d
SP
186162013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18617
7a74607f
SP
18618 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18619 definition...
57f41c40
AS
18620 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18621 (csloww2): ... from here.
7a74607f 18622
196f7f5d
SP
18623 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18624 instead of structures.
18625 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18626 (POLYNOMIAL): Likewise.
18627 (TAYLOR_SLOW): Likewise.
18628 (__sin): Likewise.
18629 (__cos): Likewise.
18630 (slow1): Likewise.
18631 (slow2): Likewise.
18632 (sloww): Likewise.
18633 (sloww1); Likewise.
18634 (sloww2): Likewise.
18635 (bsloww1): Likewise.
18636 (bsloww2): Likewise.
18637 (cslow2): Likewise.
18638 (csloww): Likewise.
18639 (csloww1): Likewise.
18640 (csloww2): Likewise.
18641
0dfa665c
OB
186422013-12-10 Ondřej Bílka <neleai@seznam.cz>
18643
18644 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
18645 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18646 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
18647 * malloc/hooks.c (realloc_check): Likewise.
18648
5782a80f
OB
18649 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18650 * malloc/arena.c: Remove PER_THREAD conditional.
18651 [!PER_THREAD]: Remove code.
18652 (ptmalloc_unlock_all2): Likewise.
18653 (ptmalloc_init): Likewise.
18654 (_int_new_arena): Likewise.
18655 (arena_get2): Likewise.
18656 * malloc/hooks.c (__malloc_get_state): Likewise.
18657 (__malloc_set_state): Likewise.
18658 * malloc/malloc.c: Likewise.
18659 (struct malloc_state): Likewise.
18660 (struct malloc_par): Likewise.
18661 (__libc_realloc): Likewise.
18662 (__libc_mallopt): Likewise.
18663
aeb95445
AZ
186642013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18665
18666 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18667
e8349efd
OB
186682013-12-09 Ondřej Bílka <neleai@seznam.cz>
18669
18670 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18671 macro to a function. Check for zero perturb_byte.
18672 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18673
f3eeb3fc 18674 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
18675 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18676 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
18677 force_reg by atomic_forced_read.
18678 * malloc/arena.c (ptmalloc_init): Likewise.
18679 * malloc/hooks.c (top_check): Likewise.
18680
be2f9009
AZ
186812013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18682
18683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18684
e7b914bd
MT
186852013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18686
18687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18688
9f0be4f8
JM
186892013-12-08 Joseph Myers <joseph@codesourcery.com>
18690
18691 * math/auto-libm-test-in: Add tests of lgamma.
18692 * math/auto-libm-test-out: Regenerated.
18693 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18694 (M_LOG_2_SQRT_PIl): Likewise.
18695 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18696 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18697 mpfr_f_f1.
18698 (func_calc_desc): Add mpfr_f_f1 union field.
18699 (ARGS1): New macro.
18700 (ARGS2): Likewise.
18701 (ARGS3): Likewise.
18702 (ARGS4): Likewise.
18703 (RET1): Likewise.
18704 (RET2): Likewise.
18705 (CALC): Likewise.
18706 (FUNC): Likewise.
18707 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18708 (test_functions): Add lgamma.
18709 (calc_generic_results): Handle mpfr_f_f1.
18710 * sysdeps/i386/fpu/libm-test-ulps: Update.
18711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18712
24eeafdb
AZ
187132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18714
18715 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18716 __mpn_add_n for PowerPC64/POWER7.
18717 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18718 __mpn_sub_n for PowerPC64/POWER7.
18719
4a2c0fd4
AZ
18720 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18721 __mpn_addmul_1 for PowerPC64.
18722 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18723 __mpn_submul_1 for PowerPC64.
18724 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18725 for PowerPC64.
18726 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18727 for PowerPC64.
18728
4b5b548c
FS
187292013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18730
18731 [BZ #15089]
18732 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18733
0a3ac0aa
AZ
187342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18735
18736 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18737
ccdc8438
AZ
18738 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18739 add multiarch folders.
18740 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18741 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18742 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18743 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18744 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18745 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18746 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18747 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18748 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18749 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18750 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18757
2e973d99
AZ
18758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18759 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18761 New file.
18762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18763 New file.
18764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18765 multiarch __ieee754_hypot for PowerPC32.
18766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18767 New file.
18768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18769 New file.
18770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18771 multiarch __ieee754_hypotf for PowerPC32.
18772
2d9470b2
AZ
18773 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18774 long_double_symbol only if __logbl is defined.
18775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18776 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18777 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18778 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18780 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18781 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18782 path for implementation.
18783 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18784 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18786 logb, and logbl multiarch implementations for PowerPC32.
18787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18788 file.
18789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18790 file.
18791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18792 multiarch logb for PowerPC32.
18793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18794 file.
18795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18796 file.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18798 multiarch logbf for PowerPC32.
18799 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18801 file.
18802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18803 multiarch logbl implementation for PowerPC32.
18804
5212ffce
AZ
18805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18806 and modff multiarch implementations.
18807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18808 New file.
18809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18810 New file.
18811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18812 multiarch modf for PowerPC32.
18813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18814 New file.
18815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18816 New file.
18817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18818 multiarch modff for PowerPC32.
18819
79dccf31
AZ
18820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18821 and lrintf multiarch implementations.
18822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18823 New file.
18824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18825 New file.
18826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18827 multiarch lrint for PowerPC32.
18828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18829 file: multiarch lrintf for PowerPC32.
18830
deb66480
AZ
18831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18832 and lroundf multiarch implementations.
18833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18834 New file.
18835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18836 New file.
18837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18838 New file.
18839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18840 multiarch lround for PowerPC32.
18841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18842 file: multiarch lroundf for PowerPC32.
18843
264b036b
AZ
18844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18845 copysign and copysignf multiarch implementations.
18846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18847 New file.
18848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18849 New file.
18850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18851 file: multiarch copysign for PowerPC32.
18852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18853 file: multiarch copysignf for PowerPC32.
18854
d47db6c9
AZ
18855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18856 and truncf multiarch implementations.
18857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18858 New file.
18859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18860 file.
18861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18862 multiarch trunc for PowerPC32.
18863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18864 New file.
18865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18866 New file.
18867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18868 multiarch truncf for PowerPC32.
18869
ddb60b5a
AZ
18870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18871 and roundf multiarch implementations.
18872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18873 New file.
18874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18875 file.
18876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18877 multiarch round for PowerPC32.
18878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18879 New file.
18880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18881 New file.
18882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18883 multiarch roundf for PowerPC32.
18884
bedcf49b
AZ
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18886 and floorf multiarch implementations.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18888 New file.
18889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18890 file.
18891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18892 multiarch floor for PowerPC32.
18893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18894 New file.
18895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18896 New file.
18897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18898 multiarch floorf for PowerPC32.
18899
35ae5b40
AZ
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18901 and ceilf multiarch implementations.
18902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18903 New file.
18904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18905 file.
18906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18907 multiarch ceil for PowerPC32.
18908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18909 New file.
18910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18911 file.
18912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18913 multiarch ceilf for PowerPC32.
18914
ae1a4cd9
AZ
18915 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18916 is defined.
18917 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18918 FINITEF is defined.
18919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18920 and finitef multiarch implementations.
18921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18922 New file.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18924 file.
18925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18926 multiarch finite for PowerPC32.
18927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18928 New file.
18929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18930 file: multiarch finitef for PowerPC32.
18931
64fffd65
AZ
18932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18933 and isinff multiarch implementations.
18934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18935 file.
18936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18937 file.
18938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18939 multiarch isinf for PowerPC32.
18940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18941 New file.
18942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18943 multiarch isinff for PowerPC32.
18944
8e4e7ba2
AZ
18945 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18946 alias when __isnan is defined.
18947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18948 and isnanf multiarch implementations.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18950 file.
18951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18952 file.
18953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18954 file.
18955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18956 file.
18957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18958 multiarch isnan for PowerPC32.
18959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18960 New file.
18961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18962 New file.
18963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18964 multiarch isnanf for PowerPC32.
18965
ddba588e
AZ
18966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18967 and sqrtf multiarch implementations.
18968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18969 file.
18970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18971 file.
18972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18973 multiarch sqrt for PowerPC32.
18974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18975 file.
18976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18977 file.
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18979 multiarch sqrtf for PowerPC32.
18980
0f96a2f0
AZ
18981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18982 and llroundf multiarch implementations.
18983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18984 New file.
18985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18986 New file.
18987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18988 New file.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18990 file: multiarch llround for PowerPC32.
18991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18992 file: multiarch llroundf for PowerPC32.
18993
c9b5d79e
AZ
18994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18995 multiarch PowerPC32 fpu implementations.
18996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18997 New file.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18999 New file.
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19001 multiarch llrint for PowerPC32.
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19003 New file.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19005 New file.
19006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19007 file.
19008
9cbb3aab
AZ
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19010
ea5a72f8
AZ
19011 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19012 file.
19013 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19014 file.
19015 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19016 file.
19017 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19018 multiarch wordcopy for PPC32.
19019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19020 wordcopy objects.
19021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19022 (__libc_ifunc_impl_list): Likewise.
19023 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19024 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19025 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19026 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19027 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19028 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19029
93be09e7
AZ
19030 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19032 file.
19033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19034 file.
19035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19036 file.
19037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19038 multiarch wcscpy for PPC32.
19039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
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/wcscpy.c: Adjust to use
19046 sysdeps/powerpc/power6/wcscpy.c.
19047
bb04e529
AZ
19048 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19050 file.
19051 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19052 file.
19053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19054 file.
19055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19056 multiarch wcsrchr for PPC32.
19057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19058 multiarch objects.
19059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19060 (__libc_ifunc_impl_list): Likewise.
19061 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19062 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19063 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19064 sysdeps/powerpc/power6/wcsrchr.c.
19065
05b5cd1c
AZ
19066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19067 file.
19068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19069 file.
19070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19072 multiarch wcschr for PPc32.
19073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19074 multiarch objects.
19075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19076 (__libc_ifunc_impl_list): Likewise.
19077 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19078 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19079 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19080 sysdeps/powerpc/power6/wcschr.c.
19081
ba964147
AZ
19082 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19083 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19084 file.
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19086 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19087 file: multiarch strchr for PPC32.
19088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19089 multiarch objects.
19090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19091 (__libc_ifunc_impl_list): Likewise.
19092
31c81aaa
AZ
19093 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19094 name.
19095 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19096 file.
19097 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19098 file.
19099 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19100 multiarch strchrnul for PPC32.
19101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19102 multiarch objects.
19103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19104 (__libc_ifunc_impl_list): Likewise.
19105
0d0607d9
AZ
19106 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19107 file.
19108 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19109 multiarch strncasecmp for PPC32.
19110 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19111 file.
19112 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19113 multiarch strncasecmp_l for PPC32.
19114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19115 strncasecmp multiarch objects.
19116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19117 (__libc_ifunc_impl_list): Likewise.
19118
4dfd5c86
AZ
19119 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19120 file.
19121 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19122 multiarch strncasecmp for PPC32.
19123 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19124 New file.
19125 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19126 multiarch strcasecmp_l for PPC32.
19127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19128 multiarch objects.
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19130 (__libc_ifunc_impl_list): Likewise.
19131
a19e01a3
AZ
19132 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19133 file.
19134 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19135 file.
19136 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19137 multiarch strncmp for PPC32.
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19139 multiarch objects.
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19141 (__libc_ifunc_impl_list): Likewise.
19142
ae9cf7a2
AZ
19143 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19144 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19145 file.
19146 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19149 multiarch objects.
19150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19151 (__libc_ifunc_impl_list): Likewise.
19152
3148bb7d
AZ
19153 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19154 file.
19155 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19156 file.
19157 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19159 multiarch objects.
19160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19161 (__libc_ifunc_impl_list): Likewise.
19162
7af8b946
AZ
19163 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19164 file.
19165 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19166 file.
19167 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19168 multiarch rawmemchr for PPC32.
19169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19170 multiarch objects.
19171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19172 (__libc_ifunc_impl_list): Likewise.
19173
03a6aa6a
AZ
19174 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19175 file.
19176 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19177 file.
19178 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19179 file: memrchr multiarch for PPC32.
19180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19181 multiarch objects.
19182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19183 (__libc_ifunc_impl_list): Likewise.
19184
1c62e6d9
AZ
19185 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19187 file.
19188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19190 multiarch memchr for PPC32.
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19192 multiarch objects.
19193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19194 (__libc_ifunc_impl_list): Likewise.
19195
87da8bdb
AZ
19196 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19197 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19198 file.
19199 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19200 file.
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19202 file: multiarch mempcpy for PPC32.
19203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19204 multiarch objects.
19205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19206 (__libc_ifunc_impl_list): Likewise.
19207
20ed4714
AZ
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19209 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19210 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19211 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19212 multiarch bzero for PPC32.
19213 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19214 file.
19215 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19216 file.
19217 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19218 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19219 file: multiarch memset for PPC32.
19220 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19222 memset multiarch objects.
19223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19224 (__libc_ifunc_impl_list): Likewise.
19225
ab3e3a46
AZ
19226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19227 file.
19228 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19230 memcmp for PPC32.
19231 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19233 multiarch objects.
19234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19235 (__libc_ifunc_impl_list): Likewise.
19236
930de6f0
AZ
19237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19238 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19239 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19240 file.
19241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19242 file.
19243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19244 file.
19245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19246 multiarch memcpy for PPC32.
19247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19248 multiarch objects.
19249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19250 (__libc_ifunc_impl_list): Likewise.
19251
4c628e00
AZ
19252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19253 support multiarch for POWER/PPC32.
19254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19255 Likewise.
19256 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19258 Implies file to make multiarch folder appers before the fpu and
19259 default folder for power4 configuration.
19260
f4479220
SP
192612013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19262
19263 * scripts/bench.pl: Append volatile keyword to type.
19264
8517800f
KK
192652013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19266
19267 * sysdeps/sh/sotruss-lib.c: New file.
19268 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19269
180138f1
AZ
192702013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19271
19272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19273
bbf37bdc
JM
192742013-12-05 Joseph Myers <joseph@codesourcery.com>
19275
e47cc4e0
JM
19276 [BZ #6810]
19277 * math/w_tgamma.c: Include <errno.h>.
19278 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19279 * math/w_tgammaf.c: Include <errno.h>.
19280 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19281 * math/w_tgammal.c: Include <errno.h>.
19282 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19283 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19284 underflow. Add more tgamma tests.
19285 * math/auto-libm-test-out: Regenerated.
19286 * sysdeps/i386/fpu/libm-test-ulps: Update.
19287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19288
bbf37bdc
JM
19289 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19290 sin, sinh, tan, tanh, tgamma, y0 and y1.
19291 * math/auto-libm-test-out: Regenerated.
19292 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19293 (TEST_COND_x86): Likewise.
19294 (M_E2l): Remove macro.
19295 (M_E3l): Likewise.
19296 (M_2_SQRT_PIl): Likewise.
19297 (M_SQRT_PIl): Likewise.
19298 (M_1_DIV_El): Likewise.
19299 (log_test_data): Use AUTO_TESTS_f_f.
19300 (log10_test_data): Likewise.
19301 (log1p_test_data): Likewise.
19302 (log2_test_data): Likewise.
19303 (sin_test_data): Likewise.
19304 (sin_tonearest_test_data): Likewise.
19305 (sin_towardzero_test_data): Likewise.
19306 (sin_downward_test_data): Likewise.
19307 (sin_upward_test_data): Likewise.
19308 (sinh_test_data): Likewise.
19309 (sinh_tonearest_test_data): Likewise.
19310 (sinh_towardzero_test_data): Likewise.
19311 (sinh_downward_test_data): Likewise.
19312 (sinh_upward_test_data): Likewise.
19313 (tan_test_data): Likewise.
19314 (tan_tonearest_test_data): Likewise.
19315 (tan_towardzero_test_data): Likewise.
19316 (tan_downward_test_data): Likewise.
19317 (tan_upward_test_data): Likewise.
19318 (tanh_test_data): Likewise.
19319 (tgamma_test_data): Likewise.
19320 (y0_test_data): Likewise.
19321 (y1_test_data): Likewise.
19322 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19323 (special_real_inputs): Add pi/4.
19324 * sysdeps/i386/fpu/libm-test-ulps: Update.
19325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19326
eb5ad6b9
AZ
193272013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19328
19329 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19330 "longjmp_target" static probes.
19331 (__longjmp): Rename to __longjmp_symbol.
19332 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19333 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19334 on which longjmp to generate.
19335 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19336 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19337 probe.
19338 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19339 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19340 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19341 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19342 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19343 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19345 __longjmp_symbol based on which __longjmp to generate.
19346 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19347 probe.
19348 (setjmp): Rename to setjmp_symbol.
19349 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19350 (_setjmp): Rename to _setjmp_symbol.
19351 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19352 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19353 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19354 which setjmp to generate.
19355 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19356 "longjmp_target" static probes.
19357
d136c6dc
SP
193582013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19359
9298ecba
SP
19360 * benchtests/README: Add note about output arguments.
19361 * benchtests/bench-sincos.c: Remove file.
19362 * benchtests/sincos-inputs: New file.
19363 * scripts/bench.pl: Identify output arguments and define
19364 static variables for them.
19365
232983e9
SP
19366 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19367
d136c6dc
SP
19368 [BZ #15941]
19369 * Makefile (INSTALL): Add install-plain.texi as the primary
19370 dependency.
19371 * manual/install-plain.texi: New file.
19372 * manual/install.texi: Include node directive only for
19373 non-plaintext output.
19374
699ff837
JM
193752013-12-04 Joseph Myers <joseph@codesourcery.com>
19376
ab07cea8
JM
19377 * stdlib/longlong.h: Update from GCC.
19378
699ff837
JM
19379 [BZ #6807]
19380 [BZ #15901]
19381 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19382 * math/w_j0f.c (y0f): Likewise.
19383 * math/w_j0l.c (__y0l): Likewise.
19384 * math/w_j1.c (y1): Likewise.
19385 * math/w_j1f.c (y1f): Likewise.
19386 * math/w_j1l.c (__y1l): Likewise
19387 * math/w_jn.c (yn): Likewise.
19388 * math/w_jnf.c (ynf): Likewise.
19389 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19390 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19391 value for Bessel function domain errors outside _SVID_ mode.
19392 Adjust sign of return value for yn (negative integer, 0).
19393 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19394 by zero in return for negative x and set sign appropriately for
19395 negative n.
19396 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19397 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19398 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19399 expectations in error cases.
19400 (y1_test_data): Likewise.
19401 (yn_test_data): Likewise.
19402 * sysdeps/i386/fpu/libm-test-ulps: Update.
19403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19404
5b118558
UW
194052013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19406
19407 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19408 "64" to "64-v1". Add "64-v2".
19409 (abi-64-options): Rename to ...
19410 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19411 (abi-64-condition): Rename to ...
19412 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19413 (abi-64-ld-soname): Rename to ...
19414 (abi-64-v1-ld-soname): ... this.
19415 (abi-64-v2-options): Define.
19416 (abi-64-v2-condition): Likewise.
19417 (abi-64-v2-ld-soname): Likewise.
19418 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19419 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19423
61cd8fe4
UW
194242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19425 Alan Modra <amodra@gmail.com>
19426
19427 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19428 New versions for use with the ELFv2 ABI.
19429 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19430 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19431 declaration.
19432 (struct La_ppc64v2_retval): Likewise.
19433 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19434 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19435 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19436 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19437 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19438 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19439 Do not save or restore CR.
19440 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19441 (_dl_profile_resolve): Do no save or restore CR. Support extended
19442 return values for ELFv2 ABI. Fix location of FPR return registers.
19443 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19444 updated values for _CALL_ELF == 2.
19445 (La_regs, La_retval, int_retval): Likewise.
19446
8b8a692c
UW
194472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19448
19449 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19450 (FRAME_MIN_SIZE_PARM): Likewise.
19451 (FRAME_BACKCHAIN): Likewise.
19452 (FRAME_CR_SAVE): Likewise.
19453 (FRAME_LR_SAVE): Likewise.
19454 (FRAME_TOC_SAVE): Likewise.
19455 (FRAME_PARM_SAVE): Likewise.
19456 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19457 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19458 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19459 (call_mcount_parm_offset): New macro.
19460 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19461 (PROF): Use symbolic stack frame offsets.
19462 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19463 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19464 Redefine in terms of FRAME_MIN_SIZE.
19465 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19466 (_dl_profile_resolve): Likewise. Update comment.
19467 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19468 symbols stack frame offsets.
19469 (__sigsetjmp): Likewise.
19470 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19471 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19472 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19473 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19474
19475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19476 (FRAME_BACKCHAIN): Remove.
19477 (FRAME_CR_SAVE): Likewise.
19478 (FRAME_LR_SAVE): Likewise.
19479 (FRAME_COMPILER_DW): Likewise.
19480 (FRAME_LINKER_DW): Likewise.
19481 (FRAME_TOC_SAVE): Likewise.
19482 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
19483 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19484 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19485 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
19486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19487 (CHECK_SP): Use symbolic stack frame offsets.
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19489 zone" instead of caller's parameter save area for temp storage.
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19491 Likewise. Also, use symbolic stack frame offsets.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19493 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19494 our own stack frame instead of the caller's.
19495 (__socket): Use symbolic stack frame offsets.
19496
122b66de
UW
194972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19498 Alan Modra <amodra@gmail.com>
19499
19500 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19501 Define.
57f41c40
AS
19502 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19503 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
19504 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19505 New function.
19506 (elf_machine_fixup_plt): Call it.
19507 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19508 reloc arguments.
19509 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
19510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19511 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
19512 r2 before calling target.
19513
696caf1d
UW
195142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19515 Alan Modra <amodra@gmail.com>
19516
19517 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19518 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19519 versions of macros to support ELFv2 ABI.
19520 (LOCALENTRY): New macro.
19521 (ENTRY, EALIGN): Use it.
19522 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19523 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19524 fall through into ENTRY entry point.
19525 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19526 Only define if _CALL_ELF != 2.
19527
19528 (elf_machine_matches_host): Verify ABI version matches.
19529 (RTLD_START): Use LOCALENTRY.
19530 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19531 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19532 (PLT_ENTRY_WORDS): New macro.
19533 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19534 (elf_machine_runtime_setup): Support ELFv2 ABI.
19535 (elf_machine_fixup_plt): Likewise.
19536 (elf_machine_plt_conflict): Likewise.
19537 (resolve_ifunc): Likewise.
19538 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19539 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19540 Likewise.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19542 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19544 (makecontext): Support ELFv2 ABI.
19545 * elf/elf.h (EF_PPC64_ABI): Define.
19546
d31beafa
UW
195472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19548
57f41c40
AS
19549 * sysdeps/powerpc/powerpc64/sysdep.h
19550 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19551 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19552 (ENTRY) [ASSEMBLER]: ... but instead here ...
19553 (EALIGN) [ASSEMBLER]: ... and here.
19554 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19555 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19556 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
19557 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19558 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
19559 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19560 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
19561 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19563 Use PPC64_LOAD_FUNCPTR.
19564
b525166b
UW
19565 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19566
7ec07d9a
AM
195672013-12-04 Alan Modra <amodra@gmail.com>
19568
19569 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19570 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19571 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19572 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19573
19574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19575 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19576 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19577 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19578 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19579 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19580
5162e7dd
UW
195812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19582
19583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19584 (__makecontext): Fix incorrect CFI when backtracing out of
19585 context created via makecontext.
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19587 (__setcontext): Fix incorrect CFI during switch to new context.
19588 (__novec_setcontext): Likewise.
19589
19e3372b
OB
195902013-12-04 Ondřej Bílka <neleai@seznam.cz>
19591
19592 [BZ #4772]
19593 * time/strptime_l.c (__strptime_internal): Allow modifiers
19594 in strptime.
19595 * time/tst-strptime.c (day_tests): Add testcase.
19596
ecaf142d
SP
195972013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19598
19599 * scripts/bench.pl: Skip over blank lines.
19600
fbf964ae
PE
196012013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19602
19603 [BZ #926]
19604 * manual/time.texi (Calendar Time): Clarify what timezone functions
19605 use.
19606
fa60a674
AZ
196072013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19608
19609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19610
d674f0ef
OB
196112013-12-04 Ondřej Bílka <neleai@seznam.cz>
19612
19613 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19614 implementation.
19615 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19616 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19617 * debug/memset_chk.c (__memset_chk): Likewise.
19618 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19619 * debug/strncpy_chk.c: Likewise.
19620
17dea188
JM
196212013-12-03 Joseph Myers <joseph@codesourcery.com>
19622
749008ff
JM
19623 [BZ #15268]
19624 [BZ #15425]
19625 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19626 (__ieee754_exp): For possibly underflowing results, check size of
19627 result and force underflow exception if required.
19628 * math/auto-libm-test-in: Add more tests of exp.
19629 * math/auto-libm-test-out: Regenerated.
19630 * sysdeps/i386/fpu/libm-test-ulps: Update.
19631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19632
17dea188
JM
19633 [BZ #16283]
19634 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19635 * math/w_exp2f.c (__exp2f): Likewise.
19636 * math/w_exp2l.c (__exp2l): Likewise.
19637 * math/auto-libm-test-in: Do not allow missing errno on exp2
19638 underflow.
19639 * math/auto-libm-test-out: Regenerated.
19640
b20de2c3
OB
196412013-12-03 Ondřej Bílka <neleai@seznam.cz>
19642
19643 [BZ #16274]
19644 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19645 handle filename validation.
19646 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19647 (do_open): Delete.
19648
d8e2dbe3
JM
196492013-12-03 Joseph Myers <joseph@codesourcery.com>
19650
34e16df5
JM
19651 [BZ #6786]
19652 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19653 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19654 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19655 <float.h>.
19656 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19657 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19658 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19660 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19661 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19662 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19663 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19664 Add more erfc tests.
19665 * math/auto-libm-test-out: Regenerated.
19666 * sysdeps/i386/fpu/libm-test-ulps: Update.
19667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19668
d8e2dbe3
JM
19669 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19670 exp2, expm1, j0 and j1.
19671 * math/auto-libm-test-out: Regenerated.
19672 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19673 (erfc_test_data): Likewise.
19674 (exp_test_data): Likewise.
19675 (exp_tonearest_test_data): Likewise.
19676 (exp_towardzero_test_data): Likewise.
19677 (exp_downward_test_data): Likewise.
19678 (exp_upward_test_data): Likewise.
19679 (exp10_test_data): Likewise.
19680 (exp2_test_data): Likewise.
19681 (expm1_test_data): Likewise.
19682 (j0_test_data): Likewise.
19683 (j1_test_data): Likewise.
19684 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19685 (input_flag_type): Add flag_xfail_rounding.
19686 (input_flags): Add xfail-rounding.
19687 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19688 (output_for_one_input_case): Handle flag_xfail_rounding.
19689 * sysdeps/i386/fpu/libm-test-ulps: Update.
19690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19691
18d14251
AJ
196922013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19693
3d2e6075 19694 [BZ #16289]
18d14251
AJ
19695 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19696 division by 0.
19697
520d437b
SP
196982013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19699
19700 [BZ #16195]
19701 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19702 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19703 (STAP_PROBE0): New macro.
19704 (STAP_PROBE1): Likewise.
19705 (STAP_PROBE2): Likewise.
19706 (STAP_PROBE3): Likewise.
19707 (STAP_PROBE4): Likewise.
19708
416e0145
OB
197092013-12-02 Ondřej Bílka <neleai@seznam.cz>
19710
19711 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19712
9d17796a
SE
197132013-12-02 Steve Ellcey <sellcey@mips.com>
19714
19715 * benchtests/Makefile (bench): Add sqrt.
19716 (LDLIBS-bench-sqrt): New.
19717 * benchtests/sqrt-input: New.
19718
f524d6a8
PS
197192013-12-02 Pavel Simerda <psimerda@redhat.com>
19720
639a0ef8
PS
19721 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19722 (GAIH_EAI): Likewise.
19723 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19724 (gaih_inet): Likewise.
19725 (getaddrinfo): Don't use GAIH_EAI.
19726
f524d6a8
PS
19727 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19728 (struct gaih): Remove definition.
19729
df3aedaf
SP
197302013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19731
19732 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19733 Use HERRNOP directly.
19734
1ab19dec
AZ
197352013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19736
b42ad38d 19737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 19738
176b0c79
JM
197392013-11-30 Joseph Myers <joseph@codesourcery.com>
19740
19741 * math/gen-auto-libm-tests.c (test_functions): Add more
19742 single-argument functions.
19743 (special_fill_pi_2): New function.
19744 (special_fill_minus_pi_2): Likewise.
19745 (special_fill_pi_6): Likewise.
19746 (special_fill_minus_pi_6): Likewise.
19747 (special_fill_pi_3): Likewise.
19748 (special_fill_2pi_3): Likewise.
19749 (special_fill_e): Likewise.
19750 (special_fill_1_e): Likewise.
19751 (special_fill_e_minus_1): Likewise.
19752 (special_real_inputs): Add more special inputs.
19753 (output_for_one_input_case): Do not require ERANGE on underflow to
19754 zero if round-to-nearest result does not underflow to zero, unless
19755 exact results required.
19756 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19757 atan, atanh, cbrt, cos and cosh.
19758 * math/auto-libm-test-out: Regenerated.
19759 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19760 (acos_tonearest_test_data): Likewise.
19761 (acos_towardzero_test_data): Likewise.
19762 (acos_downward_test_data): Likewise.
19763 (acos_upward_test_data): Likewise.
19764 (acosh_test_data): Likewise.
19765 (asin_test_data): Likewise.
19766 (asin_tonearest_test_data): Likewise.
19767 (asin_towardzero_test_data): Likewise.
19768 (asin_upward_test_data): Likewise.
19769 (asinh_test_data): Likewise.
19770 (atan_test_data): Likewise.
19771 (atanh_test_data): Likewise.
19772 (cbrt_test_data): Likewise.
19773 (cos_test_data): Likewise.
19774 (cos_tonearest_test_data): Likewise.
19775 (cos_towardzero_test_data): Likewise.
19776 (cos_downward_test_data): Likewise.
19777 (cos_upward_test_data): Likewise.
19778 (cosh_test_data): Likewise.
19779 (cosh_tonearest_test_data): Likewise.
19780 (cosh_towardzero_test_data): Likewise.
19781 (cosh_downward_test_data): Likewise.
19782 (cosh_upward_test_data): Likewise.
19783 * sysdeps/i386/fpu/libm-test-ulps: Update.
19784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19785
ffb536d0
JM
197862013-11-29 Joseph Myers <joseph@codesourcery.com>
19787
2a77a467
JM
19788 [BZ #6787]
19789 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19790 * math/w_exp10f.c (__exp10f): Likewise.
19791 * math/w_exp10l.c (__exp10l): Likewise.
19792 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19793 errno settings in existing tests.
19794
ea3bc4e8
JM
19795 [BZ #14032]
19796 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19797 precision control set to double precision.
19798 * sysdeps/i386/fpu/w_sqrt.c: New file.
19799 * math/auto-libm-test-in: Add more tests.
19800 * math/auto-libm-test-out: Update.
19801
0712c9d8
JM
19802 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19803 (sqrt_test_tonearest): New function.
19804 (sqrt_towardzero_test_data): New variable.
19805 (sqrt_test_towardzero): New function.
19806 (sqrt_downward_test_data): New variable.
19807 (sqrt_test_downward): New function.
19808 (sqrt_upward_test_data): New variable.
19809 (sqrt_test_upward): New function.
19810 (main): Call the new functions.
19811
ffb536d0
JM
19812 * math/gen-auto-libm-tests.c: New file.
19813 * math/auto-libm-test-in: Likewise.
19814 * math/auto-libm-test-out: New generated file.
19815 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19816 variables.
19817 (%beautify): Add generated representations of zero.
19818 (top level): Set $auto_input and call parse_auto_input.
19819 (beautify): Remove trailing "f" from hex float constants.
19820 (parse_args): Handle XFAIL_TEST.
19821 (convert_condition): New function.
19822 (or_value): Likewise.
19823 (or_cond_value): Likewise.
19824 (generate_testfile): Handle AUTO_TESTS_* lines.
19825 (parse_auto_input): New function.
19826 * math/libm-test.inc (XFAIL_TEST): New macro.
19827 (ERRNO_UNCHANGED): Update value.
19828 (ERRNO_EDOM): Likewise.
19829 (ERRNO_ERANGE): Likewise.
19830 (IGNORE_RESULT): Likewise.
19831 (TEST_COND_flt_32): New macro.
19832 (TEST_COND_dbl_64): Likewise.
19833 (TEST_COND_ldbl_96_intel): Likewise.
19834 (TEST_COND_ldbl_96_m68k): Likewise.
19835 (TEST_COND_ldbl_128): Likewise.
19836 (TEST_COND_ldbl_128ibm): Likewise.
19837 (TEST_COND_long32): Likewise.
19838 (TEST_COND_long64): Likewise.
19839 (TEST_COND_before_rounding): Likewise.
19840 (TEST_COND_after_rounding): Likewise.
19841 (enable_test): Handle XFAIL_TEST flag.
19842 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19843 with finite results.
19844 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19845 auto-libm-test-out.
19846
acd98a8e
AK
198472013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19848 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19849
19850 [BZ #16214]
19851 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19852 __tls_get_addr_internal instead of __tls_get_offset in order to
19853 avoid GOT pointer dependency. Make rtld export
19854 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19855 __tls_get_addr since we are a __tls_get_offset platform.
19856 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19857 GOT pointer being set up before.
19858 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19859
3c1c46a6
JM
198602013-11-28 Joseph Myers <joseph@codesourcery.com>
19861
7475aef5
JM
19862 * manual/math.texi (Errors in Math Functions): Document accuracy
19863 goals.
19864
8bca7cd8
JM
19865 [BZ #15004]
19866 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19867 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19868 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19869 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19870 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19871 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19872 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19873 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19874 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19875 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19879 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19880 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19881 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19882
91a1f3fe
JM
19883 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19884 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19885 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19886 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19887 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19888 Likewise.
19889 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19890 Likewise.
19891 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19892 Likewise.
19893 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19894 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19895 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19896 atomic-feupdateenv and flt-rounds.
19897 * sysdeps/powerpc/nofpu/Versions (libc): Add
19898 __atomic_feholdexcept, __atomic_feclearexcept,
19899 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19900 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19901 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19902 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19903 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19904 here.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19906 Update.
19907
c5df7609
JM
19908 * manual/arith.texi (FP Exceptions): Document that exceptions may
19909 not be raised when matherr is used.
19910 (Math Error Reporting): Document overflow in directed rounding
19911 modes. Document that errno may not be set when finite values are
19912 returned on overflow. Document intent to set errno on underflow
19913 only for underflow to zero.
19914
3c1c46a6
JM
19915 [BZ #16271]
19916 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19917 round-to-nearest then adjust result for other rounding modes.
19918 * include/fenv.h (fegetround): Use libm_hidden_proto.
19919 * math/fegetround.c (fegetround): Use libm_hidden_def.
19920 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19921 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19922 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19923 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19924 Likewise.
19925 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19926 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19927 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19928 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19929
5a4c6d53
SP
199302013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19931
19932 [BZ #16077]
19933 * nss/Versions (libnss_files): Add
19934 _nss_files_gethostbyname3_r.
19935 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19936 New function.
19937 (HOST_DB_LOOKUP): Remove macro.
19938 (_nss_files_gethostbyname_r): Implement function without the
19939 HOST_DB_LOOKUP macro.
19940 (_nss_files_gethostbyname2_r): Likewise.
19941
897b98ba
OB
199422013-11-28 Ondřej Bílka <neleai@seznam.cz>
19943
19944 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19945
6f476861
UB
199462013-11-26 Uros Bizjak <ubizjak@gmail.com>
19947
19948 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19949 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19950 warning.
19951
bd12ab55
AZ
199522013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19953
19954 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19955 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19956 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19957 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19958 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19959 __fe_nomask_env_priv and attribute_hidden.
19960 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19961 (libc_feupdateenv_test_ppc): Likewise.
19962 (libc_feresetround_ppc): Likewise.
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19964 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19965 compat_symbol macro.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19967 (__fe_nomask_env): Likewise.
19968 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19969
52bb6543
OB
199702013-11-26 Ondřej Bílka <neleai@seznam.cz>
19971
19972 * string/Makefile: Remove ifunc tests.
19973 * string/test-string.h: Define TEST_IFUNC.
19974 * string/test-bcopy-ifunc.c: Remove.
19975 * string/test-bzero-ifunc.c: Likewise.
19976 * string/test-memccpy-ifunc.c: Likewise.
19977 * string/test-memchr-ifunc.c: Likewise.
19978 * string/test-memcmp-ifunc.c: Likewise.
19979 * string/test-memcpy-ifunc.c: Likewise.
19980 * string/test-memmem-ifunc.c: Likewise.
19981 * string/test-memmove-ifunc.c: Likewise.
19982 * string/test-mempcpy-ifunc.c: Likewise.
19983 * string/test-memrchr-ifunc.c: Likewise.
19984 * string/test-memset-ifunc.c: Likewise.
19985 * string/test-rawmemchr-ifunc.c: Likewise.
19986 * string/test-stpcpy-ifunc.c: Likewise.
19987 * string/test-stpncpy-ifunc.c: Likewise.
19988 * string/test-strcasecmp-ifunc.c: Likewise.
19989 * string/test-strcasestr-ifunc.c: Likewise.
19990 * string/test-strcat-ifunc.c: Likewise.
19991 * string/test-strchr-ifunc.c: Likewise.
19992 * string/test-strchrnul-ifunc.c: Likewise.
19993 * string/test-strcmp-ifunc.c: Likewise.
19994 * string/test-strcpy-ifunc.c: Likewise.
19995 * string/test-strcspn-ifunc.c: Likewise.
19996 * string/test-strlen-ifunc.c: Likewise.
19997 * string/test-strncasecmp-ifunc.c: Likewise.
19998 * string/test-strncat-ifunc.c: Likewise.
19999 * string/test-strncmp-ifunc.c: Likewise.
20000 * string/test-strncpy-ifunc.c: Likewise.
20001 * string/test-strnlen-ifunc.c: Likewise.
20002 * string/test-strpbrk-ifunc.c: Likewise.
20003 * string/test-strrchr-ifunc.c: Likewise.
20004 * string/test-strspn-ifunc.c: Likewise.
20005 * string/test-strstr-ifunc.c: Likewise.
20006
ab260039 200072013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20008
20009 * benchtests/Makefile: Remove ifunc tests.
20010 * benchtests/bench-string.h: Define TEST_IFUNC.
20011 * benchtests/bench-bcopy-ifunc.c: Remove.
20012 * benchtests/bench-bzero-ifunc.c: Likewise.
20013 * benchtests/bench-memccpy-ifunc.c: Likewise.
20014 * benchtests/bench-memchr-ifunc.c: Likewise.
20015 * benchtests/bench-memcmp-ifunc.c: Likewise.
20016 * benchtests/bench-memcpy-ifunc.c: Likewise.
20017 * benchtests/bench-memmem-ifunc.c: Likewise.
20018 * benchtests/bench-memmove-ifunc.c: Likewise.
20019 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20020 * benchtests/bench-memrchr-ifunc.c: Likewise.
20021 * benchtests/bench-memset-ifunc.c: Likewise.
20022 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20023 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20024 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20025 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20026 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20027 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20028 * benchtests/bench-strcat-ifunc.c: Likewise.
20029 * benchtests/bench-strchr-ifunc.c: Likewise.
20030 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20031 * benchtests/bench-strcmp-ifunc.c: Likewise.
20032 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20033 * benchtests/bench-strcpy-ifunc.c: Likewise.
20034 * benchtests/bench-strcspn-ifunc.c: Likewise.
20035 * benchtests/bench-strlen-ifunc.c: Likewise.
20036 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20037 * benchtests/bench-strncat-ifunc.c: Likewise.
20038 * benchtests/bench-strncmp-ifunc.c: Likewise.
20039 * benchtests/bench-strncpy-ifunc.c: Likewise.
20040 * benchtests/bench-strnlen-ifunc.c: Likewise.
20041 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20042 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20043 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20044 * benchtests/bench-strspn-ifunc.c: Likewise.
20045 * benchtests/bench-strstr-ifunc.c: Likewise.
20046
200472013-11-26 Ondřej Bílka <neleai@seznam.cz>
20048
ab260039
OB
20049 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20050
d1d9eaf4 200512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20052
d1d9eaf4
OB
20053 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20054 * rt/aio.h: Likewise.
20055 * sysdeps/gnu/bits/utmp.h: Likewise.
20056 * sysdeps/gnu/bits/utmpx.h: Likewise.
20057 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20058 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20059 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20060 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20061 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20062 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20063 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20064 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20065 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20066 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20067 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20068 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20069 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20071 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20072 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20073 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20074 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20075 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20076 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20077 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20078 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20079 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20080 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20081 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20083 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20084 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20085 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20086 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20087 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20088 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20089 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20090 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20091 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20092 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20093 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20094 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20095 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20096 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20097 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20098 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20099
a7624ed9
CD
201002013-11-25 Carlos O'Donell <carlos@redhat.com>
20101
20102 [BZ #16245]
20103 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20104 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20105
63cfe52b
JM
201062013-11-25 Joseph Myers <joseph@codesourcery.com>
20107
20108 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20109 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20110 Likewise.
20111
41e8926a
AZ
201122013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20113
20114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20115 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20116 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20117 (__fesetround): Remove define.
20118 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20119 rounding and exceptions handling.
20120 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20121 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20122 (__fe_nomask_env): Likewise.
20123 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20124 __fegetround instead of fegetround.
20125 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20126 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20127
6851bd4d
RM
201282013-11-21 Roland McGrath <roland@hack.frob.com>
20129
070906ff
RM
20130 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20131 it's there.
20132
6851bd4d
RM
20133 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20134
84ae135d
MI
201352013-11-21 Meador Inge <meadori@codesourcery.com>
20136
20137 [BZ #11157]
20138 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20139 (encrypt_r): Likewise.
20140 * malloc/obstack.h (obstack_free): Likewise.
20141 * posix/unistd.h (encrypt): Likewise.
20142
daf75146
GM
201432013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20144
20145 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20146 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20147 DL_CALL_DT_FINI() that call the functions directly.
20148 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20149 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20150 * elf/dl-fini.c: Likewise.
20151
10ad46bc
OB
201522013-11-20 Ondřej Bílka <neleai@seznam.cz>
20153
20154 * malloc/hooks.c (memalign_check): Add alignment rounding.
20155 * malloc/malloc.c (_mid_memalign): New function.
20156 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20157 Implement by calling _mid_memalign.
20158 * manual/probes.texi (Memory Allocation Probes): Remove
20159 memory_valloc_retry and memory_pvalloc_retry.
20160
f3fd2628
SP
201612013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20162
4712799f
SP
20163 * locale/programs/locarchive.c (open_archive): Add const
20164 qualifier to ARCHIVEFNAME and copy default fname to
20165 DEFAULT_FNAME.
20166
0417b20f
SP
20167 [BZ #15601]
20168 * libio/tst-widetext.input: Rename Oriya to Odia.
20169 * locale/iso-639.def: Likewise.
20170
f3fd2628
SP
20171 * manual/probes.texi (Mathematical Function Probes): Add
20172 documentation for sin, cos, asin and acos probes.
20173 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20174 (__sin32): Add slowasin probe.
20175 (__cos32): Add slowacos probe.
20176 (__mpsin): Add slowsin probe.
20177 (__mpcos): Add slowcos probe.
20178
73c1ce4f
JM
201792013-11-19 Joseph Myers <joseph@codesourcery.com>
20180
20181 [BZ #15483]
20182 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20183 thread-local __sim_exceptions_thread and global
20184 __sim_exceptions_global.
20185 (__sim_disabled_exceptions): Change to thread-local
20186 __sim_disabled_exceptions_thread and global
20187 __sim_disabled_exceptions_global.
20188 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20189 and global __sim_round_mode_global.
20190 (__simulate_exceptions): Use thread-local floating-point state and
20191 set global state from it as needed.
20192 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20193 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20194 __sim_round_mode_thread.
20195 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20196 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20197 and global __sim_exceptions_global.
20198 (__sim_disabled_exceptions): Change to thread-local
20199 __sim_disabled_exceptions_thread and global
20200 __sim_disabled_exceptions_global.
20201 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20202 and global __sim_round_mode_global.
20203 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20204 (SIM_SET_GLOBAL): Likewise.
20205 * sysdeps/powerpc/soft-fp/sfp-machine.h
20206 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20207 __sim_round_mode_thread.
20208 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20209 __sim_disabled_exceptions_thread.
20210 (__sim_exceptions): Change to __sim_exceptions_thread.
20211 (__sim_disabled_exceptions): Change to
20212 __sim_disabled_exceptions_thread.
20213 (__sim_round_mode): Change to __sim_round_mode_thread.
20214 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20215 thread-local floating-point state and set global state from it as
20216 needed.
20217 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20218 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20219 (__sim_disabled_exceptions): Remove extern declaration.
20220 (feenableexcept): Use thread-local floating-point state and set
20221 global state from it as needed.
20222 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20223 extern declaration.
20224 (__sim_disabled_exceptions): Likewise.
20225 (__sim_round_mode): Likewise.
20226 (__fegetenv): Use thread-local floating-point state.
20227 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20228 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20229 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20230 floating-point state and set global state from it as needed.
20231 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20232 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20233 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20234 Likewise.
20235 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20236 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20237 Likewise.
20238 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20239 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20240 Use __sim_round_mode_thread.
20241 * math/test-fenv-tls.c: New file.
20242 * math/Makefile (tests): Add test-fenv-tls.
20243 ($(objpfx)test-fenv-tls): Depend on
20244 $(common-objpfx)nptl/libpthread.so.
20245
b5449b12
AS
202462013-11-19 Andreas Schwab <schwab@suse.de>
20247
20248 * locale/programs/locale.c (show_info): Decode wordarray elements.
20249 * locale/categories.def (LC_MONETARY): Add element for
20250 _NL_MONETARY_CRNCYSTR.
20251 * locale/C-monetary.c (conversion_rate): New variable.
20252 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20253 element.
20254
e186536b
CM
202552013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20256
20257 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20258 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20259
5c349950
PP
202602013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20261
20262 * elf/Makefile (tst-auxv): New test.
20263 * elf/tst-auxv.c: New
20264 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20265
699df45b
JM
202662013-11-18 Joseph Myers <joseph@codesourcery.com>
20267
20268 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20269 (hidden_proto): Caller changed.
20270 (hidden_tls_proto): New macro.
20271 (libc_hidden_tls_proto): Likewise.
20272 (rtld_hidden_tls_proto): Likewise.
20273 (libm_hidden_tls_proto): Likewise.
20274 (libresolv_hidden_tls_proto): Likewise.
20275 (librt_hidden_tls_proto): Likewise.
20276 (libdl_hidden_tls_proto): Likewise.
20277 (libnss_files_hidden_tls_proto): Likewise.
20278 (libnsl_hidden_tls_proto): Likewise.
20279 (libnss_nisplus_hidden_tls_proto): Likewise.
20280 (libutil_hidden_tls_proto): Likewise.
20281
b7589107
OB
202822013-11-18 Ondřej Bílka <neleai@seznam.cz>
20283
20284 [BZ #10253]
20285 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20286 (decompose_rpath): Defer expansion to fillin_rpath.
20287 (_dl_init_paths): Pass linkmap to fillin_rpath.
20288
250c23bd
RS
202892013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20290
20291 * benchtests/Makefile: Add strsep.
20292 * benchtests/bench-strsep.c: New file: strsep benchtest.
20293 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20294
a7931fcf
AS
202952013-11-18 Andreas Schwab <schwab@suse.de>
20296
20297 * locale/programs/locale.c (show_info) [case byte]: Check for
20298 '\377' instead of '\177'.
20299 * locale/C-monetary.c (not_available): Always use "\377".
20300 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20301 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20302 detect unavailable sign_posn locale elements.
20303 * locale/localeconv.c (__localeconv): For grouping and
20304 mon_grouping handle "\177" and "\377" like no grouping.
20305 (INT_ELEM): New macro. Use it to set all numeric members.
20306 * locale/programs/ld-monetary.c (monetary_read)
20307 <tok_mon_grouping>: Normalize single -1 to the empty string.
20308 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20309 Likewise.
20310
728dab0e
OB
203112013-11-07 Ondřej Bílka <neleai@seznam.cz>
20312
20313 [BZ #16055]
20314 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20315 when we match (nil).
20316 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20317
66294491
JM
203182013-11-16 Joseph Myers <joseph@codesourcery.com>
20319
ce665817
JM
20320 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20321 (NO_TEST_INLINE): Update value.
20322 (ERRNO_UNCHANGED): Likewise.
20323 (ERRNO_EDOM): Likewise.
20324 (ERRNO_ERANGE): Likewise.
20325 (IGNORE_RESULT): Likewise.
20326 (check_float_internal): Check signs of NaN results if
20327 TEST_NAN_SIGN used.
20328 (check_complex): Pass TEST_NAN_SIGN flag through to second
20329 check_float_internal call.
20330 (copysign_test_data): Add tests with quiet NaNs as second
20331 argument. Use TEST_NAN_SIGN.
20332 (fabs_test_data): Add test of negative quiet NaN argument. Use
20333 TEST_NAN_SIGN.
20334 (signbit_test_data): Add tests of quiet NaN argument.
20335 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20336
ee1466a9
JM
20337 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20338 $ignore_result.
20339 (parse_args): Handle function results specified as IGNORE.
20340 * math/libm-test.inc (IGNORE_RESULT): New macro.
20341 (check_float_internal): Do not check numerical result if flag
20342 IGNORE_RESULT set.
20343 (check_complex): Pass through IGNORE_RESULT to second
20344 check_float_internal call.
20345 (check_int): Do not check numerical result if flag IGNORE_RESULT
20346 set.
20347 (check_long): Likewise.
20348 (check_bool): Likewise.
20349 (check_longlong): Likewise.
20350 (lrint_test_data): Add tests of infinite and NaN arguments.
20351 (lrint_tonearest_test_data): Likewise.
20352 (lrint_towardzero_test_data): Likewise.
20353 (lrint_downward_test_data): Likewise.
20354 (lrint_upward_test_data): Likewise.
20355 (llrint_test_data): Likewise.
20356 (llrint_tonearest_test_data): Likewise.
20357 (llrint_towardzero_test_data): Likewise.
20358 (llrint_downward_test_data): Likewise.
20359 (llrint_upward_test_data): Likewise.
20360 (lround_test_data): Likewise.
20361 (llround_test_data): Likewise.
20362
14407b7e
JM
20363 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20364 (ERRNO_UNCHANGED): Update value.
20365 (ERRNO_EDOM): Likewise.
20366 (ERRNO_ERANGE): Likewise.
20367 (NO_TEST_INLINE_FLOAT): New macro.
20368 (NO_TEST_INLINE_DOUBLE): Likewise.
20369 (enable_test): New function.
20370 (RUN_TEST_f_f): Check enable_test before running test.
20371 (RUN_TEST_2_f): Likewise.
20372 (RUN_TEST_fff_f): Likewise.
20373 (RUN_TEST_c_f): Likewise.
20374 (RUN_TEST_f_f1): Likewise.
20375 (RUN_TEST_fF_f1): Likewise.
20376 (RUN_TEST_fI_f1): Likewise.
20377 (RUN_TEST_ffI_f1): Likewise.
20378 (RUN_TEST_c_c): Likewise.
20379 (RUN_TEST_cc_c): Likewise.
20380 (RUN_TEST_f_i): Likewise.
20381 (RUN_TEST_f_i_tg): Likewise.
20382 (RUN_TEST_ff_i_tg): Likewise.
20383 (RUN_TEST_f_b): Likewise.
20384 (RUN_TEST_f_b_tg): Likewise.
20385 (RUN_TEST_f_l): Likewise.
20386 (RUN_TEST_f_L): Likewise.
20387 (RUN_TEST_fFF_11): Likewise.
20388 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20389 conditionals.
20390 (cosh_test_data): Likewise.
20391 (exp_test_data): Likewise.
20392 (expm1_test_data): Likewise.
20393 (hypot_test_data): Likewise.
20394 (pow_test_data): Likewise.
20395 (sinh_test_data): Likewise.
20396 (tanh_test_data): Likewise.
20397 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20398 flags argument.
20399
ca07f197
JM
20400 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20401 tests with quiet NaN input and output.
20402 (acosh_test_data): Likewise.
20403 (asin_test_data): Likewise.
20404 (asinh_test_data): Likewise.
20405 (atan_test_data): Likewise.
20406 (atanh_test_data): Likewise.
20407 (atan2_test_data): Likewise.
20408 (cbrt_test_data): Likewise.
20409 (cos_test_data): Likewise.
20410 (cosh_test_data): Likewise.
20411 (erf_test_data): Likewise.
20412 (erfc_test_data): Likewise.
20413 (exp_test_data): Likewise.
20414 (exp10_test_data): Likewise.
20415 (exp2_test_data): Likewise.
20416 (expm1_test_data): Likewise.
20417 (hypot_test_data): Likewise.
20418 (j0_test_data): Likewise.
20419 (j1_test_data): Likewise.
20420 (jn_test_data): Likewise.
20421 (lgamma_test_data): Likewise.
20422 (log_test_data): Likewise.
20423 (log10_test_data): Likewise.
20424 (log1p_test_data): Likewise.
20425 (log2_test_data): Likewise.
20426 (pow_test_data): Likewise.
20427 (scalb_test_data): Likewise.
20428 (sin_test_data): Likewise.
20429 (sincos_test_data): Likewise.
20430 (sinh_test_data): Likewise.
20431 (tan_test_data): Likewise.
20432 (tanh_test_data): Likewise.
20433 (tgamma_test_data): Likewise.
20434 (y0_test_data): Likewise.
20435 (y1_test_data): Likewise.
20436 (yn_test_data): Likewise.
20437
66294491
JM
20438 [BZ #16167]
20439 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20440 argument being NaN and avoid computations with second argument in
20441 that case.
20442 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20443 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20444 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20445
1820b143
CL
204462013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20447
20448 * locale/iso-639.def: Add Chitwani Tharu (the).
20449
714bd261
AS
204502013-11-14 Andreas Schwab <schwab@suse.de>
20451
20452 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20453 word instead of empty string.
20454
7ab44563
AZ
204552013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20456
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20458 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20460 (__fe_nomask_env): Likewise.
20461
e8470ea2
SE
204622013-11-13 Steve Ellcey <sellcey@mips.com>
20463
20464 * benchtests/bench-timing.h: Include time.h.
20465
17c1d9f0
L
204662013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20467
20468 [BZ #15997]
20469 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20470 to 3.4.0 for x32.
20471 * sysdeps/unix/sysv/linux/configure: Regenerated.
20472
9310c284
JM
204732013-11-13 Joseph Myers <joseph@codesourcery.com>
20474
20475 [BZ #16151]
20476 * stdlib/strtod_l.c (round_and_return): Do not consider
20477 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20478 exponent one less than half the least subnormal exponent.
20479 * stdlib/test-strtod-round-data: Add more tests.
20480 * stdlib/tst-strtod-round.c (tests): Regenerated.
20481
7a2ad8cf
AZ
204822013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20483
20484 [BZ #14143]
20485 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20486 (__fe_mask_env): Likewise.
20487 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20488 libm_hidden_proto and add function prototype.
20489 (__fe_mask_env): Add function prototype.
20490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20491 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20493 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20495 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20496
50727aa7
MS
204972013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20498
b2f386c1 20499 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
20500 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20501
a615be46
MS
205022013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20503
20504 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20505 of htab_find_slot().
20506
7ddace62
DM
205072013-11-11 David S. Miller <davem@davemloft.net>
20508
20509 [BZ #16150]
20510 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20511 symbol in the non-vis3 case in static builds.
20512 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20513 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20514 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20515 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20516
9182aa67
JK
205172013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20518
20519 [BZ #387]
20520 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20521 it is empty.
20522
450a2e2d
AZ
205232013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20524
b2f386c1
SP
20525 * benchtests/Makefile: Add bench-strtod.
20526 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 20527
8ec3f656
AS
205282013-11-11 Andreas Schwab <schwab@suse.de>
20529
20530 [BZ #16153]
20531 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20532 terminating NUL in key length.
20533
76a9b998
AZ
205342013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20535
20536 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20537 Add artificial ODP entry for vDSO symbol for PPC64.
20538 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20539 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20540
e4368156
OB
205412013-11-07 Ondřej Bílka <neleai@seznam.cz>
20542
20543 [BZ #15374]
20544 * nss/getent.c (services_keys): Recognize services starting with digit.
20545
8d6bb57c
DM
205462013-11-06 David S. Miller <davem@davemloft.net>
20547
20548 [BZ #15985]
20549 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20550 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20551
e256c421
WN
205522013-11-06 Will Newton <will.newton@linaro.org>
20553
20554 * manual/memory.texi (Malloc Examples): Remove register
20555 keyword from examples.
20556
f6e12daa 205572013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 20558
f6e12daa 20559 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 20560
9d880655
AS
205612013-11-04 Joseph Myers <joseph@codesourcery.com>
20562
fd2f9486 20563 [BZ #6981]
9d880655
AS
20564 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20565 depending on [__GCC_IEC_559 > 0].
20566 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20567 depending on [__GCC_IEC_559_COMPLEX > 0].
20568
ae129d3c
CL
205692013-11-03 Chris Leonard <cjl@sugarlabs.org>
20570
20571 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20572 to iso-639.def.
20573
4a15c2a4 205742013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
20575
20576 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20577
8b35e35d
OB
205782013-11-01 Ondřej Bílka <neleai@seznam.cz>
20579
20580 [BZ #16112]
20581 * malloc/malloc (malloc_info): Do not handle first bin as
20582 special case.
20583
1d70fd6c
CL
205842013-11-01 Chris Leonard <cjl@sugarlabs.org>
20585
20586 * locale/iso-639.def: Add Central Nahuatl (nhn).
20587
8c5c2600
BH
205882013-11-01 Bruno Haible <bruno@clisp.org>
20589
20590 [BZ #7003]
20591 * manual/math.texi (BSD Random): Specify range upper bound as
20592 in POSIX.
20593
da5579c2
CL
205942013-10-31 Chris Leonard <cjl@sugarlabs.org>
20595
20596 * locale/iso-639.def: Add Meadow Mari (mhr).
20597
5d30d853
OB
205982013-10-31 Ondřej Bílka <neleai@seznam.cz>
20599
20600 [BZ #14752], [BZ #15763]
20601 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20602 Validate name.
20603 * rt/tst_shm.c: Add test for escaping directory.
20604
a4966c61
AS
206052013-10-31 Andreas Schwab <schwab@suse.de>
20606
8a43e768 20607 [BZ #15917]
a4966c61
AS
20608 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20609 followed by 'x' as part of digit sequence.
20610 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20611
28d708c4
MAP
206122013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20613
20614 [BZ #16037]
20615 * configure.ac: allow GNU Make 4.0 and greater.
20616 * configure: Regenerated.
20617
a56ee40b
WN
206182013-10-30 Will Newton <will.newton@linaro.org>
20619
20620 [BZ #16038]
20621 * malloc/hooks.c (memalign_check): Limit alignment to the
20622 maximum representable power of two.
20623 * malloc/malloc.c (__libc_memalign): Likewise.
20624 * malloc/tst-memalign.c (do_test): Add test for very
20625 large alignment values.
20626 * malloc/tst-posix_memalign.c (do_test): Likewise.
20627
c6e4925d
OB
206282013-10-30 Ondřej Bílka <neleai@seznam.cz>
20629
20630 [BZ #11087]
20631 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20632 (munmap_chunk): Likewise.
20633 (mremap_chunk): Likewise.
20634
206352013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 20636
8a43e768 20637 [BZ #15799]
bbea82f7
OB
20638 * stdlib/div.c (div): Remove obsolete code.
20639 * stdlib/ldiv.c (ldiv): Likewise.
20640 * stdlib/lldiv.c (lldiv): Likewise.
20641
977f4b31
SP
206422013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20643
20644 [BZ #16071]
20645 * nss/nss_files/files-XXX.c (get_contents_ret): New
20646 enumerator.
20647 (get_contents): New function.
20648 (internal_getent): Use it. Expand size of LINEBUFLEN.
20649
cb8a6dbd
MF
206502013-10-30 Mike Frysinger <vapier@gentoo.org>
20651
20652 * configure.in: Moved to ...
20653 * configure.ac: ... here. Change reference to configure.in
20654 to configure.ac.
20655 * sysdeps/arm/preconfigure.ac: ... here.
20656 configure.in to configure.ac.
20657 * sysdeps/gnu/configure.in: Moved to ...
20658 * sysdeps/gnu/configure.ac: ... here.
20659 * sysdeps/i386/configure.in: Moved to ...
20660 * sysdeps/i386/configure.ac: ... here.
20661 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20662 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20663 * sysdeps/mach/configure.in: Moved to ...
20664 * sysdeps/mach/configure.ac: ... here.
20665 * sysdeps/mach/hurd/configure.in: Moved to ...
20666 * sysdeps/mach/hurd/configure.ac: ... here.
20667 * sysdeps/powerpc/configure.in: Moved to ...
20668 * sysdeps/powerpc/configure.ac: ... here.
20669 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20670 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20671 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20672 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20673 * sysdeps/s390/s390-32/configure.in: Moved to ...
20674 * sysdeps/s390/s390-32/configure.ac: ... here.
20675 * sysdeps/s390/s390-64/configure.in: Moved to ...
20676 * sysdeps/s390/s390-64/configure.ac: ... here.
20677 * sysdeps/sh/configure.in: Moved to ...
20678 * sysdeps/sh/configure.ac: ... here.
20679 * sysdeps/sparc/configure.in: Moved to ...
20680 * sysdeps/sparc/configure.ac: ... here.
20681 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20682 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20683 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20684 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20685 * sysdeps/x86_64/configure.in: Moved to ...
20686 * sysdeps/x86_64/configure.ac: ... here.
20687 * sysdeps/x86_64/preconfigure.in: Moved to ...
20688 * sysdeps/x86_64/preconfigure.ac: ... here.
20689 * aclocal.m4: Change reference to configure.in to configure.ac.
20690 * config.h.in: Likewise.
20691 * manual/install.texi: Likewise.
20692 * manual/maint.texi: Likewise.
20693 * Makefile: Likewise.
20694 * malloc/Makefile: Likewise.
20695 * nscd/Makefile: Likewise.
20696 * Makeconfig: Change reference to configure.in and
20697 preconfigure.in to configure.ac and preconfigure.ac
20698 respectively.
20699 * INSTALL: Regenerated.
20700 * configure: Likewise.
20701 * sysdeps/gnu/configure: Likewise.
20702 * sysdeps/i386/configure: Likewise.
20703 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20704 * sysdeps/mach/configure: Likewise.
20705 * sysdeps/mach/hurd/configure: Likewise.
20706 * sysdeps/powerpc/configure: Likewise.
20707 * sysdeps/powerpc/powerpc32/configure: Likewise.
20708 * sysdeps/powerpc/powerpc64/configure: Likewise.
20709 * sysdeps/s390/s390-32/configure: Likewise.
20710 * sysdeps/s390/s390-64/configure: Likewise.
20711 * sysdeps/sh/configure: Likewise.
20712 * sysdeps/sparc/configure: Likewise.
20713 * sysdeps/unix/sysv/linux/configure: Likewise.
20714 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20715 * sysdeps/x86_64/configure: Likewise.
20716 * sysdeps/x86_64/preconfigure: Likewise.
20717
36a4953a
AS
207182013-10-29 Andreas Schwab <schwab@suse.de>
20719
20720 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20721
c79a1204
SP
207222013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20723
dfa1b402
SP
20724 * benchtests/pow-inputs: Add new inputs.
20725
54f73d9c
SP
20726 * benchtests/exp-inputs: Add new inputs.
20727
c79a1204
SP
20728 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20729 conditional check for return value.
20730 (__cos32): Likewise.
20731
67beb545 207322013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
20733
20734 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20735 to provide a boost for large inputs with word alignment.
20736 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20737 implementation based on optimized PPC64 strcpy.
20738 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20739 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20740 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20741 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20742
151659f6
OB
207432013-10-25 Ondřej Bílka <neleai@seznam.cz>
20744
482a077e 20745 [BZ #2801]
151659f6
OB
20746 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20747
10b0f26b
OB
207482013-10-25 Ondřej Bílka <neleai@seznam.cz>
20749
20750 [BZ #14876]
20751 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20752 * time/tst-strptime.c (day_tests): Add testcase.
20753
ca42d35e
OB
207542013-10-25 Ondřej Bílka <neleai@seznam.cz>
20755
482a077e 20756 [BZ #14029]
ca42d35e
OB
20757 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20758
52e6d801
FB
207592013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20760
20761 [BZ #16074]
20762 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20763 MAP_FAILED on error.
20764
7cbcdb36
SP
207652013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20766
20767 [BZ #16072]
20768 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20769 heap for large requests.
20770
894f3f10
AM
207712013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20772
20773 [BZ #9954]
20774 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20775 result if the result has no associated interface.
20776 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20777 interface for all 127.X.Y.Z addresses.
20778
b85545a6
CL
207792013-10-24 Chris Leonard <cjl@sugarlabs.org>
20780
20781 * locale/iso-639.def: Add Ligurian (lij)
20782
d1f23d46
OB
207832013-10-21 Ondřej Bílka <neleai@seznam.cz>
20784
20785 [BZ #15825]
20786 * sunrpc/rpc_main.c: Document rpcgen -5.
20787
4db5b08f
MS
207882013-10-19 Michael Stahl <mstahl@redhat.com>
20789
20790 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20791
a471e96a
OB
207922013-10-19 Ondřej Bílka <neleai@seznam.cz>
20793
d1f23d46 20794 [BZ #10278]
a471e96a
OB
20795 * posix/glob.c: Match only directories when trailing slash is present.
20796 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20797 (main): Add testcase.
20798
45c30c61
OB
207992013-10-19 Ondřej Bílka <neleai@seznam.cz>
20800
20801 [BZ #15670]
20802 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20803
484c12fb
CD
208042013-10-18 Carlos O'Donell <carlos@redhat.com>
20805
3d7dc513
CD
20806 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20807 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20808 AUTH_DES and cindex for FIPS 140-2.
20809 (DES Encryption): Add cindex FIPS 46-3.
20810
484c12fb
CD
20811 * locale/locarchive.h (struct locarhandle): Add fname.
20812 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20813 if an optional argument was specified to --list-archive,
20814 otherwise NULL.
20815 * locale/programs/locarchive.c (show_archive_content): Take new
20816 argument fname and pass it via ah.fname to open_archive.
20817 * locale/programs/localedef.h: Update decl.
20818 (open_archive): If AH->fname is non-null, open that file
20819 rather than the default file name, and don't ignore ENOENT.
20820 (create_archive): Set AH.fname to NULL.
20821 (delete_locales_from_archive): Likewise.
20822 (add_locales_to_archive): Likewise.
20823 * locale/programs/locfile.c (write_all_categories): Likewise.
20824
3c8325fb
JM
208252013-10-18 Joseph Myers <joseph@codesourcery.com>
20826 Aldy Hernandez <aldyh@redhat.com>
20827
20828 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20829 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20830 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20831 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20832 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20833 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20834 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20835 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20836 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20837 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20838 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20839 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20840 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20841 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20842 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20843 Likewise.
20844 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20845 Likewise.
20846 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20847 Likewise.
20848 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20849 Likewise.
20850 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20851 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20852 Likewise.
20853 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20854 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20855 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20856 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20857 Likewise.
20858 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20859 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20860 * sysdeps/powerpc/preconfigure: Likewise.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20862 Likewise.
20863 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20864 Replace contents of file by #include of <fenv_libc.h>.
20865 * sysdeps/powerpc/soft-fp/sfp-machine.h
20866 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20867 and <sys/prctl.h>.
20868 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20869 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20870 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20871 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20872 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20873 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20875 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20876 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20877 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20879 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20881 Allow copysignl PLT reference to be missing.
20882
5abe0682
RS
208832013-10-18 Richard Sandiford <richard@codesourcery.com>
20884 Joseph Myers <joseph@codesourcery.com
20885
20886 [BZ #15948]
20887 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20888 single character.
20889 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20890
c7738d08
SP
208912013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20892
20893 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20894 * elf/tst-tls1.c: Likewise.
20895 * elf/tst-tls10.h: Likewise.
20896 * elf/tst-tls14.c: Likewise.
20897 * elf/tst-tls2.c: Likewise.
20898 * elf/tst-tls3.c: Likewise.
20899 * elf/tst-tls4.c: Likewise.
20900 * elf/tst-tls5.c: Likewise.
20901 * elf/tst-tls6.c: Likewise.
20902 * elf/tst-tls7.c: Likewise.
20903 * elf/tst-tls8.c: Likewise.
20904 * elf/tst-tls9.c: Likewise.
20905 * elf/tst-tlsmod1.c: Likewise.
20906 * elf/tst-tlsmod13.c: Likewise.
20907 * elf/tst-tlsmod13a.c: Likewise.
20908 * elf/tst-tlsmod14a.c: Likewise.
20909 * elf/tst-tlsmod16a.c: Likewise.
20910 * elf/tst-tlsmod16b.c: Likewise.
20911 * elf/tst-tlsmod2.c: Likewise.
20912 * elf/tst-tlsmod3.c: Likewise.
20913 * elf/tst-tlsmod4.c: Likewise.
20914 * elf/tst-tlsmod5.c: Likewise.
20915 * elf/tst-tlsmod6.c: Likewise.
20916
0bfcf2c7
OB
209172013-10-18 Ondřej Bílka <neleai@seznam.cz>
20918
20919 [BZ #12486]
20920 * malloc/malloc.c: remove checks for statistics.
20921
264aad1e
OB
209222013-10-17 Ondřej Bílka <neleai@seznam.cz>
20923
20924 [BZ #15277]
20925 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20926 * inet/tst-network.c: Add testcase.
20927
b957ced8
AS
209282013-10-17 Andreas Schwab <schwab@suse.de>
20929
20930 [BZ #15218]
20931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20932 to determine canonical name.
20933
c5d5d574
OB
209342013-10-17 Ondřej Bílka <neleai@seznam.cz>
20935
20936 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20937 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20960 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20961 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20964 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20966 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20973 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20974 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20975 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20976 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20977 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20978 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20979 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20980 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20981 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20982 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20983 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20984 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20985 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20986 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20987 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20988 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20989 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20990 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20991 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20994
e5c2c2d0
JM
209952013-10-17 Joseph Myers <joseph@codesourcery.com>
20996
20997 [BZ #16041]
20998 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20999 make result into a quiet NaN.
21000
51ca9e29
JM
210012013-10-16 Joseph Myers <joseph@codesourcery.com>
21002
21003 * soft-fp/adddf3.c: Fix horizontal whitespace.
21004 * soft-fp/addsf3.c: Likewise.
21005 * soft-fp/addtf3.c: Likewise.
21006 * soft-fp/divdf3.c: Likewise.
21007 * soft-fp/divsf3.c: Likewise.
21008 * soft-fp/divtf3.c: Likewise.
21009 * soft-fp/double.h: Likewise.
21010 * soft-fp/eqdf2.c: Likewise.
21011 * soft-fp/eqsf2.c: Likewise.
21012 * soft-fp/eqtf2.c: Likewise.
21013 * soft-fp/extenddftf2.c: Likewise.
21014 * soft-fp/extended.h: Likewise.
21015 * soft-fp/extendsfdf2.c: Likewise.
21016 * soft-fp/extendsftf2.c: Likewise.
21017 * soft-fp/extendxftf2.c: Likewise.
21018 * soft-fp/fixdfdi.c: Likewise.
21019 * soft-fp/fixdfsi.c: Likewise.
21020 * soft-fp/fixdfti.c: Likewise.
21021 * soft-fp/fixsfdi.c: Likewise.
21022 * soft-fp/fixsfsi.c: Likewise.
21023 * soft-fp/fixsfti.c: Likewise.
21024 * soft-fp/fixtfdi.c: Likewise.
21025 * soft-fp/fixtfsi.c: Likewise.
21026 * soft-fp/fixtfti.c: Likewise.
21027 * soft-fp/fixunsdfdi.c: Likewise.
21028 * soft-fp/fixunsdfsi.c: Likewise.
21029 * soft-fp/fixunsdfti.c: Likewise.
21030 * soft-fp/fixunssfdi.c: Likewise.
21031 * soft-fp/fixunssfsi.c: Likewise.
21032 * soft-fp/fixunssfti.c: Likewise.
21033 * soft-fp/fixunstfdi.c: Likewise.
21034 * soft-fp/fixunstfsi.c: Likewise.
21035 * soft-fp/fixunstfti.c: Likewise.
21036 * soft-fp/floatdidf.c: Likewise.
21037 * soft-fp/floatdisf.c: Likewise.
21038 * soft-fp/floatditf.c: Likewise.
21039 * soft-fp/floatsidf.c: Likewise.
21040 * soft-fp/floatsisf.c: Likewise.
21041 * soft-fp/floatsitf.c: Likewise.
21042 * soft-fp/floattidf.c: Likewise.
21043 * soft-fp/floattisf.c: Likewise.
21044 * soft-fp/floattitf.c: Likewise.
21045 * soft-fp/floatundidf.c: Likewise.
21046 * soft-fp/floatundisf.c: Likewise.
21047 * soft-fp/floatunditf.c: Likewise.
21048 * soft-fp/floatunsidf.c: Likewise.
21049 * soft-fp/floatunsisf.c: Likewise.
21050 * soft-fp/floatunsitf.c: Likewise.
21051 * soft-fp/floatuntidf.c: Likewise.
21052 * soft-fp/floatuntisf.c: Likewise.
21053 * soft-fp/floatuntitf.c: Likewise.
21054 * soft-fp/fmadf4.c: Likewise.
21055 * soft-fp/fmasf4.c: Likewise.
21056 * soft-fp/fmatf4.c: Likewise.
21057 * soft-fp/gedf2.c: Likewise.
21058 * soft-fp/gesf2.c: Likewise.
21059 * soft-fp/getf2.c: Likewise.
21060 * soft-fp/ledf2.c: Likewise.
21061 * soft-fp/lesf2.c: Likewise.
21062 * soft-fp/letf2.c: Likewise.
21063 * soft-fp/muldf3.c: Likewise.
21064 * soft-fp/mulsf3.c: Likewise.
21065 * soft-fp/multf3.c: Likewise.
21066 * soft-fp/negdf2.c: Likewise.
21067 * soft-fp/negsf2.c: Likewise.
21068 * soft-fp/negtf2.c: Likewise.
21069 * soft-fp/op-1.h: Likewise.
21070 * soft-fp/op-2.h: Likewise.
21071 * soft-fp/op-4.h: Likewise.
21072 * soft-fp/op-8.h: Likewise.
21073 * soft-fp/op-common.h: Likewise.
21074 * soft-fp/quad.h: Likewise.
21075 * soft-fp/single.h: Likewise.
21076 * soft-fp/soft-fp.h: Likewise.
21077 * soft-fp/sqrtdf2.c: Likewise.
21078 * soft-fp/sqrtsf2.c: Likewise.
21079 * soft-fp/sqrttf2.c: Likewise.
21080 * soft-fp/subdf3.c: Likewise.
21081 * soft-fp/subsf3.c: Likewise.
21082 * soft-fp/subtf3.c: Likewise.
21083 * soft-fp/truncdfsf2.c: Likewise.
21084 * soft-fp/trunctfdf2.c: Likewise.
21085 * soft-fp/trunctfsf2.c: Likewise.
21086 * soft-fp/trunctfxf2.c: Likewise.
21087 * soft-fp/unorddf2.c: Likewise.
21088 * soft-fp/unordsf2.c: Likewise.
21089 * soft-fp/unordtf2.c: Likewise.
21090
9ebb0332
JM
210912013-10-15 Joseph Myers <joseph@codesourcery.com>
21092
21093 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21094 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21095
4b1a6d8b
OB
210962013-10-15 Ondřej Bílka <neleai@seznam.cz>
21097
21098 * elf/dl-libc.c: Clear initfini list after freeing.
21099
1e145589
JM
211002013-10-14 Joseph Myers <joseph@codesourcery.com>
21101
21102 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21103 * soft-fp/addsf3.c: Likewise.
21104 * soft-fp/addtf3.c: Likewise.
21105 * soft-fp/divdf3.c: Likewise.
21106 * soft-fp/divsf3.c: Likewise.
21107 * soft-fp/divtf3.c: Likewise.
21108 * soft-fp/double.h: Likewise.
21109 * soft-fp/eqdf2.c: Likewise.
21110 * soft-fp/eqsf2.c: Likewise.
21111 * soft-fp/eqtf2.c: Likewise.
21112 * soft-fp/extenddftf2.c: Likewise.
21113 * soft-fp/extended.h: Likewise.
21114 * soft-fp/extendsfdf2.c: Likewise.
21115 * soft-fp/extendsftf2.c: Likewise.
21116 * soft-fp/extendxftf2.c: Likewise.
21117 * soft-fp/fixdfdi.c: Likewise.
21118 * soft-fp/fixdfsi.c: Likewise.
21119 * soft-fp/fixdfti.c: Likewise.
21120 * soft-fp/fixsfdi.c: Likewise.
21121 * soft-fp/fixsfsi.c: Likewise.
21122 * soft-fp/fixsfti.c: Likewise.
21123 * soft-fp/fixtfdi.c: Likewise.
21124 * soft-fp/fixtfsi.c: Likewise.
21125 * soft-fp/fixtfti.c: Likewise.
21126 * soft-fp/fixunsdfdi.c: Likewise.
21127 * soft-fp/fixunsdfsi.c: Likewise.
21128 * soft-fp/fixunsdfti.c: Likewise.
21129 * soft-fp/fixunssfdi.c: Likewise.
21130 * soft-fp/fixunssfsi.c: Likewise.
21131 * soft-fp/fixunssfti.c: Likewise.
21132 * soft-fp/fixunstfdi.c: Likewise.
21133 * soft-fp/fixunstfsi.c: Likewise.
21134 * soft-fp/fixunstfti.c: Likewise.
21135 * soft-fp/floatdidf.c: Likewise.
21136 * soft-fp/floatdisf.c: Likewise.
21137 * soft-fp/floatditf.c: Likewise.
21138 * soft-fp/floatsidf.c: Likewise.
21139 * soft-fp/floatsisf.c: Likewise.
21140 * soft-fp/floatsitf.c: Likewise.
21141 * soft-fp/floattidf.c: Likewise.
21142 * soft-fp/floattisf.c: Likewise.
21143 * soft-fp/floattitf.c: Likewise.
21144 * soft-fp/floatundidf.c: Likewise.
21145 * soft-fp/floatundisf.c: Likewise.
21146 * soft-fp/floatunsidf.c: Likewise.
21147 * soft-fp/floatunsisf.c: Likewise.
21148 * soft-fp/floatuntidf.c: Likewise.
21149 * soft-fp/floatuntisf.c: Likewise.
21150 * soft-fp/floatuntitf.c: Likewise.
21151 * soft-fp/fmadf4.c: Likewise.
21152 * soft-fp/fmasf4.c: Likewise.
21153 * soft-fp/fmatf4.c: Likewise.
21154 * soft-fp/gedf2.c: Likewise.
21155 * soft-fp/gesf2.c: Likewise.
21156 * soft-fp/getf2.c: Likewise.
21157 * soft-fp/ledf2.c: Likewise.
21158 * soft-fp/lesf2.c: Likewise.
21159 * soft-fp/letf2.c: Likewise.
21160 * soft-fp/muldf3.c: Likewise.
21161 * soft-fp/mulsf3.c: Likewise.
21162 * soft-fp/multf3.c: Likewise.
21163 * soft-fp/negdf2.c: Likewise.
21164 * soft-fp/negsf2.c: Likewise.
21165 * soft-fp/negtf2.c: Likewise.
21166 * soft-fp/op-1.h: Likewise.
21167 * soft-fp/op-2.h: Likewise.
21168 * soft-fp/op-4.h: Likewise.
21169 * soft-fp/op-8.h: Likewise.
21170 * soft-fp/op-common.h: Likewise.
21171 * soft-fp/quad.h: Likewise.
21172 * soft-fp/single.h: Likewise.
21173 * soft-fp/soft-fp.h: Likewise.
21174 * soft-fp/sqrtdf2.c: Likewise.
21175 * soft-fp/sqrtsf2.c: Likewise.
21176 * soft-fp/sqrttf2.c: Likewise.
21177 * soft-fp/subdf3.c: Likewise.
21178 * soft-fp/subsf3.c: Likewise.
21179 * soft-fp/subtf3.c: Likewise.
21180 * soft-fp/truncdfsf2.c: Likewise.
21181 * soft-fp/trunctfdf2.c: Likewise.
21182 * soft-fp/trunctfsf2.c: Likewise.
21183 * soft-fp/trunctfxf2.c: Likewise.
21184 * soft-fp/unorddf2.c: Likewise.
21185 * soft-fp/unordsf2.c: Likewise.
21186 * soft-fp/unordtf2.c: Likewise.
21187
17c48a60
OB
211882013-10-14 Ondřej Bílka <neleai@seznam.cz>
21189
21190 [BZ #15672]
21191 * misc/error.c (error_tail): Fix possible buffer overflow.
21192
cabba934
OB
211932013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21194
21195 [BZ #13028]
21196 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21197 address.
21198
94bf958a
PM
211992013-10-14 P. J. McDermott <pj@pehjota.net>
21200
21201 [BZ #832]
21202 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21203 testing pipefail option.
21204
71b4dea7
JM
212052013-10-12 Joseph Myers <joseph@codesourcery.com>
21206
21207 * soft-fp/double.h: Indent preprocessor directives inside #if.
21208 * soft-fp/extended.h: Likewise.
21209 * soft-fp/op-2.h: Likewise.
21210 * soft-fp/op-4.h: Likewise.
21211 * soft-fp/op-common.h: Likewise.
21212 * soft-fp/quad.h: Likewise.
21213 * soft-fp/single.h: Likewise.
21214 * soft-fp/soft-fp.h: Likewise.
21215
55602758
YC
212162013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21217
21218 * iconv/iconv_prog.c: Fix typos.
21219 * stdio-common/psiginfo-data.h: Likewise.
21220
9cd83302
RT
212212013-10-12 Reuben Thomas <rrt@sc3d.org>
21222
21223 [BZ #15764]
21224 * locale/setlocale.c: Fix typo.
21225
99fd9f47
JM
212262013-10-12 Joseph Myers <joseph@codesourcery.com>
21227
b7ea74f0
JM
21228 [BZ #16036]
21229 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21230 signaling NaN arguments.
21231 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21232 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21233
8a509447
JM
21234 [BZ #14910]
21235 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21236 unordered operands.
21237 * soft-fp/gesf2.c (__gesf2): Likewise.
21238 * soft-fp/getf2.c (__getf2): Likewise.
21239 * soft-fp/ledf2.c (__ledf2): Likewise.
21240 * soft-fp/lesf2.c (__lesf2): Likewise.
21241 * soft-fp/letf2.c (__letf2): Likewise.
21242
98998e9f
JM
21243 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21244 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21245 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21246 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21247 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21248 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21249 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21250 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21251 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21252 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21253 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21254 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21255 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21256 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21257 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21258 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21259 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21260 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21261 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21262 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21263 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21264 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21265 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21266 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21267 * soft-fp/floattidf.c (__floattidf): Likewise.
21268 * soft-fp/floattisf.c (__floattisf): Likewise.
21269 * soft-fp/floattitf.c (__floattitf): Likewise.
21270 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21271 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21272 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21273 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21274 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21275 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21276 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21277 * soft-fp/gesf2.c (__gesf2): Likewise.
21278 * soft-fp/getf2.c (__getf2): Likewise.
21279 * soft-fp/ledf2.c (__ledf2): Likewise.
21280 * soft-fp/lesf2.c (__lesf2): Likewise.
21281 * soft-fp/letf2.c (__letf2): Likewise.
21282
8edc4a11
JM
21283 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21284 Undefine and redefine.
21285 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21286 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21287 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21288 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21289 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21290 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21291 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21292 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21293 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21294 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21295 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21296 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21297 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21298 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21299 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21300
8399acaf
JM
21301 [BZ #16032]
21302 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21303 without decrementing exponent if mantissa >= that for the
21304 denominator, not >.
21305 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21306 denominator, not >. Decrement exponent in < case instead of
21307 incrementing in >= case.
21308 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21309 without decrementing exponent if mantissa >= that for the
21310 denominator, not >.
21311
99fd9f47
JM
21312 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21313 computing saturated result for unsigned overflow.
21314
10e1cf6b
SP
213152013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21316 Jeff Law <law@redhat.com>
21317
21318 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21319 (atan2Mp): Add systemtap probe marker.
21320 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21321 (__ieee754_log): Add systemtap probe marker.
21322 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21323 (atanMp): Add systemtap probe marker.
21324 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21325 (tanMp): Add systemtap probe marker.
21326 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21327 (__slowexp): Add systemtap probe marker.
21328 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21329 (__slowpow): Add systemtap probe marker.
21330 * manual/probes.texi: Document probes.
21331
3d110c7c
EB
213322013-10-11 Eric Biggers <ebiggers3@gmail.com>
21333
21334 [BZ #15362]
21335 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21336 written.
21337 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21338 written.
21339 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21340 written to buffer but not flushed.
21341 * libio/iofwrite_u.c: Likewise.
21342 * libio/iopadn.c: Return bytes returned even if EOF was
21343 encountered.
21344 * libio/iowpadn.c: Likewise.
21345 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21346 if _IO_padn does not write the whole buffer.
21347 [!COMPILE_WPRINTF] (PAD): Likewise.
21348
75b4202a
DM
213492013-10-10 David S. Miller <davem@davemloft.net>
21350
21351 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21352 directory block.
21353
6c6352e6
JM
213542013-10-10 Joseph Myers <joseph@codesourcery.com>
21355
33b853c3
JM
21356 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21357 instead of FSF address.
21358 * soft-fp/fixdfti.c: Likewise.
21359 * soft-fp/fixsfti.c: Likewise.
21360 * soft-fp/fixtfti.c: Likewise.
21361 * soft-fp/fixunsdfti.c: Likewise.
21362 * soft-fp/fixunssfti.c: Likewise.
21363 * soft-fp/fixunstfti.c: Likewise.
21364 * soft-fp/floattidf.c: Likewise.
21365 * soft-fp/floattisf.c: Likewise.
21366 * soft-fp/floattitf.c: Likewise.
21367 * soft-fp/floatuntidf.c: Likewise.
21368 * soft-fp/floatuntisf.c: Likewise.
21369 * soft-fp/floatuntitf.c: Likewise.
21370 * soft-fp/trunctfxf2.c: Likewise.
21371
6c6352e6
JM
21372 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21373 * soft-fp/fixdfti.c: Likewise.
21374 * soft-fp/fixsfti.c: Likewise.
21375 * soft-fp/fixtfti.c: Likewise.
21376 * soft-fp/fixunsdfti.c: Likewise.
21377 * soft-fp/fixunssfti.c: Likewise.
21378 * soft-fp/fixunstfti.c: Likewise.
21379 * soft-fp/floattidf.c: Likewise.
21380 * soft-fp/floattisf.c: Likewise.
21381 * soft-fp/floattitf.c: Likewise.
21382 * soft-fp/floatuntidf.c: Likewise.
21383 * soft-fp/floatuntisf.c: Likewise.
21384 * soft-fp/floatuntitf.c: Likewise.
21385 * soft-fp/trunctfxf2.c: Likewise.
21386
3bf78b71
DM
213872013-10-10 David S. Miller <davem@davemloft.net>
21388
21389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21390
6f10289e
JM
213912013-10-10 Joseph Myers <joseph@codsourcery.com>
21392
bd878fc0
JM
21393 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21394 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21395 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21396 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21397 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21398 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21399 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21400
6f10289e
JM
21401 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21402 for NaNs before doing comparisons on argument.
21403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21404 Likewise.
21405
321e2684
WN
214062013-10-10 Will Newton <will.newton@linaro.org>
21407
21408 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21409 passed to _int_memalign does not overflow.
21410
40fefba1
TR
214112013-10-10 Torvald Riegel <triegel@redhat.com>
21412
21413 * scripts/bench.pl: Add include-sources directive.
21414 * benchtests/README: Update documentation.
21415
2ae21ed2
JM
214162013-10-10 Joseph Myers <joseph@codesourcery.com>
21417
dcc2dd3f
JM
21418 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21419 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21420 instead of FP_INIT_ROUNDMODE.
21421 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21422 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21423
2ae21ed2
JM
21424 [BZ #16034]
21425 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21426 copy class of input value.
21427 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21428 not handle exceptions.
21429 * soft-fp/negsf2.c (__negsf2): Likewise.
21430 * soft-fp/negtf2.c (__negtf2): Likewise.
21431 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21432
cb8f9562
JM
214332013-10-09 Joseph Myers <joseph@codesourcery.com>
21434
21435 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21436 semicolon. From Linux kernel.
21437
5b60c59d
AB
214382013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21439
21440 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21441
b86835ca
YC
214422013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21443
21444 [BZ #156]
21445 * manual/socket.texi: Added statement about buffer
21446 for gethostbyname2_r.
21447
e7044ea7
OB
214482013-10-08 Ondřej Bílka <neleai@seznam.cz>
21449
21450 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21451 Use .p2align directive instead, throughout.
21452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21453 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21454 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21457 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21458 * sysdeps/x86_64/strchr.S: Likewise.
21459 * sysdeps/x86_64/strrchr.S: Likewise.
21460
09544cbc
SP
214612013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21462
88576635
SP
21463 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21464
e7b2d1dd
SP
21465 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21466
09544cbc
SP
21467 * sysdeps/generic/math_private.h (__mpsin1): Remove
21468 declaration.
21469 (__mpcos1): Likewise.
21470 (__mpsin): New argument __range_reduce.
21471 (__mpcos): Likewise.
21472 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21473 (slow): Use __mpsin and __mpcos.
21474 (slow1): Likewise.
21475 (slow2): Likewise.
21476 (sloww): Likewise.
21477 (sloww1): Likewise.
21478 (sloww2): Likewise.
21479 (bsloww): Likewise.
21480 (bsloww1): Likewise.
21481 (bsloww2): Likewise.
21482 (cslow2): Likewise.
21483 (csloww): Likewise.
21484 (csloww1): Likewise.
21485 (csloww2): Likewise.
21486 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21487 range_reduce. Merge in __mpsin1.
21488 (__mpcos): Likewise.
21489 (__mpsin1): Remove.
21490 (__mpcos1): Likewise.
21491
7602d070
JM
214922013-10-07 Joseph Myers <joseph@codesourcery.com>
21493
21494 * locale/loadlocale.c (_nl_intern_locale_data): Use
21495 LOCFILE_ALIGNED_P.
21496 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21497 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21498 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21499 obstack data is appropriately aligned.
21500 (obstack_int32_grow_fast): Likewise.
21501 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21502 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21503 (add_locale_uint32_array): Likewise.
21504
a357259b
SP
215052013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21506
21507 * benchtests/Makefile: Remove ARGLIST and RET variables.
21508 ($(objpfx)bench-%.c): Pass only function name to the script.
21509 * benchtests/README: Update documentation.
21510 * benchtests/acos-inputs: Add new directives.
21511 * benchtests/acosh-inputs: Likewise.
21512 * benchtests/asin-inputs: Likewise.
21513 * benchtests/asinh-inputs: Likewise.
21514 * benchtests/atan-inputs: Likewise.
21515 * benchtests/atanh-inputs: Likewise.
21516 * benchtests/cos-inputs: Likewise.
21517 * benchtests/cosh-inputs: Likewise.
21518 * benchtests/exp-inputs: Likewise.
21519 * benchtests/log-inputs: Likewise.
21520 * benchtests/pow-inputs: Likewise.
21521 * benchtests/rint-inputs: Likewise.
21522 * benchtests/sin-inputs: Likewise.
21523 * benchtests/sinh-inputs: Likewise.
21524 * benchtests/tan-inputs: Likewise.
21525 * benchtests/tanh-inputs: Likewise.
21526 * scripts/bench.pl: Add support for new directives.
21527
9ec1b13d
AM
215282013-10-07 Alan Modra <amodra@gmail.com>
21529
21530 * README: Fix careless merge.
21531
8b7d57cd
AM
215322013-10-05 Alan Modra <amodra@gmail.com>
21533
21534 * NEWS: Mention powerpc64le support and bugs fixed.
21535 * README: Both big-endian and little-endian powerpc64 supported.
21536
7b7bab13
ST
215372013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21538
57f41c40
AS
21539 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21540 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
21541 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21542 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21543
d39baad1
RA
215442013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21545
21546 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21547 match prototype.
21548
cd78f7e7
JM
215492013-10-04 Joseph Myers <joseph@codesourcery.com>
21550
29d73d86
JM
21551 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21552 Move -mhard-float appending from
21553 ports/sysdeps/powerpc/powerpc32/Makefile.
21554 [$(with-fp) = yes] (ASFLAGS): Likewise.
21555 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21556 * sysdeps/powerpc/nofpu: Move directory from
21557 ports/sysdeps/powerpc/nofpu.
21558 * sysdeps/powerpc/soft-fp: Move directory from
21559 ports/sysdeps/powerpc/soft-fp.
21560 * sysdeps/powerpc/powerpc32/405: Move directory from
21561 ports/sysdeps/powerpc/powerpc32/405.
21562 * sysdeps/powerpc/powerpc32/440: Move directory from
21563 ports/sysdeps/powerpc/powerpc32/440.
21564 * sysdeps/powerpc/powerpc32/464: Move directory from
21565 ports/sysdeps/powerpc/powerpc32/464.
21566 * sysdeps/powerpc/powerpc32/476: Move directory from
21567 ports/sysdeps/powerpc/powerpc32/476.
21568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21569 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21571 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21573 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21575 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21577 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21578 * README: Update for powerpc-*-linux-gnu software floating point
21579 support in libc.
21580
e246b347
JM
21581 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21582 case to powerpc/powerpc32*.
21583 * sysdeps/unix/sysv/linux/configure: Regenerated.
21584
89c2003e
JM
21585 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21586 (_FPU_MASK_OM): Define as 0x04.
21587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21589 0x00c10080.
21590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21591 0x0000003c.
21592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21593
cd78f7e7
JM
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21595 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21596 getcontext_e500.
21597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21598 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21599 setcontext_e500.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21601 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21602 and setcontext_e500.
21603
c755294d
CL
216042013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21605
21606 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21607
e16d221c
SP
216082013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21609
21610 * manual/threads.texi (Default Thread Attributes): Fix typo.
21611
215c7d43
WN
216122013-10-04 Will Newton <will.newton@linaro.org>
21613
21614 * malloc/Makefile: Add tst-memalign.
21615 * malloc/tst-memalign.c: New file.
21616
27d0461b
WN
21617 * malloc/tst-posix_memalign.c: Add comments.
21618 (do_test): Add comments and call free on all potentially
21619 allocated pointers. Add space after cast.
21620
1bc92709
WN
21621 * malloc/tst-pvalloc.c: Add comments.
21622 (do_test): Add comments and call free on all potentially
21623 allocated pointers. Remove duplicate check for NULL pointer.
21624 Add space after cast.
21625
66a9be9d
WN
21626 * malloc/tst-valloc.c: Add comments.
21627 (do_test): Add comments and call free on all potentially
21628 allocated pointers. Remove duplicate check for NULL pointer.
21629 Add space after cast.
21630
4cb81307
AM
216312013-10-04 Alan Modra <amodra@gmail.com>
21632
21633 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21634 Use stdint types in rather than __attribute__((mode())).
21635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21636
f8e3e9f3
AM
216372013-10-04 Alan Modra <amodra@gmail.com>
21638
21639 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21640 Correct handling of unaligned relocs for little-endian.
21641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21642
8f9ebb08
AM
216432013-10-04 Alan Modra <amodra@gmail.com>
21644
21645 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21646 * configure: Regenerate.
21647 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21648 * shlib-versions: Likewise.
21649
0edf96c2
AM
216502013-10-04 Alan Modra <amodra@gmail.com>
21651
21652 * string/tester.c (test_memrchr): Increment reported test cycle.
21653
e0f7a380
AM
216542013-10-04 Alan Modra <amodra@gmail.com>
21655
21656 * string/test-memcpy.c (do_one_test): When reporting errors, print
21657 string address and don't overrun end of string.
21658
466b0393
AM
216592013-10-04 Alan Modra <amodra@gmail.com>
21660
21661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21662 insrdi. Make better use of reg selection to speed exit slightly.
21663 Schedule entry path a little better. Remove useless "are we done"
21664 checks on entry to main loop. Handle wrapping around zero address.
21665 Correct main loop count. Handle single left-over word from main
21666 loop inline rather than by using loop_small. Remove extra word
21667 case in loop_small caused by wrong loop count. Add little-endian
21668 support.
21669 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21670 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21671 cache hint.
21672 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21673 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21674 support. Avoid rlwimi.
21675 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21676
3be87c77
AM
216772013-10-04 Alan Modra <amodra@gmail.com>
21678
21679 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 21680 insrdi. Formatting.
3be87c77
AM
21681 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21682 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21683 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21684 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21685 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21686 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21687
759cfef3
AM
216882013-10-04 Alan Modra <amodra@gmail.com>
21689
21690 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21691 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21692 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21693 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21694 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21695 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21696 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21697 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21699 use of regs. Use power7 mtocrf. Tidy function tails.
21700
fe6e95d7
AM
217012013-10-04 Alan Modra <amodra@gmail.com>
21702
21703 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21704 Formatting. Consistently use rXXX register defines or rN defines.
21705 Use early exit labels that avoid restoring unused non-volatile regs.
21706 Make cr field use more consistent with rWORDn compares. Rename
21707 regs used as shift registers for unaligned loop, using rN defines
21708 for short lifetime/multiple use regs.
21709 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21710 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21711 addi 1,1,64 to pop stack frame. Simplify return value code.
21712 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21713
664318c3
AM
217142013-10-04 Alan Modra <amodra@gmail.com>
21715
21716 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21717 support. Correct typos, formatting. Optimize tail. Use insrdi
21718 rather than rlwimi.
21719 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21720 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21721 little-endian support. Correct typos.
21722 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21723 rather than rlwimi.
21724 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21725 in loop and entry code to keep "and." results.
21726 (strchr): Add little-endian support. Comment. Move cntlzd
21727 earlier in tail.
21728 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21729
43b84013
AM
217302013-10-04 Alan Modra <amodra@gmail.com>
21731
21732 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21733 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21734 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21735 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21736
8a7413f9
AM
217372013-10-04 Alan Modra <amodra@gmail.com>
21738
21739 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21740 (rTMP): Define as r11.
21741 (strcmp): Add little-endian support. Optimise tail.
21742 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21743 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21744 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21745 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21746 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21748 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21749
33ee81de
AM
217502013-10-04 Alan Modra <amodra@gmail.com>
21751
21752 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21753 little-endian support. Remove unnecessary "are we done" tests.
21754 Handle "s" wrapping around zero and extremely large "size".
21755 Correct main loop count. Handle single left-over word from main
21756 loop inline rather than by using small_loop. Correct comments.
21757 Delete "zero" tail, use "end_max" instead.
21758 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21759
db9b4570
AM
217602013-10-04 Alan Modra <amodra@gmail.com>
21761
21762 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21763 support. Don't branch over align.
21764 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21765 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21766 support. Rearrange tmp reg use to suit. Comment.
21767 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21768
f7c399cf
AM
217692013-10-04 Alan Modra <amodra@gmail.com>
21770
21771 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21772
0b2c2ace
AM
217732013-10-04 Alan Modra <amodra@gmail.com>
21774
21775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21776 conditional form of branch and link when obtaining pc.
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21778
02f04a6c
AM
217792013-10-04 Alan Modra <amodra@gmail.com>
21780
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21782 HIWORD/LOWORD.
21783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21785
9b874b2f
AM
217862013-10-04 Alan Modra <amodra@gmail.com>
21787
21788 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21789 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21790 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21791 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21792 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21793 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21794 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21795 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21796 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21797 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21798
be1e5d31
AB
217992013-10-04 Anton Blanchard <anton@au1.ibm.com>
21800 Alistair Popple <alistair@ozlabs.au.ibm.com>
21801 Alan Modra <amodra@gmail.com>
21802
21803 [BZ #15723]
21804 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21805 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21806 _dl_hwcap access for little-endian.
21807 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21808 destroy vmx regs when saving unaligned.
21809 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21810 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21811 destroy vmx regs when saving unaligned.
21812
fef13a78
AM
218132013-10-04 Alan Modra <amodra@gmail.com>
21814
21815 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21816 Don't use a union to pack hi/low value.
21817
76a66d51
AB
218182013-10-04 Anton Blanchard <anton@au1.ibm.com>
21819
21820 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21821 for little-endian.
21822 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21824 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21825 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21826 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21827
6a31fe7f
AM
218282013-10-04 Alan Modra <amodra@gmail.com>
21829
21830 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21831 constants to usual value for .cst8 section, and remove redundant
21832 high address load.
21833 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21834 constant for 0x1p52. Load little-endian words of double from
21835 correct stack offsets.
21836
7b88401f
AM
218372013-10-04 Alan Modra <amodra@gmail.com>
21838
21839 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21840 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21841 words of double from correct stack offsets.
21842 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21844 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21845 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21846 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21847 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21849 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21850 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21851 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21852 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21853 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21854 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21855 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21856 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21857 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21858 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21859
9c008155
AM
218602013-10-04 Alan Modra <amodra@gmail.com>
21861
21862 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21863 64-bit int/double union.
21864 (_FPU_SETCW): Likewise.
21865 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21866 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21867
da13146d
AM
218682013-10-04 Alan Modra <amodra@gmail.com>
21869
21870 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21871 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21872
603e8410
AM
218732013-10-04 Alan Modra <amodra@gmail.com>
21874
21875 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21876 use vector int constants.
21877 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21878
4a28b3ca
AB
218792013-10-04 Anton Blanchard <anton@au1.ibm.com>
21880
21881 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21882 array with long long.
21883 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21884 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21885 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21886 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21887 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21888 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21889 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21890 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21891 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21892 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21893 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21894 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21895 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21896
2ca85d2b
AB
218972013-10-04 Anton Blanchard <anton@au1.ibm.com>
21898
21899 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21900 (__signbit): Likewise. Correct for little-endian.
21901 (__signbitl): Call __signbit.
21902 (lrint): Correct for little-endian.
21903 (lrintf): Call lrint.
21904
62a728ae
AM
219052013-10-04 Alan Modra <amodra@gmail.com>
21906
21907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21908 union 32-bit int array member with 64-bit int array.
21909 (t515, tm256): Double rather than long double.
21910 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21911
32c301df
AM
219122013-10-04 Alan Modra <amodra@gmail.com>
21913
21914 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21915 Delete.
21916 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21917 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21918 version of math_ldbl.h.
21919
650ef4bd
AM
219202013-10-04 Alan Modra <amodra@gmail.com>
21921
21922 [BZ #15734], [BZ #15735]
21923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21924 all uses of ieee875 long double macros and unions. Simplify test
21925 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21926 ldbl_extract_mantissa value for ix,iy exponents. Properly
21927 normalize after ldbl_extract_mantissa, and don't add hidden bit
21928 already handled. Don't treat low word of ieee854 mantissa like
21929 low word of IBM long double and mask off bit when testing for
21930 zero.
21931 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21932 all uses of ieee875 long double macros and unions. Simplify tests
21933 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21934 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21935 two1022, instead use their values. Recognise that tests for large
21936 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21937 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21938 Rewrite all uses of ieee875 long double macros and unions. Simplify
21939 test for 0.0L and nan. Correct negation.
21940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21941 ieee875 long double macros and unions. Correct output for large
21942 magnitude x. Correct absolute value calculation.
21943 (__erfcl): Likewise.
21944 * math/libm-test.inc: Add tests for errors discovered in IBM long
21945 double versions of fmodl, remainderl, erfl and erfcl.
21946
765714ca
AM
219472013-10-04 Alan Modra <amodra@gmail.com>
21948
21949 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21950 all uses of ieee854 long double macros and unions. Simplify tests
21951 for long doubles that are fully specified by the high double.
21952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21953 Likewise.
21954 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21955 Remove dead code too.
21956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21957 (__ieee754_ynl): Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21961 Remove dead code too.
21962 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21963 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21964 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21965 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21966 Simplify.
21967 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21968 Simplify.
21969 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21970 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21971 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21972 Comment on variable precision.
21973 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21974 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21975 Likewise.
21976 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21978 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21980 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21981
4ebd120c
AM
219822013-10-04 Alan Modra <amodra@gmail.com>
21983
21984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21985 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21986 all uses of ieee854 long double macros and unions.
21987 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21988 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21990 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21993 Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22000 Simplify sign and nan test too.
22001 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22003 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22004 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22005 Likewise.
22006 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22007 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22008 Likewise.
22009 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22010 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22011 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22012 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22013 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22014 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22015
1b6adf88
AM
220162013-10-04 Alan Modra <amodra@gmail.com>
22017
22018 * stdio-common/printf_size.c (__printf_size): Don't use
22019 union ieee854_long_double in fpnum union.
22020 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22021 signbit macro to retrieve sign from long double.
22022 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22023 retrieve sign from long double.
22024 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22025 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22026 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22027 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22028 * math/test-misc.c (main): Don't use union ieee854_long_double.
22029
4cf69995
AM
220302013-10-04 Alan Modra <amodra@gmail.com>
22031
22032 [BZ #15680]
22033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22034 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22035 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22036 calculation. Remove unnecessary test for denormal exponent.
22037 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22038 Correct handling of denormals. Avoid undefined shift behaviour.
22039 Correct normalisation of low mantissa when low double is denormal.
22040 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22041 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22042 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22043 Correct normalisation of low mantissa. Test for overflow of high
22044 mantissa and normalise.
22045 (ldbl_nearbyint): Use more readable constant for two52.
22046 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22047 (__mpn_construct_long_double): Fix test for overflow of high
22048 mantissa and correct normalisation. Avoid undefined shift.
22049
9605ca6c
AM
220502013-10-04 Alan Modra <amodra@gmail.com>
22051
22052 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22053 (union ibm_extended_long_double): Define as an array of ieee754_double.
22054 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22055 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22056 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22057 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22058 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22059 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22060 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22061 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22062 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22063 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22064 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22065
975569d0
JM
220662013-10-03 Joseph Myers <joseph@codesourcery.com>
22067
d3d23756
JM
22068 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22069 page size instead of calling getpagesize.
22070
975569d0
JM
22071 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22072 (LOCFILE_ALIGN_MASK): Likewise.
22073 (LOCFILE_ALIGN_UP): Likewise.
22074 (LOCFILE_ALIGNED_P): Likewise.
22075 * locale/programs/ld-collate.c (collate_output): Use the new
22076 macros instead of __alignof__ (int32_t).
22077 * locale/weight.h (findidx): Likewise.
22078
b1fe1f2b
OB
220792013-10-03 Ondřej Bílka <neleai@seznam.cz>
22080
22081 [BZ #431]
22082 * manual/string.texi: Fix strncat and wcsncat.
22083
5f855e35
BM
220842013-10-03 Brooks Moses <bmoses@google.com>
22085
22086 [BZ #15915]
22087 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22088 * Makerules: ...here, and adjust associated comments.
22089
3cef6009
WN
220902013-10-02 Will Newton <will.newton@linaro.org>
22091
22092 * malloc/Makefile: Add tst-pvalloc.
22093 * malloc/tst-pvalloc.c: New file.
22094
7815420b
WN
220952013-10-02 Will Newton <will.newton@linaro.org>
22096
22097 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22098 improve test coverage.
22099
4868b204
WN
221002013-10-02 Will Newton <will.newton@linaro.org>
22101
22102 * malloc/Makefile: Add tst-posix_memalign.
22103 * malloc/tst-posix_memalign.c: New file.
22104
29c793b3
EB
221052013-10-01 Eric Blake <eblake@redhat.com>
22106
22107 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22108 Use __THROWNL rather than __THROW on static functions.
22109
fd967522
PM
221102013-09-30 Petr Machata <pmachata@redhat.com>
22111
22112 * elf/elf.h (R_AARCH64_ABS16): New macro.
22113 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22114 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22115 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22116 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22117 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22118 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22119 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22120 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22121 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22122 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22123 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22124 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22125 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22126 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22127 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22128 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22129 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22130 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22131 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22132 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22133 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22134 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22135 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22136 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22137 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22138 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22139 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22140 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22141 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22142 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22143 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22144 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22145 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22146 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22147 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22148 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22149 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22150 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22151 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22152 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22153 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22154 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22155 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22156 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22157 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22158 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22159 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22160 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22161 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22162 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22163 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22164 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22165 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22166 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22167 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22168 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22169 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22170 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22171 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22172 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22173 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22174 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22175 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22176 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22177 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22178 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22179 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22180 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22181 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22182 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22183 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22184 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22185 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22186 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22187 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22188 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22189 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22190 (R_AARCH64_TLSDESC_LDR): Likewise.
22191 (R_AARCH64_TLSDESC_ADD): Likewise.
22192 (R_AARCH64_TLSDESC_CALL): Likewise.
22193
b2179107
AS
221942013-09-30 Andreas Schwab <schwab@suse.de>
22195
22196 [BZ #15048]
22197 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22198 the nss database lookup.
22199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22201
47f28d0a
MF
222022013-09-28 Mike Frysinger <vapier@gentoo.org>
22203
22204 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22205
222062013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22207
22208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22209 ${Bash-specific parameter/pattern/string} parameter expansion.
22210 * sysdeps/unix/make-syscalls.sh: Likewise.
22211
f4518a17
KK
222122013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22213
22214 * sysdeps/sh/stackguard-macros.h: New file.
22215
dc1a95c7
OB
222162013-09-26 Ondřej Bílka <neleai@seznam.cz>
22217
22218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22220 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22221 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22222 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22223 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22224
5ebbff8f
AZ
222252013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22226
22227 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22228 Fix thread ID register.
22229
4fd2cf9f
JM
222302013-09-25 Joseph Myers <joseph@codesourcery.com>
22231
22232 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22233 [POSIX || UNIX98]: Require rather than permitting all symbols from
22234 <time.h>.
22235 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22236 element of struct sched_param.
22237 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22238 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22239 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22240 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22241 constant.
22242
12c22bc4
OL
222432013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22244
22245 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22246 argument calculation.
22247
a03d8ea7
JM
222482013-09-24 Joseph Myers <joseph@codesourcery.com>
22249
22250 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22251 Expect macro.
22252 [POSIX] (pthread_attr_t): Do not require type.
22253 [POSIX] (pthread_cond_t): Likewise.
22254 [POSIX] (pthread_condattr_t): Likewise.
22255 [POSIX] (pthread_key_t): Likewise.
22256 [POSIX] (pthread_mutex_t): Likewise.
22257 [POSIX] (pthread_mutexattr_t): Likewise.
22258 [POSIX] (pthread_once_t): Likewise.
22259 [POSIX] (pthread_t): Likewise.
22260 [POSIX-based standards] (pthread_atfork): Expect function.
22261
6055173a
JM
222622013-09-24 Joseph Myers <joseph@codesourcery.com>
22263 Richard Sandiford <richard@codesourcery.com>
22264
22265 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22266 (swap_endianness_p): New extern variable.
22267 (set_big_endian): New inline function.
22268 (maybe_swap_uint32): Likewise.
22269 (maybe_swap_uint32_array): Likewise.
22270 (maybe_swap_uint32_obstack): Likewise.
22271 * locale/programs/locfile.c: Include <stdbool.h>.
22272 (swap_endianness_p): New variable.
22273 (add_locale_uint32): Call maybe_swap_uint32.
22274 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22275 (write_locale_data): Call maybe_swap_uint32_array.
22276 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22277 maybe_swap_uint32.
22278 (obstack_int32_grow_fast): Likewise.
22279 (output_weightwc): Call maybe_swap_uint32_obstack.
22280 (collate_output): Likewise.
22281 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22282 (OPT_LITTLE_ENDIAN): Likewise.
22283 (options): Add --little-endian and --big-endian options.
22284 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22285 * locale/programs/locarchive.c: Include "locfile.h".
22286 (GET): New macro.
22287 (SET): Likewise.
22288 (INC): Likewise.
22289 (create_archive): Use the new macros to access fields of
22290 structures directly mapped from or written to locale archives.
22291 (oldlocrecentcmp): Likewise.
22292 (enlarge_archive): Likewise.
22293 (insert_name): Likewise.
22294 (add_alias): Likewise.
22295 (add_locale): Likewise.
22296 (delete_locales_from_archive): Likewise.
22297 (show_archive_content): Likewise.
22298 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22299 locale data.
22300
39bf0bb4
RM
223012013-09-24 Roland McGrath <roland@hack.frob.com>
22302
22303 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22304 http://www.gnu.org/doc/freemanuals.texi.
22305 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22306
f02eed10
WN
223072013-09-24 Will Newton <will.newton@linaro.org>
22308
22309 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22310 macro.
22311
a3a6c312
JM
223122013-09-23 Joseph Myers <joseph@codesourcery.com>
22313
22314 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22315 unsigned char.
22316
107375ac
MR
223172013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22318
22319 * manual/threads.texi (POSIX Threads): Fix a typo.
22320
141f3a77
SP
223212013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22322
303e567a
SP
22323 [BZ #14547]
22324 * string/tst-strcoll-overflow.c: New test case.
22325 * string/Makefile (xtests): Add tst-strcoll-overflow.
22326 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22327 cache if string sizes may cause integer overflow.
22328
141f3a77
SP
22329 [BZ #14547]
22330 * string/strcoll_l.c (coll_seq): New members rule, idx,
22331 save_idx and back_us.
22332 (get_next_seq_nocache): New function.
22333 (do_compare_nocache): New function.
22334 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22335 when malloc fails.
22336
c61b4d41
CD
223372013-09-23 Carlos O'Donell <carlos@redhat.com>
22338
0b1f8e35
CD
22339 [BZ #15754]
22340 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22341 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22342 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22343
c61b4d41
CD
22344 [BZ #15754]
22345 * elf/Makefile (tests): Add tst-ptrguard1.
22346 (tests-static): Add tst-ptrguard1-static.
22347 (tst-ptrguard1-ARGS): Define.
22348 (tst-ptrguard1-static-ARGS): Define.
22349 * elf/tst-ptrguard1.c: New file.
22350 * elf/tst-ptrguard1-static.c: New file.
22351 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22352 * sysdeps/i386/stackguard-macros.h: Likewise.
22353 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22354 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22355 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22356 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22357 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22358 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22359
223602013-09-23 Hector Marco <hecmargi@upv.es>
22361 Ismael Ripoll <iripoll@disca.upv.es>
22362 Carlos O'Donell <carlos@redhat.com>
22363
22364 [BZ #15754]
22365 * sysdeps/generic/stackguard-macros.h: Define
22366 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22367 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22368 Define __pointer_chk_guard_local.
22369 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22370 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22371
f5f4e7b4
VV
223722013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22373
22374 [BZ #15859]
22375 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22376
5bb43a43
AS
223772013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22378
22379 * include/string.h (__ffs): Declare as hidden.
22380 * string/ffs.c (__ffs): Define as hidden.
22381 * sysdeps/i386/ffs.c (__ffs): Likewise.
22382 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22383 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22384 * sysdeps/s390/ffs.c (__ffs): Likewise.
22385 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22386
3ea5be54
AO
223872013-09-20 Alexandre Oliva <aoliva@redhat.com>
22388
ffb89e53
AO
22389 * NEWS: Mention malloc probes.
22390
322dea08
AO
22391 * malloc/arena.c (new_heap): New memory_heap_new probe.
22392 (grow_heap): New memory_heap_more probe.
22393 (shrink_heap): New memory_heap_less probe.
22394 (heap_trim): New memory_heap_free probe.
22395 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22396 (systrim): New memory_sbrk_less probe.
22397 * manual/probes.texi: Document them.
22398
655673f3
AO
22399 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22400 * manual/probes.texi: Document it.
22401
35fed6f1
AO
22402 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22403 (__libc_realloc): Add memory_realloc_retry probe.
22404 (__libc_memalign): Add memory_memalign_retry probe.
22405 (__libc_valloc): Add memory_valloc_retry probe.
22406 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22407 (__libc_calloc): Add memory_calloc_retry probe.
22408 * manual/probes.texi: Document them.
22409
6999d38c
AO
22410 * malloc/arena.c (get_free_list): Add probe
22411 memory_arena_reuse_free_list.
22412 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22413 and memory_arena_reuse.
22414 (arena_get2) [!PER_THREAD]: Likewise.
22415 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22416 memory_arena_reuse_realloc.
22417 * manual/probes.texi: Document them.
22418
0653427f
AO
22419 * malloc/malloc.c (__libc_free): Add
22420 memory_mallopt_free_dyn_thresholds probe.
22421 (__libc_mallopt): Add multiple memory_mallopt probes.
22422 * manual/probes.texi: Document them.
22423
3ea5be54
AO
22424 * malloc/malloc.c: Include stap-probe.h.
22425 (__libc_mallopt): Add memory_mallopt probe.
22426 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22427 * manual/probes.texi: New.
22428 * manual/Makefile (chapters): Add probes.
22429 * manual/threads.texi: Set next node.
22430
e35696c3 224312013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 22432
e35696c3
CL
22433 [BZ #15963, #13985]
22434 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22435 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22436 Add `Chinese' to `nan' entry name.
22437
4aafb73c
SP
224382013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22439
22440 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22441 (POLYNOMIAL): Likewise.
22442 (TAYLOR_SINCOS): Likewise.
22443 (TAYLOR_SLOW): Likewise.
22444 (__sin): Use TAYLOR_SINCOS.
22445 (__cos): Likewise.
22446 (slow): Use TAYLOR_SLOW.
22447 (sloww): Likewise.
22448 (bsloww): Likewise.
22449 (csloww): Likewise.
22450
d84f25c7
LD
224512013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22452
22453 * stdlib/strtod_l.c: Fix buffer overrun.
22454
5eea0404
SP
224552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22456
7849ff93
SP
22457 * benchtests/Makefile (bench): Add sincos.
22458 * benchtests/bench-sincos.c: New file.
22459
cfa3c886
SP
22460 * math/libm-test.inc (cos_test_data): New test inputs.
22461 (sin_test_data): Likewise.
22462
b348e1e3
SP
22463 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22464 macro.
22465 (__sin): Use it.
22466 (__cos): Likewise.
22467 (slow1): Likewise.
22468 (slow2): Likewise.
22469 (sloww1): Likewise.
22470 (sloww2): Likewise.
22471 (bsloww1): Likewise.
22472 (bsloww2): Likewise.
22473 (cslow2): Likewise.
22474 (csloww1): Likewise.
22475 (csloww2): Likewise.
22476
6cce25f8
SP
22477 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22478 function.
22479 (__sin): Use it.
22480 (__cos): Likewise.
22481
5eea0404
SP
22482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22483 gotos.
22484 (__cos): Likewise.
22485
9c21573c
MR
224862013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22487
22488 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22489 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22490 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22491 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22492 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22493 * elf/cache.c (print_entry): Handle the new cache flags.
22494
24d22e65
JM
224952013-09-18 Joseph Myers <joseph@codesourcery.com>
22496 Aldy Hernandez <aldyh@redhat.com>
22497
22498 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22499 Change condition to [_SOFT_FLOAT].
22500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22512 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22515 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22516 declaration.
22517
d13ef066
JM
225182013-09-18 Joseph Myers <joseph@codesourcery.com>
22519
2e071de0
JM
22520 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22521 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22522 (__longjmp): Use LOAD_GP to load saved GPRs.
22523 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22524 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22525 (__sigsetjmp): Use SAVE_GP to save GPRs.
22526
d13ef066
JM
22527 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22528 Do not append -msoft-float.
22529 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22530
97a0650b
SP
225312013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22532
22533 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22534
11ca09e9
JM
225352013-09-17 Joseph Myers <joseph@codesourcery.com>
22536
22537 [BZ #15966]
22538 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22539 (_FPU_GETCW): Use initial "__" on variable and field names but not
22540 on macro parameter name.
22541 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22542 parentheses around reference to macro parameter.
22543
08ffcf34
RS
225442013-09-13 Richard Sandiford <richard@codesourcery.com>
22545
22546 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22547 prototype.
22548 (ctype_startup): Use uint32_t in cast and sizeof for
22549 ctype->charnames.
22550
ae7080d3
JL
225512013-09-11 Jia Liu <proljc@gmail.com>
22552
22553 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22554 __daddr_t_defined.
22555 [__FreeBSD__]: Likewise.
22556
5905e7b3
OB
225572013-09-11 Ondřej Bílka <neleai@seznam.cz>
22558
22559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22560 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22561 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22562 (strchr): Remove __strchr_sse42 ifunc selection.
22563 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22564 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22565
b987c776
WN
225662013-09-11 Will Newton <will.newton@linaro.org>
22567
22568 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22569 parameter to RES. Remove hardcoded 1000 value.
22570 * benchtests/bench-skeleton.c (main): Pass RES parameter
22571 to TIMING_INIT and multiply result by 1000.
22572
ddf985af
AZ
225732013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22574
22575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22576
ffdd3181
AS
225772013-09-11 Andreas Schwab <schwab@suse.de>
22578
22579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22580 if not defined.
22581 (O_TMPFILE) [__USE_GNU]: Define.
22582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22583 Define.
22584
b73ed247
WN
225852013-09-11 Will Newton <will.newton@linaro.org>
22586
22587 [BZ #15857]
22588 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22589 does not overflow.
22590
55e17aad
WN
225912013-09-11 Will Newton <will.newton@linaro.org>
22592
22593 [BZ #15856]
22594 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22595 does not overflow.
22596
1159a193
WN
225972013-09-11 Will Newton <will.newton@linaro.org>
22598
22599 [BZ #15855]
22600 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22601 does not overflow.
22602
5905e7b3 226032013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
22604
22605 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22606 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22610
cdfc721b
AM
226112013-09-10 Allan McRae <allan@archlinux.org>
22612
aa04af00
AM
22613 [BZ #15748]
22614 * manual/arith.texi (Parsing of Floats): Clarify
22615 cross-reference.
22616
cdfc721b
AM
22617 [BZ #15849]
22618 * manual/install.texi (Running make install): Mention
22619 --enable-pt-chown.
22620 * INSTALL: Regenerated.
22621
95e7cf29
MR
226222013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22623
22624 * csu/init-first.c (_init): Remove the !SHARED condition around
22625 FPU control word initialization.
22626 * elf/dl-support.c (_dl_fpu_control): New variable.
22627 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22628 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22629 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22630 * math/test-fpucw-static.c: New file.
22631 * math/test-fpucw-ieee.c: New file.
22632 * math/test-fpucw-ieee-static.c: New file.
22633 * math/Makefile (tests): Add `test-fpucw-ieee' and
22634 `$(tests-static)'.
22635 (tests-static): New variable.
22636 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22637 dependency to...
22638 [($(build-shared),yes)]
22639 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22640 ... this.
22641 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22642 New dependency.
22643
83e43bf0
AM
226442013-09-09 Allan McRae <allan@archlinux.org>
22645
a9f5ce09
AM
22646 [BZ #15939]
22647 * manual/string.texi (Collation Functions): Fix typo in
22648 strcoll example.
22649 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22650
34829bc2
AM
22651 [BZ #15893]
22652 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22653
3932737d
AM
22654 [BZ #15892]
22655 * libio/memstream.c (open_memstream): Fix memory leak.
22656 * libio/wmemstream.c (open_wmemstream): Likewise.
22657
83e43bf0
AM
22658 [BZ #15895]
22659 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22660
0c66b8e9
WN
226612013-09-09 Will Newton <will.newton@linaro.org>
22662
22663 * malloc/Makefile: Add tst-realloc to tests.
22664 * malloc/tst-realloc.c: New file.
22665
f6b00fd1
AM
226662013-09-09 Allan McRae <allan@archlinux.org>
22667
22668 [BZ #15844]
22669 * COPYING: Update from GNU website to fix FSF address.
22670 * COPYING.LIB: Likewise.
22671
eec55e16
DM
226722013-09-06 David S. Miller <davem@davemloft.net>
22673
22674 * po/zh_TW.po: Update Chinese (traditional) translation from
22675 translation project.
22676
1ecbb381
RS
226772013-09-06 Richard Sandiford <richard@codesourcery.com>
22678 Joseph Myers <joseph@codesourcery.com>
22679
22680 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22681 "localeinfo.h".
22682 (obstack_chunk_alloc): New macro.
22683 (obstack_chunk_free): Likewise.
22684 (record_offset): New function.
22685 (init_locale_data): Likewise.
22686 (align_locale_data): Likewise.
22687 (add_locale_empty): Likewise.
22688 (add_locale_raw_data): Likewise.
22689 (add_locale_raw_obstack): Likewise.
22690 (add_locale_string): Likewise.
22691 (add_locale_wstring): Likewise.
22692 (add_locale_uint32): Likewise.
22693 (add_locale_uint32_array): Likewise.
22694 (add_locale_char): Likewise.
22695 (start_locale_structure): Likewise.
22696 (end_locale_structure): Likewise.
22697 (start_locale_prelude): Likewise.
22698 (end_locale_prelude): Likewise.
22699 (write_locale_data): Take locale_file structure rather than an
22700 iovec.
22701 * locale/programs/locfile.h: Include "obstack.h".
22702 (struct locale_file): Change to store locale file contents instead
22703 of header.
22704 (init_locale_data): New prototype.
22705 (align_locale_data): Likewise.
22706 (add_locale_empty): Likewise.
22707 (add_locale_raw_data): Likewise.
22708 (add_locale_raw_obstack): Likewise.
22709 (add_locale_string): Likewise.
22710 (add_locale_wstring): Likewise.
22711 (add_locale_uint32): Likewise.
22712 (add_locale_uint32_array): Likewise.
22713 (add_locale_char): Likewise.
22714 (start_locale_structure): Likewise.
22715 (end_locale_structure): Likewise.
22716 (start_locale_prelude): Likewise.
22717 (end_locale_prelude): Likewise.
22718 (write_locale_data): Update prototype.
22719 * locale/programs/3level.h (struct TABLE): Remove result field.
22720 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22721 Use new locale_file interface.
22722 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22723 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22724 * locale/programs/ld-address.c (address_output): Use new
22725 locale_file interface.
22726 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22727 NO_ADD_LOCALE.
22728 (collate_finish): Don't call collseq_table_finalize.
22729 (collate_output): Use new locale_file interface.
22730 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22731 in file.
22732 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22733 (TABLE): Move defines earlier in file.
22734 (ELEMENT): Likewise.
22735 (DEFAULT): Likewise.
22736 (wctrans_table_add): Move macro and inline function earlier in
22737 file.
22738 (struct wctype_table): Move type earlier in file.
22739 (add_locale_wctype_table): New static prototype.
22740 (struct locale_ctype_t): Use logical types instead of struct iovec
22741 pointers for members.
22742 (ctype_output): Use new locale_file interface.
22743 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22744 new locale_file interface.
22745 (allocate_arrays): Update for use of new locale_file interface.
22746 * locale/programs/ld-identification.c (identification_output): Use
22747 new locale_file interface.
22748 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22749 * locale/programs/ld-messages.c (messages_output): Likewise.
22750 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22751 * locale/programs/ld-name.c (name_output): Likewise.
22752 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22753 * locale/programs/ld-paper.c (paper_output): Likewise.
22754 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22755 * locale/programs/ld-time.c (time_output): Likewise.
22756
e029e2e5
AZ
227572013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22758
22759 * benchtests/Makefile: Add memrchr benchmark.
22760 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22761 benchmark as memrchr.
22762 * benchtests/bench-memrchr-ifunc.c: New file.
22763 * benchtests/bench-memrchr.c: New file.
22764
bbf6e8e4
WN
227652013-09-06 Will Newton <will.newton@linaro.org>
22766
22767 * benchtests/Makefile (string-bench): Add memcpy.
22768
6c82a2f8
CD
227692013-09-05 Carlos O'Donell <carlos@redhat.com>
22770 Cong Wang <amwang@redhat.com>
22771
e732c5f0 22772 [BZ #15850]
6c82a2f8
CD
22773 * sysdeps/unix/sysv/linux/bits/in.h
22774 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22775 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22776 before __USE_KERNEL_IPV6_DEFS uses.
22777 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22778 IPPROTO_BEETPH.
22779 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22780 sockaddr_in6, or ipv6_mreq.
22781
5430fc65
AZ
227822013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22783
22784 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22785 memory access for final bytes in some large inputs.
22786 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22787
4660856c
AZ
227882013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22789
22790 * string/test-memrchr.c: New file.
22791 * string/test-memrchr-ifunc.c: New file.
22792 * string/Makefile: Add new memrchr testcase.
22793
bb8ea713
MF
227942013-09-05 Mike Frysinger <vapier@gentoo.org>
22795
22796 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22797 fanotify_init returns EPERM.
22798
b92a20b5
JM
227992013-09-04 Joseph Myers <joseph@codesourcery.com>
22800
22801 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22802 errors.
22803 (top level): Treat second token from macro or constant entries for
22804 allowed headers as allowed.
22805 * include/complex.h: Condition internal declarations on
22806 [!_ISOMAC].
22807 * include/fenv.h: Condition include of <stdbool.h> and internal
22808 declarations on [!_ISOMAC].
7447ccd9
CL
22809
228102013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22811
3e181dda 22812 [BZ #15923]
7447ccd9
CL
22813 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22814
3f2e46a4
JM
228152013-09-04 Joseph Myers <joseph@codesourcery.com>
22816
22817 * configure.in (--enable-versioning): Remove configure option.
22818 (libc_cv_asm_symver_directive): Remove configure test.
22819 (libc_cv_ld_version_script_option): Likewise.
22820 (VERSIONING): Remove variable and AC_SUBST.
22821 (DO_VERSIONING): Remove AC_DEFINE.
22822 * configure: Regenerated.
22823 * config.h.in (DO_VERSIONING): Remove macro.
22824 * Makerules [$(versioning) = yes]: Change conditionals to
22825 [$(build-shared) = yes].
22826 * config.make.in (versioning): Remove variable.
22827 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22828 [$(build-shared) = yes].
22829 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22830 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22831 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22832 [$(build-shared) = yes].
22833 * extra-lib.mk [$(versioning) = yes]: Likewise.
22834 * hurd/Makefile [$(versioning) = yes]: Likewise.
22835 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22836 [SHARED].
22837 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22838 [SHARED].
22839 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22840 [SHARED && !NO_HIDDEN].
22841 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22842 [SHARED].
22843 [SHARED && DO_VERSIONING]: Likewise..
22844 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22845 [$(build-shared) = yes].
22846 * manual/install.texi (--disable-versioning): Remove
22847 documentation.
22848 * INSTALL: Regenerated.
22849 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22850 to [SHARED].
22851 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22852 [$(build-shared) = yes].
22853 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22854 * sysdeps/i386/i686/multiarch/strstr-c.c
22855 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22856 [SHARED && !NO_HIDDEN].
22857 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22858 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22859 * sysdeps/powerpc/powerpc32/dl-machine.c
22860 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22861 * sysdeps/powerpc/powerpc32/sysdep.h
22862 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22863 to [SHARED && PIC && !NO_HIDDEN].
22864 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22865 conditional to [SHARED].
22866
44558701
WN
228672013-09-04 Will Newton <will.newton@linaro.org>
22868
22869 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22870 * benchtests/bench-string.h: Include bench-timing.h instead
22871 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22872 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22873 call to HP_TIMING_DIFF_INIT.
22874 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22875 instead of hp-timing.h macros.
22876 * benchtests/bench-memchr.c: Likewise.
22877 * benchtests/bench-memcmp.c: Likewise.
22878 * benchtests/bench-memcpy.c: Likewise.
22879 * benchtests/bench-memmem.c: Likewise.
22880 * benchtests/bench-memmove.c: Likewise.
22881 * benchtests/bench-memset.c: Likewise.
22882 * benchtests/bench-rawmemchr.c: Likewise.
22883 * benchtests/bench-strcasecmp.c: Likewise.
22884 * benchtests/bench-strcasestr.c: Likewise.
22885 * benchtests/bench-strcat.c: Likewise.
22886 * benchtests/bench-strchr.c: Likewise.
22887 * benchtests/bench-strcmp.c: Likewise.
22888 * benchtests/bench-strcpy.c: Likewise.
22889 * benchtests/bench-strcpy_chk.c: Likewise.
22890 * benchtests/bench-strlen.c: Likewise.
22891 * benchtests/bench-strncasecmp.c: Likewise.
22892 * benchtests/bench-strncat.c: Likewise.
22893 * benchtests/bench-strncmp.c: Likewise.
22894 * benchtests/bench-strncpy.c: Likewise.
22895 * benchtests/bench-strnlen.c: Likewise.
22896 * benchtests/bench-strpbrk.c: Likewise.
22897 * benchtests/bench-strrchr.c: Likewise.
22898 * benchtests/bench-strspn.c: Likewise.
22899 * benchtests/bench-strstr.c: Likewise.
22900
cae16d66
WN
229012013-09-04 Will Newton <will.newton@linaro.org>
22902
22903 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22904
ffa3cd7f
JM
229052013-09-03 Joseph Myers <joseph@codesourcery.com>
22906
22907 [BZ #15427]
22908 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22909 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22910 * math/libm-test.inc (lgamma_test_data): Add more tests.
22911 * sysdeps/i386/fpu/libm-test-ulps: Update.
22912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22913
8f02859f
OB
229142013-09-03 Ondřej Bílka <neleai@seznam.cz>
22915
22916 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22918 Add ifunc.
22919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22920 Add strcmp-sse2-unaligned
22921 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22922
18d43716
MF
229232013-09-02 Mike Frysinger <vapier@gentoo.org>
22924
22925 * Versions.def (libc): Add GLIBC_2.19.
22926
ac444012
MF
229272013-09-02 Mike Frysinger <vapier@gentoo.org>
22928
22929 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22930 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22931
b7835e32
JM
229322013-09-02 Joseph Myers <joseph@codesourcery.com>
22933
22934 [BZ #14155]
22935 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22936 intermediate calculations in recurrence.
22937 (__ieee754_ynf): Likewise.
22938 * math/libm-test.inc (jn_test_data): Do not allow spurious
22939 underflow exception. Add more tests.
22940 (yn_test_data): Add more tests.
22941 * sysdeps/i386/fpu/libm-test-ulps: Update.
22942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22943
8220f4f0
OB
229442013-09-02 Ondřej Bílka <neleai@seznam.cz>
22945
22946 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22947
f24a6d08
OB
229482013-08-30 Ondřej Bílka <neleai@seznam.cz>
22949
22950 * csu/init-first.c: Fix then/than typos.
22951 * locale/programs/ld-collate.c: Likewise.
22952 * locale/programs/linereader.h: Likewise.
22953 * manual/charset.texi: Likewise.
22954 * manual/filesys.texi: Likewise.
22955 * manual/stdio.texi: Likewise.
22956 * manual/string.texi: Likewise.
22957 * stdlib/fmtmsg.c: Likewise.
22958 * sysdeps/i386/stpncpy.S: Likewise.
22959 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22960 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22961 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22962 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22963
382466e0
OB
229642013-08-30 Ondřej Bílka <neleai@seznam.cz>
22965
22966 * elf/dl-open.c: Fix typos.
22967 * iconvdata/gbbig5.c: Likewise.
22968 * iconvdata/iso-2022-jp.c: Likewise.
22969 * iconv/gconv_int.h: Likewise.
22970 * iconv/loop.c: Likewise.
22971 * nis/rpcsvc/nis.h: Likewise.
22972 * resolv/ns_name.c: Likewise.
22973 * stdio-common/vfscanf.c: Likewise.
22974 * streams/stropts.h: Likewise.
22975 * sunrpc/rpc_thread.c: Likewise.
22976 * sysdeps/i386/strpbrk.S: Likewise.
22977 * sysdeps/ieee754/k_standard.c: Likewise.
22978 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22980 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22981 * sysdeps/mach/hurd/profil.c: Likewise.
22982 * sysdeps/s390/dl-procinfo.h: Likewise.
22983 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22984 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22985 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22986 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22988
0186c6e9
OB
229892013-08-30 Ondřej Bílka <neleai@seznam.cz>
22990
22991 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22993
d4e16af1
OB
229942013-08-29 Ondřej Bílka <neleai@seznam.cz>
22995
22996 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22997 aix specific files.
22998 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22999 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23000 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23001 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23002 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23003 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23004 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23005 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23006
88335980
TS
230072013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23008 Roland McGrath <roland@hack.frob.com>
23009
23010 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23011 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23012
ed479b02
ST
230132013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23014
23015 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23016 __executable_start symbol instead of _start.
23017
f1cc4c86
TS
230182013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23019
d821f07c
TS
23020 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23021 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23022 Move macros to...
23023 * sysdeps/gnu/ldsodefs.h: ... this new file.
23024
c54290cf
TS
23025 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23026 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23027 instead of ELFOSABI_LINUX.
23028
0007fc9b 23029 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23030 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23031 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23032 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23033 Likewise.
23034 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23035 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23036 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23037 Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23039 (ibm_extended_long_double): Add ieee_nan member.
23040 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23041 (do_test): New function.
23042
f1cc4c86
TS
23043 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23044 TEST_TRUNC.
23045 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23046 functions, renamed from truncdfsf_test, trunctfsf_test,
23047 trunctfdf_test.
23048 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23049 functions.
23050 (do_test): Run all these.
23051
6f65e668
OB
230522013-08-29 Ondřej Bílka <neleai@seznam.cz>
23053
23054 * argp/argp-help.c: Fix typos.
23055 * argp/argp-parse.c: Likewise.
23056 * debug/backtracesyms.c: Likewise.
23057 * elf/elf.h: Likewise.
23058 * malloc/malloc.c: Likewise.
23059 * nis/nis_print.c: Likewise.
23060 * resolv/res_comp.c: Likewise.
23061 * stdlib/stdlib.h: Likewise.
23062 * sunrpc/clnt_tcp.c: Likewise.
23063 * sunrpc/clnt_udp.c: Likewise.
23064 * sunrpc/clnt_unix.c: Likewise.
23065 * sysdeps/unix/bsd/ptsname.c: Likewise.
23066 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23067 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23069 Likewise.
23070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23071 Likewise.
23072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23073 Likewise.
6f65e668
OB
23074 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23075
3a309239
SP
230762013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23077
23078 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23080
3b813b29
MF
230812013-08-27 Mike Frysinger <vapier@gentoo.org>
23082
23083 [BZ #15897]
23084 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23085 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23086 ($(objpfx)bug-dl-leaf): New rule.
23087 ($(objpfx)bug-dl-leaf.so): Likewise.
23088 ($(objpfx)bug-dl-leaf.out): Likewise.
23089 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23090 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23091 * dlfcn/bug-dl-leaf.c: New test.
23092 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23093 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23094 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23095 (dlclose): Likewise.
23096 (dlmopen): Likewise.
23097
8cc3269f
RM
230982013-08-27 Roland McGrath <roland@hack.frob.com>
23099
7f9d0034
RM
23100 * include/netdb.h [!_ISOMAC]:
23101 Don't include <tls.h>.
23102 (h_errno, __libc_h_errno): Move declaration and macros out of
23103 [_LIBC_REENTRANT].
23104
fb431262
RM
23105 * include/resolv.h [_RESOLV_H_]:
23106 Don't include <tls.h>.
23107 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23108 * resolv/res_libc.c: Don't include <tls.h>.
23109 (_res): Use __attribute__ ((nocommon)) in place of
23110 __attribute__ ((section (".bss"))).
23111
bd81123a
RM
23112 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23113 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23114
c4e42566
RM
23115 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23116
f890a59b
RM
23117 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23118 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23119
23120 * resolv/res_mkquery.c: Include <sys/time.h>.
23121
5d1f0a09
RM
23122 * inet/ifreq.c: Moved to ...
23123 * sysdeps/unix/ifreq.c: ... here.
23124 * inet/ifreq.c: New file, true stub version.
23125
6fcf28b3
RM
23126 * socket/sa_len.c: New file.
23127 * socket/Makefile (aux): Add it.
23128 * sysdeps/unix/sysv/linux/Makefile
23129 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23130 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23131 and #include <socket/sa_len.c>.
23132 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23133 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23134
e041fb8b
RM
23135 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23136 * bits/socket.h: ... here.
23137
8cc3269f
RM
23138 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23139 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23140 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23141
5d228a43
AS
231422013-08-27 Andreas Schwab <schwab@suse.de>
23143
45b8accc
AS
23144 [BZ #15736]
23145 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23146 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23147 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23148 * string/test-strcasecmp.c (test_main): Run tests in several
23149 locales.
23150 * string/test-strncasecmp.c (test_main): Likewise.
23151
5d228a43
AS
23152 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23153 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23154 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23156 (__strncasecmp_ssse3) [PIC]: Likewise.
23157
59d112a4
RM
231582013-08-26 Roland McGrath <roland@hack.frob.com>
23159
53234cc3
RM
23160 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23161
59d112a4
RM
23162 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23163 instead of explicitly declaring xdecrypt.
23164 * nis/nss_nis/nis-publickey.c: Likewise.
23165
595aba70
SP
231662013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23167
23168 [BZ #15890]
23169 * nscd/aicache.c: Include res_hconf.h.
23170 (addhstaiX): Initialize res_hconf.
23171
ffabd393
AS
231722013-08-26 Andreas Schwab <schwab@suse.de>
23173
23174 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23175 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23176
e0a69f5c
SP
231772013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23178
23179 * nscd/aicache.c (addhstaiX): Fix indentation.
23180
8c12f01d
MF
231812013-08-25 Mike Frysinger <vapier@gentoo.org>
23182
23183 * configure.ac: Quote $build_pt_chown test.
23184 * configure: Regenerated.
23185
8fe89494
JM
231862013-08-23 Joseph Myers <joseph@codesourcery.com>
23187
23188 [BZ #15532]
23189 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23190 * math/s_cexpf.c (__cexpf): Likewise.
23191 * math/s_cexpl.c (__cexpl): Likewise.
23192 * math/libm-test.inc (cexp_test_data): Correct expected return
23193 value for NaN + i0. Add another test.
23194
75b181d6
DM
231952013-08-22 David S. Miller <davem@davemloft.net>
23196
23197 * po/ca.po: Update Catalan translation from translation project.
936241e4 23198 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23199
acd06bb1
JM
232002013-08-21 Joseph Myers <joseph@codesourcery.com>
23201
23202 [BZ #15797]
23203 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23204 is infinite, not alongside NaN test.
23205 * math/s_fdimf.c (__fdimf): Likewise.
23206 * math/s_fdiml.c (__fdiml): Likewise.
23207 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23208 errno is unchanged.
23209
c0c3f78a
OB
232102013-08-21 Ondřej Bílka <neleai@seznam.cz>
23211
23212 * argp/argp-help.c: Fix typos.
23213 * crypt/speeds.c: Likewise.
23214 * csu/check_fds.c: Likewise.
23215 * elf/dl-load.c: Likewise.
23216 * elf/dl-open.c: Likewise.
23217 * elf/reldep3.c: Likewise.
23218 * elf/reldep.c: Likewise.
23219 * elf/sprof.c: Likewise.
23220 * iconv/iconv_charmap.c: Likewise.
23221 * iconv/skeleton.c: Likewise.
23222 * iconv/strtab.c: Likewise.
23223 * io/lockf64.c: Likewise.
23224 * libio/libioP.h: Likewise.
23225 * resolv/gai_notify.c: Likewise.
23226 * resolv/ns_name.c: Likewise.
23227 * resolv/ns_samedomain.c: Likewise.
23228 * resolv/res_send.c: Likewise.
23229 * stdlib/random.c: Likewise.
23230 * sunrpc/rpc/xdr.h: Likewise.
23231 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23232 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23233 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23234 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23235 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23238 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23239 * sysdeps/mach/hurd/check_fds.c: Likewise.
23240 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23241 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23242 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23243 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23244 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23245 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23246 * sysdeps/pthread/aio_notify.c: Likewise.
23247 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23248 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23249 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23251 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23252
46ed1038
LD
232532013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23254
23255 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23256 version if bit_Slow_SSE4_2 is set.
23257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23258 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23259
d400dcac
AZ
232602013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23261
23262 [BZ #15867]
23263 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23264 trampoline stack frame information.
23265 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23267 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23268 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23269 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23270 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23271 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23272 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23273 sa_flags value.
23274 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23275 interrupting a syscall and set with option SA_SIGINFO.
23276
42c8fdd8
JM
232772013-08-20 Joseph Myers <joseph@codesourcery.com>
23278
c980f2f4
JM
23279 [BZ #15531]
23280 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23281 argument is infinite.
23282 * math/s_cprojf.c (__cprojf): Likewise.
23283 * math/s_cprojl.c (__cprojl): Likewise.
23284 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23285 * math/libm-test.inc (cproj_test_data): Add more tests.
23286
0716c4fc
JM
23287 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23288
42c8fdd8
JM
23289 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23290 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23291 size. Use __ffs to determine corresponding shift.
23292
b31469d0
JM
232932013-08-20 Joseph Myers <joseph@codesourcery.com>
23294 Roland McGrath <roland@hack.frob.com>
23295
23296 * Makefile (INSTALL): Remove trailing blank lines from output of
23297 makeinfo.
23298
4e39af6e
AK
232992013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23300
23301 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23302 Align 32 bit compat elf_greg to 8 bytes.
23303
f315524e
AA
233042013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23305
23306 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23307
1326ba1a
SP
233082013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23309
23310 * string/strcoll_l.c (coll_seq): New structure.
23311 (get_next_seq_cached): New function.
23312 (get_next_seq): New function.
23313 (do_compare): New function.
23314 (STRCOLL): Use GNU style definition. Simplify implementation
23315 by using get_next_seq, get_next_seq_cached and do_compare.
23316
91ce4085
FW
233172013-08-16 Florian Weimer <fweimer@redhat.com>
23318
23319 [BZ #14699]
23320 CVE-2013-4237
23321 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23322 member.
23323 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23324 member.
23325 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23326 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23327 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23328 conditional.
23329 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23330 GETDENTS_64BIT_ALIGNED.
23331 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23332 * manual/filesys.texi (Reading/Closing Directory): Document
23333 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23334 strongly.
23335 * manual/conf.texi (Limits for Files): Add portability note to
23336 NAME_MAX, PATH_MAX.
23337 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23338
ca0a6bc4
AS
233392013-08-13 Andreas Schwab <schwab@suse.de>
23340
23341 [BZ #15749]
23342 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23343 of fabs.
23344 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23345 LDBL_MAX_EXP >= 16384]: Add tests for it.
23346
6c1fd795
DM
233472013-08-12 David S. Miller <davem@davemloft.net>
23348
23349 * version.h (RELEASE): Set to "development".
23350 (VERSION): Set to "2.18.90".
23351 * NEWS: Add 2.19 section.
23352
31ad488d
DM
233532013-08-03 David S. Miller <davem@davemloft.net>
23354
23355 * po/ko.po: Update Korean translation from translation project.
23356
db24e684
DM
233572013-08-01 David S. Miller <davem@davemloft.net>
23358
23359 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23360 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23361 Bilka.
23362
f723285b
DM
233632013-07-30 David S. Miller <davem@davemloft.net>
23364
23365 * po/fr.po: Update French translation from translation project.
23366
3cbc52db
DM
233672013-07-28 David S. Miller <davem@davemloft.net>
23368
30bbc0cc
DM
23369 * po/cs.po: Update Czech translation from translation project.
23370
3cbc52db
DM
23371 * po/sv.po: Update Swedish translation from translation project.
23372
d492e6d0
DM
233732013-07-27 David S. Miller <davem@davemloft.net>
23374
f1a7f492
DM
23375 * po/eo.po: Update Esperanto translation from translation project.
23376
90e62a4a
DM
23377 * po/vi.po: Update Vietnamese translation from translation project.
23378
d492e6d0
DM
23379 * po/de.po: Update German translation from translation project.
23380
d4baa62d
DM
233812013-07-26 David S. Miller <davem@davemloft.net>
23382
641aa7b4
DM
23383 * po/bg.po: Update Bulgarian translation from translation project.
23384
d4baa62d
DM
23385 * po/nl.po: Update Dutch translation from translation project.
23386 * po/pl.po: Update Polish translation from translation project.
23387 * po/ru.po: Update Russian translation from translation project.
23388
61a9dcb9
DM
233892013-07-24 David S. Miller <davem@davemloft.net>
23390
23391 * po/libc.pot: Update.
23392
7b1f8b58
AZ
233932013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23394
23395 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23396 variable page size.
23397 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23398 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23399 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23400
a8fc7a03
AK
234012013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23402
23403 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23404
e4608715
CD
234052013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23406 Andreas Schwab <schwab@suse.de>
23407 Roland McGrath <roland@hack.frob.com>
23408 Joseph Myers <joseph@codesourcery.com>
23409 Carlos O'Donell <carlos@redhat.com>
23410
23411 [BZ #15755]
23412 * config.h.in: Define HAVE_PT_CHOWN.
23413 * config.make.in (build-pt-chown): New variable.
23414 * configure.in (--enable-pt_chown): New configure option.
23415 * configure: Regenerate.
23416 * login/Makefile: Include Makeconfig. Build pt_chown only if
23417 build-pt-chown is enabled.
23418 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23419 pt_chown to fix pty ownership.
23420 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23421 CLOSE_ALL_FDS.
23422 * manual/install.texi (Configuring and compiling): Mention
23423 --enable-pt_chown. Add @findex for grantpt.
23424 * INSTALL: Regenerate.
23425
da2d62df
DM
234262013-07-20 David S. Miller <davem@davemloft.net>
23427
23428 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23429 difference between 32-bit and 64-bit.
23430
d7e06450
CD
234312013-07-15 Carlos O'Donell <carlos@redhat.com>
23432
23433 [BZ #15711]
23434 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23435 Avoid system header dependency with -ffreestanding.
23436 ($(objpfx)bits/syscall%d): Likewise.
23437
f959cfd7
DM
234382013-07-13 David S. Miller <davem@davemloft.net>
23439
23440 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23441 underflows from atanl/atan2l due to bug 15319.
23442 (casinh_test_data): Likewise.
23443
c61f8513
DM
234442013-07-07 David S. Miller <davem@davemloft.net>
23445
23446 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23447
72c90ed0
JA
234482013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23449
23450 * sysdeps/i386/fpu/libm-test-ulps: Update.
23451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23452
52dfbe13
SP
234532013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23454
23455 * configure.in (--enable-lock-elision): Fix message text.
23456 * INSTALL: Regenerate.
23457 * configure: Regenerate.
23458
3f169543
AZ
234592013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23460
23461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23462
521c6785
AJ
234632013-07-03 Andreas Jaeger <aj@suse.de>
23464
23465 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23466 define.
23467 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23468 (ptrace_peeksiginfo_args): Add.
23469 (__ptrace_peeksiginfo_flags): Add.
23470 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23471 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23473
d2cc15cb
AM
234742013-07-03 Allan McRae <allan@archlinux.org>
23475
23476 * sysdeps/i386/fpu/libm-test-ulps: Update.
23477
3aaeeca7
DM
234782013-07-02 David S. Miller <davem@davemloft.net>
23479
23480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23481
5314ed1a
MT
234822013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23483
23484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23485
67338156
JM
234862013-07-02 Joseph Myers <joseph@codesourcery.com>
23487
23488 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23490
1717da59
AK
234912013-07-02 Andi Kleen <ak@linux.intel.com>
23492
23493 * config.h.in (ENABLE_LOCK_ELISION): Add.
23494 * configure.in (--enable-lock-elision): Add option.
23495 * manual/install.texi: Document --enable lock elision.
23496 * configure: Regenerate
23497 * INSTALL: Regenerate.
23498
1c81621c
L
234992013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23500
23501 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23502 SSE4.2 strcasecmp for libc.a.
23503 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23504
77f01ab5
JM
235052013-07-02 Joseph Myers <joseph@codesourcery.com>
23506
23507 [BZ #13304]
23508 * soft-fp/op-common.h (_FP_FMA): New macro.
23509 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23510 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23511 (_FP_MUL_MEAT_1_imm): ... here.
23512 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23513 (_FP_MUL_MEAT_1_wide): ... here.
23514 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23515 (_FP_MUL_MEAT_1_hard): ... here.
23516 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23517 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23518 (_FP_MUL_MEAT_2_wide): ... here.
23519 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23520 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23521 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23522 (_FP_MUL_MEAT_2_gmp): ... here.
23523 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23524 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23525 (_FP_MUL_MEAT_4_wide): ... here.
23526 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23527 (_FP_MUL_MEAT_4_gmp): ... here.
23528 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23529 (_FP_WFRACBITS_DW_S): Likewise.
23530 (_FP_WFRACXBITS_DW_S): Likewise.
23531 (_FP_HIGHBIT_DW_S): Likewise.
23532 (FP_FMA_S): Likewise.
23533 (_FP_FRAC_HIGH_DW_S): Likewise.
23534 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23535 (_FP_WFRACBITS_DW_D): Likewise.
23536 (_FP_WFRACXBITS_DW_D): Likewise.
23537 (_FP_HIGHBIT_DW_D): Likewise.
23538 (FP_FMA_D): Likewise.
23539 (_FP_FRAC_HIGH_DW_D): Likewise.
23540 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23541 (_FP_WFRACBITS_DW_E): Likewise.
23542 (_FP_WFRACXBITS_DW_E): Likewise.
23543 (_FP_HIGHBIT_DW_E): Likewise.
23544 (FP_FMA_E): Likewise.
23545 (_FP_FRAC_HIGH_DW_E): Likewise.
23546 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23547 (_FP_WFRACBITS_DW_Q): Likewise.
23548 (_FP_WFRACXBITS_DW_Q): Likewise.
23549 (_FP_HIGHBIT_DW_Q): Likewise.
23550 (FP_FMA_Q): Likewise.
23551 (_FP_FRAC_HIGH_DW_Q): Likewise.
23552 * soft-fp/fmasf4.c: New file.
23553 * soft-fp/fmadf4.c: Likewise.
23554 * soft-fp/fmatf4.c: Likewise.
23555
6308fd9a
LD
235562013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23557
23558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23559 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23560 Silvermont.
23561 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23562 macro.
23563 (index_Slow_SSE4_2): Likewise.
23564 (index_Prefer_PMINUB_for_stringop): Likewise.
23565 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23566 bit_Slow_SSE4_2 is set.
23567 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23568 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23569
89cd9569
RA
235702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23571
23572 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23573 rtld_global._dl_hwcap2.
23574 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23575 POWER8.
23576 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23577 POWER8 feature descriptions defined in _dl_hwcap2.
23578 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23579 string handling for POWER8 feature bits.
23580 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23581 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23582 _dl_powerpc_cap_flags.
23583 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23584 * sysdeps/powerpc/rtld-global-offsets.sym
23585 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23586 _dl_hwcap2 in the rtld_global_ro structure.
23587
1ae8bfe0
RA
235882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23589
23590 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23591 hardware capabilities in support of AT_HWCAP2.
23592 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23593 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23594 GLRO(dl_hwcap2).
23595 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23596 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23597 explicitly the unknown a_type display mechanism is used.
23598 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23599 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23600 struct member.
23601 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23602 to macro prototype for AT_HWCAP2 support.
23603 * sysdeps/i386/dl-procinfo.h: Likewise.
23604 * sysdeps/s390/dl-procinfo.h: Likewise.
23605 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23606 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23607 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23608 return -1 for unknown a_type display fallback.
23609 * sysdeps/sparc/dl-procinfo.h: Likewise.
23610 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23611 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23612
8fbec010
JM
236132013-06-28 Joseph Myers <joseph@codesourcery.com>
23614
23615 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23616 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23617
0432680e
PY
236182013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23619
23620 [BZ #12492]
23621 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23622 mprotect making __stack_prot writable.
23623
ce61a2ad
NF
236242013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23625 Joseph Myers <joseph@codesourcery.com>
23626
23627 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23628 as being properly aligned.
23629
f91f1c0f
MR
236302013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23631
3d0f5d0c
MR
23632 * dlfcn/modstatic5.c: New file.
23633 * dlfcn/tststatic5.c: New file.
23634 * dlfcn/Makefile (tests): Add tststatic5.
23635 (tests-static): Likewise.
23636 (modules-names): Add modstatic5.
23637 (tststatic5-ENV): New variable.
23638 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23639
f91f1c0f
MR
23640 [BZ #15022]
23641 * elf/dl-support.c (_dl_main_map): New variable.
23642 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23643 (_dl_nns, _dl_load_adds): Set to 1.
23644 (_dl_initial_searchlist): Refer to _dl_main_map.
23645 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23646 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23647 call to _dl_get_origin.
23648 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23649 around call_map.
23650 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23651 * dlfcn/modstatic3.c: New file.
23652 * dlfcn/tststatic3.c: New file.
23653 * dlfcn/tststatic4.c: New file.
23654 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23655 (tests-static): Likewise.
23656 (modules-names): Add modstatic3.
23657 (tststatic3-ENV, tststatic4-ENV): New variables.
23658 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23659 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23660
cbe7d24b
JM
236612013-06-26 Joseph Myers <joseph@codesourcery.com>
23662
23663 * configure.in (CC): Require GCC version 4.4 or later.
23664 * configure: Regenerated.
23665 * manual/install.texi (Tools for Compilation): Update GCC version
23666 requirement.
23667 * INSTALL: Regenerated.
23668
11b8a0e1
LD
236692013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23670
23671 [BZ #15674]
bb5bb87c
L
23672 * string/test-memcmp.c (check2): New.
23673 (main): Call check2.
23674
11b8a0e1
LD
23675 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23676
b0037103
MR
236772013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23678
23679 [BZ #15022]
23680 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23681 over to...
23682 (dl_open_worker) [!SHARED]: ... here.
23683
c18c701d
RA
236842013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23685
23686 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23687
1d17fa5f
RH
236882013-06-25 Richard Henderson <rth@redhat.com>
23689
23690 * locale/programs/locarchive.c: Include <libc-internal.h>
23691
8fcb833a
JM
236922013-06-25 Joseph Myers <joseph@codesourcery.com>
23693
23694 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23695 trailing whitespace removed.
23696
17db6e8d
MF
236972013-06-24 Mike Frysinger <vapier@gentoo.org>
23698
23699 [BZ #10283]
17db6e8d
MF
23700 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23701 * locale/programs/locarchive.c: Include libc-mmap.h.
23702 (prepare_address_space): Take two new outputs (the mmap base and len).
23703 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23704 values.
23705 (create_archive): Declare new mmap base and len values for
23706 prepare_address_space, and store the result in ah.
23707 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23708 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23709 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23710 Declare new mmap base and len values for
23711 prepare_address_space, and store the result in new_ah.
23712 (open_archive): Declare new mmap base and len values for
23713 prepare_address_space, and store the result in ah.
23714 (close_archive): If ah->mmap_base is not NULL, use that and
23715 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23716 * sysdeps/generic/libc-mmap.h: New file.
23717
d605071e
MF
237182013-06-24 Mike Frysinger <vapier@gentoo.org>
23719
23720 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23721 (ALIGN_UP): Likewise.
23722 (PTR_ALIGN_DOWN): Likewise.
23723 (PTR_ALIGN_UP): Likewise.
23724
2f063a6e
RA
237252013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23726
23727 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23728 entry mapped to PPC_PLATFORM_POWER8.
23729 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23730 POWER8.
23731 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23732 (_dl_string_platform): Add case for exporting platform position for
23733 POWER8.
23734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23735 search path to sysdeps/powerpc/powerpc32/power8 directory.
23736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23737 search path to sysdeps/powerpc/powerpc64/power8 directory.
23738 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23739 power7 directories.
23740 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23741 power7 directories.
23742
a31ee4b3
SP
237432013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23744
a74ca98f
SP
23745 * INSTALL: Regenerate.
23746
a31ee4b3
SP
23747 * nscd/connections.c (nscd_init): Fix comment.
23748
695c378f
JM
237492013-06-22 Joseph Myers <joseph@codesourcery.com>
23750
d8412221
JM
23751 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23752
695c378f
JM
23753 [BZ #15667]
23754 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23755 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23756
d1d54715
MR
237572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23758
23759 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23760 DL_DST_REQ_STATIC.
23761 (DL_DST_REQ_STATIC): Remove macro.
23762
8fdda7af
JM
237632013-06-21 Joseph Myers <joseph@codesourcery.com>
23764
23765 [BZ #7006]
23766 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23767 with a shift of 0 bits.
23768
f3bc5e5a
MR
237692013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23770
23771 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23772 $(tststatic-ENV).
23773
be09e8c9
KK
237742013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23775
23776 [BZ #15655]
23777 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23778
85c2e611
AZ
237792013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23780
23781 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23782 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23783 accepts -fno-tree-loop-distribute-patterns.
23784 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23785 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23786 recursive call.
23787 * string/memset.c (memset): Likewise.
23788 * string/test-memmove.c (simple_memmove): Disable loop transformation
23789 to library calls.
23790 * string/test-memset.c (simple_memset): Likewise.
23791 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23792 * benchtests/bench-memset.c (simple_memset): Likewise.
23793 * configure: Regenerated.
23794
c91e0825
JM
237952013-06-20 Joseph Myers <joseph@codesourcery.com>
23796
b8c792af
JM
23797 * math/test-misc.c (main): Ignore fesetround failure when failures
23798 of subsequent rounding tests would be ignored.
23799
c91e0825
JM
23800 [BZ #15654]
23801 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23802 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23803 * math/fegetenv.c (__fegetenv): Return 0.
23804 * math/fegetexcept.c (fegetexcept): Return 0.
23805 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23806 FE_TONEAREST.
23807 * math/feholdexcpt.c (feholdexcept): Return 0.
23808 * math/fesetenv.c (__fesetenv): Return 0.
23809 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23810 argument FE_TONEAREST.
23811 * math/feupdateenv.c (__feupdateenv): Return 0.
23812 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23813
bfcacbde
RM
238142013-06-18 Roland McGrath <roland@hack.frob.com>
23815
23816 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23817 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23818 ($(objpfx)rtld-%.os rules): Use them.
23819
e55a9b25
AZ
238202013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23821
23822 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23823 fields.
23824
346d65b3
RM
238252013-06-17 Roland McGrath <roland@hack.frob.com>
23826
12086fb4
RM
23827 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23828 length of target pattern, then descending length of dependency pattern.
23829 * configure.in (AWK): Require gawk 3.1.2 or newer.
23830 * manual/install.texi (Tools for Compilation): Say that we do.
23831 * configure: Regenerated.
23832
346d65b3
RM
23833 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23834 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23835 * scripts/sysd-rules.awk: ... this new script.
23836 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23837 than a glob-style pattern.
23838
1a846317
JM
238392013-06-17 Joseph Myers <joseph@codesourcery.com>
23840
23841 * math/test-misc.c (main): Do not treat incorrectly rounded
23842 conversions as failure unless ROUNDING_TESTS passes.
23843
8fc75e6f
JM
238442013-06-15 Joseph Myers <joseph@codesourcery.com>
23845
3711a167
JM
23846 [BZ #15631]
23847 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23848 restore exception state around main square root computation, then
23849 check for inexactness explicitly.
23850
8fc75e6f
JM
23851 * math/libm-test.inc (fma_test_data): Add another test.
23852
61dd6208
SP
238532013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23854
adf23d2c
SP
23855 * manual/threads.texi (Non-POSIX Extensions): New document
23856 node. Document pthread_getattr_default_np and
23857 pthread_setattr_default_np.
23858
61dd6208
SP
23859 * Versions.def (libpthread): Add GLIBC_2.18.
23860 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23862 Likewise.
23863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23864 Likewise.
23865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23866 Likewise.
23867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23868 Likewise.
23869 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23870 Likewise.
23871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23872 Likewise.
23873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23874 Likewise.
23875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23876 Likewise.
23877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23878 Likewise.
23879
d086fc7b
LD
238802013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23881
23882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23883 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23884
747ef469
SP
238852013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23886 H.J. Lu <hjl.tools@gmail.com>
23887
23888 [BZ #15627]
23889 * sysdeps/x86_64/rtld-memset.c: Remove file.
23890 * sysdeps/x86_64/rtld-memset.S: New file.
23891
1b2feed2
JM
238922013-06-14 Joseph Myers <joseph@codesourcery.com>
23893
23894 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23895 (test_in_one_mode): Take arguments for whether the rounding mode
23896 is supported for each floating-point type.
23897 (do_test): Pass new arguments to test_in_one_mode using
23898 ROUNDING_TESTS.
23899
a58ad3f8
RM
239002013-06-13 Roland McGrath <roland@hack.frob.com>
23901
23902 * posix/tst-waitid.c (do_test): Distinguish different instances of
23903 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23904 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23905 before entering the kernel for waitpid.
23906
c204ab28
SP
239072013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23908
23909 * NEWS: Fix note on clock function precision. Text by Roland
23910 McGrath.
23911
f4a29fba
RM
239122013-06-13 Roland McGrath <roland@hack.frob.com>
23913
23914 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23915 it into place only when and if the sanity check passes.
23916
1f24b9ad
JM
239172013-06-13 Joseph Myers <joseph@codesourcery.com>
23918
23919 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23920 output for whether conversion result is exact. Take argument
23921 indicating whether type is IBM long double.
23922 (round_for_all): Change need_exact field to ibm_ld.
23923 * stdlib/tst-strtod-round.c (struct exactness): New type.
23924 (struct test): Change bool ld_ok field to struct exactness exact.
23925 (TEST): Update all definitions for change to field.
23926 (tests): Regenerate array contents.
23927 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23928 field value. Check for IBM long double here.
23929 (do_test): Update calls to test_in_one_mode.
23930
58206c68
SP
239312013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23932
23933 [BZ #12515]
23934 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23935 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23936
2d6f4c5b 239372013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
23938
23939 [BZ #15605]
23940 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23941 generated by the compiler on loop optimizations.
23942 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23943 general definitions.
23944
94f2c076
JM
239452013-06-12 Joseph Myers <joseph@codesourcery.com>
23946
23947 * math/bug-nextafter.c: Include <math-tests.h>.
23948 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23949 the relevant type.
23950 * math/bug-nexttoward.c: Include <math-tests.h>.
23951 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23952 the relevant type.
23953 * math/test-misc.c: Include <math-tests.h>.
23954 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23955 the relevant type.
23956
e0e50a0a
AJ
239572013-06-12 Andreas Jaeger <aj@suse.de>
23958
23959 * po/ia.po: Update Interlingua translation from translation
23960 project.
23961
25061094
SP
239622013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23963
23964 * include/fenv.h: Include stdbool.h.
23965 (struct rm_ctx): New structure.
23966 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23967 Define macro.
23968 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23969 (SET_RESTORE_ROUNDF): Likewise.
23970 (SET_RESTORE_ROUNDL): Likewise.
23971 (SET_RESTORE_ROUND_NOEX): Likewise.
23972 (SET_RESTORE_ROUND_NOEXF): Likewise.
23973 (SET_RESTORE_ROUND_NOEXL): Likewise.
23974 (SET_RESTORE_ROUND_53BIT): Likewise.
23975 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23976 (libc_feresetround_noexf_ctx): Likewise.
23977 (libc_feresetround_noexl_ctx): Likewise.
23978 (libc_feholdsetround_53bit_ctx): Likewise.
23979 (libc_feresetround_53bit_ctx): Likewise.
23980 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23981 (libc_feholdexcept_setround_sse_ctx): New function.
23982 (libc_fesetenv_sse_ctx): Likewise.
23983 (libc_feupdateenv_sse_ctx): Likewise.
23984 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23985 (libc_feholdexcept_setround_387_ctx): Likewise.
23986 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23987 (libc_feholdsetround_387_prec_ctx): Likewise.
23988 (libc_feholdsetround_387_ctx): Likewise.
23989 (libc_feholdsetround_387_53bit_ctx): Likewise.
23990 (libc_feholdsetround_sse_ctx): Likewise.
23991 (libc_feresetround_sse_ctx): Likewise.
23992 (libc_feresetround_387_ctx): Likewise.
23993 (libc_feupdateenv_387_ctx): Likewise.
23994 (libc_feholdexcept_setroundf_ctx): Define macro.
23995 (libc_fesetenvf_ctx): Likewise.
23996 (libc_feupdateenvf_ctx): Likewise.
23997 (libc_feholdsetroundf_ctx): Likewise.
23998 (libc_feresetroundf_ctx): Likewise.
23999 (libc_feholdexcept_setround_ctx): Likewise.
24000 (libc_fesetenv_ctx): Likewise.
24001 (libc_feupdateenv_ctx): Likewise.
24002 (libc_feholdsetround_ctx): Likewise.
24003 (libc_feresetround_ctx): Likewise.
24004 (libc_feholdexcept_setroundl_ctx): Likewise.
24005 (libc_feupdateenvl_ctx): Likewise.
24006 (libc_feholdsetroundl_ctx): Likewise.
24007 (libc_feresetroundl_ctx): Likewise.
24008 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24009 (libc_feresetround_53bit_ctx): Likewise.
24010
59b30555
SP
240112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24012
24013 * locale/iso-639.def: Convert to UTF-8.
24014
f1d73d30
JM
240152013-06-11 Joseph Myers <joseph@codesourcery.com>
24016
24017 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24018 (EXCEPTION_TESTS_double): Likewise.
24019 (EXCEPTION_TESTS_long_double): Likewise.
24020 (EXCEPTION_TESTS): Likewise.
24021 * math/libm-test.inc (test_exceptions): Only test exceptions if
24022 EXCEPTION_TESTS (FLOAT).
24023
94aca5e7
SP
240242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24025
24026 * benchtests/Makefile (string-bench): Add strcpy_chk and
24027 stpcpy_chk.
24028 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24029 * benchtests/bench-stpcpy_chk.c: New file.
24030 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24031 * benchtests/bench-strcpy_chk.c: New file.
24032 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24033 code.
24034 (do_test): Likewise.
24035
fac0c5f2
RA
240362013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24037
24038 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24039 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24040 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24041 with tabs where appropriate.
24042 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24043 dl-procinfo.h.
24044 [PPC_PLATFORM_PPC440]: Likewise.
24045 [PPC_PLATFORM_PPC464]: Likewise.
24046 [PPC_PLATFORM_PPC476]: Likewise.
24047 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24048 ppc464, and ppc476 platform strings merging from ports/
24049 dl-procinfo.h.
24050
f22bc486
AS
240512013-06-11 Andreas Schwab <schwab@suse.de>
24052
24053 [BZ #14991]
24054 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24055 (from_ucs4_idx): Regenerate.
24056 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24057 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24058 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24059 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24060 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24061 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24062 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24063 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24064 from FROM_LOOP and TO_LOOP specific macros.
24065 (BODY): Handle combining characters.
24066 * iconvdata/BIG5HKSCS.irreversible: Update.
24067 * iconvdata/BIG5HKSCS.precomposed: New file.
24068 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24069 characters.
24070 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24071
c1f75dc3
SP
240722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24073
4eacded2
SP
24074 * include/sys/time.h: Fix indentation and add copyright header.
24075
fec799f8
SP
24076 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24077 (do_test): Likewise.
24078 * string/test-memchr.c (do_one_test): Likewise.
24079 (do_test): Likewise.
24080 * string/test-memcmp.c (do_one_test): Likewise.
24081 (do_test): Likewise.
24082 * string/test-memcpy.c (do_one_test): Likewise.
24083 (do_test): Likewise.
24084 * string/test-memmem.c (do_one_test): Likewise.
24085 (do_test): Likewise.
24086 (do_random_tests): Likewise.
24087 * string/test-memmove.c (do_one_test): Likewise.
24088 (do_test): Likewise.
24089 * string/test-memset.c (do_one_test): Likewise.
24090 (do_test): Likewise.
24091 * string/test-rawmemchr.c (do_one_test): Likewise.
24092 (do_test): Likewise.
24093 * string/test-strcasecmp.c (do_one_test): Likewise.
24094 (do_test): Likewise.
24095 * string/test-strcasestr.c (do_one_test): Likewise.
24096 (do_test): Likewise.
24097 * string/test-strcat.c (do_one_test): Likewise.
24098 (do_test): Likewise.
24099 * string/test-strchr.c (do_one_test): Likewise.
24100 (do_test): Likewise.
24101 * string/test-strcmp.c (do_one_test): Likewise.
24102 (do_test): Likewise.
24103 * string/test-strcpy.c (do_one_test): Likewise.
24104 (do_test): Likewise.
24105 * string/test-string.h: Likewise.
24106 (test_init): Likewise.
24107 * string/test-strlen.c (do_one_test): Likewise.
24108 (do_test): Likewise.
24109 * string/test-strncasecmp.c (do_one_test): Likewise.
24110 (do_test): Likewise.
24111 * string/test-strncat.c (do_one_test): Likewise.
24112 (do_test): Likewise.
24113 * string/test-strncmp.c (do_one_test): Likewise.
24114 (do_test_limit): Likewise.
24115 (do_test): Likewise.
24116 * string/test-strncpy.c (do_one_test): Likewise.
24117 (do_test): Likewise.
24118 * string/test-strnlen.c (do_one_test): Likewise.
24119 (do_test): Likewise.
24120 * string/test-strpbrk.c (do_one_test): Likewise.
24121 (do_test): Likewise.
24122 * string/test-strrchr.c (do_one_test): Likewise.
24123 (do_test): Likewise.
24124 * string/test-strspn.c (do_one_test): Likewise.
24125 (do_test): Likewise.
24126 * string/test-strstr.c (do_one_test): Likewise.
24127 (do_test): Likewise.
24128
97020474
SP
24129 * benchtests/Makefile (string-bench): Add string benchmarks.
24130 * benchtests/bench-bcopy-ifunc.c: New file.
24131 * benchtests/bench-bcopy.c: New file.
24132 * benchtests/bench-bzero-ifunc.c: New file.
24133 * benchtests/bench-bzero.c: New file.
24134 * benchtests/bench-memccpy-ifunc.c: New file.
24135 * benchtests/bench-memccpy.c: New file.
24136 * benchtests/bench-memchr-ifunc.c: New file.
24137 * benchtests/bench-memchr.c: New file.
24138 * benchtests/bench-memcmp-ifunc.c: New file.
24139 * benchtests/bench-memcmp.c: New file.
24140 * benchtests/bench-memmem-ifunc.c: New file.
24141 * benchtests/bench-memmem.c: New file.
24142 * benchtests/bench-memmove-ifunc.c: New file.
24143 * benchtests/bench-memmove.c: New file.
24144 * benchtests/bench-mempcpy-ifunc.c: New file.
24145 * benchtests/bench-mempcpy.c: New file.
24146 * benchtests/bench-memset-ifunc.c: New file.
24147 * benchtests/bench-memset.c: New file.
24148 * benchtests/bench-rawmemchr-ifunc.c: New file.
24149 * benchtests/bench-rawmemchr.c: New file.
24150 * benchtests/bench-stpcpy-ifunc.c: New file.
24151 * benchtests/bench-stpcpy.c: New file.
24152 * benchtests/bench-stpncpy-ifunc.c: New file.
24153 * benchtests/bench-stpncpy.c: New file.
24154 * benchtests/bench-strcasecmp-ifunc.c: New file.
24155 * benchtests/bench-strcasecmp.c: New file.
24156 * benchtests/bench-strcasestr-ifunc.c: New file.
24157 * benchtests/bench-strcasestr.c: New file.
24158 * benchtests/bench-strcat-ifunc.c: New file.
24159 * benchtests/bench-strcat.c: New file.
24160 * benchtests/bench-strchr-ifunc.c: New file.
24161 * benchtests/bench-strchr.c: New file.
24162 * benchtests/bench-strchrnul-ifunc.c: New file.
24163 * benchtests/bench-strchrnul.c: New file.
24164 * benchtests/bench-strcmp-ifunc.c: New file.
24165 * benchtests/bench-strcmp.c: New file.
24166 * benchtests/bench-strcpy-ifunc.c: New file.
24167 * benchtests/bench-strcpy.c: New file.
24168 * benchtests/bench-strcspn-ifunc.c: New file.
24169 * benchtests/bench-strcspn.c: New file.
24170 * benchtests/bench-strlen-ifunc.c: New file.
24171 * benchtests/bench-strlen.c: New file.
24172 * benchtests/bench-strncasecmp-ifunc.c: New file.
24173 * benchtests/bench-strncasecmp.c: New file.
24174 * benchtests/bench-strncat-ifunc.c: New file.
24175 * benchtests/bench-strncat.c: New file.
24176 * benchtests/bench-strncmp-ifunc.c: New file.
24177 * benchtests/bench-strncmp.c: New file.
24178 * benchtests/bench-strncpy-ifunc.c: New file.
24179 * benchtests/bench-strncpy.c: New file.
24180 * benchtests/bench-strnlen-ifunc.c: New file.
24181 * benchtests/bench-strnlen.c: New file.
24182 * benchtests/bench-strpbrk-ifunc.c: New file.
24183 * benchtests/bench-strpbrk.c: New file.
24184 * benchtests/bench-strrchr-ifunc.c: New file.
24185 * benchtests/bench-strrchr.c: New file.
24186 * benchtests/bench-strspn-ifunc.c: New file.
24187 * benchtests/bench-strspn.c: New file.
24188 * benchtests/bench-strstr-ifunc.c: New file.
24189 * benchtests/bench-strstr.c: New file.
24190
c1f75dc3
SP
24191 * benchtests/Makefile: Disable parallel execution of targets.
24192 (string-bench): Add memcpy.
24193 (benchset): New variable to store a list of benchmark sets.
24194 (bench-func): Renamed from bench.
24195 (bench-set): New target.
24196 (bench): Depend on bench-func and bench-set.
24197 * benchtests/README: Add section on benchmark sets.
24198 * benchtests/bench-memcpy-ifunc.c: New file.
24199 * benchtests/bench-memcpy.c: New file.
24200 * benchtests/bench-string.h: New file.
24201
50fd745b
AS
242022013-06-11 Andreas Schwab <schwab@suse.de>
24203
24204 [BZ #15577]
24205 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24206 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24207 values in the triple.
24208 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24209 terminator in the group key.
24210
3ee7e9fe
AJ
242112013-06-11 Andreas Jaeger <aj@suse.de>
24212
24213 * po/zh_TW.po: Update Chinese (traditional) translation from
24214 translation project.
24215
89fb6835
SP
242162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24217
24218 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24219 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24220 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24221 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24222 (clock_getcpuclockid): Likewise.
24223 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24224 Add weak_alias and libc_hidden_def.
24225 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24226 * rt/clock_gettime.c (clock_gettime): Rename to
24227 __clock_gettime. Add weak_alias and libc_hidden_def.
24228 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24229 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24230 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24231 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24232 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24233 Likewise.
24234 * rt/clock_settime.c (clock_settime): Rename to
24235 __clock_settime. Add weak_alias and libc_hidden_def.
24236 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24237
0efa6f8b
JM
242382013-06-10 Joseph Myers <joseph@codesourcery.com>
24239
b8c61b4b
JM
24240 * mach/err_boot.sub: Remove trailing whitespace.
24241 * mach/err_ipc.sub: Likewise.
24242 * mach/err_mach.sub: Likewise.
24243
0efa6f8b
JM
24244 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24245 (ROUNDING_TESTS_double): Likewise.
24246 (ROUNDING_TESTS_long_double): Likewise.
24247 (ROUNDING_TESTS): Likewise.
24248 * math/libm-test.inc: Include <math-tests.h>.
24249 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24250 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24251 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24252 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24253
50b818bf
SP
242542013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24255
24256 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24257 of assigning.
24258
60d2f8f3
JM
242592013-06-08 Joseph Myers <joseph@codesourcery.com>
24260
4902d2c3
JM
24261 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24262 otherwise empty TRANS lines.
24263 * sysdeps/gnu/errlist.c: Regenerated.
24264
60d2f8f3
JM
24265 * catgets/gencat.c (error_print): Use (void) in function
24266 definition.
24267 * crypt/crypt_util.c (__init_des): Likewise.
24268 * crypt/speeds.c (Stop): Likewise.
24269 (main): Likewise.
24270 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24271 * inet/ruserpass.c (token): Likewise.
24272 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24273 * intl/localealias.c (extend_alias_table): Likewise.
24274 * intl/plural-exp.c (init_germanic_plural): Likewise.
24275 * libio/fcloseall.c (__fcloseall): Likewise.
24276 * libio/genops.c (_IO_flush_all): Likewise.
24277 (_IO_flush_all_linebuffered): Likewise.
24278 (_IO_cleanup): Likewise.
24279 (_IO_iter_begin): Likewise.
24280 (_IO_iter_end): Likewise.
24281 (_IO_list_lock): Likewise.
24282 (_IO_list_unlock): Likewise.
24283 (_IO_list_resetlock): Likewise.
24284 * libio/getchar.c (getchar): Likewise.
24285 * libio/getchar_u.c (getchar_unlocked): Likewise.
24286 * libio/getwchar.c (getwchar): Likewise.
24287 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24288 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24289 * login/getpt.c (__getpt): Likewise.
24290 * login/tst-utmp.c (main): Likewise.
24291 * malloc/hooks.c (__malloc_check_init): Likewise.
24292 * malloc/malloc.c (__malloc_stats): Likewise.
24293 * malloc/mtrace.c (tr_break): Likewise.
24294 (mtrace): Likewise.
24295 (muntrace): Likewise.
24296 * misc/fstab.c (endfsent): Likewise.
24297 * misc/getclktck.c (__getclktck): Likewise.
24298 * misc/getdtsz.c (__getdtablesize): Likewise.
24299 * misc/gethostid.c (gethostid): Likewise.
24300 * misc/getpagesize.c (__getpagesize): Likewise.
24301 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24302 (__get_nprocs): Likewise.
24303 (__get_phys_pages): Likewise.
24304 (__get_avphys_pages): Likewise.
24305 * misc/getttyent.c (getttyent): Likewise.
24306 (setttyent): Likewise.
24307 (endttyent): Likewise.
24308 * misc/getusershell.c (getusershell): Likewise.
24309 (endusershell): Likewise.
24310 (setusershell): Likewise.
24311 (initshells): Likewise.
24312 * misc/hsearch.c (__hdestroy): Likewise.
24313 * misc/sync.c (sync): Likewise.
24314 * misc/syslog.c (closelog_internal): Likewise.
24315 (closelog): Likewise.
24316 * misc/ttyslot.c (ttyslot): Likewise.
24317 * misc/vhangup.c (vhangup): Likewise.
24318 * posix/fork.c (__fork): Likewise.
24319 * posix/getegid.c (__getegid): Likewise.
24320 * posix/geteuid.c (__geteuid): Likewise.
24321 * posix/getgid.c (__getgid): Likewise.
24322 * posix/getpid.c (__getpid): Likewise.
24323 * posix/getppid.c (__getppid): Likewise.
24324 * posix/getuid.c (__getuid): Likewise.
24325 * posix/pause.c (pause): Likewise.
24326 * posix/setpgrp.c (setpgrp): Likewise.
24327 * posix/setsid.c (__setsid): Likewise.
24328 * posix/test-vfork.c (noop): Likewise.
24329 * resolv/gethnamaddr.c (_endhtent): Likewise.
24330 (_gethtent): Likewise.
24331 (ht_endhostent): Likewise.
24332 (gethostent): Likewise.
24333 (dns_service): Likewise.
24334 * stdlib/drand48.c (drand48): Likewise.
24335 * stdlib/lrand48.c (lrand48): Likewise.
24336 * stdlib/mrand48.c (mrand48): Likewise.
24337 * stdlib/rand.c (rand): Likewise.
24338 * stdlib/random.c (__random): Likewise.
24339 * stdlib/setenv.c (clearenv): Likewise.
24340 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24341 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24342 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24343 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24344 (__get_nprocs): Likewise.
24345 (__get_phys_pages): Likewise.
24346 (__get_avphys_pages): Likewise.
24347 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24348 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24349 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24350 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24351 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24352 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24353 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24354 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24355 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24356 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24357 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24358 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24359 * sysdeps/posix/clock.c (clock): Likewise.
24360 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24361 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24362 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24363 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24364 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24366 (__get_nprocs_conf): Likewise.
24367 (__get_phys_pages): Likewise.
24368 (__get_avphys_pages): Likewise.
24369 * time/clock.c (clock): Likewise.
24370 * time/tzset.c (__tzname_max): Likewise.
24371
2e09a79a
JM
243722013-06-07 Joseph Myers <joseph@codesourcery.com>
24373
24374 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24375 (__bswap_32): Do not use "register".
24376 * crypt/crypt.c (_ufc_doit_r): Likewise.
24377 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24378 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24379 * gmon/gmon.c (__monstartup): Likewise.
24380 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24381 * hurd/hurdmalloc.c (more_memory): Likewise.
24382 (malloc): Likewise.
24383 (free): Likewise.
24384 (realloc): Likewise.
24385 (malloc_fork_prepare): Likewise.
24386 (malloc_fork_parent): Likewise.
24387 (malloc_fork_child): Likewise.
24388 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24389 (_svcauth_des): Likewise.
24390 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24391 * inet/inet_net.c (inet_network): Likewise.
24392 * inet/inet_netof.c (inet_netof): Likewise.
24393 * inet/rcmd.c (__validuser2_sa): Likewise.
24394 * io/fts.c (fts_open): Likewise.
24395 (fts_load): Likewise.
24396 (fts_close): Likewise.
24397 (fts_read): Likewise.
24398 (fts_children): Likewise.
24399 (fts_build): Likewise.
24400 (fts_stat): Likewise.
24401 (fts_sort): Likewise.
24402 (fts_alloc): Likewise.
24403 (fts_lfree): Likewise.
24404 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24405 (_IO_file_xsgetn): Likewise.
24406 (_IO_file_xsgetn_mmap): Likewise.
24407 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24408 (_IO_cookie_write): Likewise.
24409 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24410 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24411 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24412 * malloc/obstack.c (_obstack_begin): Likewise.
24413 (_obstack_begin_1): Likewise.
24414 (_obstack_newchunk): Likewise.
24415 (_obstack_allocated_p): Likewise.
24416 (obstack_free): Likewise.
24417 (_obstack_memory_used): Likewise.
24418 * misc/getttyent.c (getttynam): Likewise.
24419 (getttyent): Likewise.
24420 (skip): Likewise.
24421 (value): Likewise.
24422 * misc/getusershell.c (initshells): Likewise.
24423 * misc/syslog.c (__vsyslog_chk): Likewise.
24424 * misc/ttyslot.c (ttyslot): Likewise.
24425 * nis/nis_hash.c (__nis_hash): Likewise.
24426 * posix/fnmatch_loop.c (FCT): Likewise.
24427 * posix/getconf.c (print_all): Likewise.
24428 (main): Likewise.
24429 * posix/getopt.c (exchange): Likewise.
24430 * posix/glob.c (globfree): Likewise.
24431 (prefix_array): Likewise.
24432 (__glob_pattern_type): Likewise.
24433 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24434 (NS_GET32): Likewise.
24435 (NS_PUT16): Likewise.
24436 (NS_PUT32): Likewise.
24437 * resolv/gethnamaddr.c (getanswer): Likewise.
24438 (gethostbyname2): Likewise.
24439 (gethostbyaddr): Likewise.
24440 (_gethtent): Likewise.
24441 (_gethtbyname2): Likewise.
24442 (_gethtbyaddr): Likewise.
24443 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24444 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24445 * resolv/res_init.c (__res_vinit): Likewise.
24446 (net_mask): Likewise.
24447 * resolv/res_mkquery.c (outchar): Likewise.
24448 (PRINT): Likewise.
24449 * stdio-common/printf_fp.c (outchar): Likewise.
24450 (PRINT): Likewise.
24451 * stdio-common/printf_fphex.c (outchar): Likewise.
24452 (PRINT): Likewise.
24453 * stdio-common/printf_size.c (outchar): Likewise.
24454 (PRINT): Likewise.
24455 * stdio-common/test_rdwr.c (main): Likewise.
24456 * stdio-common/tfformat.c (matches): Likewise.
24457 * stdio-common/vfprintf.c (outchar): Likewise.
24458 (printf_unknown): Likewise.
24459 (buffered_vfprintf): Likewise.
24460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24461 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24462 (ReadFile): Likewise.
24463 * stdlib/qsort.c (SWAP): Likewise.
24464 (_quicksort): Likewise.
24465 * stdlib/setenv.c (__add_to_environ): Likewise.
24466 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24467 * stdlib/strtol_l.c (__strtol_l): Likewise.
24468 * stdlib/tst-strtod.c (main): Likewise.
24469 * stdlib/tst-strtol.c (main): Likewise.
24470 * stdlib/tst-strtoll.c (main): Likewise.
24471 * string/bits/string2.h (__strcmp_cc): Likewise.
24472 (__strcmp_cg): Likewise.
24473 (__strcspn_c1): Likewise.
24474 (__strcspn_c2): Likewise.
24475 (__strcspn_c3): Likewise.
24476 (__strspn_c1): Likewise.
24477 (__strspn_c2): Likewise.
24478 (__strspn_c3): Likewise.
24479 (__strsep_1c): Likewise.
24480 (__strsep_2c): Likewise.
24481 (__strsep_3c): Likewise.
24482 * string/memccpy.c (__memccpy): Likewise.
24483 * string/stpcpy.c (__stpcpy): Likewise.
24484 * string/strcmp.c (strcmp): Likewise.
24485 * string/strrchr.c (strrchr): Likewise.
24486 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24487 Likewise.
24488 * sysdeps/mach/hurd/getcwd.c
24489 (_hurd_canonicalize_directory_name_internal): Likewise.
24490 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24491 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24492 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24493 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24494 Likewise, in both definitions.
24495 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24496 definitions.
24497 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24498 64] (__bswap_64): Likewise.
24499 * time/test_time.c (main): Likewise.
24500 * time/tzfile.c (__tzfile_read): Likewise.
24501 (__tzfile_compute): Likewise.
24502 * time/tzset.c (__tzset_parse_tz): Likewise.
24503 (tzset_internal): Likewise.
24504 (compute_change): Likewise.
24505 * wcsmbs/wcscat.c (__wcscat): Likewise.
24506 * wcsmbs/wcschr.c (wcschr): Likewise.
24507 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24508 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24509 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24510 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24511 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24512 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24513 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24514 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24515 * wcsmbs/wmemset.c (wmemset): Likewise.
24516
9e54314b
JM
245172013-06-06 Joseph Myers <joseph@codesourcery.com>
24518
24519 * scripts/config.guess: Update to version 2013-05-16.
24520 * scripts/config.sub: Update to version 2013-04-24.
24521 * scripts/install-sh: Update to version 2011-11-20.07.
24522 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24523 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24524
350635a5
OB
245252013-06-06 Ondřej Bílka <neleai@seznam.cz>
24526
24527 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24528 * elf/sln.c: Likewise.
24529 * hurd/hurd/ioctl.h: Likewise.
24530 * hurd/hurdmalloc.c: Likewise.
24531 * hurd/xattr.c: Likewise.
24532 * include/shlib-compat.h: Likewise.
24533 * inet/ruserpass.c: Likewise.
24534 * libio/iofgets_u.c: Likewise.
24535 * libio/iofgetws_u.c: Likewise.
24536 * locale/programs/ld-identification.c: Likewise.
24537 * locale/programs/ld-time.c: Likewise.
24538 * mach/msg-destroy.c: Likewise.
24539 * nss/nss_files/files-netgrp.c: Likewise.
24540 * resolv/res_data.c: Likewise.
24541 * soft-fp/op-1.h: Likewise.
24542 * soft-fp/op-2.h: Likewise.
24543 * soft-fp/op-4.h: Likewise.
24544 * soft-fp/op-common.h: Likewise.
24545 * stdio-common/printf_fphex.c: Likewise.
24546 * stdlib/strtod_l.c: Likewise.
24547 * sunrpc/rpc/clnt.h: Likewise.
24548 * sysdeps/generic/framestate.c: Likewise.
24549 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24550 * sysdeps/i386/bsd-setjmp.S: Likewise.
24551 * sysdeps/i386/__longjmp.S: Likewise.
24552 * sysdeps/i386/setjmp.S: Likewise.
24553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24554 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24555 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24571 * sysdeps/ieee754/support.c: Likewise.
24572 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24573 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24574 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24575 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24576 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24577 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24578 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24579 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24580 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24581 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24582 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24583 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24584 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24585 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24586 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24587 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24588 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24590
44a988af
OB
245912013-06-05 Ondřej Bílka <neleai@seznam.cz>
24592
25506f09 24593 * posix/transbug.c: Remove executable mode.
44a988af 24594
9c84384c
JM
245952013-06-05 Joseph Myers <joseph@codesourcery.com>
24596
24597 * crypt/speeds.c: Remove trailing whitespace.
24598 * dlfcn/default.c: Likewise.
24599 * elf/ifuncdep2.c: Likewise.
24600 * elf/ifuncmain1.c: Likewise.
24601 * elf/ifuncmain1vis.c: Likewise.
24602 * elf/testobj.h: Likewise.
24603 * elf/tst-stackguard1.c: Likewise.
24604 * gmon/sys/gmon.h: Likewise.
24605 * hurd/hurdmsg.c: Likewise.
24606 * hurd/new-fd.c: Likewise.
24607 * hurd/ports-get.c: Likewise.
24608 * iconvdata/ibm1008_420.c: Likewise.
24609 * inet/tst-getni1.c: Likewise.
24610 * inet/tst-getni2.c: Likewise.
24611 * libio/ioungetc.c: Likewise.
24612 * libio/wfiledoalloc.c: Likewise.
24613 * manual/libm-err-tab.pl: Likewise.
24614 * math/w_dremf.c: Likewise.
24615 * misc/ftruncate.c: Likewise.
24616 * posix/bug-glob2.c: Likewise.
24617 * posix/tst-pcre.c: Likewise.
24618 * posix/wait4.c: Likewise.
24619 * resolv/README: Likewise.
24620 * resolv/res_debug.h: Likewise.
24621 * resolv/tst-inet_ntop.c: Likewise.
24622 * setjmp/bug269-setjmp.c: Likewise.
24623 * soft-fp/extended.h: Likewise.
24624 * soft-fp/op-1.h: Likewise.
24625 * soft-fp/op-2.h: Likewise.
24626 * soft-fp/op-4.h: Likewise.
24627 * soft-fp/op-8.h: Likewise.
24628 * soft-fp/testit.c: Likewise.
24629 * stdio-common/bug16.c: Likewise.
24630 * stdlib/random.c: Likewise.
24631 * sunrpc/rpcsvc/rquota.x: Likewise.
24632 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24633 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24634 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24635 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24636 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24637 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24638 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24639 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24640 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24641 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24642 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24661 * sysdeps/ieee754/s_lib_version.c: Likewise.
24662 * sysdeps/mach/hurd/check_fds.c: Likewise.
24663 * sysdeps/mach/hurd/getsockname.c: Likewise.
24664 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24665 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24666 * sysdeps/powerpc/bits/link.h: Likewise.
24667 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24668 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24669 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24670 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24671 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24672 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24673 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24674 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24675 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24676 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24677 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24678 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24679 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24680 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24681 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24682 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24683 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24685 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24686 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24687 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24688 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24689 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24690 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24691 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24694 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24695 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24696 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24697 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24698 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24700 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24701 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24702 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24703 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24704 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24705 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24706 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24707 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24708 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24709 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24710 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24711 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24712 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24713 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24714 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24715 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24716 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24719 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24720 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24721 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24722 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24723 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24724 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24725 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24726 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24727 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24728 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24729 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24730 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24731 * sysdeps/powerpc/sysdep.h: Likewise.
24732 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24733 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24734 * sysdeps/sh/dl-trampoline.S: Likewise.
24735 * sysdeps/sh/memset.S: Likewise.
24736 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24737 * sysdeps/sh/strlen.S: Likewise.
24738 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24739 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24740 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24741 * sysdeps/sparc/sparc32/rem.S: Likewise.
24742 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24743 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24744 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24745 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24746 * sysdeps/sparc/sparc32/urem.S: Likewise.
24747 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24748 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24749 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24750 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24751 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24752 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24753 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24754 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24755 * sysdeps/unix/bsd/times.c: Likewise.
24756 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24757 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24761 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24762 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24763 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24764 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24765 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24766 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24767 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24768 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24769 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24770 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24771 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24772 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24773 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24774 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24775 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24776 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24777 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24778 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24779 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24780 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24781 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24782 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24784 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24785 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24786 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24787 * sysdeps/x86_64/strcspn.S: Likewise.
24788
869378a5
RA
247892013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24790
24791 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24792 generated file. Regenerate properly from gen-translit.pl.
24793 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24794 locale/C-translit.h.
24795
840e2943
AS
247962013-06-05 Andreas Schwab <schwab@suse.de>
24797
24798 [BZ #15100]
24799 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24800 week as 6 instead of -1.
24801 * time/tst-strptime.c (day_tests): Add test case.
24802
4c60cb0c
SP
248032013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24804
24805 * sysdeps/generic/math_private.h
24806 (libc_feholdexcept_setround_53bit): Replace with
24807 libc_feholdsetround_53bit.
24808 (libc_feupdateenv_53bit): Replace with
24809 libc_feresetround_53bit.
24810 (SET_RESTORE_ROUND_53BIT): Adjust.
24811
d180203e
SP
248122013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24813
96df079a
SP
24814 * string/test-strchrnul.c: Add copyright header.
24815
d180203e
SP
24816 * posix/tst-getaddrinfo4.c: Increase test timeout.
24817
8b0ccb2d
CD
248182013-06-03 Carlos O'Donell <carlos@redhat.com>
24819
24820 [BZ #15536]
24821 * math/libm-test.inc (MAX_EXP): Remove
24822 (MIN_EXP): Define.
24823 (ulp): Use MIN_EXP - MANT_DIG.
24824 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24825
3b3c4d40
CD
248262013-05-31 Carlos O'Donell <carlos@redhat.com>
24827
24828 * po/be.po: Revert last change.
24829 * po/zh_CN.po: Likewise.
24830 * po/header.pot: Likewise.
24831
fab7ce3f
JM
248322013-05-31 Joseph Myers <joseph@codesourcery.com>
24833
24834 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24835 link-libc-deps to empty as target-specific variable.
24836 * Makerules (link-libc-args): New variable.
24837 (libc-for-link): Likewise.
24838 (link-libc-deps): Likewise.
24839 (lib%.so): Depend on $(link-libc-deps). Link with
24840 $(link-libc-args).
24841 (build-module): Link with $(link-libc-args).
24842 (build-module-asneeded): Likewise.
24843 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24844 list of objects.
24845 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24846 target-specific variable.
24847 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24848 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24849 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24850 libc.
24851 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24852 libc and ld.so.
24853 ($(objpfx)libpcprofile.so): Likewise.
24854 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24855 libc_nonshared.a.
24856 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24857 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24858 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24859 $(link-libc-deps).
24860 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24861 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24862 * login/Makefile ($(objpfx)libutil.so): Likewise.
24863 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24864 * math/Makefile ($(objpfx)libm.so): Likewise.
24865 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24866 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24867 variable instead of depending directly on libc.
24868 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24869 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24870 $(link-libc-deps).
24871 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24872 libc.
24873 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24874 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24875 ($(objpfx)libanl.so): Likewise.
24876 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24877 ld.so.
24878 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24879 $(link-libc-deps).
24880 * sysdeps/i386/fpu/Makefile: Remove file.
24881 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24882 ($(objpfx)libm.so): Remove dependency on ld.so.
24883
eca5920c
PF
248842013-05-30 Patsy Franklin <pfrankli@redhat.com>
24885
24886 [BZ # 15553]
24887 * nis/yp_xdr.c (XDRMAXNAME): Define.
24888 (XDRMAXRECORD): Define.
24889 (xdr_domainname): Use XDRMAXNAME.
24890 (xdr_mapname): Likewise.
24891 (xdr_peername): Likewise.
24892 (xdr_keydat): Use XDRMAXRECORD.
24893 (xdr_valdat): Likewise.
24894
248952013-05-30 Jeff Law <law@redhat.com>
96945714
JL
24896
24897 [BZ #14256]
24898 * manual/errno.texi (ESTALE): Update to account for more than
24899 just NFS file systems.
24900 * sysdeps/gnu/errlist.c: Regenerated.
24901
b9375348
SP
249022013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24903
24904 [BZ #15465]
24905 * elf/Makefile (tests): Add tst-null-argv.
24906 (modules-names): Add tst-null-argv-lib.
24907 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24908 (tst-null-argv-ENV): Set environment for tst-null-argv.
24909 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24910 (RTLD_PROGNAME): New macro.
24911 * elf/tst-null-argv.c: New test case.
24912 * elf/tst-null-argv-lib.c: Library for test case.
24913 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24914 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24915 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24916 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24917 * elf/dl-init.c (call_init): Likewise.
24918 (_dl_init): Likewise.
24919 * elf/dl-load.c (print_search_path): Likewise.
24920 (_dl_map_object): Likewise.
24921 * elf/dl-lookup.c (do_lookup_x): Likewise.
24922 (add_dependency): Likewise.
24923 (_dl_lookup_symbol_x): Likewise.
24924 (_dl_debug_bindings): Likewise.
24925 * elf/dl-open.c (_dl_show_scope): Likewise.
24926 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24927 * elf/dl-version.c (match_symbol): Likewise.
24928 (_dl_check_map_versions): Likewise.
24929 * elf/rtld.c (dl_main): Likewise.
24930 (print_unresolved): Use RTLD_PROGNAME.
24931 (print_missing_version): Likewise.
24932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24933 (elf_machine_rela): Likewise.
24934 * sysdeps/powerpc/powerpc32/dl-machine.c
24935 (__process_machine_rela): Likewise.
24936 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24937 Likewise.
24938 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24939 Likewise.
24940 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24941 Likewise.
24942 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24943 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24944 Likewise.
24945 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24946 Likewise.
24947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24948
8a9f20c8
CD
249492013-05-28 Carlos O'Donell <carlos@redhat.com>
24950
24951 * po/be.po: Add descriptive title.
24952 * po/zh_CN.po: Likewise.
24953 * po/header.pot: Likewise.
24954
0e60d68e
MF
249552013-05-28 Mike Frysinger <vapier@gentoo.org>
24956
24957 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24958 error message.
24959 (enlarge_archive): Likewise.
24960
56b672e9
BN
249612013-05-28 Ben North <ben@redfrontdoor.org>
24962
24963 * manual/arith.texi (frexp): It is the magnitude of the return
24964 value which lies in [0.5, 1), not the return value itself.
24965
5e056687
AZ
249662013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24967
24968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24969
2b66ef5d
TS
249702013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24971
528c2405
TS
24972 * stdio-common/bug26.c (main): Correct fscanf template.
24973
07b4c13d
TS
24974 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24975 declare _dl_skip_args.
24976
ec9dd97c
TS
24977 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24978 Don't declare.
24979
2b66ef5d
TS
24980 * manual/platform.texi: Add missing @end deftypefun.
24981
4f8dfe27
JM
249822013-05-24 Joseph Myers <joseph@codesourcery.com>
24983
0323d086
JM
24984 [BZ #15529]
24985 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24986 bit of mantissa of 2^16382.
24987 * math/libm-test.inc (hypot_test_data): Add more tests.
24988
dd4259b9
JM
24989 * math/libm-test.inc: Add drem and pow10 to list of tested
24990 functions.
24991 (pow10_test): New function.
24992 (drem_test): Likewise.
24993 (drem_test_tonearest): Likewise.
24994 (drem_test_towardzero): Likewise.
24995 (drem_test_downward): Likewise.
24996 (drem_test_upward): Likewise.
24997 (main): Call the new functions.
24998
4f8dfe27
JM
24999 * math/libm-test.inc (finite_test_data): Remove.
25000 (finite_test): Run tests from isfinite_test_data.
25001 (gamma_test_data): Remove.
25002 (gamma_test): Run tests from lgamma_test_data.
25003 * sysdeps/i386/fpu/libm-test-ulps: Update.
25004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25005
d116b7c4
AZ
250062013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25007
25008 * manual/platform.texi: Add PowerPC PPR function set documentation.
25009 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25010 implementation.
25011
e96e3767
CD
250122013-05-24 Carlos O'Donell <carlos@redhat.com>
25013
25014 * math/libm-test.inc (MAX_EXP): Define.
25015 (ULPDIFF): Define.
25016 (ulp): New function.
25017 (check_float_internal): Use ULPDIFF.
25018 (cpow_test): Disable failing test.
25019 (check_ulp): Test ulp() implemetnation.
25020 (main): Call check_ulp before starting tests.
25021
b679a606
JM
250222013-05-24 Joseph Myers <joseph@codesourcery.com>
25023
e8bdba36
JM
25024 * math/gen-libm-test.pl (generate_testfile): Do not handle
25025 START_DATA and END_DATA.
25026 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25027 END_DATA.
25028 (acos_tonearest_test_data): Likewise.
25029 (acos_towardzero_test_data): Likewise.
25030 (acos_downward_test_data): Likewise.
25031 (acos_upward_test_data): Likewise.
25032 (acosh_test_data): Likewise.
25033 (asin_test_data): Likewise.
25034 (asin_tonearest_test_data): Likewise.
25035 (asin_towardzero_test_data): Likewise.
25036 (asin_downward_test_data): Likewise.
25037 (asin_upward_test_data): Likewise.
25038 (asinh_test_data): Likewise.
25039 (atan_test_data): Likewise.
25040 (atanh_test_data): Likewise.
25041 (atan2_test_data): Likewise.
25042 (cabs_test_data): Likewise.
25043 (cacos_test_data): Likewise.
25044 (cacosh_test_data): Likewise.
25045 (carg_test_data): Likewise.
25046 (casin_test_data): Likewise.
25047 (casinh_test_data): Likewise.
25048 (catan_test_data): Likewise.
25049 (catanh_test_data): Likewise.
25050 (cbrt_test_data): Likewise.
25051 (ccos_test_data): Likewise.
25052 (ccosh_test_data): Likewise.
25053 (ceil_test_data): Likewise.
25054 (cexp_test_data): Likewise.
25055 (cimag_test_data): Likewise.
25056 (clog_test_data): Likewise.
25057 (clog10_test_data): Likewise.
25058 (conj_test_data): Likewise.
25059 (copysign_test_data): Likewise.
25060 (cos_test_data): Likewise.
25061 (cos_tonearest_test_data): Likewise.
25062 (cos_towardzero_test_data): Likewise.
25063 (cos_downward_test_data): Likewise.
25064 (cos_upward_test_data): Likewise.
25065 (cosh_test_data): Likewise.
25066 (cosh_tonearest_test_data): Likewise.
25067 (cosh_towardzero_test_data): Likewise.
25068 (cosh_downward_test_data): Likewise.
25069 (cosh_upward_test_data): Likewise.
25070 (cpow_test_data): Likewise.
25071 (cproj_test_data): Likewise.
25072 (creal_test_data): Likewise.
25073 (csin_test_data): Likewise.
25074 (csinh_test_data): Likewise.
25075 (csqrt_test_data): Likewise.
25076 (ctan_test_data): Likewise.
25077 (ctan_tonearest_test_data): Likewise.
25078 (ctan_towardzero_test_data): Likewise.
25079 (ctan_downward_test_data): Likewise.
25080 (ctan_upward_test_data): Likewise.
25081 (ctanh_test_data): Likewise.
25082 (ctanh_tonearest_test_data): Likewise.
25083 (ctanh_towardzero_test_data): Likewise.
25084 (ctanh_downward_test_data): Likewise.
25085 (ctanh_upward_test_data): Likewise.
25086 (erf_test_data): Likewise.
25087 (erfc_test_data): Likewise.
25088 (exp_test_data): Likewise.
25089 (exp_tonearest_test_data): Likewise.
25090 (exp_towardzero_test_data): Likewise.
25091 (exp_downward_test_data): Likewise.
25092 (exp_upward_test_data): Likewise.
25093 (exp10_test_data): Likewise.
25094 (exp2_test_data): Likewise.
25095 (expm1_test_data): Likewise.
25096 (fabs_test_data): Likewise.
25097 (fdim_test_data): Likewise.
25098 (finite_test_data): Likewise.
25099 (floor_test_data): Likewise.
25100 (fma_test_data): Likewise.
25101 (fma_towardzero_test_data): Likewise.
25102 (fma_downward_test_data): Likewise.
25103 (fma_upward_test_data): Likewise.
25104 (fmax_test_data): Likewise.
25105 (fmin_test_data): Likewise.
25106 (fmod_test_data): Likewise.
25107 (fpclassify_test_data): Likewise.
25108 (frexp_test_data): Likewise.
25109 (gamma_test_data): Likewise.
25110 (hypot_test_data): Likewise.
25111 (ilogb_test_data): Likewise.
25112 (isfinite_test_data): Likewise.
25113 (isgreater_test_data): Likewise.
25114 (isgreaterequal_test_data): Likewise.
25115 (isinf_test_data): Likewise.
25116 (isless_test_data): Likewise.
25117 (islessequal_test_data): Likewise.
25118 (islessgreater_test_data): Likewise.
25119 (isnan_test_data): Likewise.
25120 (isnormal_test_data): Likewise.
25121 (issignaling_test_data): Likewise.
25122 (isunordered_test_data): Likewise.
25123 (j0_test_data): Likewise.
25124 (j1_test_data): Likewise.
25125 (jn_test_data): Likewise.
25126 (ldexp_test_data): Likewise.
25127 (lgamma_test_data): Likewise.
25128 (lrint_test_data): Likewise.
25129 (lrint_tonearest_test_data): Likewise.
25130 (lrint_towardzero_test_data): Likewise.
25131 (lrint_downward_test_data): Likewise.
25132 (lrint_upward_test_data): Likewise.
25133 (llrint_test_data): Likewise.
25134 (llrint_tonearest_test_data): Likewise.
25135 (llrint_towardzero_test_data): Likewise.
25136 (llrint_downward_test_data): Likewise.
25137 (llrint_upward_test_data): Likewise.
25138 (log_test_data): Likewise.
25139 (log10_test_data): Likewise.
25140 (log1p_test_data): Likewise.
25141 (log2_test_data): Likewise.
25142 (logb_test_data): Likewise.
25143 (logb_downward_test_data): Likewise.
25144 (lround_test_data): Likewise.
25145 (llround_test_data): Likewise.
25146 (modf_test_data): Likewise.
25147 (nearbyint_test_data): Likewise.
25148 (nextafter_test_data): Likewise.
25149 (nexttoward_test_data): Likewise.
25150 (pow_test_data): Likewise.
25151 (pow_tonearest_test_data): Likewise.
25152 (pow_towardzero_test_data): Likewise.
25153 (pow_downward_test_data): Likewise.
25154 (pow_upward_test_data): Likewise.
25155 (remainder_test_data): Likewise.
25156 (remainder_tonearest_test_data): Likewise.
25157 (remainder_towardzero_test_data): Likewise.
25158 (remainder_downward_test_data): Likewise.
25159 (remainder_upward_test_data): Likewise.
25160 (remquo_test_data): Likewise.
25161 (rint_test_data): Likewise.
25162 (rint_tonearest_test_data): Likewise.
25163 (rint_towardzero_test_data): Likewise.
25164 (rint_downward_test_data): Likewise.
25165 (rint_upward_test_data): Likewise.
25166 (round_test_data): Likewise.
25167 (scalb_test_data): Likewise.
25168 (scalbn_test_data): Likewise.
25169 (scalbln_test_data): Likewise.
25170 (signbit_test_data): Likewise.
25171 (sin_test_data): Likewise.
25172 (sin_tonearest_test_data): Likewise.
25173 (sin_towardzero_test_data): Likewise.
25174 (sin_downward_test_data): Likewise.
25175 (sin_upward_test_data): Likewise.
25176 (sincos_test_data): Likewise.
25177 (sinh_test_data): Likewise.
25178 (sinh_tonearest_test_data): Likewise.
25179 (sinh_towardzero_test_data): Likewise.
25180 (sinh_downward_test_data): Likewise.
25181 (sinh_upward_test_data): Likewise.
25182 (sqrt_test_data): Likewise.
25183 (tan_test_data): Likewise.
25184 (tan_tonearest_test_data): Likewise.
25185 (tan_towardzero_test_data): Likewise.
25186 (tan_downward_test_data): Likewise.
25187 (tan_upward_test_data): Likewise.
25188 (tanh_test_data): Likewise.
25189 (tgamma_test_data): Likewise.
25190 (trunc_test_data): Likewise.
25191 (y0_test_data): Likewise.
25192 (y1_test_data): Likewise.
25193 (yn_test_data): Likewise.
25194 (significand_test_data): Likewise.
25195
b679a606
JM
25196 * math/gen-libm-test.pl (@functions): Remove variable.
25197 (generate_testfile): Don't handle START and END lines.
25198 * math/libm-test.inc (START): New macro.
25199 (END): Likewise.
25200 (END_COMPLEX): Likewise.
25201 (acos_test): Use END macro without arguments.
25202 (acos_test_tonearest): Likewise.
25203 (acos_test_towardzero): Likewise.
25204 (acos_test_downward): Likewise.
25205 (acos_test_upward): Likewise.
25206 (acosh_test): Likewise.
25207 (asin_test): Likewise.
25208 (asin_test_tonearest): Likewise.
25209 (asin_test_towardzero): Likewise.
25210 (asin_test_downward): Likewise.
25211 (asin_test_upward): Likewise.
25212 (asinh_test): Likewise.
25213 (atan_test): Likewise.
25214 (atanh_test): Likewise.
25215 (atan2_test): Likewise.
25216 (cabs_test): Likewise.
25217 (cacos_test): Use END_COMPLEX macro without arguments.
25218 (cacosh_test): Likewise.
25219 (carg_test): Use END macro without arguments.
25220 (casin_test): Use END_COMPLEX macro without arguments.
25221 (casinh_test): Likewise.
25222 (catan_test): Likewise.
25223 (catanh_test): Likewise.
25224 (cbrt_test): Use END macro without arguments.
25225 (ccos_test): Use END_COMPLEX macro without arguments.
25226 (ccosh_test): Likewise.
25227 (ceil_test): Use END macro without arguments.
25228 (cexp_test): Use END_COMPLEX macro without arguments.
25229 (cimag_test): Use END macro without arguments.
25230 (clog_test): Use END_COMPLEX macro without arguments.
25231 (clog10_test): Likewise.
25232 (conj_test): Likewise.
25233 (copysign_test): Use END macro without arguments.
25234 (cos_test): Likewise.
25235 (cos_test_tonearest): Likewise.
25236 (cos_test_towardzero): Likewise.
25237 (cos_test_downward): Likewise.
25238 (cos_test_upward): Likewise.
25239 (cosh_test): Likewise.
25240 (cosh_test_tonearest): Likewise.
25241 (cosh_test_towardzero): Likewise.
25242 (cosh_test_downward): Likewise.
25243 (cosh_test_upward): Likewise.
25244 (cpow_test): Use END_COMPLEX macro without arguments.
25245 (cproj_test): Likewise.
25246 (creal_test): Use END macro without arguments.
25247 (csin_test): Use END_COMPLEX macro without arguments.
25248 (csinh_test): Likewise.
25249 (csqrt_test): Likewise.
25250 (ctan_test): Likewise.
25251 (ctan_test_tonearest): Likewise.
25252 (ctan_test_towardzero): Likewise.
25253 (ctan_test_downward): Likewise.
25254 (ctan_test_upward): Likewise.
25255 (ctanh_test): Likewise.
25256 (ctanh_test_tonearest): Likewise.
25257 (ctanh_test_towardzero): Likewise.
25258 (ctanh_test_downward): Likewise.
25259 (ctanh_test_upward): Likewise.
25260 (erf_test): Use END macro without arguments.
25261 (erfc_test): Likewise.
25262 (exp_test): Likewise.
25263 (exp_test_tonearest): Likewise.
25264 (exp_test_towardzero): Likewise.
25265 (exp_test_downward): Likewise.
25266 (exp_test_upward): Likewise.
25267 (exp10_test): Likewise.
25268 (exp2_test): Likewise.
25269 (expm1_test): Likewise.
25270 (fabs_test): Likewise.
25271 (fdim_test): Likewise.
25272 (finite_test): Likewise.
25273 (floor_test): Likewise.
25274 (fma_test): Likewise.
25275 (fma_test_towardzero): Likewise.
25276 (fma_test_downward): Likewise.
25277 (fma_test_upward): Likewise.
25278 (fmax_test): Likewise.
25279 (fmin_test): Likewise.
25280 (fmod_test): Likewise.
25281 (fpclassify_test): Likewise.
25282 (frexp_test): Likewise.
25283 (gamma_test): Likewise.
25284 (hypot_test): Likewise.
25285 (ilogb_test): Likewise.
25286 (isfinite_test): Likewise.
25287 (isgreater_test): Likewise.
25288 (isgreaterequal_test): Likewise.
25289 (isinf_test): Likewise.
25290 (isless_test): Likewise.
25291 (islessequal_test): Likewise.
25292 (islessgreater_test): Likewise.
25293 (isnan_test): Likewise.
25294 (isnormal_test): Likewise.
25295 (issignaling_test): Likewise.
25296 (isunordered_test): Likewise.
25297 (j0_test): Likewise.
25298 (j1_test): Likewise.
25299 (jn_test): Likewise.
25300 (ldexp_test): Likewise.
25301 (lgamma_test): Likewise.
25302 (lrint_test): Likewise.
25303 (lrint_test_tonearest): Likewise.
25304 (lrint_test_towardzero): Likewise.
25305 (lrint_test_downward): Likewise.
25306 (lrint_test_upward): Likewise.
25307 (llrint_test): Likewise.
25308 (llrint_test_tonearest): Likewise.
25309 (llrint_test_towardzero): Likewise.
25310 (llrint_test_downward): Likewise.
25311 (llrint_test_upward): Likewise.
25312 (log_test): Likewise.
25313 (log10_test): Likewise.
25314 (log1p_test): Likewise.
25315 (log2_test): Likewise.
25316 (logb_test): Likewise.
25317 (logb_test_downward): Likewise.
25318 (lround_test): Likewise.
25319 (llround_test): Likewise.
25320 (modf_test): Likewise.
25321 (nearbyint_test): Likewise.
25322 (nextafter_test): Likewise.
25323 (nexttoward_test): Likewise.
25324 (pow_test): Likewise.
25325 (pow_test_tonearest): Likewise.
25326 (pow_test_towardzero): Likewise.
25327 (pow_test_downward): Likewise.
25328 (pow_test_upward): Likewise.
25329 (remainder_test): Likewise.
25330 (remainder_test_tonearest): Likewise.
25331 (remainder_test_towardzero): Likewise.
25332 (remainder_test_downward): Likewise.
25333 (remainder_test_upward): Likewise.
25334 (remquo_test): Likewise.
25335 (rint_test): Likewise.
25336 (rint_test_tonearest): Likewise.
25337 (rint_test_towardzero): Likewise.
25338 (rint_test_downward): Likewise.
25339 (rint_test_upward): Likewise.
25340 (round_test): Likewise.
25341 (scalb_test): Likewise.
25342 (scalbn_test): Likewise.
25343 (scalbln_test): Likewise.
25344 (signbit_test): Likewise.
25345 (sin_test): Likewise.
25346 (sin_test_tonearest): Likewise.
25347 (sin_test_towardzero): Likewise.
25348 (sin_test_downward): Likewise.
25349 (sin_test_upward): Likewise.
25350 (sincos_test): Likewise.
25351 (sinh_test): Likewise.
25352 (sinh_test_tonearest): Likewise.
25353 (sinh_test_towardzero): Likewise.
25354 (sinh_test_downward): Likewise.
25355 (sinh_test_upward): Likewise.
25356 (sqrt_test): Likewise.
25357 (tan_test): Likewise.
25358 (tan_test_tonearest): Likewise.
25359 (tan_test_towardzero): Likewise.
25360 (tan_test_downward): Likewise.
25361 (tan_test_upward): Likewise.
25362 (tanh_test): Likewise.
25363 (tgamma_test): Likewise.
25364 (trunc_test): Likewise.
25365 (y0_test): Likewise.
25366 (y1_test): Likewise.
25367 (yn_test): Likewise.
25368 (significand_test): Likewise.
25369
bae143d2
OB
253702013-05-24 Ondřej Bílka <neleai@seznam.cz>
25371
25372 [BZ #15381]
25373 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25374
9323d39b
EM
253752013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25376
d4ea44a0 25377 [BZ #14894]
9323d39b
EM
25378 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25379 __ppc_mdoio and __ppc_mdoom.
25380 * manual/platform.texi: Document new functions __ppc_yield,
25381 __ppc_mdoio and __ppc_mdoom.
25382
13e23af7
CD
253832013-05-22 Carlos O'Donell <carlos@redhat.com>
25384
25385 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25386 (main): Mention "tls" pseudo-hwcap is legacy.
25387 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25388
351fe550
JM
253892013-05-22 Joseph Myers <joseph@codesourcery.com>
25390
25391 * math/gen-libm-test.pl (parse_args): Output only string of
25392 arguments as text for test name, not full call or descriptions of
25393 tests for extra outputs.
25394 (generate_testfile): Do not pass function name to parse_args.
25395 Generate this_func variable from START.
25396 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25397 field to arg_str.
25398 (struct test_ff_f_data): Likewise.
25399 (test_ff_f_data_nexttoward): Likewise.
25400 (struct test_fi_f_data): Likewise.
25401 (struct test_fl_f_data): Likewise.
25402 (struct test_if_f_data): Likewise.
25403 (struct test_fff_f_data): Likewise.
25404 (struct test_c_f_data): Likewise.
25405 (struct test_f_f1_data): Likewise. Remove field extra_name.
25406 (struct test_fF_f1_data): Likewise.
25407 (struct test_ffI_f1_data): Likewise.
25408 (struct test_c_c_data): Rename test_name field to arg_str.
25409 (struct test_cc_c_data): Likewise.
25410 (struct test_f_i_data): Likewise.
25411 (struct test_ff_i_data): Likewise.
25412 (struct test_f_l_data): Likewise.
25413 (struct test_f_L_data): Likewise.
25414 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25415 and extra2_name.
25416 (COMMON_TEST_SETUP): New macro.
25417 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25418 (COMMON_TEST_CLEANUP): Likewise.
25419 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25420 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25421 macros.
25422 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25423 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25424 macros.
25425 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25426 (RUN_TEST_fff_f): Take argument string. Call new setup and
25427 cleanup macros.
25428 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25429 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25430 macros.
25431 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25432 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25433 macros.
25434 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25435 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25436 cleanup macros.
25437 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25438 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25439 cleanup macros.
25440 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25441 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25442 cleanup macros.
25443 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25444 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25445 macros.
25446 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25447 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25448 macros.
25449 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25450 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25451 macros.
25452 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25453 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25454 cleanup macros.
25455 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25456 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25457 cleanup macros.
25458 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25459 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25460 macros.
25461 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25462 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25463 cleanup macros.
25464 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25465 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25466 macros.
25467 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25468 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25469 macros.
25470 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25471 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25472 cleanup macros.
25473 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25474
85118d4d
EBM
254752013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25476
25477 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25478 to _sifields.sigfault.
25479 (si_addr_lsb): Define new macro.
25480 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25481 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25483
7a44c18f
CD
254842013-05-03 Carlos O'Donell <carlos at redhat.com>
25485
25486 [BZ #15441]
25487 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25488 returns -1.
25489 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25490 null return -1.
25491 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25492 loading the domain.
25493
b50a7181
JM
254942013-05-22 Joseph Myers <joseph@codesourcery.com>
25495
25496 * math/gen-libm-test.pl (parse_args): Do not include expected
25497 result in test name.
25498 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25500 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25501 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25502 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25504
051063c8
SP
255052013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25506
3ce9e010
SP
25507 * benchtests/Makefile: Sort function entries.
25508
051063c8
SP
25509 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25510 tanh, asinh, acosh, atanh.
25511 * benchtests/acos-inputs: New file.
25512 * benchtests/acosh-inputs: New file.
25513 * benchtests/asin-inputs: New file.
25514 * benchtests/asinh-inputs: New file.
25515 * benchtests/atanh-inputs: New file.
25516 * benchtests/cosh-inputs: New file.
25517 * benchtests/log-inputs: New file.
25518 * benchtests/sinh-inputs: New file.
25519 * benchtests/tanh-inputs: New file.
25520
47c22455
DL
255212013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25522
25523 [BZ #15339]
25524 * posix/tst-getaddrinfo4.c: New test.
25525 * posix/Makefile (tests): Add it.
25526
3d04f5db
SP
255272013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25528
25529 [BZ #15339]
25530 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25531 when no services were used.
25532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25533 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25534
d5dd6189
AS
255352013-05-21 Andreas Schwab <schwab@suse.de>
25536
25537 [BZ #15014]
25538 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25539 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25540 successful.
25541 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25542 redundant variable declarations and reallocation of buffer when
25543 parsing as IPv6 address. Always set NSS status when called from
25544 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25545 buffer too small. Correct computation of needed size.
25546 * nss/Makefile (tests): Add test-digits-dots.
25547 * nss/test-digits-dots.c: New test.
25548
fef94eab
SP
255492013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25550
25551 * benchtests/Makefile: Remove instructions for adding
25552 benchmark tests.
25553 * benchtests/README: New file to explain how to execute and
25554 enhance the benchmark tests.
25555
e39adf43
AS
255562013-05-21 Andreas Schwab <schwab@suse.de>
25557
25558 [BZ #15493]
25559 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25560 * setjmp/tst-sigsetjmp.c: New test.
25561
b2b671b6
OB
255622013-05-20 Ondřej Bílka <neleai@seznam.cz>
25563
25564 * sysdeps/x86_64/memset.S (memset): New implementation.
25565 (__bzero): Likewise.
25566 (__memset_tail): New function.
25567
2d48b41c
OB
255682013-05-20 Ondřej Bílka <neleai@seznam.cz>
25569
25570 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25571 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25572 __memcpy_sse2_unaligned ifunc selection.
25573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25574 Add memcpy-sse2-unaligned.S.
25575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25576 Add: __memcpy_sse2_unaligned.
25577
f16cc3eb
JM
255782013-05-19 Joseph Myers <joseph@codesourcery.com>
25579
3e694268
JM
25580 [BZ #15490]
25581 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25582 math_force_eval before restoring floating-point envrionment.
25583 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25584 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25585 Likewise.
25586 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25587 <math_private.h>.
25588 (__nearbyintl): Use math_force_eval before restoring
25589 floating-point environment.
25590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25591
db62a907
JM
25592 * math/gen-libm-test.pl (special_functions): Remove.
25593 (parse_args): Don't handle TEST_extra. Handle functions with no
25594 return value.
25595 * math/libm-test.inc (struct test_sincos_data): Replace with
25596 struct test_fFF_11_data.
25597 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25598 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25599 (sincos_test_data): Change element type to struct
25600 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25601 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25602 RUN_TEST_LOOP_sincos.
25603 * math/README.libm-test: Don't mention special handling of
25604 individual functions.
25605 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25606 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25607 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25608 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25609 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25611
f16cc3eb
JM
25612 * math/gen-libm-test.pl (get_variable): Remove function.
25613 (parse_args): Don't show pointer parameters to call in test
25614 names. Use "extra output N" in test names for extra outputs
25615 rather than naming variables.
25616
3779b5b6
JM
256172013-05-18 Joseph Myers <joseph@codesourcery.com>
25618
2ee094ff
JM
25619 [BZ #15488]
25620 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25621 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25622 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25623 double tests.
25624 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25625 disable.
25626 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25627 check_long_double.
25628
3779b5b6
JM
25629 * math/gen-libm-test.pl (@tests): Remove variable.
25630 ($count): Likewise.
25631 (new_test): Remove function.
25632 (show_exceptions): New function.
25633 (special_functions): Use show_exceptions instead of new_test.
25634 (parse_args): Likewise.
25635 (generate_testfile): Pass only function name in generated call to
25636 print_max_error or print_complex_max_error.
25637 (get_ulps): Do not handle complex tests specially.
25638 (output_test): Rename to ...
25639 (get_all_ulps_for_test): ... this. Return a string rather than
25640 printing to a file. Require ulps to be present.
25641 (output_ulps): Generate arrays rather than #defines.
25642 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25643 (struct ulp_data): New type.
25644 (BUILD_COMPLEX_ULP): Remove macro.
25645 (compare_ulp_data): New function.
25646 (find_ulps): Likewise.
25647 (find_test_ulps): Likewise.
25648 (find_function_ulps): Likewise.
25649 (find_complex_function_ulps): Likewise.
25650 (print_max_error): Determine allowed ulps using
25651 find_function_ulps.
25652 (print_complex_max_error): Determine allowed ulps using
25653 find_complex_function_ulps.
25654 (check_float_internal): Determine max ulps using find_test_ulps.
25655 (check_float): Do not take max_ulp parameter. Update call to
25656 check_float_internal.
25657 (check_complex): Likewise.
25658 (check_int): Do not take max_ulp parameter.
25659 (check_long): Likewise.
25660 (check_bool): Likewise.
25661 (check_longlong): Likewise.
25662 (struct test_f_f_data): Remove max_ulp field.
25663 (struct test_ff_f_data): Likewise.
25664 (struct test_ff_f_data_nexttoward): Likewise.
25665 (struct test_fi_f_data): Likewise.
25666 (struct test_fl_f_data): Likewise.
25667 (struct test_if_f_data): Likewise.
25668 (struct test_fff_f_data): Likewise.
25669 (struct test_c_f_data): Likewise.
25670 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25671 (struct test_fF_f1_data): Likewise.
25672 (struct test_ffI_f1_data): Likewise.
25673 (struct test_c_c_data): Remove max_ulp field.
25674 (struct test_cc_c_data): Likewise.
25675 (struct test_f_i_data): Likewise.
25676 (struct test_ff_i_data): Likewise.
25677 (struct test_f_l_data): Likewise.
25678 (struct test_f_L_data): Likewise.
25679 (struct test_sincos_data): Likewise.
25680 (RUN_TEST_f_f): Do not handle ulps.
25681 (RUN_TEST_LOOP_f_f): Likewise.
25682 (RUN_TEST_2_f): Likewise.
25683 (RUN_TEST_LOOP_2_f): Likewise.
25684 (RUN_TEST_fff_f): Likewise.
25685 (RUN_TEST_LOOP_fff_f): Likewise.
25686 (RUN_TEST_c_f): Likewise.
25687 (RUN_TEST_LOOP_c_f): Likewise.
25688 (RUN_TEST_f_f1): Likewise.
25689 (RUN_TEST_LOOP_f_f1): Likewise.
25690 (RUN_TEST_fF_f1): Likewise.
25691 (RUN_TEST_LOOP_fF_f1): Likewise.
25692 (RUN_TEST_fI_f1): Likewise.
25693 (RUN_TEST_LOOP_fI_f1): Likewise.
25694 (RUN_TEST_ffI_f1): Likewise.
25695 (RUN_TEST_LOOP_ffI_f1): Likewise.
25696 (RUN_TEST_c_c): Likewise.
25697 (RUN_TEST_LOOP_c_c): Likewise.
25698 (RUN_TEST_cc_c): Likewise.
25699 (RUN_TEST_LOOP_cc_c): Likewise.
25700 (RUN_TEST_f_i): Likewise.
25701 (RUN_TEST_LOOP_f_i): Likewise.
25702 (RUN_TEST_f_i_tg): Likewise.
25703 (RUN_TEST_LOOP_f_i_tg): Likewise.
25704 (RUN_TEST_ff_i_tg): Likewise.
25705 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25706 (RUN_TEST_f_b): Likewise.
25707 (RUN_TEST_LOOP_f_b): Likewise.
25708 (RUN_TEST_f_b_tg): Likewise.
25709 (RUN_TEST_LOOP_f_b_tg): Likewise.
25710 (RUN_TEST_f_l): Likewise.
25711 (RUN_TEST_LOOP_f_l): Likewise.
25712 (RUN_TEST_f_L): Likewise.
25713 (RUN_TEST_LOOP_f_L): Likewise.
25714 (RUN_TEST_sincos): Likewise.
25715 (RUN_TEST_LOOP_sincos): Likewise.
25716
8269107f
JM
257172013-05-17 Joseph Myers <joseph@codesourcery.com>
25718
bb38759d
JM
25719 [BZ #15480]
25720 [BZ #15485]
25721 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25722 main case of finite arguments, set rounding mode to FE_TONEAREST
25723 and discard exceptions.
25724 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25725 exceptions.
25726 (remainder_tonearest_test_data): New variable.
25727 (remainder_test_tonearest): New function.
25728 (remainder_towardzero_test_data): New variable.
25729 (remainder_test_towardzero): New function.
25730 (remainder_downward_test_data): New variable.
25731 (remainder_test_downward): New function.
25732 (remainder_upward_test_data): New variable.
25733 (remainder_test_upward): New function.
25734 (main): Call the new test functions.
25735
a00bdcf0
JM
25736 * math/libm-test.inc (struct test_f_f1_data): Remove field
25737 extra_init.
25738 (struct test_fF_f1_data): Likewise.
25739 (struct test_ffI_f1_data): Likewise.
25740 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25741 based on value of EXTRA_EXPECTED.
25742 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25743 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25744 EXTRA_VAR based on value of EXTRA_EXPECTED.
25745 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25746 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25747 EXTRA_VAR based on value of EXTRA_EXPECTED.
25748 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25749 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25750 EXTRA_VAR based on value of EXTRA_EXPECTED.
25751 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25752 * math/gen-libm-test.pl (parse_args): Don't output initializers
25753 for extra output values.
25754
de407f79
JM
25755 * math/libm-test.inc (check_int): Expect result to be exactly
25756 equal to expected value and do not handle ulps.
25757 (check_long): Likewise.
25758 (check_longlong): Likewise.
25759
8269107f
JM
25760 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25761 exceptions.
25762 (cimag_test_data): Likewise.
25763 (conj_test_data): Likewise.
25764 (copysign_test_data): Likewise.
25765 (cproj_test_data): Likewise.
25766 (creal_test_data): Likewise.
25767 (fabs_test_data): Likewise.
25768 (fdim_test_data): Likewise.
25769 (finite_test_data): Likewise.
25770 (floor_test_data): Likewise.
25771 (fmax_test_data): Likewise.
25772 (fmin_test_data): Likewise.
25773 (fmod_test_data): Likewise.
25774 (fpclassify_test_data): Likewise.
25775 (frexp_test_data): Likewise.
25776 (ilogb_test_data): Likewise.
25777 (isfinite_test_data): Likewise.
25778 (isgreater_test_data): Likewise.
25779 (isgreaterequal_test_data): Likewise.
25780 (isinf_test_data): Likewise.
25781 (isless_test_data): Likewise.
25782 (islessequal_test_data): Likewise.
25783 (islessgreater_test_data): Likewise.
25784 (isnan_test_data): Likewise.
25785 (isnormal_test_data): Likewise.
25786 (issignaling_test_data): Likewise.
25787 (isunordered_test_data): Likewise.
25788 (ldexp_test_data): Likewise.
25789 (lrint_test_data): Likewise.
25790 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25791 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25792 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25793 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25794 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25795 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25796 test input.
25797 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25798 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25799 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25800 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25801 that test input.
25802 (lrint_downward_test_data): Test for "inexact" exceptions.
25803 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25804 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25805 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25806 test input.
25807 (lrint_upward_test_data): Test for "inexact" exceptions.
25808 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25809 test input.
25810 (llrint_test_data): Test for "inexact" exceptions.
25811 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25812 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25813 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25814 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25815 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25816 (llrint_downward_test_data): Test for "inexact" exceptions.
25817 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25818 (llrint_upward_test_data): Test for "inexact" exceptions.
25819 (logb_test_data): Likewise.
25820 (logb_downward_test_data): Likewise.
25821 (nextafter_test_data): Likewise.
25822 (nexttoward_test_data): Likewise.
25823 (remainder_test_data): Likewise.
25824 (remquo_test_data): Likewise.
25825 (scalbn_test_data): Likewise.
25826 (scalbln_test_data): Likewise.
25827 (signbit_test_data): Likewise.
25828 (sqrt_test_data): Likewise.
25829 (significand_test_data): Likewise.
25830
48a18de1
SP
258312013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25832
25833 [BZ #15424]
25834 * benchtests/bench-modf.c (struct args): Mark arg0 as
25835 volatile.
25836 * scripts/bench.pl: Mark members of struct args as volatile.
25837
13d3b41a
AZ
258382013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25839
68191c1d 25840 [BZ # 15497]
13d3b41a
AZ
25841 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25842 negative infinity on POWER6 or lower.
25843 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25844
2848b105
MR
258452013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25846
25847 [BZ #15442]
25848 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25849 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25850 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25851 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25852 (_FP_SETQNAN): New macro.
25853 (_FP_SETQNAN_SEMIRAW): Likewise.
25854 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25855 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25856 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25857 (FP_EXTEND): Use _FP_FRAC_SNANP.
25858 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25859 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25860 into account.
25861 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25862 New macro.
25863 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25864 Likewise.
25865
323e5cb7
JM
258662013-05-16 Joseph Myers <joseph@codesourcery.com>
25867
c58b274f
JM
25868 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25869 with DIVIDE_BY_ZERO_EXCEPTION.
25870 (gamma_test_data): Likewise.
25871 (lgamma_test_data): Likewise.
25872 (log_test_data): Likewise.
25873 (log10_test_data): Likewise.
25874 (log2_test_data): Likewise.
25875 (tgamma_test_data): Likewise.
25876
0ab34904
JM
25877 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25878 (acos_test_tonearest): Likewise.
25879 (acos_test_towardzero): Likewise.
25880 (acos_test_downward): Likewise.
25881 (acos_test_upward): Likewise.
25882 (acosh_test): Likewise.
25883 (asin_test): Likewise.
25884 (asin_test_tonearest): Likewise.
25885 (asin_test_towardzero): Likewise.
25886 (asin_test_downward): Likewise.
25887 (asin_test_upward): Likewise.
25888 (asinh_test): Likewise.
25889 (atan_test): Likewise.
25890 (atanh_test): Likewise.
25891 (atan2_test): Likewise.
25892 (cabs_test): Likewise.
25893 (cacos_test): Likewise.
25894 (cacosh_test): Likewise.
25895 (casin_test): Likewise.
25896 (casinh_test): Likewise.
25897 (catan_test): Likewise.
25898 (catanh_test): Likewise.
25899 (cbrt_test): Likewise.
25900 (ccos_test): Likewise.
25901 (ccosh_test): Likewise.
25902 (cexp_test): Likewise.
25903 (clog_test): Likewise.
25904 (clog10_test): Likewise.
25905 (cos_test): Likewise.
25906 (cos_test_tonearest): Likewise.
25907 (cos_test_towardzero): Likewise.
25908 (cos_test_downward): Likewise.
25909 (cos_test_upward): Likewise.
25910 (cosh_test): Likewise.
25911 (cosh_test_tonearest): Likewise.
25912 (cosh_test_towardzero): Likewise.
25913 (cosh_test_downward): Likewise.
25914 (cosh_test_upward): Likewise.
25915 (cpow_test): Likewise.
25916 (csin_test): Likewise.
25917 (csinh_test): Likewise.
25918 (csqrt_test): Likewise.
25919 (ctan_test): Likewise.
25920 (ctan_test_tonearest): Likewise.
25921 (ctan_test_towardzero): Likewise.
25922 (ctan_test_downward): Likewise.
25923 (ctan_test_upward): Likewise.
25924 (ctanh_test): Likewise.
25925 (ctanh_test_tonearest): Likewise.
25926 (ctanh_test_towardzero): Likewise.
25927 (ctanh_test_downward): Likewise.
25928 (ctanh_test_upward): Likewise.
25929 (erf_test): Likewise.
25930 (erfc_test): Likewise.
25931 (exp_test): Likewise.
25932 (exp_test_tonearest): Likewise.
25933 (exp_test_towardzero): Likewise.
25934 (exp_test_downward): Likewise.
25935 (exp_test_upward): Likewise.
25936 (exp10_test): Likewise.
25937 (exp2_test): Likewise.
25938 (expm1_test): Likewise.
25939 (fmod_test): Likewise.
25940 (gamma_test): Likewise.
25941 (hypot_test): Likewise.
25942 (j0_test): Likewise.
25943 (j1_test): Likewise.
25944 (jn_test): Likewise.
25945 (lgamma_test): Likewise.
25946 (log_test): Likewise.
25947 (log10_test): Likewise.
25948 (log1p_test): Likewise.
25949 (log2_test): Likewise.
25950 (logb_test_downward): Likewise.
25951 (pow_test): Likewise.
25952 (pow_test_tonearest): Likewise.
25953 (pow_test_towardzero): Likewise.
25954 (pow_test_downward): Likewise.
25955 (pow_test_upward): Likewise.
25956 (remainder_test): Likewise.
25957 (remquo_test): Likewise.
25958 (sin_test): Likewise.
25959 (sin_test_tonearest): Likewise.
25960 (sin_test_towardzero): Likewise.
25961 (sin_test_downward): Likewise.
25962 (sin_test_upward): Likewise.
25963 (sincos_test): Likewise.
25964 (sinh_test): Likewise.
25965 (sinh_test_tonearest): Likewise.
25966 (sinh_test_towardzero): Likewise.
25967 (sinh_test_downward): Likewise.
25968 (sinh_test_upward): Likewise.
25969 (sqrt_test): Likewise.
25970 (tan_test): Likewise.
25971 (tan_test_tonearest): Likewise.
25972 (tan_test_towardzero): Likewise.
25973 (tan_test_downward): Likewise.
25974 (tan_test_upward): Likewise.
25975 (tanh_test): Likewise.
25976 (tgamma_test): Likewise.
25977 (y0_test): Likewise.
25978 (y1_test): Likewise.
25979 (yn_test): Likewise.
25980
323e5cb7
JM
25981 * math/gen-libm-test.pl (adjust_arg): Remove function.
25982 (special_function): Remove argument $in_func. Only handle
25983 generating output for tables of tests, not inside functions.
25984 (parse_args): Likewise.
25985 (generate_testfile): Remove variable $in_func. Update call to
25986 parse_args.
25987 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25988 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25989 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25990 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25991 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25992 (MAX_VALUE_INIT): Rename macro to max_value.
25993 (MIN_VALUE_INIT): Rename macro to min_value.
25994 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25995 (plus_zero): Remove variable.
25996 (minus_zero): Likewise.
25997 (plus_infty): Likewise.
25998 (minus_infty): Likewise.
25999 (qnan_value): Likewise.
26000 (max_value): Likewise.
26001 (min_value): Likewise.
26002 (min_subnorm_value): Likewise.
26003
e054f494
RA
260042013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26005
26006 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26007 uint64_t or uint32_t usage.
26008 * crypt/sha256-block.c: Likewise.
26009 * crypt/sha256-crypt.c: Likewise.
26010 * crypt/sha256.c: Likewise.
26011 * crypt/sha512-block.c: Likewise.
26012 * crypt/sha512-crypt.c: Likewise.
26013 * crypt/sha512.c: Likewise.
26014 * debug/backtrace-tst.c: Likewise.
26015 * debug/pcprofiledump.c: Likewise.
26016 * elf/cache.c: Likewise.
26017 * elf/dl-cache.c: Likewise.
26018 * elf/dl-misc.c: Likewise.
26019 * elf/dl-profile.c: Likewise.
26020 * elf/dl-support.c: Likewise.
26021 * elf/ldconfig.c: Likewise.
26022 * elf/sprof.c: Likewise.
26023 * iconv/dummy-repertoire.c: Likewise.
26024 * iconv/iconv_charmap.c: Likewise.
26025 * iconv/skeleton.c: Likewise.
26026 * iconvdata/8bit-generic.c: Likewise.
26027 * iconvdata/cp737.h: Likewise.
26028 * iconvdata/cp775.h: Likewise.
26029 * iconvdata/ibm1008.h: Likewise.
26030 * iconvdata/ibm1025.h: Likewise.
26031 * iconvdata/ibm1046.h: Likewise.
26032 * iconvdata/ibm1097.h: Likewise.
26033 * iconvdata/ibm1112.h: Likewise.
26034 * iconvdata/ibm1122.h: Likewise.
26035 * iconvdata/ibm1123.h: Likewise.
26036 * iconvdata/ibm1124.h: Likewise.
26037 * iconvdata/ibm1129.h: Likewise.
26038 * iconvdata/ibm1130.h: Likewise.
26039 * iconvdata/ibm1132.h: Likewise.
26040 * iconvdata/ibm1133.h: Likewise.
26041 * iconvdata/ibm1137.h: Likewise.
26042 * iconvdata/ibm1140.h: Likewise.
26043 * iconvdata/ibm1141.h: Likewise.
26044 * iconvdata/ibm1142.h: Likewise.
26045 * iconvdata/ibm1143.h: Likewise.
26046 * iconvdata/ibm1144.h: Likewise.
26047 * iconvdata/ibm1145.h: Likewise.
26048 * iconvdata/ibm1146.h: Likewise.
26049 * iconvdata/ibm1147.h: Likewise.
26050 * iconvdata/ibm1148.h: Likewise.
26051 * iconvdata/ibm1149.h: Likewise.
26052 * iconvdata/ibm1153.h: Likewise.
26053 * iconvdata/ibm1154.h: Likewise.
26054 * iconvdata/ibm1155.h: Likewise.
26055 * iconvdata/ibm1156.h: Likewise.
26056 * iconvdata/ibm1157.h: Likewise.
26057 * iconvdata/ibm1158.h: Likewise.
26058 * iconvdata/ibm1160.h: Likewise.
26059 * iconvdata/ibm1161.h: Likewise.
26060 * iconvdata/ibm1162.h: Likewise.
26061 * iconvdata/ibm1163.h: Likewise.
26062 * iconvdata/ibm1164.h: Likewise.
26063 * iconvdata/ibm1166.h: Likewise.
26064 * iconvdata/ibm1167.h: Likewise.
26065 * iconvdata/ibm12712.h: Likewise.
26066 * iconvdata/ibm1390.h: Likewise.
26067 * iconvdata/ibm1399.h: Likewise.
26068 * iconvdata/ibm16804.h: Likewise.
26069 * iconvdata/ibm4517.h: Likewise.
26070 * iconvdata/ibm4899.h: Likewise.
26071 * iconvdata/ibm4909.h: Likewise.
26072 * iconvdata/ibm4971.h: Likewise.
26073 * iconvdata/ibm5347.h: Likewise.
26074 * iconvdata/ibm803.h: Likewise.
26075 * iconvdata/ibm856.h: Likewise.
26076 * iconvdata/ibm901.h: Likewise.
26077 * iconvdata/ibm902.h: Likewise.
26078 * iconvdata/ibm9030.h: Likewise.
26079 * iconvdata/ibm9066.h: Likewise.
26080 * iconvdata/ibm921.h: Likewise.
26081 * iconvdata/ibm922.h: Likewise.
26082 * iconvdata/ibm9448.h: Likewise.
26083 * iconvdata/isiri-3342.h: Likewise.
26084 * iconvdata/jis0201.h: Likewise.
26085 * include/link.h: Likewise.
26086 * include/netdb.h: Likewise.
26087 * inet/check_native.c: Likewise.
26088 * inet/check_pf.c: Likewise.
26089 * inet/getipv4sourcefilter.c: Likewise.
26090 * inet/getnameinfo.c: Likewise.
26091 * inet/getsourcefilter.c: Likewise.
26092 * inet/htonl.c: Likewise.
26093 * inet/setipv4sourcefilter.c: Likewise.
26094 * inet/setsourcefilter.c: Likewise.
26095 * inet/test-inet6_opt.c: Likewise.
26096 * inet/tst-network.c: Likewise.
26097 * locale/C-collate.c: Likewise.
26098 * locale/C-ctype.c: Likewise.
26099 * locale/C-time.c: Likewise.
26100 * locale/C-translit.h: Likewise.
26101 * locale/loadarchive.c: Likewise.
26102 * locale/programs/3level.h: Likewise.
26103 * locale/programs/charmap.c: Likewise.
26104 * locale/programs/charmap.h: Likewise.
26105 * locale/programs/ld-address.c: Likewise.
26106 * locale/programs/ld-collate.c: Likewise.
26107 * locale/programs/ld-ctype.c: Likewise.
26108 * locale/programs/ld-identification.c: Likewise.
26109 * locale/programs/ld-measurement.c: Likewise.
26110 * locale/programs/ld-messages.c: Likewise.
26111 * locale/programs/ld-monetary.c: Likewise.
26112 * locale/programs/ld-name.c: Likewise.
26113 * locale/programs/ld-numeric.c: Likewise.
26114 * locale/programs/ld-paper.c: Likewise.
26115 * locale/programs/ld-telephone.c: Likewise.
26116 * locale/programs/ld-time.c: Likewise.
26117 * locale/programs/linereader.c: Likewise.
26118 * locale/programs/locale.c: Likewise.
26119 * locale/programs/locarchive.c: Likewise.
26120 * locale/programs/locfile.h: Likewise.
26121 * locale/programs/repertoire.c: Likewise.
26122 * locale/programs/simple-hash.c: Likewise.
26123 * locale/programs/simple-hash.h: Likewise.
26124 * malloc/memusage.c: Likewise.
26125 * malloc/memusagestat.c: Likewise.
26126 * nis/nis_defaults.c: Likewise.
26127 * nis/nis_hash.c: Likewise.
26128 * nis/nis_print.c: Likewise.
26129 * nis/nis_xdr.c: Likewise.
26130 * nscd/connections.c: Likewise.
26131 * nscd/hstcache.c: Likewise.
26132 * nscd/nscd_gethst_r.c: Likewise.
26133 * nscd/nscd_getserv_r.c: Likewise.
26134 * nscd/nscd_helper.c: Likewise.
26135 * nscd/servicescache.c: Likewise.
26136 * nss/makedb.c: Likewise.
26137 * nss/nss_db/db-XXX.c: Likewise.
26138 * nss/nss_db/db-initgroups.c: Likewise.
26139 * nss/nss_db/db-netgrp.c: Likewise.
26140 * nss/nss_files/files-network.c: Likewise.
26141 * nss/nss_files/files-parse.c: Likewise.
26142 * posix/bug-regex5.c: Likewise.
26143 * posix/fnmatch_loop.c: Likewise.
26144 * posix/regcomp.c: Likewise.
26145 * posix/regexec.c: Likewise.
26146 * posix/tst-rfc3484-2.c: Likewise.
26147 * posix/tst-rfc3484-3.c: Likewise.
26148 * posix/tst-rfc3484.c: Likewise.
26149 * resolv/nss_dns/dns-canon.c: Likewise.
26150 * resolv/nss_dns/dns-network.c: Likewise.
26151 * resolv/res_init.c: Likewise.
26152 * resolv/res_mkquery.c: Likewise.
26153 * resolv/tst-aton.c: Likewise.
26154 * stdlib/cxa_atexit.c: Likewise.
26155 * stdlib/cxa_finalize.c: Likewise.
26156 * stdlib/gen-fpioconst.c: Likewise.
26157 * stdlib/strtol_l.c: Likewise.
26158 * string/tst-endian.c: Likewise.
26159 * sunrpc/auth_des.c: Likewise.
26160 * sunrpc/clnt_udp.c: Likewise.
26161 * sunrpc/rtime.c: Likewise.
26162 * sunrpc/svcauth_des.c: Likewise.
26163 * sunrpc/xdr.c: Likewise.
26164 * sunrpc/xdr_intXX_t.c: Likewise.
26165 * sunrpc/xdr_rec.c: Likewise.
26166 * sysdeps/generic/ldconfig.h: Likewise.
26167 * sysdeps/generic/ldsodefs.h: Likewise.
26168 * sysdeps/generic/memusage.h: Likewise.
26169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26179 * sysdeps/posix/getaddrinfo.c: Likewise.
26180 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26181 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26182 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26183 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26184 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26185 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26186 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26187 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26188 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26189 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26190 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26191 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26192 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26193 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26194 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26195 * sysdeps/x86_64/dl-tls.h: Likewise.
26196 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26197 * time/alt_digit.c: Likewise.
26198 * time/era.c: Likewise.
26199 * wcsmbs/tst-c16c32-1.c: Likewise.
26200
8c75f674
JM
262012013-05-16 Joseph Myers <joseph@codesourcery.com>
26202
26203 * math/libm-test.inc (struct test_sincos_data): New type.
26204 (RUN_TEST_LOOP_sincos): New macro.
26205 (sincos_test_data): New variable.
26206 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26207
e6e49e59
RH
262082013-05-16 Richard Henderson <rth@redhat.com>
26209
26210 * math/atest-exp2.c (LIMB64): New macro.
26211 (CONSTSZ): New macro.
26212 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26213 (hexdig): Move ...
26214 (print_mpn_fp): ... to function scope.
26215 (read_mpn_hex): Remove.
26216 (get_log2): Remove.
26217 (exp2_mpn): Use mp_log2.
26218 (main): Use mp_exp1.
26219
15c7c18d
JM
262202013-05-16 Joseph Myers <joseph@codesourcery.com>
26221
105a07df
JM
26222 * math/libm-test.inc: Remove comment about not testing "inexact"
26223 exceptions.
26224 (INEXACT_EXCEPTION): New macro.
26225 (NO_INEXACT_EXCEPTION): Likewise.
26226 (INVALID_EXCEPTION_OK): Update value.
26227 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26228 (OVERFLOW_EXCEPTION_OK): Likewise.
26229 (UNDERFLOW_EXCEPTION_OK): Likewise.
26230 (IGNORE_ZERO_INF_SIGN): Likewise.
26231 (ERRNO_UNCHANGED): Likewise.
26232 (ERRNO_EDOM): Likewise.
26233 (ERRNO_ERANGE): Likewise.
26234 (test_exceptions): Handle testing "inexact" exceptions.
26235 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26236 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26237 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26238 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26239 INEXACT_EXCEPTION.
26240 (rint_towardzero_test_data): Likewise.
26241 (rint_downward_test_data): Likewise.
26242 (rint_upward_test_data): Likewise.
26243
e9eee333
JM
26244 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26245 with OVERFLOW_EXCEPTION.
26246 (exp10_test_data): Likewise.
26247 (exp2_test_data): Likewise.
26248 (expm1_test_data): Likewise.
26249 (lgamma_test_data): Likewise.
26250 (pow_test_data): Likewise.
26251 (tgamma_test_data): Likewise.
26252 (yn_test_data): Remove duplicate test of overflow.
26253
1c38ff73
JM
26254 * math/libm-test.inc (struct test_cc_c_data): New type.
26255 (RUN_TEST_LOOP_cc_c): New macro.
26256 (cpow_test_data): New variable.
26257 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26258
15c7c18d
JM
26259 * math/libm-test.inc (struct test_f_L_data): New type.
26260 (RUN_TEST_LOOP_f_L): New macro.
26261 (llrint_test_data): New variable.
26262 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26263 (llrint_tonearest_test_data): New variable.
26264 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26265 (llrint_towardzero_test_data): New variable.
26266 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26267 (llrint_downward_test_data): New variable.
26268 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26269 (llrint_upward_test_data): New variable.
26270 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26271 (llround_test_data): New variable.
26272 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26273
f137ff13
PC
262742013-05-13 Peter Collingbourne <pcc@google.com>
26275
26276 * math/atest-exp2.c (get_log2): Remove const attribute.
26277
3608cb24
JM
262782013-05-15 Joseph Myers <joseph@codesourcery.com>
26279
26280 * math/libm-test.inc (struct test_f_l_data): New type.
26281 (RUN_TEST_LOOP_f_l): New macro.
26282 (lrint_test_data): New variable.
26283 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26284 (lrint_tonearest_test_data): New variable.
26285 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26286 (lrint_towardzero_test_data): New variable.
26287 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26288 (lrint_downward_test_data): New variable.
26289 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26290 (lrint_upward_test_data): New variable.
26291 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26292 (lround_test_data): New variable.
26293 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26294
39b1f617
PC
262952013-05-15 Peter Collingbourne <pcc@google.com>
26296
1deff3dc
PC
26297 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26298 (EXTRACT_WORDS64) Use where appropriate.
26299 (INSERT_WORDS64) Likewise.
26300
791f3ba0
PC
26301 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26302 constraints with x constraints.
26303 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26304
39b1f617
PC
26305 * malloc/obstack.c (_obstack_compat): Add initializer.
26306
12fba011
EM
263072013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26308
26309 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26310 si_trapno and add si_addr_lsb to _sifields.sigfault.
26311 (si_trapno): Remove macro.
26312 (si_addr_lsb): Define new macro.
26313 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26314
d369f531
JM
263152013-05-15 Joseph Myers <joseph@codesourcery.com>
26316
b861c6c4
JM
26317 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26318 instead of TEST_f_l.
26319 (llrint_test_tonearest): Likewise.
26320 (llrint_test_towardzero): Likewise.
26321 (llrint_test_downward): Likewise.
26322 (llrint_test_upward): Likewise.
26323 (llround_test): Likewise.
26324
7abeee12
JM
26325 * math/libm-test.inc (struct test_f_i_data): Add comment.
26326 (RUN_TEST_LOOP_f_b): New macro.
26327 (RUN_TEST_LOOP_f_b_tg): Likewise.
26328 (finite_test_data): New variable.
26329 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26330 (isfinite_test_data): New variable.
26331 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26332 (isinf_test_data): New variable.
26333 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26334 (isnan_test_data): New variable.
26335 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26336 (isnormal_test_data): New variable.
26337 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26338 (issignaling_test_data): New variable.
26339 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26340 (signbit_test_data): New variable.
26341 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26342
cbe8c4d3
JM
26343 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26344 with INVALID_EXCEPTION.
26345 (acosh_test_data): Likewise.
26346 (asin_test_data): Likewise.
26347 (atanh_test_data): Likewise.
26348 (fmod_test_data): Likewise.
26349 (log_test_data): Likewise.
26350 (log10_test_data): Likewise.
26351 (log2_test_data): Likewise.
26352 (pow_test_data): Likewise.
26353 (sqrt_test_data): Likewise.
26354 (y0_test_data): Likewise.
26355 (y1_test_data): Likewise.
26356 (yn_test_data): Likewise.
26357
5575c0e5
JM
26358 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26359 function contents.
26360
d369f531
JM
26361 * math/libm-test.inc (struct test_ff_i_data): New type.
26362 (RUN_TEST_LOOP_ff_i_tg): New macro.
26363 (isgreater_test_data): New variable.
26364 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26365 (isgreaterequal_test_data): New variable.
26366 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26367 (isless_test_data): New variable.
26368 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26369 (islessequal_test_data): New variable.
26370 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26371 (islessgreater_test_data): New variable.
26372 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26373 (isunordered_test_data): New variable.
26374 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26375
781fd748
DM
263762013-05-14 David S. Miller <davem@davemloft.net>
26377
26378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26379
87aa21df
JM
263802013-05-14 Joseph Myers <joseph@codesourcery.com>
26381
5e908270
JM
26382 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26383
f71172e5
JM
26384 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26385 extra_test to int.
26386 (struct test_f_i_data): Change type of max_ulp to int.
26387
8cfa635a
JM
26388 * math/libm-test.inc (test_ffI_f1_data): New type.
26389 (RUN_TEST_LOOP_ffI_f1): New macro.
26390 (remquo_test_data): New variable.
26391 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26392
2bcb36b2
JM
26393 * setjmp/tst-setjmp-fp.c: New file.
26394 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26395 (link-libm): New variable.
26396 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26397
acbd839a
JM
26398 * math/libm-test.inc (struct test_f_i_data): New type.
26399 (RUN_TEST_LOOP_f_i): New macro.
26400 (RUN_TEST_LOOP_f_i_tg): Likewise.
26401 (fpclassify_test_data): New variable.
26402 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26403 (ilogb_test_data): New variable.
26404 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26405
e414d745
JM
26406 * math/libm-test.inc (scalbln_test): Correct function name in END
26407 call.
26408
d9c2a0fd
JM
26409 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26410 (RUN_TEST_LOOP_fI_f1): New macro.
26411 (frexp_test_data): New variable.
26412 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26413
9dc9095d
JM
26414 * math/libm-test.inc (struct test_fF_f1_data): New type.
26415 (RUN_TEST_LOOP_fF_f1): New macro.
26416 (modf_test_data): New variable.
26417 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26418
87aa21df
JM
26419 * math/libm-test.inc (struct test_f_f1_data): New type.
26420 (RUN_TEST_LOOP_f_f1): New macro.
26421 (gamma_test_data): New variable.
26422 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26423 (lgamma_test_data): New variable.
26424 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26425
141af660
CD
264262013-05-13 Carlos O'Donell <carlos@redhat.com>
26427
26428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26429 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26430 (main): Comment "tls" pseudo-hwcap.
26431
6d33265c
JM
264322013-05-13 Joseph Myers <joseph@codesourcery.com>
26433
68fc074c
JM
26434 * math/libm-test.inc (struct test_fl_f_data): New type.
26435 (RUN_TEST_LOOP_fl_f): New variable.
26436 (scalbln_test_data): New variable.
26437 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26438
243216e1
JM
26439 * math/libm-test.inc (struct test_fi_f_data): New type.
26440 (RUN_TEST_LOOP_fi_f): New macro.
26441 (ldexp_test_data): New variable.
26442 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26443 (scalbn_test_data): New variable.
26444 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26445
6a1992e2
JM
26446 * math/libm-test.inc (struct test_c_f_data): New type.
26447 (RUN_TEST_LOOP_c_f): New macro.
26448 (cabs_test_data): New variable.
26449 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26450 (carg_test_data): New variable.
26451 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26452 (cimag_test_data): New variable.
26453 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26454 (creal_test_data): New variable.
26455 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26456
0e400df5
JM
26457 * math/libm-test.inc (struct test_if_f_data): New type.
26458 (RUN_TEST_LOOP_if_f): New macro.
26459 (jn_test_data): New variable.
26460 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26461 (yn_test_data): New variable.
26462 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26463
6d33265c
JM
26464 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26465
f98ece5f
AZ
264662013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26467
26468 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26469 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26470
0f7d347b
SP
264712013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26472
43fe811b
SP
26473 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26474 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26475 (bench-deps): Add bench-timing.h.
26476 * benchtests-bench-skeleton.c: Include bench-timing.h.
26477 (main): Use TIMING_* macros instead of clock_gettime.
26478 * benchtests/bench-timing.h: New file.
26479
0f7d347b
SP
26480 [BZ #14582]
26481 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26482 Renamed from _LIB_VERSION.
26483 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26484
601a3a5f
JM
264852013-05-12 Joseph Myers <joseph@codesourcery.com>
26486
4f184d30
JM
26487 * math/libm-test.inc (struct test_fff_f_data): New type.
26488 (RUN_TEST_LOOP_fff_f): New macro.
26489 (fma_test_data): New variable.
26490 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26491 (fma_towardzero_test_data): New variable.
26492 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26493 (fma_downward_test_data): New variable.
26494 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26495 (fma_upward_test_data): New variable.
26496 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26497
08198877
JM
26498 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26499 (struct test_c_c_data): New type.
26500 (RUN_TEST_LOOP_c_c): New macro.
26501 (cacos_test_data): New variable.
26502 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26503 (cacosh_test_data): New variable.
26504 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26505 (casin_test_data): New variable.
26506 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26507 (casinh_test_data): New variable.
26508 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26509 (catan_test_data): New variable.
26510 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26511 (catanh_test_data): New variable.
26512 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26513 (ccos_test_data): New variable.
26514 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26515 (ccosh_test_data): New variable.
26516 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26517 (cexp_test_data): New variable.
26518 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26519 (clog_test_data): New variable.
26520 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26521 (clog10_test_data): New variable.
26522 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26523 (conj_test_data): New variable.
26524 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26525 (cproj_test_data): New variable.
26526 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26527 (csin_test_data): New variable.
26528 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26529 (csinh_test_data): New variable.
26530 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26531 (csqrt_test_data): New variable.
26532 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26533 (ctan_test_data): New variable.
26534 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26535 (ctan_tonearest_test_data): New variable.
26536 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26537 (ctan_towardzero_test_data): New variable.
26538 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26539 (ctan_downward_test_data): New variable.
26540 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26541 (ctan_upward_test_data): New variable.
26542 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26543 (ctanh_test_data): New variable.
26544 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26545 (ctanh_tonearest_test_data): New variable.
26546 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26547 (ctanh_towardzero_test_data): New variable.
26548 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26549 (ctanh_downward_test_data): New variable.
26550 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26551 (ctanh_upward_test_data): New variable.
26552 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26553 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26554 of BUILD_COMPLEX.
26555
601a3a5f
JM
26556 * math/libm-test.inc (struct test_ff_f_data): New type.
26557 (struct test_ff_f_data_nexttoward): Likewise.
26558 (RUN_TEST_LOOP_2_f): New macro.
26559 (RUN_TEST_LOOP_ff_f): Likewise.
26560 (atan2_test_data): New variable.
26561 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26562 (copysign_test_data): New variable.
26563 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26564 (fdim_test_data): New variable.
26565 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26566 (fmax_test_data): New variable.
26567 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26568 (fmin_test_data): New variable.
26569 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26570 (fmod_test_data): New variable.
26571 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26572 (hypot_test_data): New variable.
26573 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26574 (nextafter_test_data): New variable.
26575 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26576 (nexttoward_test_data): New variable.
26577 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26578 (pow_test_data): New variable.
26579 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26580 (pow_tonearest_test_data): New variable.
26581 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26582 (pow_towardzero_test_data): New variable.
26583 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26584 (pow_downward_test_data): New variable.
26585 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26586 (pow_upward_test_data): New variable.
26587 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26588 (remainder_test_data): New variable.
26589 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26590 (scalb_test_data): New variable.
26591 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26592 * sysdeps/i386/fpu/libm-test-ulps: Update.
26593
74c57478
JM
265942013-05-11 Joseph Myers <joseph@codesourcery.com>
26595
8329e4da
JM
26596 * math/libm-test.inc (fma_test): Use max_value instead of local
26597 variable fltmax.
26598 (nextafter_test): Likewise.
26599
74c57478
JM
26600 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26601 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26602 (acos_downward_test_data): New variable.
26603 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26604 (acos_upward_test_data): New variable.
26605 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26606 (acosh_test_data): New variable.
26607 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26608 (asin_test_data): New variable.
26609 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26610 (asin_tonearest_test_data): New variable.
26611 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26612 (asin_towardzero_test_data): New variable.
26613 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26614 (asin_downward_test_data): New variable.
26615 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26616 (asin_upward_test_data): New variable.
26617 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26618 (asinh_test_data): New variable.
26619 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26620 (atan_test_data): New variable.
26621 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26622 (atanh_test_data): New variable.
26623 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26624 (cbrt_test_data): New variable.
26625 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26626 (ceil_test_data): New variable.
26627 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26628 (cos_test_data): New variable.
26629 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26630 (cos_tonearest_test_data): New variable.
26631 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26632 (cos_towardzero_test_data): New variable.
26633 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26634 (cos_downward_test_data): New variable.
26635 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26636 (cos_upward_test_data): New variable.
26637 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26638 (cosh_test_data): New variable.
26639 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26640 (cosh_tonearest_test_data): New variable.
26641 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26642 (cosh_towardzero_test_data): New variable.
26643 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26644 (cosh_downward_test_data): New variable.
26645 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26646 (cosh_upward_test_data): New variable.
26647 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26648 (erf_test_data): New variable.
26649 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26650 (erfc_test_data): New variable.
26651 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26652 (exp_test_data): New variable.
26653 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26654 (exp_tonearest_test_data): New variable.
26655 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26656 (exp_towardzero_test_data): New variable.
26657 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26658 (exp_downward_test_data): New variable.
26659 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26660 (exp_upward_test_data): New variable.
26661 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26662 (exp10_test_data): New variable.
26663 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26664 (exp2_test_data): New variable.
26665 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26666 (expm1_test_data): New variable.
26667 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26668 (fabs_test_data): New variable.
26669 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26670 (floor_test_data): New variable.
26671 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26672 (j0_test_data): New variable.
26673 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26674 (j1_test_data): New variable.
26675 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26676 (log_test_data): New variable.
26677 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26678 (log10_test_data): New variable.
26679 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26680 (log1p_test_data): New variable.
26681 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26682 (log2_test_data): New variable.
26683 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26684 (logb_test_data): New variable.
26685 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26686 (logb_downward_test_data): New variable.
26687 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26688 (nearbyint_test_data): New variable.
26689 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26690 (rint_test_data): New variable.
26691 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26692 (rint_tonearest_test_data): New variable.
26693 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26694 (rint_towardzero_test_data): New variable.
26695 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26696 (rint_downward_test_data): New variable.
26697 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26698 (rint_upward_test_data): New variable.
26699 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26700 (round_test_data): New variable.
26701 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26702 (sin_test_data): New variable.
26703 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26704 (sin_tonearest_test_data): New variable.
26705 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26706 (sin_towardzero_test_data): New variable.
26707 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26708 (sin_downward_test_data): New variable.
26709 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26710 (sin_upward_test_data): New variable.
26711 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26712 (sinh_test_data): New variable.
26713 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26714 (sinh_tonearest_test_data): New variable.
26715 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26716 (sinh_towardzero_test_data): New variable.
26717 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26718 (sinh_downward_test_data): New variable.
26719 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26720 (sinh_upward_test_data): New variable.
26721 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26722 (sqrt_test_data): New variable.
26723 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26724 (tan_test_data): New variable.
26725 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26726 (tan_tonearest_test_data): New variable.
26727 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26728 (tan_towardzero_test_data): New variable.
26729 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26730 (tan_downward_test_data): New variable.
26731 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26732 (tan_upward_test_data): New variable.
26733 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26734 (tanh_test_data): New variable.
26735 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26736 (tgamma_test_data): New variable.
26737 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26738 (trunc_test_data): New variable.
26739 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26740 (y0_test_data): New variable.
26741 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26742 (y1_test_data): New variable.
26743 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26744 (significand_test_data): New variable.
26745 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26746
7187d844
CG
267472013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26748
26749 [BZ #12387]
26750 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26751
f63fae73
PT
267522013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26753
26754 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26755
8a67a4b3
AJ
267562013-05-10 Andreas Jaeger <aj@suse.de>
26757
26758 [BZ #15448]
26759 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26760 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26761
51df539d
JM
267622013-05-10 Joseph Myers <joseph@codesourcery.com>
26763
26764 * math/gen-libm-test.pl (adjust_arg): New function.
26765 (special_functions): Handle generating output in both functions
26766 and arrays.
26767 (parse_args): Likewise.
26768 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26769 $in_func argument to parse_args.
26770 * math/libm-test.inc (struct test_f_f_data): New type.
26771 (IF_ROUND_INIT_): New macro.
26772 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26773 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26774 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26775 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26776 (ROUND_RESTORE_): Likewise.
26777 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26778 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26779 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26780 (ROUND_RESTORE_FE_UPWARD): Likewise.
26781 (RUN_TEST_LOOP_f_f): New macro.
26782 (acos_test_data): New variable.
26783 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26784 (acos_tonearest_test_data): New variable.
26785 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26786
5c637fe5
SP
267872013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26788
26789 * benchtests/bench-skeleton.c (startup): Fix coding style.
26790
ab2b9461
JM
267912013-05-10 Joseph Myers <joseph@codesourcery.com>
26792
26793 [BZ #6809]
26794 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26795 negative infinity argument.
26796 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26797 negative infinity argument.
26798 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26799 negative infinity argument.
26800 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26801 domain errors.
26802
4c0fe6fe
FW
268032013-05-10 Florian Weimer <fweimer@redhat.com>
26804
26805 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26806 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26807 * iconv/iconv_prog.c (main): Likewise.
26808 * locale/programs/charmap-dir.c (charmap_readdir)
26809 (fopen_uncompressed): Likewise.
26810 * locale/programs/locfile.c (siblings_uncached)
26811 (write_locale_data): Use lstat64 instead of lstat.
26812 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26813 stat.
26814
a3375d29
AJ
268152013-05-10 Andreas Jaeger <aj@suse.de>
26816
26817 [BZ #15395]
26818 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26819 localization.
26820 Include <locale.h>.
26821
36129722
CD
268222013-05-09 Carlos O'Donell <carlos@redhat.com>
26823
26824 * elf/dl-close.c (_dl_close_worker): Add comments.
26825
faa7f811
JM
268262013-05-09 Joseph Myers <joseph@codesourcery.com>
26827
ed41ffef
JM
26828 [BZ #15359]
26829 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26830 high part of pi/2.
26831 (__ieee754_rem_pio2l): Update comments.
26832
d0213cd0
JM
26833 [BZ #15429]
26834 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26835 high part of pi/2.
26836 (__ieee754_rem_pio2l): Update comments.
26837
0d3e777a
JM
26838 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26839 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26840
24f56066
JM
26841 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26842 M_PI_4l.
26843
faa7f811
JM
26844 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26845 (M_PI_34_LOG10El): Likewise.
26846 (M_PI2_LOG10El): Likewise.
26847 (M_PI4_LOG10El): Likewise.
26848 (M_PI_LOG10El): Likewise.
26849
e9a5e0fd
AZ
268502013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26851
26852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26853
d8cd06db
JM
268542013-05-08 Joseph Myers <joseph@codesourcery.com>
26855
a0d9f9d7
JM
26856 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26857 (MINUS_ZERO_INIT): Likewise.
26858 (PLUS_INFTY_INIT): Likewise.
26859 (MINUS_INFTY_INIT): Likewise.
26860 (QNAN_VALUE_INIT): Likewise.
26861 (MAX_VALUE_INIT): Likewise.
26862 (MIN_VALUE_INIT): Likewise.
26863 (MIN_SUBNORM_VALUE_INIT): Likewise.
26864 (plus_zero): Initialize with PLUS_ZERO_INIT.
26865 (minus_zero): Initialize with MINUS_ZERO_INIT.
26866 (plus_infty): Initialize with PLUS_INFTY_INIT.
26867 (minus_infty): Initialize with MINUS_INFTY_INIT.
26868 (qnan_value): Initialize with QNAN_VALUE_INIT.
26869 (max_value): Initialize with MAX_VALUE_INIT.
26870 (min_value): Initialize with MIN_VALUE_INIT.
26871 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26872
ae08db3b
JM
26873 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26874 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26875 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26876 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26877
f44bf14a
JM
26878 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26879 (RUN_TEST_2_f): Likewise.
26880 (RUN_TEST_ff_f): Likewise.
26881 (RUN_TEST_fi_f): Likewise.
26882 (RUN_TEST_fl_f): Likewise.
26883 (RUN_TEST_fff_f): Likewise.
26884 (RUN_TEST_c_f): Likewise.
26885 (RUN_TEST_f_f1): Likewise.
26886 (RUN_TEST_fF_f1): Likewise.
26887 (RUN_TEST_fI_f1): Likewise.
26888 (RUN_TEST_ffI_f1): Likewise.
26889 (RUN_TEST_c_c): Likewise.
26890 (RUN_TEST_cc_c): Likewise.
26891 (RUN_TEST_f_i): Likewise.
26892 (RUN_TEST_f_i_tg): Likewise.
26893 (RUN_TEST_ff_i_tg): Likewise.
26894 (RUN_TEST_f_b): Likewise.
26895 (RUN_TEST_f_b_tg): Likewise.
26896 (RUN_TEST_f_l): Likewise.
26897 (RUN_TEST_f_L): Likewise.
26898 (RUN_TEST_sincos): Likewise.
26899 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26900 whether to show exceptions. Do not include ");\n" in return
26901 value.
26902 (special_functions): Output call to RUN_TEST_sincos instead of
26903 check_float calls. Update calls to new_test.
26904 (parse_args): Output call to single RUN_TEST_* macro instead of
26905 check_* calls and other assignments. Update calls to new_test.
26906
d8cd06db
JM
26907 [BZ #2546]
26908 [BZ #2560]
26909 [BZ #5159]
26910 [BZ #15426]
26911 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26912 input to result for tgamma overflow.
26913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26914 (gamma_coeff): New variable.
26915 (NCOEFF): New macro.
26916 (gamma_positive): New function.
26917 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26918 underflow here. Use gamma_positive instead of exp (lgamma) for
26919 other arguments.
26920 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26921 (gamma_coeff): New variable.
26922 (NCOEFF): New macro.
26923 (gammaf_positive): New function.
26924 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26925 underflow here. Use gamma_positive instead of exp (lgamma) for
26926 other arguments.
26927 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26928 (gamma_coeff): New variable.
26929 (NCOEFF): New macro.
26930 (gammal_positive): New function.
26931 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26932 underflow here. Use gamma_positive instead of exp (lgamma) for
26933 other arguments.
26934 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26935 (gamma_coeff): New variable.
26936 (NCOEFF): New macro.
26937 (gammal_positive): New function.
26938 (__ieee754_gammal_r): Handle positive infinity, overflow and
26939 underflow here. Handle NaN the same as positive infinity. Remove
26940 check x < 0xffffffff for negative integers. Use gamma_positive
26941 instead of exp (lgamma) for other arguments.
26942 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26943 (gamma_coeff): New variable.
26944 (NCOEFF): New macro.
26945 (gammal_positive): New function.
26946 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26947 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26948 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26951 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26952 * sysdeps/generic/math_private.h (__gamma_productf): New
26953 prototype.
26954 (__gamma_product): Likewise.
26955 (__gamma_productl): Likewise.
26956 * math/Makefile (libm-calls): Add gamma_product.
26957 * math/libm-test.inc (tgamma_test): Add more tests.
26958 * sysdeps/i386/fpu/libm-test-ulps: Update.
26959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26960
bb7cf681
OB
269612013-05-08 Ondřej Bílka <neleai@seznam.cz>
26962
26963 * benchtests/bench-skeleton.c (main): Preheat CPU.
26964
ba853947
AJ
269652013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26966
26967 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26968
8347c74c
RM
269692013-05-07 Roland McGrath <roland@hack.frob.com>
26970
26971 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26972 and _dl_skip_args_internal.
26973
e8dd4791
CD
269742013-05-07 Carlos O'Donell <carlos@redhat.com>
26975
26976 * manual/message.texi (Message Translation): Talk about users.
26977 Message to key mapping impacts design.
26978
c7405830
RM
269792013-05-06 Roland McGrath <roland@hack.frob.com>
26980
a9173057
RM
26981 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26982
976e2f03
RM
26983 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26984
9723ffc5
RM
26985 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26986 * sysdeps/wordsize-64/glob64.c: ... here.
26987
962e6658
RM
26988 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26989 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26990 New macros.
26991
ee586a6d
RM
26992 * debug/getlogin_r_chk.c: Moved to ...
26993 * login/getlogin_r_chk.c: ... here.
26994 * debug/Makefile (routines): Move getlogin_r_chk to ...
26995 * login/Makefile (routines): ... here.
26996 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26997 * login/Versions (libc: GLIBC_2.4): ... here.
26998
355f9165
RM
26999 * io/poll.c (__poll): Renamed from poll.
27000 Add libc_hidden_def.
27001 (poll): Define as weak alias.
27002
bd9ffde6
RM
27003 * debug/ptsname_r_chk.c: Moved to ...
27004 * login/ptsname_r_chk.c: ... here.
27005 * debug/Makefile (routines): Move ptsname_r_chk to ...
27006 * login/Makefile (routines): ... here.
27007 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27008 * login/Versions (libc: GLIBC_2.4): ... here.
27009
8fb16a04
RM
27010 * posix/getlogin.c: Moved to ...
27011 * login/getlogin.c: ... here.
27012 * posix/getlogin_r.c: Moved to ...
27013 * login/getlogin_r.c: ... here.
27014 * posix/getlogin_r.c: Moved to ...
27015 * login/getlogin_r.c: ... here.
27016 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27017 * login/Makefile (routines): ... here.
27018 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27019 * login/Versions (libc: GLIBC_2.0): ... here.
27020
b99b892f
RM
27021 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27022 (setrlimit): Define as weak alias.
27023
c7405830
RM
27024 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27025 Call __ names for open, ftruncate, and close.
27026 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27027 (truncate): Define as weak alias.
27028
5bf96de5
JM
270292013-05-06 Joseph Myers <joseph@codesourcery.com>
27030
9ea3513c
JM
27031 * math/gen-libm-test.pl (parse_args): Initialize x before each
27032 test of frexp, modf and remquo.
27033
5bf96de5
JM
27034 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27035 test signgam value.
27036
16e616a7
AZ
270372013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27038
27039 [BZ #15418]
27040 [BZ #15419]
27041 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27042 internal tests.
27043 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27044
d5e82754
RM
270452013-05-06 Roland McGrath <roland@hack.frob.com>
27046
27047 * elf/dl-writev.h: New file.
27048 * elf/dl-misc.c: Include it.
27049 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27050 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27051
a7548d41
JM
270522013-05-04 Joseph Myers <joseph@codesourcery.com>
27053
b7dab1e4
JM
27054 * math/libm-test.inc (noXFails): Remove variable.
27055 (noXPasses): Likewise.
27056 (BUILD_COMPLEX_INT): Remove macro.
27057 (print_screen): Remove xfail argument.
27058 (print_screen_max_error): Likewise.
27059 (update_stats): Likewise.
27060 (print_max_error): Likewise. Update calls to other affected
27061 functions.
27062 (print_complex_max_error): Likewise.
27063 (test_single_exception): Update calls to print_screen.
27064 (test_single_errno): Likewise.
27065 (check_float_internal): Remove xfail argument. Update calls to
27066 other affected functions.
27067 (check_float): Likewise.
27068 (check_complex): Likewise.
27069 (check_int): Likewise.
27070 (check_long): Likewise.
27071 (check_bool): Likewise.
27072 (check_longlong): Likewise.
27073 (main): Don't print noXFails and noXPasses.
27074 * math/gen-libm-test.pl (top level): Don't mention expected
27075 failure handling in comment.
27076 (new_test): Don't handle expected failures.
27077 (parse_args): Don't mention expected failure handling in comment.
27078 (generate_testfile): Don't handle expected failures.
27079 (parse_ulps): Likewise.
27080 (print_ulps_file): Likewise.
27081 (get_failure): Remove function.
27082 (output_test): Don't handle expected failures.
27083 * make/README.libm-test: Don't mention expected failure handling.
27084
a7548d41
JM
27085 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27086 (minus_zero): Likewise.
27087 (plus_infty): Likewise.
27088 (minus_infty): Likewise.
27089 (qnan_value): Likewise.
27090 (max_value): Likewise.
27091 (min_value): Likewise.
27092 (min_subnorm_value): Likewise.
27093 (initialize): Do not initialize those variables dynamically.
27094
60bfd54c
RM
270952013-05-03 Roland McGrath <roland@hack.frob.com>
27096
cc0e6ed8
RM
27097 * io/open.c (__open_2): Moved to ...
27098 * io/open_2.c: ... this new file.
27099 * io/open64.c (__open64_2): Moved to ...
27100 * io/open64_2.c: ... this new file.
27101 * io/openat.c (__openat_2): Moved to ...
27102 * io/openat_2.c: ... this new file.
27103 * io/openat64.c (__openat64_2): Moved to ...
27104 * io/openat64_2.c: ... this new file.
27105 * io/Makefile (routines): Add them.
27106 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27107 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27108 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27109 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27110 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27111 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27112 (__openat64): Add hidden_ver.
27113 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27114 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27115
60bfd54c
RM
27116 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27117 Separately conditionalize setting of GLRO(dl_sysinfo) so
27118 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27119 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27120
83e7640f
AZ
271212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27122
27123 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27124 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27125 definition.
27126 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27127 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27128 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27129 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27130 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27131
d5dc2af3
JM
271322013-05-03 Joseph Myers <joseph@codesourcery.com>
27133
c31a5b1e
JM
27134 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27135 test signgam value.
27136
d5dc2af3
JM
27137 * math/libm-test.inc (hypot_test): Do not use
27138 IGNORE_ZERO_INF_SIGN.
27139
164fd39d
AJ
271402013-05-03 Andreas Jaeger <aj@suse.de>
27141
27142 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27143 Linux 3.9.
27144 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27145 (PF_MAX): Adjust for VSOCK change.
27146
8237f48c
AZ
271472013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27148
27149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27150
9df02941
CD
271512013-05-02 Carlos O'Donell <carlos@redhat.com>
27152
27153 [BZ #15264]
27154 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27155 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27156 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27157
d422395e
DM
271582013-05-02 David S. Miller <davem@davemloft.net>
27159
27160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27161
a07c5731
OB
271622013-05-01 Ondřej Bílka <neleai@seznam.cz>
27163
27164 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27165
1324e37f
RM
271662013-05-01 Roland McGrath <roland@hack.frob.com>
27167
27168 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27169
0695940b
RS
271702013-05-01 Richard Smith <richard@metafoo.co.uk>
27171
bb5f27ad 27172 [BZ #14952]
0695940b
RS
27173 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27174 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27175 Use __attribute__ ((__gnu_inline__)).
27176 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27177 Don't use __attribute__ ((__gnu_inline__)).
27178
10de07f5
JM
271792013-05-01 Joseph Myers <joseph@codesourcery.com>
27180
27181 [BZ #15423]
27182 * math/s_catan.c (__catan): Handle small real or imaginary part of
27183 input specially to avoid spurious underflow.
27184 * math/s_catanf.c (__catanf): Likewise.
27185 * math/s_catanh.c (__catanh): Likewise.
27186 * math/s_catanhf.c (__catanhf): Likewise.
27187 * math/s_catanhl.c (__catanhl): Likewise.
27188 * math/s_catanl.c (__catanl): Likewise.
27189 * math/libm-test.inc (catan_test): Add more tests.
27190 (catanh_test): Likewise.
27191 * sysdeps/i386/fpu/libm-test-ulps: Update.
27192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27193
cb4d5414
AZ
271942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27195
27196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27197
caf84319
JM
271982013-04-30 Joseph Myers <joseph@codesourcery.com>
27199
27200 [BZ #15416]
27201 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27202 accurately for denominator in atan2.
27203 * math/s_catanf.c (__catanf): Likewise.
27204 * math/s_catanh.c (__catanh): Likewise.
27205 * math/s_catanhf.c (__catanhf): Likewise.
27206 * math/s_catanhl.c (__catanhl): Likewise.
27207 * math/s_catanl.c (__catanl): Likewise.
27208 * math/libm-test.inc (catan_test): Add more tests.
27209 (catanh_test): Likewise.
27210 * sysdeps/i386/fpu/libm-test-ulps: Update.
27211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27212
d569c6ee
SP
272132013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27214
6dbe713d
SP
27215 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27216
f0ee064b
SP
27217 * benchtests/Makefile (bench): Remove slow benchmarks.
27218 * benchtests/atan-inputs: Add slow benchmark inputs.
27219 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27220 (BENCH_FUNC): Accept variant offset.
27221 (VARIANT): Define.
27222 * benchtests/bench-skeleton.c (main): Run benchmark for each
27223 variant.
27224 * benchtests/cos-inputs: Add slow benchmark inputs.
27225 * benchtests/exp-inputs: Likewise.
27226 * benchtests/pow-inputs: Likewise.
27227 * benchtests/sin-inputs: Likewise.
27228 * benchtests/slowatan-inputs: Remove.
27229 * benchtests/slowatan.c: Remove.
27230 * benchtests/slowcos-inputs: Remove.
27231 * benchtests/slowcos.c: Remove.
27232 * benchtests/slowexp-inputs: Remove.
27233 * benchtests/slowexp.c: Remove.
27234 * benchtests/slowpow-inputs: Remove.
27235 * benchtests/slowpow.c: Remove.
27236 * benchtests/slowsin-inputs: Remove.
27237 * benchtests/slowsin.c: Remove.
27238 * benchtests/slowtan-inputs: Remove.
27239 * benchtests/slowtan.c: Remove.
27240 * benchtests/tan-inputs: Add slow benchmark inputs.
27241 * scripts/bench.pl: Parse comments and directives.
27242
d569c6ee
SP
27243 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27244 in CPPFLAGS.
27245 ($(objpfx)bench-%.c): Remove *-ITER.
27246 * benchtests/bench-modf.c: Remove definition of ITER.
27247 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27248 (main): Loop for DURATION seconds instead of fixed number of
27249 iterations.
27250 * scripts/bench.pl: Don't expect iterations in parameters.
27251
a6a242fe
RM
272522013-04-29 Roland McGrath <roland@hack.frob.com>
27253
27254 * io/fchdir.c (__fchdir): Renamed from fchdir.
27255 (fchdir): Define as weak alias.
27256
f2da7793
JM
272572013-04-29 Joseph Myers <joseph@codesourcery.com>
27258
27259 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27260 (ERRNO_EDOM): Likewise.
27261 (ERRNO_ERANGE): Likewise.
27262 (noErrnoTests): New variable.
27263 (init_max_error): Set errno to 0.
27264 (test_single_errno): New function.
27265 (test_errno): Likewise.
27266 (check_float_internal): Call test_errno. Set errno to 0.
27267 (check_complex): Refer to errno tests in comment.
27268 (check_int): Call test_errno. Set errno to 0.
27269 (check_long): Likewise.
27270 (check_bool): Likewise.
27271 (check_longlong): Likewise.
27272 (cos_test): Use ERRNO_* flags for errno tests instead of
27273 check_int.
27274 (expm1_test): Likewise.
27275 (fmod_test): Likewise.
27276 (ilogb_test): Likewise.
27277 (lgamma_test): Likewise.
27278 (pow_test): Likewise.
27279 (remainder_test): Likewise.
27280 (sin_test): Likewise.
27281 (tan_test): Likewise.
27282 (yn_test): Likewise.
27283 (initialize): Set errno to 0.
27284 (main): Print number of errno tests.
27285 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27286
b1a36ceb
AJ
272872013-04-29 Andreas Jaeger <aj@suse.de>
27288
c3ed8088
AJ
27289 [BZ #15084]
27290 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27291 and RES_USEVC.
27292
f1a24198
AJ
27293 [BZ #15085]
27294 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27295 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27296 unimplemented.
27297
9ce3b2cb
AJ
27298 [BZ #15380]
27299 * stdlib/random.c (__initstate): Return NULL if
27300 __initstate fails.
27301
f1a24198 27302 [BZ #15086]
b1a36ceb
AJ
27303 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27304 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27305 RES_SNGLKUPREOP.
27306
7e7b6f36
AZ
273072013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27308
27309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27310
4d14f449
JM
273112013-04-29 Joseph Myers <joseph@codesourcery.com>
27312
27313 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27314 of individual tests.
27315 (casin_test): Likewise.
27316 (casinh_test): Likewise.
27317
5b4217d7
JM
273182013-04-27 Joseph Myers <joseph@codesourcery.com>
27319
27320 [BZ #15409]
27321 * math/s_catan.c (__catan): Handle arguments with large real or
27322 imaginary part separately without squaring.
27323 * math/s_catanf.c (__catanf): Likewise.
27324 * math/s_catanh.c (__catanh): Likewise.
27325 * math/s_catanhf.c (__catanhf): Likewise.
27326 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27327 and redefine.
27328 (__catanhl): Handle arguments with large real or imaginary part
27329 separately without squaring.
27330 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27331 and redefine.
27332 (__catanl): Handle arguments with large real or imaginary part
27333 separately without squaring.
27334 * math/libm-test.inc (catan_test): Add more tests.
27335 (catanh_test): Likewise.
27336 * sysdeps/i386/fpu/libm-test-ulps: Update.
27337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27338
4220c3ef
AJ
273392013-04-27 Andreas Jaeger <aj@suse.de>
27340
27341 [BZ #15007]
27342 * stdlib/stdlib.h: Update guards for qecvt.
27343 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27344 <stdlib.h>.
27345
4721b2d1
AM
273462013-04-27 Allan McRae <allan@archlinux.org>
27347
27348 * sysdeps/i386/fpu/libm-test-ulps: Update.
27349
f0302940
JM
273502013-04-26 Joseph Myers <joseph@codesourcery.com>
27351
9457fd95
JM
27352 [BZ #15406]
27353 * math/s_catan.c: Include <float.h>.
27354 (__catan): Ensure underflow exception occurs for underflowed
27355 result.
27356 * math/s_catanf.c: Include <float.h>.
27357 (__catanf): Ensure underflow exception occurs for underflowed
27358 result.
27359 * math/s_catanh.c: Include <float.h>.
27360 (__catanh): Ensure underflow exception occurs for underflowed
27361 result.
27362 * math/s_catanhf.c: Include <float.h>.
27363 (__catanhf): Ensure underflow exception occurs for underflowed
27364 result.
27365 * math/s_catanhl.c: Include <float.h>.
27366 (__catanhl): Ensure underflow exception occurs for underflowed
27367 result.
27368 * math/s_catanl.c: Include <float.h>.
27369 (__catanl): Ensure underflow exception occurs for underflowed
27370 result.
27371 * math/libm-test.inc (catan_test): Add more tests.
27372 (catanh_test): Likewise.
27373
f0302940
JM
27374 [BZ #15405]
27375 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27376 underflowed result.
27377 * math/s_ccoshf.c (__ccoshf): Likewise.
27378 * math/s_ccoshl.c (__ccoshl): Likewise.
27379 * math/s_csin.c (__csin): Likewise.
27380 * math/s_csinf.c (__csinf): Likewise.
27381 * math/s_csinh.c (__csinh): Likewise.
27382 * math/s_csinhf.c (__csinhf): Likewise.
27383 * math/s_csinhl.c (__csinhl): Likewise.
27384 * math/s_csinl.c (__csinl): Likewise.
27385 * math/libm-test.inc (ccos_test): Add more tests.
27386 (ccosh_test): Likewise.
27387 (csin_test): Likewise.
27388 (csinh_test): Likewise.
27389
aa630f59
AZ
273902013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27391
27392 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27393 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27394 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27395 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27396 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27397 powerpc/power5+/fpu folders.
27398 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27399
27400
1b835983
MT
274012013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27402
27403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27404
73709b26
JM
274052013-04-25 Joseph Myers <joseph@codesourcery.com>
27406
27407 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27408 additions to variable.
27409 [$(config-machine) = x86_64] (modules-names): Likewise.
27410 ($(objpfx)tst-audit3): Remove dependency.
27411 ($(objpfx)tst-audit3.out): Likewise.
27412 ($(objpfx)tst-audit4): Likewise.
27413 ($(objpfx)tst-audit4.out): Likewise.
27414 ($(objpfx)tst-audit5): Likewise.
27415 ($(objpfx)tst-audit5.out): Likewise.
27416 ($(objpfx)tst-audit6): Likewise.
27417 ($(objpfx)tst-audit6.out): Likewise.
27418 ($(objpfx)tst-audit7): Likewise.
27419 ($(objpfx)tst-audit7.out): Likewise.
27420 (tst-audit3-ENV): Remove variable.
27421 (tst-audit4-ENV): Likewise.
27422 (tst-audit5-ENV): Likewise.
27423 (tst-audit6-ENV): Likewise.
27424 (tst-audit7-ENV): Likewise.
27425 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27426 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27427 addition to variable.
27428 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27429 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27430 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27431 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27432 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27433 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27434 tst-audit3, tst-audit4 and tst-audit5.
27435 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27436 tst-audit6 and tst-audit7.
27437 [$(subdir) = elf] (modules-names): Add audit modules for those
27438 tests.
27439 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27440 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27441 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27442 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27443 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27444 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27445 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27446 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27447 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27448 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27449 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27450 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27451 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27452 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27453 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27454 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27455 Likewise.
27456 [$(subdir) = elf && $(config-cflags-avx) = yes]
27457 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27458 [$(subdir) = elf && $(config-cflags-avx) = yes]
27459 (CFLAGS-tst-auditmod4a.c): Likewise.
27460 [$(subdir) = elf && $(config-cflags-avx) = yes]
27461 (CFLAGS-tst-auditmod4b.c): Likewise.
27462 [$(subdir) = elf && $(config-cflags-avx) = yes]
27463 (CFLAGS-tst-auditmod6b.c): Likewise.
27464 [$(subdir) = elf && $(config-cflags-avx) = yes]
27465 (CFLAGS-tst-auditmod6c.c): Likewise.
27466 [$(subdir) = elf && $(config-cflags-avx) = yes]
27467 (CFLAGS-tst-auditmod7b.c): Likewise.
27468 * elf/tst-audit3.c: Move to ...
27469 * sysdeps/x86_64/tst-audit3.c: ... here.
27470 * elf/tst-audit4.c: Move to ...
27471 * sysdeps/x86_64/tst-audit4.c: ... here.
27472 * elf/tst-audit5.c: Move to ...
27473 * sysdeps/x86_64/tst-audit5.c: ... here.
27474 * elf/tst-audit6.c: Move to ...
27475 * sysdeps/x86_64/tst-audit6.c: ... here.
27476 * elf/tst-audit7.c: Move to ...
27477 * sysdeps/x86_64/tst-audit7.c: ... here.
27478 * elf/tst-auditmod3a.c: Move to ...
27479 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27480 * elf/tst-auditmod3b.c: Move to ...
27481 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27482 * elf/tst-auditmod4a.c: Move to ...
27483 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27484 * elf/tst-auditmod4b.c: Move to ...
27485 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27486 * elf/tst-auditmod5a.c: Move to ...
27487 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27488 * elf/tst-auditmod5b.c: Move to ...
27489 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27490 * elf/tst-auditmod6a.c: Move to ...
27491 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27492 * elf/tst-auditmod6b.c: Move to ...
27493 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27494 * elf/tst-auditmod6c.c: Move to ...
27495 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27496 * elf/tst-auditmod7a.c: Move to ...
27497 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27498 * elf/tst-auditmod7b.c: Move to ...
27499 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27500
1ef74943
PP
275012013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27502
27503 [BZ #15366]
27504 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27505 define unconditionally.
27506 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27507 define unconditionally.
27508 (INT8_C, INT16_C, etc.): Likewise.
27509
93fd48c5
MR
275102013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27511
ae9552cf
MR
27512 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27513 __ehdr_start with hidden visibility.
27514
93fd48c5
MR
27515 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27516
418601aa
CD
275172013-04-24 Carlos O'Donell <carlos@redhat.com>
27518
27519 * math/libm-test.inc (cos_test): Use accurate hex constants.
27520 (sincost_test): Likewise.
27521
2f38fbfe
JM
275222013-04-24 Joseph Myers <joseph@codesourcery.com>
27523
5e221800
JM
27524 * math/libm-test.inc (catan_test): Add more tests.
27525 (catanh_test): Likewise.
27526
77f143fd
JM
27527 * math/s_catanf.c (__catanf): Use suffixed floating-point
27528 constants.
27529 * math/s_catanhf.c (__catanhf): Likewise.
27530 * math/s_catanhl.c (__catanhl): Likewise.
27531 * math/s_catanl.c (__catanl): Likewise.
27532
2f38fbfe
JM
27533 [BZ #15394]
27534 * math/s_catan.c (__catan): Calculate imaginary part of result
27535 with log1p not log unless computing log of number close to 0.
27536 * math/s_catanf.c (__catanf): Likewise.
27537 * math/s_catanl.c (__catanl): Likewise.
27538 * math/s_catanh.c (__catanh): Calculate real part of result with
27539 log1p not log unless computing log of number close to 0.
27540 * math/s_catanhf.c (__catanhf): Likewise.
27541 * math/s_catanhl.c (__catanhl): Likewise.
27542 * math/libm-test.inc (catan_test): Add more tests.
27543 (catanh_test): Likewise.
27544 * sysdeps/i386/fpu/libm-test-ulps: Update.
27545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27546
45d69176
SP
275472013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27548
27549 * benchtests/Makefile: Mention files in which fast and slow
27550 paths of math functions are implemented.
27551
87f51853
RM
275522013-04-23 Roland McGrath <roland@hack.frob.com>
27553
27554 * sysdeps/posix/timespec_get.c: New file.
27555
3c026539
AZ
275562013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27557
27558 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27559 POWER.
27560 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27561 for POWER.
27562 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27563 powerpc/power5/fpu folders.
27564 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27565 * benchtests/Makefile: Add modf testcase.
27566 * benchtests/bench-modf.c: New file: Benchmark test for mo
27567
ff491d14
SP
275682013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27569
27570 [BZ #14888]
27571 * time/Makefile (tests): Add tst-strptime-whitespace.
27572 * time/strptime_l.c (get_number): Use ISSPACE.
27573 (__strptime_internal): Likewise.
27574 * time/tst-strptime-whitespace.c: New test case.
27575
7ed3f4e8
AS
275762013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27577
27578 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27579 member.
27580 (_nss_files_init): Set it here.
27581
5c95f7b6
HC
275822013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27583
27584 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27585 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27586 unsigned.
27587
d34c9158
JBG
275882013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27589
27590 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27591
2169712d
SP
275922013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27593
27594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27595 size just once.
27596
29c5de99
DM
275972013-04-21 David S. Miller <davem@davemloft.net>
27598
27599 * po/ru.po: Update Russion translation from translation project.
27600
ccdad15d
AC
276012013-04-17 Adam Conrad <adconrad@0c3.net>
27602
27603 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27604 and setfsgid.
27605
0f122b8d
CD
276062013-04-17 Carlos O'Donell <carlos@redhat.com>
27607
5c5b07da 27608 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 27609 * configure: Regenerate.
5c5b07da 27610 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
27611 Add example to error message.
27612 * sysdeps/i386/configure: Regenerate.
27613
037714dd
SP
276142013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27615
27616 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27617 slowtan.
27618 * benchtests/cos-inputs: New file.
27619 * benchtests/slowcos-inputs: New file.
27620 * benchtests/slowcos.c: New file.
27621 * benchtests/slowtan-inputs: New file.
27622 * benchtests/slowtan.c: New file.
27623 * benchtests/tan-inputs: New file.
27624
e913141d
RM
276252013-04-16 Roland McGrath <roland@hack.frob.com>
27626
27627 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27628 considered kosher.
27629
a2964074
SP
276302013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27631
4856bcd2
SP
27632 * benchtests/Makefile: Include cppflags-iterator.mk to add
27633 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27634
a2964074
SP
27635 * Makefile.in (bench-clean): New target.
27636 * benchtests/Makefile (bench-clean): Likewise.
27637
9fbf9aca
DH
276382013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27639
27640 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27641
207d1e2a
TS
276422013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27643
27644 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27645
306dfba9
AS
276462013-04-15 Andreas Schwab <schwab@suse.de>
27647
27648 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27649 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27650 * nscd/pwdcache.c (cache_addpw): Likewise.
27651 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27652 more than recsize.
27653
206a6699
SP
276542013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27655
27656 * benchtests/Makefile (bench): Write all output to
27657 bench-out.tmp together.
27658
0582f6b3
AS
276592013-04-15 Andreas Schwab <schwab@suse.de>
27660
27661 * nscd/nscd.c (main): Don't fork again after closing files.
27662
acb4325f
SP
276632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27664
5cb26d0a
SP
27665 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27666
acb4325f
SP
27667 * benchtests/Rules (bench-deps): Collect dependencies into a
27668 single variable. Add Makefile to dependencies.
27669 ($(objpfx)bench-%.c): Depend on bench-deps.
27670
47792506
RM
276712013-04-12 Roland McGrath <roland@hack.frob.com>
27672 Xavier Roche <roche+kml2@exalead.com>
27673
27674 [BZ #15361]
27675 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27676 just that it's a file descriptor.
27677 * manual/llio.texi (Synchronizing AIO Operations): Update description
27678 for EBADF error from aio_fsync.
27679
8fc1bee5
SP
276802013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27681
27682 * Rules (bench): Move target definition...
27683 * benchtests/Makefile: ... here.
27684
aba5e333
CD
276852013-04-11 Carlos O'Donell <carlos@redhat.com>
27686
27687 * math/libm-test.inc (cos_test): Fix PI/2 test.
27688 (sincos_test): Likewise.
27689 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27690 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27691
273cdee8
AS
276922013-04-11 Andreas Schwab <schwab@suse.de>
27693
6ecec3b6
AS
27694 [BZ #13988]
27695 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27696 accept exponent character only when digits were seen.
27697 * stdio-common/Makefile (tests): Add bug26.
27698 * stdio-common/bug26.c: New file.
27699
273cdee8
AS
27700 [BZ #14293]
27701 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27702 non-freeable.
27703
8da491f5
SP
277042013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27705
01dc6df9
SP
27706 * Makeconfig (rtld-prefix): Define built linker prefix.
27707 * Rules (run-bench): Use it.
27708 * math/Makefile (run-regen-ulps): Likewise.
27709
8da491f5
SP
27710 * Rules (bench): Remove eval.
27711
abe7f530
SP
277122013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27713 Roland McGrath <roland@hack.frob.com>
27714 Ondrej Bilka <neleai@seznam.cz>
27715
27716 [BZ #15346]
27717 * time/getdate.c: Include ctype.h and alloca.h.
27718 (__getdate_r): Trim leading and trailing spaces of input.
27719 * time/tst-getdate.c (tests): Add tests with leading and
27720 trailing spaces.
27721
61c23e62
RM
277222013-04-08 Roland McGrath <roland@hack.frob.com>
27723
27724 [BZ #14280]
27725 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27726 when computing value.
27727
7208a313
CD
277282013-04-06 Carlos O'Donell <carlos@redhat.com>
27729
085b2d41
CD
27730 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27731 Use testrun.sh to run libm tests.
27732
7208a313
CD
27733 [BZ #15309]
27734 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27735
872c0acd
MM
277362013-04-06 Marko Myllynen <myllynen@redhat.com>
27737
27738 [BZ #15264]
27739 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27740
26510bdd
CD
277412013-04-06 Carlos O'Donell <carlos@redhat.com>
27742
27743 * Makefile.in (regen-ulps): New target.
27744 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27745 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27746 [ifneq (no,$(PERL)] (regen-ulps): New target.
27747 [ifeq (no,$(PERL)] (regen-ulps): New target.
27748 * math/libm-test.inc (ulps_file_name): Define.
27749 (output_dir): New variable.
27750 (options): Add "output-dir" option.
27751 (parse_opt): Handle 'o' case.
27752 (main): If output_dir is non-NULL use it as a prefix
27753 otherwise use "".
27754 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27755
a01f19c8
CD
277562013-04-06 Carlos O'Donell <carlos@redhat.com>
27757
27758 [BZ #10060, #10062]
27759 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27760 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27761 fail configure if __sync_val_compare_and_swap is not inlined.
27762 * sysdeps/i386/configure: Regenerate.
27763 * configure.in: Build for i686 when configured for i386.
27764 * configure: Regenerate.
27765 * README: Remove i386 reference.
27766
b7a329a5
CD
277672013-04-06 Carlos O'Donell <carlos@redhat.com>
27768
27769 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27770 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27771
bf0f50df
TS
277722013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27773
ee091edf
TS
27774 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27775 (lmsnanval): New variables.
27776 (F): Add conversion tests.
27777 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27778 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27779
a8b792d6
TS
27780 * stdio-common/tstdiomisc.c (F): Properly collect individual
27781 tests' results.
27782
a1cbf437
TS
27783 [BZ #14686, #15336]
27784 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27785 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27786 Instead, use input NaN values or generate a qNaN by arithmetic
27787 operation. Also fix bugs to comply with the standard.
27788 * math/libm-test.inc (remainder_test): Add more tests.
27789
8b43a0c9
TS
27790 [BZ #15335, #15342]
27791 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27793 input NaN values or generate a qNaN by arithmetic operation.
27794
d91da4ce
TS
27795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27796 unreachable code.
27797
bf0f50df
TS
27798 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27799 definitions.
27800
05e166c8
JM
278012013-04-03 Joseph Myers <joseph@codesourcery.com>
27802
27803 [BZ #14478]
27804 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27805 underflowed result.
27806 * math/s_cexpf.c (__cexpf): Likewise.
27807 * math/s_cexpl.c (__cexpl): Likewise.
27808 * math/libm-test.inc (cexp_test): Add more tests.
27809
1cef1b19
AS
278102013-04-03 Andreas Schwab <schwab@suse.de>
27811
27812 [BZ #15330]
27813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27814 order arrays from heap if bigger than alloca cutoff.
27815
74d87055
TS
278162013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27817
27818 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27819 (SNAN_TESTS_double): Refer to GCC PR56831.
27820 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27821 GCC PR56828.
27822
d755bba4
SP
278232013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27824
90d5d5bb
SP
27825 * Rules (bench): Move bench.out after the run is complete.
27826
73e0cd5d
SP
27827 * Rules (bench): Echo currently running benchmark.
27828
64aabd4b
SP
27829 * benchtests/Makefile (bench): Add atan and slowatan.
27830 * benchtests/atan-inputs: New file.
27831 * benchtests/slowatan-inputs: New file.
27832 * benchtests/slowatan.c: New file.
27833
c871eccd
SP
27834 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27836 its value.
27837
d755bba4
SP
27838 [BZ #15305]
27839 * sysdeps/unix/sysv/linux/kernel-features.h
27840 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27841 __ASSUME_XFS_RESTRICTED_CHOWN.
27842 * sysdeps/unix/sysv/linux/pathconf.c
27843 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27844 Save and restore errno.
27845
52ce4860
JM
278462013-04-02 Joseph Myers <joseph@codesourcery.com>
27847
27848 [BZ #15327]
27849 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27850 arguments using __kernel_casinh.
27851 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27852 arguments using __kernel_casinhf.
27853 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27854 arguments using __kernel_casinhl.
27855 * math/libm-test.inc (cacosh_test): Add more tests.
27856 * sysdeps/i386/fpu/libm-test-ulps: Update.
27857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27858
81f311c2
SP
278592013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27860
e7906a47
SP
27861 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27863
92e3664b
SP
27864 * bench/Makefile (bench): Add sin and slowsin.
27865 * benchtests/sin-inputs: New file.
27866 * benchtests/slowsin-inputs: New file.
27867 * benchtests/slowsin.c: New file.
27868
81f311c2
SP
27869 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27870 (bench): Add slowexp and slowpow.
27871 (exp-ITER): Increase iterations.
27872 (pow-ITER): Likewise.
27873 * benchtests/exp-inputs: Change input.
27874 * benchtests/pow-inputs: Likewise.
27875 * benchtests/slowexp-inputs: New file.
27876 * benchtests/slowexp.c: New file.
27877 * benchtests/slowpow-inputs: New file.
27878 * benchtests/slowpow.c: New file.
27879
ab0f1aa9
AZ
278802013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27881
27882 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27883 instructions.
27884 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27885 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27886 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27887 * benchtests/Makefile: Add rint benchtest.
27888 * benchtests/rint-inputs: Input for rint benchtest.
27889
57267616
TS
278902013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27891
27892 * Versions.def (libm): Add GLIBC_2.18.
27893 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27894 hidden libm prototypes.
27895 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27896 * math/Makefile (libm-calls): Add s_issignaling.
27897 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27898 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27899 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27900 declaration.
27901 * math/math.h [__USE_GNU] (issignaling): New macro.
27902 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27903 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27905 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27907 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27908 * manual/arith.texi (issignaling): New section.
27909 * manual/libm-err-tab.pl (@all_functions): Update comment.
27910 * math/gen-libm-test.pl (parse_args): Apply special handling for
27911 issignaling.
27912 * math/libm-test.inc (print_float, issignaling_test): New
27913 functions.
27914 (check_float_internal): Add issignaling checks.
27915 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27916 default definition.
27917 * sysdeps/powerpc/math-tests.h: New file.
27918 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27919 tests.
27920 * math/test-snan.c (TEST_FUNC): Likewise.
27921
6142896d
DM
279222013-03-30 David S. Miller <davem@davemloft.net>
27923
27924 * po/de.po: Update from translation team.
27925
ccc8cadf
JM
279262013-03-30 Joseph Myers <joseph@codesourcery.com>
27927
27928 [BZ #10357]
27929 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27930 imaginary part less than 1.0 and real part less than 0.5
27931 specially.
27932 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27933 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27934 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27935 (cacos_test): Add more tests.
27936 (casin_test): Likewise.
27937 (casinh_test): Likewise.
27938 * sysdeps/i386/fpu/libm-test-ulps: Update.
27939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27940
0f6a8d4b
SP
279412013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27942
0d1029de
SP
27943 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27944 ONE with its value.
27945
c2d94018
SP
27946 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27947 (__pow_mp): Replace ONE and MONE with their values.
27948 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27950 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27951 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27952 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27953 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27954
27ec37f1
SP
27955 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27956
a64d7e0e
SP
27957 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27958 (__pow_mp): Replace ZERO and MZERO with their values.
27959 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27960 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27961 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27963 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27964 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27965 (__sqr): Likewise.
27966
d26dd3eb
SP
27967 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27968
0f6a8d4b
SP
27969 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27970
e57b0c61
RM
279712013-03-28 Roland McGrath <roland@hack.frob.com>
27972
27973 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27974 Declare with __attribute__ ((weak)).
27975 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27976 Call __call_tls_dtors only if it's not NULL.
27977
356b3480
RM
279782013-03-28 Roland McGrath <roland@hack.frob.com>
27979
288f7d79
RM
27980 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27981 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27982 magic __ehdr_start linker symbol if it's defined.
27983 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27984 them up here if it was already done.
27985
dc0a0263
RM
27986 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27987 (_dl_aux_init): Use const in cast when setting it.
27988 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27989 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27990 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27991
3d3436ae
RM
27992 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27993 Declare them here.
27994 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27995 * csu/libc-tls.c: Nor here.
27996 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27997
356b3480
RM
27998 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27999 (__libc_message): Never call vsyslog.
28000
b0f1246a
AM
280012013-03-28 Alan Modra <amodra@gmail.com>
28002
28003 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28004 Define as empty.
28005 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28006 Likewise.
28007
fbbe2b9a
AZ
280082013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28009
28010 [BZ #15214]
28011 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28012 underflow.
28013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28014
1728ab37
SP
280152013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28016
7a86be6e
SP
28017 [BZ #15304]
28018 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28019 Don't add gid passed as argument.
28020
1728ab37
SP
28021 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28022
3a7182a1
JM
280232013-03-27 Joseph Myers <joseph@codesourcery.com>
28024
28025 [BZ #15307]
28026 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28027 imaginary part between 1.0 and 1.5 and real part less than 0.5
28028 specially.
28029 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28030 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28031 * math/libm-test.inc (cacos_test): Add more tests.
28032 (casin_test): Likewise.
28033 (casinh_test): Likewise.
28034 * sysdeps/i386/fpu/libm-test-ulps: Update.
28035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28036
6f2e90e7
SP
280372013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28038
5739f705
SP
28039 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28040 constants.
28041 (norm): Likewise.
28042 (denorm): Likewise.
28043 (__dbl_mp): Likewise.
28044 (add_magnitudes): Likewise.
28045 (sub_magnitudes): Likewise.
28046 (__add): Likewise.
28047 (__sub): Likewise.
28048 (__mul): Likewise.
28049 (__sqr): Likewise.
28050 (__inv): Likewise.
28051 (__dvd): Likewise.
28052
e375e83d
SP
28053 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28054 commented code.
28055 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28056 (__dubcos): Likewise.
28057 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28058 (__ieee754_acos): Likewise.
28059 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28060 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28061 (__exp1): Likewise.
28062 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28063 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28064 (log1): Likewise.
28065 (my_log2): Likewise.
28066 (checkint): Likewise.
28067 * sysdeps/ieee754/dbl-64/e_remainder.c
28068 (__ieee754_remainder): Likewise.
28069 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28071 (bsloww): Likewise.
28072 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28073
6f2e90e7
SP
28074 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28075 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28076 MANTISSA_STORE_T to store computations on mantissa. Use
28077 macros for rounding and division.
28078 (denorm): Likewise.
28079 (__dbl_mp): Likewise.
28080 (add_magnitudes): Likewise.
28081 (sub_magnitudes): Likewise.
28082 (__mul): Likewise.
28083 (__sqr): Likewise.
28084 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28085 powers of two in terms of TWOPOW macro.
28086 (mp_no): Make type of mantissa as MANTISSA_T.
28087 [!RADIXI]: Define RADIXI.
28088 [!TWO52]: Define TWO52.
28089 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28090
fce14d4e
AZ
280912013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28092
28093 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28094 llroundl symbol when building for PPC32.
28095
9ad027fb
MW
280962013-03-24 Mark H Weaver <mhw@netris.org>
28097
28098 * manual/arith.texi (Normalization Functions): Fix prototypes for
28099 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28100
e42a38dd
AZ
281012013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28102
28103 [BZ #13889]
28104 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28105 high value to check if expl overflow.
28106 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28107 to check for underflow and overflow.
28108 * math/libm-test.inc: Add exp test.
28109
2e0fb521
DL
281102013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28111
28112 [BZ #11120]
28113 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28114 with NOT_IN_libc.
28115
b5784d95
AZ
281162013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28117
28118 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28119 symbol.
28120
5aa4a1a1
TS
281212013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28122
bdef0be7
TS
28123 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28124 wrap blocks consisting of several statements.
28125
5aa4a1a1
TS
28126 * sysdeps/generic/math-tests.h: New file.
28127 * sysdeps/i386/fpu/math-tests.h: Likewise.
28128 * math/test-snan.c: Include it.
28129 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28130
98c48fe5
JM
281312013-03-21 Joseph Myers <joseph@codesourcery.com>
28132
28133 [BZ #15285]
28134 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28135 (__ieee754_j0l): Do not improve calculations using cos of twice
28136 input for inputs above LDBL_MAX / 2.0L.
28137 (__ieee754_y0l): Likewise.
28138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28139 (__ieee754_j1l): Do not improve calculations using cos of twice
28140 input for inputs above LDBL_MAX / 2.0L.
28141 (__ieee754_y1l): Likewise.
28142 * math/libm-test.inc (j0_test): Add another test.
28143 (j1_test): Likewise.
28144 (y0_test): Likewise.
28145 (y1_test): Likewise.
28146 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147
3775a8bc
SP
281482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28149
28150 * Rules ($(objpfx)bench-%.c): Include code from a C source
28151 file.
28152
0a1b2ae6
JM
281532013-03-21 Joseph Myers <joseph@codesourcery.com>
28154
28155 [BZ #15287]
28156 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28157 imaginary part 1.0 and real part less than 0.5 specially.
28158 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28159 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28160 * math/libm-test.inc (cacos_test): Add more tests.
28161 (casin_test): Likewise.
28162 (casinh_test): Likewise.
28163 * sysdeps/i386/fpu/libm-test-ulps: Update.
28164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165
b33d4ce4
SP
281662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28167
28168 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28169 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28170
bef0b507
JM
281712013-03-20 Joseph Myers <joseph@codesourcery.com>
28172
28173 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28174 * config.make.in (config-cflags-sse4): Remove variable.
28175 (config-cflags-avx): Likewise.
28176 (config-cflags-sse2avx): Likewise.
28177 (config-cflags-novzeroupper): Likewise.
28178 (config-asflags-i686): Likewise.
28179 (have-mfma4): Likewise.
28180 (have-as-vis3): Likewise.
28181 (MIG): Likewise.
28182 * configure.in (MIG): Do not AC_SUBST.
28183 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28184 (libc_cv_cc_sse4): Do not AC_SUBST.
28185 (libc_cv_cc_avx): Likewise.
28186 (libc_cv_cc_sse2avx): Likewise.
28187 (libc_cv_cc_novzeroupper): Likewise.
28188 (libc_cv_cc_fma4): Likewise.
28189 (libc_cv_as_i686): Likewise.
28190 (libc_cv_sparc_as_vis3): Likewise.
28191 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28192 LIBC_CONFIG_VAR.
28193 (config-asflags-i686): Likewise.
28194 (config-cflags-avx): Likewise.
28195 (config-cflags-sse2avx): Likewise.
28196 (have-mfma4): Likewise.
28197 (config-cflags-novzeroupper): Likewise.
28198 * sysdeps/mach/configure.in (MIG): Likewise.
28199 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28200 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28201 LIBC_CONFIG_VAR.
28202 (config-cflags-avx): Likewise.
28203 (config-cflags-sse2avx): Likewise.
28204 (have-mfma4): Likewise.
28205 (config-cflags-novzeroupper): Likewise.
28206 * configure: Regenerated.
28207 * sysdeps/i386/configure: Likewise.
28208 * sysdeps/mach/configure: Likewise.
28209 * sysdeps/sparc/configure: Likewise.
28210 * sysdeps/x86_64/configure: Likewise.
28211
912cc4b3
RM
282122013-03-20 Roland McGrath <roland@hack.frob.com>
28213
28214 [BZ #14812]
28215 * locale/programs/localedef.c (options): Put N_ translation marker
28216 on argument names, not just descriptions.
28217
04eed2b0
MS
282182013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28219
28220 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28221
a065ceff
OB
282222013-03-20 Ondřej Bílka <neleai@seznam.cz>
28223
9bb2a810 28224 [BZ #14176]
a065ceff
OB
28225 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28226
a600e5ce
RM
282272013-03-19 Roland McGrath <roland@hack.frob.com>
28228
28229 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28230 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28231 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28232 [!BEFORE_ABORT] (before_abort): New function.
28233 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28234 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28235 (writev_for_fatal): New function.
28236 (WRITEV_FOR_FATAL): New macro; call that.
28237 (backtrace_and_maps): New function.
28238 (BEFORE_ABORT): New macro; call that.
28239 (struct str_list): Type removed.
28240 (__libc_message, __libc_fatal): Functions removed.
28241 Include <sysdeps/posix/libc_fatal.c> instead.
28242
6b18bea6
JM
282432013-03-19 Joseph Myers <joseph@codesourcery.com>
28244
28245 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28246 constants.
28247 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28248 double constants.
28249
aaa8cb4b
AS
282502013-03-19 Andreas Schwab <schwab@suse.de>
28251
44673770
AS
28252 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28253 * sysdeps/gnu/configure: Regenerate.
28254
aaa8cb4b
AS
28255 * configure.in: Substitute libc_cv_rtlddir.
28256 * configure: Regenerate.
28257 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28258 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28259 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28260 * elf/Makefile (install-others, CFLAGS-interp.c)
28261 (ldso_install, common-ldd-rewrite): Likewise.
28262 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28263 $(inst_slibdir)/$(rtld-installed-name).
28264 * scripts/rellns-sh: Add -p option.
28265 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28266 for source.
28267
d3cfc668
SP
282682013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28269
28270 * manual/nptl.texi: Renamed to ...
28271 * manual/threads.texi: ... this.
28272 * manual/Makefile (chapters): Update.
28273
0e2b9cdd
RM
282742013-03-18 Roland McGrath <roland@hack.frob.com>
28275
28276 [BZ #14812]
28277 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28278 on argument names, not just descriptions.
0e2b9cdd
RM
28279 * malloc/memusagestat.c (options): Likewise.
28280 * nss/getent.c (options): Likewise.
63270c24
RM
28281
282822013-03-18 Benno Schulenberg <bensberg@justemail.net>
28283
28284 [BZ #14812]
28285 * iconv/iconv_prog.c (options): Put N_ translation marker
28286 on argument names, not just descriptions.
28287 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28288
b2e1393c
OB
282892013-03-18 Ondrej Bilka <neleai@seznam.cz>
28290
28291 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28292 implementation which is faster on all x86_64 architectures.
28293 Tested on AMD, Intel Nehalem, SNB, IVB.
28294 * sysdeps/x86_64/strnlen.S: Likewise.
28295
28296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28297 Remove all multiarch strlen and strnlen versions.
28298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28299 Remove strlen and strnlen related parts.
28300
28301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28302 Inline strlen part.
28303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28304
28305 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28306 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28307 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28308 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28309 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28310 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28311
ec4ff04d
CD
283122013-03-17 Carlos O'Donell <carlos@redhat.com>
28313
28314 * manual/memory.texi (Malloc Tunable Parameters):
28315 Sort parameters alphabetically. Add comments for missing entries.
28316
cd18e90a
DM
283172013-03-17 David S. Miller <davem@davemloft.net>
28318
28319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28320
2a185d32
JM
283212013-03-16 Joseph Myers <joseph@codesourcery.com>
28322
d2f9799e
JM
28323 [BZ #15283]
28324 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28325 for arguments at most half maximum finite value.
28326 * math/libm-test.inc (j0_test): Add more tests.
28327 (j1_test): Likewise.
28328 (y0_test): Likewise.
28329 (y1_test): Likewise.
28330 * sysdeps/i386/fpu/libm-test-ulps: Update.
28331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28332
2a185d32
JM
28333 [BZ #14155]
28334 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28335 1 / x and functions P and Q for arguments above 0x1p256L.
28336 (__ieee754_y0l): Likewise.
28337 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28338 (__ieee754_y1l): Likewise.
28339 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28340 (j1_test): Likewise.
28341 (y0_test): Likewise.
28342 (y1_test): Likewise.
28343
6cbec759
TS
283442013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28345
28346 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28347 variable.
28348
bc16e260
RM
283492013-03-15 Roland McGrath <roland@hack.frob.com>
28350
aefc9b8c
RM
28351 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28352 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28353 zero since it's initialized to EXEC_PAGESIZE.
28354
bc16e260
RM
28355 * sysdeps/unix/sysv/linux/ldsodefs.h
28356 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28357 * sysdeps/generic/ldsodefs.h: ... here.
28358
a57da955
TS
283592013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28360
af00a34d
TS
28361 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28362
495ded2c
TS
28363 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28364 math/test-snan.c.
28365 * math/test-snan.c: Renamed from
28366 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28367 * math/Makefile (tests): Add test-snan.
28368 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28369 test-powerpc-snan.
28370
777b0332
TS
28371 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28372 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28373 functions.
28374 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28375 __builtin_nan family of functions.
28376 * math/libm-test.inc (initialize): Initialize qnan_value with
28377 __builtin_nan family of functions.
28378 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28379 Remove variables.
28380 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28381 Remove functions.
28382 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28383 storage class. Initialize qNaN_var and sNaN_var with
28384 __builtin_nan and __builtin_nans families of functions,
28385 respectively.
28386
64d063b8
TS
28387 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28388 (sqrt_test): Remove duplicate test with qNaN input.
28389 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28390 (round_test, signbit_test, significand_test): Note missing +/-Inf
28391 as well as qNaN tests.
28392
67e971f1
TS
28393 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28394 qNaN_var. Fix a few strings, too.
28395 * math/libm-test.inc (nan_value): Rename to qnan_value.
28396 * math/gen-libm-test.pl (%beautify): Adjust to that.
28397 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28398 * math/test-misc.c (main): Likewise.
28399 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28400 to __qnan_bytes, and __qnan_union, respectively.
28401 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28402 Likewise.
28403 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28404 and lqnanval, respectively.
28405 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28406 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28407 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28408 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28409
64487e12
TS
28410 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28411 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28412 doubles.
28413
e015e27b
TS
28414 * math/test-misc.c (main): Fix copy'n'pastos.
28415 * misc/tst-efgcvt.c (special): Likewise.
28416
a57da955
TS
28417 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28418 Remove declarations.
28419
1e380345
SP
284202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28421
28422 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28423 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28424 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28425 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28426
ef26eece
AZ
284272013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28428
28429 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28430 macro to return vdso values correctly in IFUNC implementations.
28431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28432 Optimization by using IFUNC.
28433
8cfdb7e0
SP
284342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28435 Richard Henderson <rth@redhat.com>
28436 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28437
28438 * Makefile.in (bench): New target.
28439 * NEWS: Mention the benchmark framework.
28440 * Rules (bench): Likewise.
28441 (binaries-bench): Generate binaries for functions to
28442 benchmark.
28443 * benchtests/Makefile: New makefile for benchmark tests.
28444 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28445 programs.
28446 * benchtests/exp-inputs: New input file for EXP function.
28447 * benchtests/pow-inputs: New input file for POW function.
28448 * scripts/bench.pl: New script to generate source files for
28449 benchmark programs.
28450
bcda9880
SP
284512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28452
d22ca8cd
SP
28453 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28455 computations on mantissa. Use macros for rounding and
28456 division.
28457 (denorm): Likewise.
28458 (__dbl_mp): Likewise.
28459 (add_magnitudes): Likewise.
28460 (sub_magnitudes): Likewise.
28461 (__mul): Likewise.
28462 (__sqr): Likewise.
28463 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28464 powers of two in terms of TWOPOW macro.
28465 (mp_no): Make type of mantissa as MANTISSA_T.
28466 [!RADIXI]: Define RADIXI.
28467 [!TWO52]: Define TWO52.
28468 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28469
bcda9880
SP
28470 * manual/nptl.texi (cindex): Modify threads to pthreads.
28471
06d5adfb
JM
284722013-03-15 Joseph Myers <joseph@codesourcery.com>
28473
28474 * sysdeps/x86_64/preconfigure: Regenerated.
28475
41c7328e
JM
284762013-03-14 Joseph Myers <joseph@codesourcery.com>
28477
28478 [BZ #14155]
28479 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28480 0x1p28 and above.
28481 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28482 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28483 0x1p28 and above.
28484 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28485 * math/libm-test.inc (j0_test): Do not allow one spurious
28486 underflow exception.
28487 (y1_test): Likewise.
28488
e25cfa60
SP
284892013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28490
0409959c
SP
28491 * manual/Makefile (chapters): Add nptl.
28492 * manual/debug.texi (Debugging Support): Add link to Threads
28493 chapter.
28494 * manual/nptl.texi: New file.
28495
e25cfa60
SP
28496 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28497
58a1335e
PB
284982013-03-14 Petr Baudis <pasky@ucw.cz>
28499
28500 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28501 for non-NULL pointer before the memory validity test. Pointed
28502 out by Holger Brunck <holger.brunck@keymile.com>.
28503
9dc7c64f
AS
285042013-03-13 Andreas Schwab <schwab@suse.de>
28505
28506 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28507 instead of .os.
28508
54206aa6
JM
285092013-03-13 Joseph Myers <joseph@codesourcery.com>
28510
28511 * timezone/zic.c: Update from tzcode 2013b.
28512
e98cdb38
CD
285132013-03-12 Carlos O'Donell <carlos@redhat.com>
28514
28515 * manual/install.texi (Configuring and compiling):
28516 Mention i686 and i586.
28517 * INSTALL: Regenerate.
28518
9967e003
RM
285192013-03-12 Roland McGrath <roland@hack.frob.com>
28520
28521 * sysdeps/init_array/elf-init.c: New file.
28522 * csu/elf-init.c
28523 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28524 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28525
28526 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28527 __gmon_start__ as global, but as static with a .preinit_array pointer.
28528 * sysdeps/init_array/gmon-start.c: New file. Use that.
28529 * sysdeps/init_array/crti.S: New file, empty except for comments.
28530 * sysdeps/init_array/crtn.S: Likewise.
28531
e6b5a293 285322013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
28533
28534 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28535 definining bcopy.
80f844c9
OB
28536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28537 Remove Prefer_SSE_for_memop.
28538 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28539 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28540 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
28541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28542 memset-x86-64.
80f844c9 28543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 28544 Remove bzero, memset ifunc support.
80f844c9
OB
28545 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28546 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28547 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28548 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28549
fb6b0fcb
AS
285502013-03-11 Andreas Schwab <schwab@suse.de>
28551
28552 [BZ #15234]
28553 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28554 by SHLIB_COMPAT.
28555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28556 (GLIBC_2.16): Remove pthread_atfork.
28557
3e6bd4b1
PP
285582013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28559
28560 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28561 (ptestcases.h): Likewise.
28562
222d7f00
RM
285632013-03-08 Roland McGrath <roland@hack.frob.com>
28564
28565 * Makeconfig ($(common-objpfx)config.status): Depend on
28566 sysdeps/*/preconfigure{,.in} too.
28567
1ba4f030
JM
285682013-03-08 Joseph Myers <joseph@codesourcery.com>
28569
a222d91a
JM
28570 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28571 (__free_hook): Use void * instead of __malloc_ptr_t.
28572 (__malloc_hook): Likewise.
28573 (__realloc_hook): Likewise.
28574 (__memalign_hook): Likewise.
28575 (__after_morecore_hook): Likewise.
28576 * malloc/arena.c (save_malloc_hook): Likewise.
28577 (save_free_hook): Likewise.
28578 * malloc/hooks.c (malloc_hook_ini): Likewise.
28579 (realloc_hook_ini): Likewise.
28580 (memalign_hook_ini): Likewise.
28581 * malloc/malloc.c (malloc_hook_ini): Likewise.
28582 (realloc_hook_ini): Likewise.
28583 (memalign_hook_ini): Likewise.
28584 (__free_hook): Likewise.
28585 (__malloc_hook): Likewise.
28586 (__realloc_hook): Likewise.
28587 (__memalign_hook): Likewise.
28588 (__libc_malloc): Likewise.
28589 (__libc_free): Likewise.
28590 (__libc_realloc): Likewise.
28591 (__libc_memalign): Likewise.
28592 (__libc_valloc): Likewise.
28593 (__libc_pvalloc): Likewise.
28594 (__libc_calloc): Likewise.
28595 (__posix_memalign): Likewise.
28596 * malloc/morecore.c (__sbrk): Likewise.
28597 (__default_morecore): Likewise.
28598
5cc45e10
JM
28599 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28600
dd54b864
JM
28601 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28602 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28603 __malloc_ptrdiff_t.
28604
1ba4f030
JM
28605 * malloc/malloc.h (__malloc_size_t): Remove macro.
28606 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28607 __malloc_size_t.
28608 (old_memalign_hook): Likewise.
28609 (old_realloc_hook): Likewise.
28610 (struct hdr): Likewise.
28611 (flood): Likewise.
28612 (mallochook): Likewise.
28613 (memalignhook): Likewise.
28614 (reallochook): Likewise.
28615 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28616 (tr_old_realloc_hook): Likewise.
28617 (tr_old_memalign_hook): Likewise.
28618 (tr_mallochook): Likewise.
28619 (tr_reallochook): Likewise.
28620 (tr_memalignhook): Likewise.
28621
edf66e57
AZ
286222013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28623
28624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28625 default_ldbl_pack and using as default implementation.
28626 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28627 implementation.
28628 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28629 redundant definition.
28630 (ldbl_insert_mantissa): Likewise.
28631 (ldbl_canonicalize): Likewise.
28632 (ldbl_nearbyint): Likewise.
28633 (ldbl_pack): Rename to ldbl_pack_ppc.
28634 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28635 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28636 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28637
6d9145d8
SP
286382013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28639
28640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28641 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28642 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28643 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28645 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28646 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28647 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28648
4dd4e157
AJ
286492013-03-07 Andreas Jaeger <aj@suse.de>
28650
28651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28652 bits/mman-linux.h.
28653
adbb8027
SP
286542013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28655
ce544b5b
SP
28656 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28657 Include mpa.h and declare __MPEXP.
28658 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28660 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28661 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28662 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28663 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28664 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28665
4cc149fd
SP
28666 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28667 (__slowpow): Use long double EXPL and LOGL functions to
28668 compute POW.
28669 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28670 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28671 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28672 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28673 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28674 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28675
e6ebd4a7
SP
28676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28677 intermediate variable to calculate exponent.
28678 (__sqr): Likewise.
28679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28680 Likewise.
28681 (__sqr): Likewise.
28682
82a9811d
SP
28683 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28684 [!NO__SQR]: Define __sqr.
28685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28686 and NO__SQR. Remove all code except __mul and __sqr. Include
28687 sysdeps/ieee754/dbl-64/mpa.c.
28688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28689
adbb8027
SP
28690 [BZ #12723]
28691 * posix/Makefile (tests): Add tst-pathconf.
28692 * posix/tst-pathconf.c: New test case.
28693 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28694 _PC_PIPE_BUF.
28695 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28696
39120df9
PF
286972013-03-06 Patsy Franklin <pfrankli@redhat.com>
28698
28699 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28700
67525cb8
AJ
287012013-03-06 Andreas Jaeger <aj@suse.de>
28702
664a9ce4
AJ
28703 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28704 definition via __MAP_ANONYMOUS.
28705
8e39047d
AJ
28706 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28707 it's not part of Linux headers.
28708
67525cb8
AJ
28709 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28710 (MAP_HUGE_MASK): Define.
28711
28712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28713 Define.
28714 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28716 Define.
28717 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28718 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28719 Define.
28720 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28722 Define.
28723 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28724
28725 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28726 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28727 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28728 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28729 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28730 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28731
28732 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28733 Handle f2fs.
28734
28735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28736 Handle f2fs and efivarfs.
28737
28738 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28739 f2fs.
28740
28741 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28742 (EFIVARFS_MAGIC): Add.
28743 (F2FS_LINK_MAX): Add.
28744
e1b42695
PP
287452013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28746
28747 * stdio-common/vfprintf.c: Replace __builtin_expect with
28748 __glibc_unlikely.
28749
2d67d91a
JM
287502013-03-06 Joseph Myers <joseph@codesourcery.com>
28751
28752 [BZ #13550]
28753 * sysdeps/generic/bp-sym.h: Remove file.
28754 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28755 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28756 <bp-sym.h> and <bp-asm.h>.
28757 (__longjmp): Don't use BP_SYM.
28758 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28759 and <bp-asm.h>.
28760 (memcpy): Don't use BP_SYM.
28761 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28762 <bp-sym.h> and <bp-asm.h>.
28763 (memcpy): Don't use BP_SYM.
28764 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28765 <bp-asm.h>.
28766 (memcpy): Don't use BP_SYM.
28767 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28768 <bp-asm.h>.
28769 (memset): Don't use BP_SYM.
28770 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28771 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28772 (__bzero): Don't use BP_SYM.
28773 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28774 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28775 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28776 <bp-sym.h> and <bp-asm.h>.
28777 (memcmp): Don't use BP_SYM. Remove comment about bounded
28778 pointers.
28779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28780 <bp-sym.h> and <bp-asm.h>.
28781 (memcpy): Don't use BP_SYM.
28782 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28783 <bp-sym.h> and <bp-asm.h>.
28784 (memset): Don't use BP_SYM.
28785 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28786 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28787 (__bzero): Don't use BP_SYM.
28788 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28789 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28790 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28791 <bp-sym.h> and <bp-asm.h>.
28792 (strncmp): Don't use BP_SYM. Remove comment about bounded
28793 pointers.
28794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28795 <bp-sym.h> and <bp-asm.h>.
28796 (memcpy): Don't use BP_SYM.
28797 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28798 <bp-sym.h> and <bp-asm.h>.
28799 (memset): Don't use BP_SYM.
28800 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28801 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28802 (__bzero): Don't use BP_SYM.
28803 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28804 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28805 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28806 <bp-sym.h> and <bp-asm.h>.
28807 (__memchr): Don't use BP_SYM.
28808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28809 <bp-sym.h> and <bp-asm.h>.
28810 (memcmp): Don't use BP_SYM. Remove comment about bounded
28811 pointers.
28812 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28813 <bp-sym.h> and <bp-asm.h>.
28814 (memcpy): Don't use BP_SYM.
28815 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28816 <bp-sym.h> and <bp-asm.h>.
28817 (__mempcpy): Don't use BP_SYM.
28818 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28819 <bp-sym.h> and <bp-asm.h>.
28820 (__memrchr): Don't use BP_SYM.
28821 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28822 <bp-sym.h> and <bp-asm.h>.
28823 (memset): Don't use BP_SYM.
28824 (__bzero): Likewise.
28825 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28826 <bp-sym.h> and <bp-asm.h>.
28827 (__rawmemchr): Don't use BP_SYM.
28828 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28829 <bp-sym.h> and <bp-asm.h>.
28830 (__STRCMP): Don't use BP_SYM.
28831 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28832 <bp-sym.h> and <bp-asm.h>.
28833 (strchr): Don't use BP_SYM.
28834 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28835 <bp-sym.h> and <bp-asm.h>.
28836 (__strchrnul): Don't use BP_SYM.
28837 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28838 <bp-sym.h> and <bp-asm.h>.
28839 (strlen): Don't use BP_SYM.
28840 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28841 <bp-sym.h> and <bp-asm.h>.
28842 (strncmp): Don't use BP_SYM. Remove comment about bounded
28843 pointers.
28844 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28845 <bp-sym.h> and <bp-asm.h>.
28846 (__strnlen): Don't use BP_SYM.
28847 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28848 <bp-sym.h> and <bp-asm.h>.
28849 (__GI__setjmp): Don't use BP_SYM.
28850 (_setjmp): Likewise.
28851 (__sigsetjmp): Likewise.
28852 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28853 (L(start_addresses)): Don't use BP_SYM.
28854 (_start): Likewise.
28855 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28856 <bp-asm.h>.
28857 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28858 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28859 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28860 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28861 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28862 <bp-asm.h>.
28863 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28864 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28865 about bounded pointers.
28866 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28867 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28868 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28869 <bp-asm.h>.
28870 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28871 about bounded pointers. Remove GKM FIXME comments.
28872 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28873 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28874 <bp-asm.h>.
28875 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28876 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28877 Remove GKM FIXME comments.
28878 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28879 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28880 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28881 <bp-asm.h>.
28882 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28883 about bounded pointers. Remove GKM FIXME comment.
28884 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28885 and <bp-asm.h>.
28886 (strncmp): Don't use BP_SYM. Remove comment about bounded
28887 pointers.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28889 <bp-sym.h> and <bp-asm.h>.
28890 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28892 <bp-sym.h> and <bp-asm.h>.
28893 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28894 comment.
28895
cdcf361f
PP
288962013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28897
28898 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28899 call free(NULL).
28900
3c4a2b15
DM
289012013-03-05 David S. Miller <davem@davemloft.net>
28902
28903 * po/es.po: Update from translation team.
28904
cdcf361f 289052013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
28906
28907 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28908 <bits/mman-linux.h>.
28909 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28910 is fine.
28911 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28912 <bits/mman-linux.h> to end of file.
28913 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28914 is fine.
28915 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28916 <bits/mman-linux.h> to end of file.
28917 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28918 is fine.
28919 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28920 <bits/mman-linux.h> to end of file.
28921
28922 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28923 (MCL_CURRENT, MCL_FUTURE): Define here.
28924
5f67c04f
AK
289252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28926
8a4473cc 28927 [BZ #15232]
5f67c04f
AK
28928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28929 attribute_hidden.
28930 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28931
c3e94a95
AK
289322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28933
28934 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28935 fourth parameter needed for rt_sigprocmask syscall.
28936 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28937 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28938 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28939 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28940 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28941 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28942
cfb6382a
JM
289432013-03-04 Joseph Myers <joseph@codesourcery.com>
28944
28945 [BZ #13550]
28946 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28947 comment about bounded pointers.
28948 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28949 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28950
539d8e01
AJ
289512013-03-04 Andreas Jaeger <aj@suse.de>
28952
28953 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28954 common definitions.
28955
28956 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28957 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28958 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28959 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28960 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
28961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28962
2e167a70 289632013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
28964
28965 [BZ #15055]
28966 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28967 __ieee754_sqrl instead of __sqrl.
28968
68508633
JM
289692013-03-01 Joseph Myers <joseph@codesourcery.com>
28970
28971 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28972 * sysdeps/powerpc/fpu_control.h: ... here.
28973 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28974 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28975 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28976 * sysdeps/powerpc/bits/mathinline.h: ... here.
28977
7775448e
RM
289782013-03-01 Roland McGrath <roland@hack.frob.com>
28979
28980 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28981 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28982 to just [NEED_DL_SYSINFO_DSO].
28983 * elf/dl-support.c: Likewise.
28984 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28985 * elf/rtld.c (dl_main): Likewise.
28986 * elf/setup-vdso.h (setup_vdso): Likewise.
28987 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28988 * sysdeps/unix/sysv/linux/dl-sysdep.c
28989 (_dl_discover_osversion): Likewise.
28990
4e9b5995
CD
289912013-03-01 Carlos O'Donell <carlos@redhat.com>
28992
28993 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28994 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28995
e23872c8
SP
289962013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28997
e5c74c63
SP
28998 * NEWS: Mention libm performance improvements and non-x86 PI
28999 futex support.
29000
e23872c8
SP
29001 * csu/libc-start.c (__pthread_initialize_minimal): Change
29002 function arguments.
29003 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29004
b5510883
JM
290052013-02-28 Joseph Myers <joseph@codesourcery.com>
29006
29007 [BZ #13550]
29008 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29009 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29010 <bp-sym.h> and <bp-asm.h>.
29011 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29012 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29013 and <bp-asm.h>.
29014 (memcpy): Don't use BP_SYM.
29015 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29016 <bp-asm.h>.
29017 (__mpn_add_n): Don't use BP_SYM.
29018 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29019 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29020 and <bp-asm.h>.
29021 (__mpn_addmul_1): Don't use BP_SYM.
29022 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29023 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29024 <bp-sym.h>.
29025 (_setjmp): Don't use BP_SYM.
29026 (__novmx_setjmp): Likewise.
29027 (__GI__setjmp): Likewise.
29028 (__vmx_setjmp): Likewise.
29029 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29030 <bp-sym.h>.
29031 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29032 (__bzero): Don't use BP_SYM.
29033 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29034 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29035 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29036 <bp-sym.h> and <bp-asm.h>.
29037 (memcpy): Don't use BP_SYM.
29038 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29039 <bp-sym.h> and <bp-asm.h>.
29040 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29041 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29042 <bp-sym.h> and <bp-asm.h>.
29043 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29044 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29045 <bp-asm.h>.
29046 (__mpn_lshift): Don't use BP_SYM.
29047 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29048 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29049 <bp-asm.h>.
29050 (memset): Don't use BP_SYM.
29051 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29052 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29053 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29054 <bp-asm.h>.
29055 (__mpn_mul_1): Don't use BP_SYM.
29056 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29058 <bp-sym.h> and <bp-asm.h>.
29059 (memcmp): Don't use BP_SYM.
29060 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29061 <bp-sym.h> and <bp-asm.h>.
29062 (memcpy): Don't use BP_SYM.
29063 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29064 <bp-sym.h> and <bp-asm.h>.
29065 (memset): Don't use BP_SYM.
29066 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29067 <bp-sym.h> and <bp-asm.h>.
29068 (strncmp): Don't use BP_SYM.
29069 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29070 <bp-sym.h> and <bp-asm.h>.
29071 (memcpy): Don't use BP_SYM.
29072 * sysdeps/powerpc/powerpc32/power6/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/memchr.S: Don't include
29076 <bp-sym.h> and <bp-asm.h>.
29077 (__memchr): Don't use BP_SYM.
29078 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29079 <bp-sym.h> and <bp-asm.h>.
29080 (memcmp): Don't use BP_SYM.
29081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29082 <bp-sym.h> and <bp-asm.h>.
29083 (memcpy): Don't use BP_SYM.
29084 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29085 <bp-sym.h> and <bp-asm.h>.
29086 (__mempcpy): Don't use BP_SYM.
29087 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29088 <bp-sym.h> and <bp-asm.h>.
29089 (__memrchr): Don't use BP_SYM.
29090 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29091 <bp-sym.h> and <bp-asm.h>.
29092 (memset): Don't use BP_SYM.
29093 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29094 <bp-sym.h> and <bp-asm.h>.
29095 (__rawmemchr): Don't use BP_SYM.
29096 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29097 <bp-sym.h> and <bp-asm.h>.
29098 (__STRCMP): Don't use BP_SYM.
29099 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29100 <bp-sym.h> and <bp-asm.h>.
29101 (strchr): Don't use BP_SYM.
29102 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29103 <bp-sym.h> and <bp-asm.h>.
29104 (__strchrnul): Don't use BP_SYM.
29105 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29106 <bp-sym.h> and <bp-asm.h>.
29107 (strlen): Don't use BP_SYM.
29108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29109 <bp-sym.h> and <bp-asm.h>.
29110 (strncmp): Don't use BP_SYM.
29111 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29112 <bp-sym.h> and <bp-asm.h>.
29113 (__strnlen): Don't use BP_SYM.
29114 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29115 <bp-asm.h>.
29116 (__mpn_rshift): Don't use BP_SYM.
29117 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29118 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29119 <bp-sym.h> and <bp-asm.h>.
29120 (__sigsetjmp): Don't use BP_SYM.
29121 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29122 (L(start_addresses)): Don't use BP_SYM.
29123 (_start): Likewise.
29124 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29125 <bp-asm.h>.
29126 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29127 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29128 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29129 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29130 <bp-asm.h>.
29131 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29132 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29133 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29134 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29135 <bp-asm.h>.
29136 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29137 comments.
29138 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29139 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29140 <bp-asm.h>.
29141 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29142 FIXME comments.
29143 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29144 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29145 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29146 <bp-asm.h>.
29147 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29148 comment.
29149 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29150 and <bp-asm.h>.
29151 (strncmp): Don't use BP_SYM,
29152 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29153 <bp-asm.h>.
29154 (__mpn_sub_n): Don't use BP_SYM.
29155 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29156 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29157 and <bp-asm.h>.
29158 (__mpn_submul_1): Don't use BP_SYM.
29159 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29161 <bp-sym.h> and <bp-asm.h>.
29162 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29164 <bp-sym.h> and <bp-asm.h>.
29165 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29166 comment.
29167
8d19fe64
SP
291682013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29169
29170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29171 Use ZK to minimize writes to Z.
29172 (sub_magnitudes): Simplify code a bit.
29173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29174 Use ZK to minimize writes to Z.
29175 (sub_magnitudes): Simplify code a bit.
29176
85bd816a
RM
291772013-02-27 Roland McGrath <roland@hack.frob.com>
29178
29179 * csu/gmon-start.c: Add special exception to license text.
29180
b5977bf2
RH
291812013-02-27 Richard Henderson <rth@redhat.com>
29182
29183 * scripts/config.guess: Update from config.git.
29184 * scripts/config.sub: Likewise.
29185
11d6e2f2
SP
291862013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29187
09c14ed2
SP
29188 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29189
a688864e
SP
29190 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29191
6295157a
SP
29192 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29193
b8de2202
SP
29194 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29195
11d6e2f2
SP
29196 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29197
7e80ddb8
RM
291982013-02-26 Roland McGrath <roland@hack.frob.com>
29199
29200 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29201 [$(build-shared = yes].
7e80ddb8 29202
7da6d9ed
SP
292032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29204
45f05884
SP
29205 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29206 (__mul): Reduce iterations for calculating mantissa.
29207
2236d359
SP
29208 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29209 MPTWO.
29210 (__mpranred): Likewise.
29211
7da6d9ed
SP
29212 [BZ #15160]
29213 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29214 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29215
b7688c42
PE
292162013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29217
29218 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29219 Define __attribute__.
29220
53a5c423
SP
292212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29222
29223 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29224 unused.
29225 * posix/regex_internal.h (__attribute): Remove.
29226 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29227 (re_string_context_at): Likewise.
29228 (bitset_not): Use __attribute__ and mark function as possibly
29229 unused.
29230 (bitset_merge): Likewise.
29231 (bitset_mask): Likewise.
29232 (re_string_char_size_at): Likewise.
29233 (re_string_wchar_at): Likewise.
29234 (re_string_elem_size_at): Likewise.
29235
60f5a8b5
SP
292362013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29237
2a983a2e
SP
29238 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29239 code.
29240 (cc32): Likewise.
29241
e69804d1
SP
29242 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29243 (__acr): Likewise.
29244 (__cpy): Likewise.
29245 (norm): Likewise.
29246 (denorm): Likewise.
29247 (__dbl_mp): Likewise.
29248 (add_magnitudes): Likewise.
29249 (sub_magnitudes): Likewise.
29250 (__mul): Likewise.
29251 (__inv): Likewise.
29252
2f22a1e8
SP
29253 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29254 style.
29255
8930ddc7
SP
29256 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29257 style.
29258
dc60cb11
SP
29259 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29260 code.
29261
60f5a8b5
SP
29262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29263 up changes with default code.
29264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29265 Likewise.
29266
b4d1fd33
AM
292672013-02-24 Allan McRae <allan@archlinux.org>
29268
faf6f8bc
AM
29269 * manual/socket.texi (The Internet Namespace): Order menu items
29270 to match that in the file.
29271
b4d1fd33
AM
29272 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29273 node listing of the info page menu.
29274
2366713d
JM
292752013-02-21 Joseph Myers <joseph@codesourcery.com>
29276
29277 [BZ #13550]
29278 * sysdeps/i386/bp-asm.h: Remove file.
29279 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29280 (PARMS): Do not use macros from bp-asm.h.
29281 (S1): Likewise.
29282 (S2): Likewise.
29283 (SIZE): Likewise.
29284 (__mpn_add_n): Do not use BP_SYM
29285 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29286 "bp-asm.h".
29287 (PARMS): Do not use macros from bp-asm.h.
29288 (S1): Likewise.
29289 (SIZE): Likewise.
29290 (__mpn_addmul_1): Do not use BP_SYM
29291 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29292 "bp-asm.h".
29293 (PARMS): Do not use macros from bp-asm.h.
29294 (SIGMSK): Likewise.
29295 (_setjmp): Likewise. Do not use BP_SYM.
29296 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29297 "bp-asm.h".
29298 (PARMS): Do not use macros from bp-asm.h.
29299 (SIGMSK): Likewise.
29300 (setjmp): Likewise. Do not use BP_SYM.
29301 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29302 "bp-asm.h".
29303 (PARMS): Do not use macros from bp-asm.h.
29304 (__frexp): Do not use BP_SYM.
29305 (frexp): Likewise.
29306 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29307 "bp-asm.h".
29308 (PARMS): Do not use macros from bp-asm.h.
29309 (__frexpf): Do not use BP_SYM.
29310 (frexpf): Likewise.
29311 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29312 "bp-asm.h".
29313 (PARMS): Do not use macros from bp-asm.h.
29314 (__frexpl): Do not use BP_SYM.
29315 (frexpl): Likewise.
29316 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29317 "bp-asm.h".
29318 (PARMS): Do not use macros from bp-asm.h.
29319 (__remquo): Do not use BP_SYM.
29320 (remquo): Likewise.
29321 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29322 "bp-asm.h".
29323 (PARMS): Do not use macros from bp-asm.h.
29324 (__remquof): Do not use BP_SYM.
29325 (remquof): Likewise.
29326 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29327 "bp-asm.h".
29328 (PARMS): Do not use macros from bp-asm.h.
29329 (__remquol): Do not use BP_SYM.
29330 (remquol): Likewise.
29331 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29332 "bp-asm.h".
29333 (PARMS): Do not use macros from bp-asm.h.
29334 (DEST): Likewise.
29335 (SRC): Likewise.
29336 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29337 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29338 "bp-asm.h".
29339 (PARMS): Do not use macros from bp-asm.h.
29340 (strlen): Do not use BP_SYM.
29341 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29342 "bp-asm.h".
29343 (PARMS): Do not use macros from bp-asm.h.
29344 (S1): Likewise.
29345 (S2): Likewise.
29346 (SIZE): Likewise.
29347 (__mpn_add_n): Do not use BP_SYM.
29348 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29349 "bp-asm.h".
29350 (PARMS): Do not use macros from bp-asm.h.
29351 (S1): Likewise.
29352 (SIZE): Likewise.
29353 (__mpn_addmul_1): Do not use BP_SYM.
29354 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29355 weak_alias.
29356 (bzero): Likewise.
29357 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29358 "bp-asm.h".
29359 (PARMS): Do not use macros from bp-asm.h.
29360 (S): Likewise.
29361 (SIZE): Likewise.
29362 (__mpn_lshift): Do not use BP_SYM.
29363 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29364 "bp-asm.h".
29365 (PARMS): Do not use macros from bp-asm.h.
29366 (DEST): Likewise.
29367 (SRC): Likewise.
29368 (LEN): Likewise.
29369 (memcpy): Likewise. Do not use BP_SYM.
29370 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29371 libc_hidden_def and weak_alias.
29372 (mempcpy): Do not use BP_SYM in weak_alias.
29373 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29374 "bp-asm.h".
29375 (PARMS): Do not use macros from bp-asm.h.
29376 (DEST): Likewise.
29377 (LEN): Likewise.
29378 [!BZERO_P] (CHR): Likewise.
29379 (memset): Likewise. Do not use BP_SYM.
29380 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29381 "bp-asm.h".
29382 (PARMS): Do not use macros from bp-asm.h.
29383 (S1): Likewise.
29384 (SIZE): Likewise.
29385 (__mpn_mul_1): Do not use BP_SYM.
29386 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29387 "bp-asm.h".
29388 (PARMS): Do not use macros from bp-asm.h.
29389 (S): Likewise.
29390 (SIZE): Likewise.
29391 (__mpn_rshift): Do not use BP_SYM.
29392 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29393 "bp-asm.h".
29394 (PARMS): Do not use macros from bp-asm.h.
29395 (STR): Likewise.
29396 (CHR): Likewise.
29397 (strchr): Likewise. Do not use BP_SYM.
29398 (index): Do not use BP_SYM in weak_alias.
29399 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29400 "bp-asm.h".
29401 (PARMS): Do not use macros from bp-asm.h.
29402 (DEST): Likewise.
29403 (SRC): Likewise.
29404 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29405 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29406 "bp-asm.h".
29407 (PARMS): Do not use macros from bp-asm.h.
29408 (strlen): Do not use BP_SYM.
29409 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29410 "bp-asm.h".
29411 (PARMS): Do not use macros from bp-asm.h.
29412 (S1): Likewise.
29413 (S2): Likewise.
29414 (SIZE): Likewise.
29415 (__mpn_sub_n): Do not use BP_SYM.
29416 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29417 "bp-asm.h".
29418 (PARMS): Do not use macros from bp-asm.h.
29419 (S1): Likewise.
29420 (SIZE): Likewise.
29421 (__mpn_submul_1): Do not use BP_SYM.
29422 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29423 "bp-asm.h".
29424 (PARMS): Do not use macros from bp-asm.h.
29425 (S1): Likewise.
29426 (S2): Likewise.
29427 (SIZE): Likewise.
29428 (__mpn_add_n): Do not use BP_SYM.
29429 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29430 weak_alias.
29431 (bzero): Likewise.
29432 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29433 "bp-asm.h".
29434 (PARMS): Do not use macros from bp-asm.h.
29435 (BLK2): Likewise.
29436 (LEN): Likewise.
29437 (memcmp): Do not use BP_SYM.
29438 (bcmp): Do not use BP_SYM in weak_alias.
29439 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29440 "bp-asm.h".
29441 (PARMS): Do not use macros from bp-asm.h.
29442 (DEST): Likewise.
29443 (SRC): Likewise.
29444 (LEN): Likewise.
29445 (memcpy): Likewise. Do not use BP_SYM.
29446 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29447 "bp-asm.h".
29448 (PARMS): Do not use macros from bp-asm.h.
29449 (DEST): Likewise.
29450 (SRC): Likewise.
29451 (LEN): Likewise.
29452 (memmove): Likewise. Do not use BP_SYM.
29453 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29454 "bp-asm.h".
29455 (PARMS): Do not use macros from bp-asm.h.
29456 (DEST): Likewise.
29457 (SRC): Likewise.
29458 (LEN): Likewise.
29459 (__mempcpy): Likewise. Do not use BP_SYM.
29460 (mempcpy): Do not use BP_SYM in weak_alias.
29461 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29462 "bp-asm.h".
29463 (PARMS): Do not use macros from bp-asm.h.
29464 (DEST): Likewise.
29465 (LEN): Likewise.
29466 [!BZERO_P] (CHR): Likewise.
29467 (memset): Likewise. Do not use BP_SYM.
29468 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29469 "bp-asm.h".
29470 (PARMS): Do not use macros from bp-asm.h.
29471 (STR2): Likewise.
29472 (strcmp): Do not use BP_SYM.
29473 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29474 "bp-asm.h".
29475 (PARMS): Do not use macros from bp-asm.h.
29476 (STR): Likewise.
29477 (DELIM): Likewise.
29478 [USE_AS_STRTOK_R] (SAVE): Likewise.
29479 (FUNCTION): Likewise. Do not use BP_SYM.
29480 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29481 aliases.
29482 (strtok_r): Likewise.
29483 (__GI___strtok_r): Likewise.
29484 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29485 (PARMS): Do not use macros from bp-asm.h.
29486 (S): Likewise.
29487 (SIZE): Likewise.
29488 (__mpn_lshift): Do not use BP_SYM.
29489 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29490 (PARMS): Do not use macros from bp-asm.h.
29491 (STR): Likewise.
29492 (CHR): Likewise.
29493 (__memchr): Do not use BP_SYM.
29494 (memchr): Do not use BP_SYM in weak_alias.
29495 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29496 (PARMS): Do not use macros from bp-asm.h.
29497 (BLK2): Likewise.
29498 (LEN): Likewise.
29499 (memcmp): Do not use BP_SYM.
29500 (bcmp): Do not use BP_SYM in weak_alias.
29501 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29502 (PARMS): Do not use macros from bp-asm.h.
29503 (S1): Likewise.
29504 (SIZE): Likewise.
29505 (__mpn_mul_1): Do not use BP_SYM.
29506 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29507 "bp-asm.h".
29508 (PARMS): Do not use macros from bp-asm.h.
29509 (STR): Likewise.
29510 (CHR): Likewise.
29511 (__rawmemchr): Do not use BP_SYM.
29512 (rawmemchr): Do not use BP_SYM in weak_alias.
29513 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29514 (PARMS): Do not use macros from bp-asm.h.
29515 (S): Likewise.
29516 (SIZE): Likewise.
29517 (__mpn_rshift): Do not use BP_SYM.
29518 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29519 (PARMS): Do not use macros from bp-asm.h.
29520 (SIGMSK): Likewise.
29521 (__sigsetjmp): Likewise. Do not use BP_SYM.
29522 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29523 (_start): Do not use BP_SYM.
29524 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29525 (PARMS): Do not use macros from bp-asm.h.
29526 (DEST): Likewise.
29527 (SRC): Likewise.
29528 (__stpcpy): Likewise. Do not use BP_SYM.
29529 (stpcpy): Do not use BP_SYM in weak_alias.
29530 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29531 "bp-asm.h".
29532 (PARMS): Do not use macros from bp-asm.h.
29533 (DEST): Likewise.
29534 (SRC): Likewise.
29535 (LEN): Likewise.
29536 (__stpncpy): Likewise. Do not use BP_SYM.
29537 (stpncpy): Do not use BP_SYM in weak_alias.
29538 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29539 (PARMS): Do not use macros from bp-asm.h.
29540 (STR): Likewise.
29541 (CHR): Likewise.
29542 (strchr): Likewise. Do not use BP_SYM.
29543 * sysdeps/i386/strchrnul.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 (__strchrnul): Likewise. Do not use BP_SYM.
29549 (strchrnul): Do not use BP_SYM in weak_alias.
29550 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29551 "bp-asm.h".
29552 (PARMS): Do not use macros from bp-asm.h.
29553 (STOP): Likewise.
29554 (strcspn): Do not use BP_SYM.
29555 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29556 "bp-asm.h".
29557 (PARMS): Do not use macros from bp-asm.h.
29558 (STR): Likewise.
29559 (STOP): Likewise.
29560 (strpbrk): Likewise. Do not use BP_SYM.
29561 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29562 "bp-asm.h".
29563 (PARMS): Do not use macros from bp-asm.h.
29564 (STR): Likewise.
29565 (CHR): Likewise.
29566 (strrchr): Likewise. Do not use BP_SYM.
29567 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29568 (PARMS): Do not use macros from bp-asm.h.
29569 (SKIP): Likewise.
29570 (strspn): Do not use BP_SYM.
29571 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29572 (PARMS): Do not use macros from bp-asm.h.
29573 (STR): Likewise.
29574 (DELIM): Likewise.
29575 (SAVE): Likewise.
29576 (FUNCTION): Likewise. Do not use BP_SYM.
29577 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29578 aliases.
29579 (strtok_r): Likewise.
29580 (__GI___strtok_r): Likewise.
29581 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29582 (PARMS): Do not use macros from bp-asm.h.
29583 (S1): Likewise.
29584 (S2): Likewise.
29585 (SIZE): Likewise.
29586 (__mpn_sub_n): Do not use BP_SYM.
29587 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29588 "bp-asm.h".
29589 (PARMS): Do not use macros from bp-asm.h.
29590 (S1): Likewise.
29591 (SIZE): Likewise.
29592 (__mpn_submul_1): Do not use BP_SYM.
29593 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29594 <bp-sym.h>.
29595 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29596 and <bp-asm.h>.
29597 (PARMS): Do not use macros from bp-asm.h.
29598 (FLAGS): Likewise.
29599 (PTID): Likewise.
29600 (TLS): Likewise.
29601 (CTID): Likewise.
29602 (__clone): Do not use BP_SYM.
29603 (clone): Do not use BP_SYM in weak_alias.
29604 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29605 and <bp-asm.h>.
29606 (PARMS): Do not use macros from bp-asm.h.
29607 (LEN): Likewise.
29608 (__mmap64): Do not use BP_SYM.
29609 (mmap64): Do not use BP_SYM in weak_alias.
29610 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29611 <bp-sym.h> and <bp-asm.h>.
29612 (PARMS): Do not use macros from bp-asm.h.
29613 (__posix_fadvise64_l64): Do not use BP_SYM.
29614 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29615 (PARMS): Do not use macros from bp-asm.h.
29616 (NSOPS): Likewise.
29617 (semtimedop): Do not use BP_SYM.
29618 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29619 and <bp-asm.h>.
29620
582a3cff
AM
296212013-02-21 Allan McRae <allan@archlinux.org>
29622
29623 * manual/message.texi (Charset conversion in gettext):
29624 Move @end statement to beginning of line.
29625
bab8a695
SP
296262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29627
80945231
SP
29628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29629 static.
29630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29631 Likewise.
29632
bab8a695
SP
29633 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29634 (denorm): Likewise.
29635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29637
e21d7aa7
AK
296382013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29639
29640 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29641 tail-call to the resolved function if pltexit isn't needed.
29642
4c7a4263
SP
296432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29644
29645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29646 or Y being zero as being unlikely.
29647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29648 Likewise.
29649
41f49342
CD
296502013-02-20 Carlos O'Donell <carlos@redhat.com>
29651
29652 * manual/nss.texi (System Databases and Name Service Switch):
29653 Remove frobnicate @pxref.
29654
50022a93
TS
296552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29656
29657 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29658 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29659
08cbd996
PM
296602013-02-20 Petr Machata <pmachata@redhat.com>
29661
29662 * elf/elf.h (R_ARM_TARGET1): New macro.
29663 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29664 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29665 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29666 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29667 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29668 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29669 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29670 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29671 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29672 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29673 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29674 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29675 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29676 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29677 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29678 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29679 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29680 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29681 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29682 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29683 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29684 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29685 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29686 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29687 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29688 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29689 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29690 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29691 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29692 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29693 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29694 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29695 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29696 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29697 (R_ARM_THM_GOT_BREL12): Likewise.
29698 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29699 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29700 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29701 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29702 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29703 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29704 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29705 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29706 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29707
c7b275d6
TS
297082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29709
29710 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29711 __attribute_used__ to __attribute__ ((unused)).
29712
20cd7fb3
SP
297132013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29714
29715 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29716 powerpc mpa.c.
29717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29718 comment formatting.
29719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29720
92945b52
JM
297212013-02-19 Joseph Myers <joseph@codesourcery.com>
29722
29723 [BZ #13550]
29724 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29725 Remove macro.
29726 (ENTER): Remove both macro definitions.
29727 (LEAVE): Likewise.
29728 (CHECK_BOUNDS_LOW): Likewise.
29729 (CHECK_BOUNDS_HIGH): Likewise.
29730 (CHECK_BOUNDS_BOTH): Likewise.
29731 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29732 (RETURN_BOUNDED_POINTER): Likewise.
29733 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29734 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29735 (POP_ERRNO_LOCATION_RETURN): Likewise.
29736 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29737 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29738 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29739 macros.
29740 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29741 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29742 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29743 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29744 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29745 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29746 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29747 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29748 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29749 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29750 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29751 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29752 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29753 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29754 removed macros.
29755 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29756 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29757 macros.
29758 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29759 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29760 * sysdeps/i386/i586/memset.S (memset): Likewise.
29761 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29762 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29763 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29764 macros.
29765 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29766 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29767 Change uses of L(2) to L(out).
29768 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29769 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29770 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29771 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29772 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29773 removed macros.
29774 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29775 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29776 macros.
29777 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29778 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29779 (RETURN): Do not use macro LEAVE.
29780 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29781 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29782 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29783 * sysdeps/i386/i686/memset.S (memset): Likewise.
29784 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29785 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29786 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29787 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29788 Likewise.
29789 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29790 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29791 L(1_2) and L(1_3) into L(1).
29792 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29793 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29794 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29795 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29796 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29797 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29798 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29799 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29800 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29801 macros.
29802 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29803 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29804 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29805 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29806 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29807 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29808 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29809 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29810 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29811 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29812 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29813 * sysdeps/i386/strspn.S (strspn): Likewise.
29814 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29815 conditional code.
29816 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29817 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29818 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29819 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29820 L(1_3) into L(1_1).
29821 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29822 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29823 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29824 macros.
29825 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29826
2389741a
JJ
298272013-02-19 Jakub Jelinek <jakub@redhat.com>
29828
29829 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29830 macro.
29831
2016b3cd
SP
298322013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29833
e4f22324
SP
29834 * math/atest-exp.c (exp_mpn): Remove ROUND.
29835 * math/atest-exp2.c (exp_mpn): Likewise.
29836 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29837
2016b3cd
SP
29838 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29839 * stdlib/tst-tls-atexit-lib.c: Likewise.
29840 * stdlib/tst-tls-atexit.c: Likewise.
29841
4be9b544
MF
298422013-02-18 Mike Frysinger <vapier@gentoo.org>
29843
29844 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29845 and __attribute_alloc_size__.
29846
2f62b9ee
MF
298472013-02-18 Mike Frysinger <vapier@gentoo.org>
29848
29849 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29850 __attribute_alloc_size__.
29851 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29852 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29853
6ff444c4
MF
298542013-02-18 Mike Frysinger <vapier@gentoo.org>
29855
29856 * include/programs/xmalloc.h: New file.
29857 * catgets/gencat.c: Include it.
29858 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29859 * elf/pldd.c: Likewise.
29860 * iconv/iconv_charmap.c: Likewise.
29861 * iconv/iconvconfig.c: Likewise.
29862 * iconv/strtab.c: Likewise.
29863 * locale/programs/locale.c: Likewise.
29864 * locale/programs/localedef.h: Likewise.
29865 * locale/programs/simple-hash.c: Likewise.
29866 * nscd/nscd.h: Likewise.
29867 * nss/makedb.c: Likewise.
29868 * sysdeps/generic/ldconfig.h: Likewise.
29869
be179c8a
SP
298702013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29871
ba384f6e
SP
29872 * Versions.def: Add GLIBC_2.18.
29873 * include/link.h (struct link_map): New member l_tls_dtor_count.
29874 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29875 (__call_tls_dtors): Likewise.
29876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29877 __cxa_thread_atexit_impl.
29878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29879 Likewise.
29880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29881 Likewise.
29882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29883 Likewise.
29884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29885 Likewise.
29886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29888 Likewise.
29889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29890 Likewise.
29891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29893 Likewise.
29894 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29895 (tests): Add test case tst-tls-atexit.
29896 (modules-names): Add shared library for tst-tls-atexit.
85891aca 29897 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
29898 (GLIBC_PRIVATE): Add __call_tls_dtors.
29899 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29900 for libstdc++.
29901 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29902 * stdlib/tst-tls-atexit.c: New test case.
29903 * stdlib/tst-tls-atexit-lib.c: New test case.
29904
ffaa74cf 29905 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 29906
be179c8a
SP
29907 * elf/Versions (ld): Add _dl_find_dso_for_object.
29908 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29909 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29910 (dl_open_worker): Use _dl_find_dso_for_object.
29911 * elf/dl-sym.c (do_sym): Likewise.
29912 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29913
f78b5caa
AK
299142013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29915
29916 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29917 Syntactic changes only.
29918 (_dl_runtime_profile): Do a tail-call to the resolved function.
29919
29691210
JM
299202013-02-17 Joseph Myers <joseph@codesourcery.com>
29921
29922 [BZ #13550]
29923 * sysdeps/x86_64/bp-asm.h: Remove file.
29924 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29925 <bp-sym.h> and <bp-asm.h>.
29926 (__clone): Do not use BP_SYM.
29927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29928 <bp-sym.h> and <bp-asm.h>.
29929 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29930 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29931 "bp-asm.h".
29932 (_setjmp): Do not use BP_SYM.
29933 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29934 "bp-asm.h".
29935 (setjmp): Do not use BP_SYM.
29936 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29937 libc_hidden_def.
29938 (mempcpy): Do not use BP_SYM in weak_alias.
29939 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29940 "bp-asm.h".
29941 (strchr): Do not use BP_SYM.
29942 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29943 "bp-asm.h".
29944 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29945 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29946 (_start): Do not use BP_SYM.
29947 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29948 "bp-asm.h".
29949 (strcat): Do not use BP_SYM.
29950 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29951 "bp-asm.h".
29952 (STRCMP): Do not use BP_SYM.
29953 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29954 "bp-asm.h".
29955 (STRCPY): Do not use BP_SYM.
29956 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29957 "bp-asm.h".
29958 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29959 "bp-asm.h".
29960 (FUNCTION): Do not use BP_SYM.
29961 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29962 weak_alias.
29963 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29964
f238fd19
AJ
299652013-02-17 Andreas Jaeger <aj@suse.de>
29966
29967 * time/Versions: Sort entries.
29968 * string/Versions: Likewise.
29969 * resolv/Versions: Likewise.
29970 * posix/Versions: Likewise.
29971 * iconv/Versions: Likewise.
29972 * elf/Versions: Likewise.
29973 * wcsmbs/Versions: Likewise.
29974
bd07f23c 299752013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 29976
22af19f9
SP
29977 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29978 loop termination condition.
29979
4709fe76
SP
29980 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29981 variable to calculate EZ.
29982 (__sqr): Likewise.
2d0e0f29
SP
29983
29984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29985 the lower precision input.
29986
daaa7713
JM
299872013-02-15 Joseph Myers <joseph@codesourcery.com>
29988
29989 [BZ #13550]
29990 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29991 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29992 (run-via-rtld-prefix): Do not handle %-bp tests.
29993 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29994 (all-object-suffixes): Remove .ob.
29995 (bppfx): Remove variable.
29996 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29997 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29998 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29999 [$(build-bounded) = yes] (libtype.ob): Likewise.
30000 * Makerules (elide-routines.ob): Remove variable.
30001 (do-tests-clean): Do not handle *-bp.out.
30002 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30003 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30004 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30005 (tests): Do not include $(tests-bp.out).
30006 (xtests): Do not include $(xtests-bp.out).
30007 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30008 [$(build-bounded) = yes] ($(addprefix
30009 $(objpfx),$(binaries-bounded))): Remove rule.
30010 ($(objpfx)%-bp.out): Remove rule.
30011 * config.make.in (build-bounded): Remove variable.
30012 * crypt/Makefile [$(build-bounded) = yes]
30013 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30014 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30015 append to variable.
30016 [$(build-bounded) = yes] (install-lib): Likewise.
30017 [$(build-bounded) = yes] (generated): Likewise.
30018 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30019 Remove rule.
30020 * intl/Makefile [$(build-bounded) = yes]
30021 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30022 * math/Makefile [$(build-bounded) = yes]
30023 ($(tests:%=$(objpfx)%-bp): Likewise.
30024 * misc/Makefile [$(build-bounded) = yes]
30025 ($(objpfx)tst-tsearch-bp): Likewise.
30026 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30027 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30028 Remove dependency.
30029 * string/Makefile (o-objects.ob): Remove variable.
30030 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30031 (CFLAGS-.ob): Remove variable.
30032 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30033 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30034 both definitions of variable.
30035 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30036 (ASFLAGS-.ob): Remove variable.
30037
e97ed6dd
JM
300382013-02-14 Joseph Myers <joseph@codesourcery.com>
30039
2bdd4ca6
JM
30040 [BZ #13550]
30041 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30042 Remove __BOUNDED_POINTERS__ from condition.
30043 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30044 * string/bits/string2.h [!__NO_STRING_INLINES &&
30045 !__BOUNDED_POINTERS__]: Likewise.
30046 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30047 Likewise.
30048 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30049 Remove conditional code.
30050 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30051 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30052 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30053 condition.
30054
e97ed6dd
JM
30055 [BZ #13550]
30056 * csu/libc-start.c: Do not include <bp-sym.h>.
30057 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30058 * elf/dl-open.c: Do not include <bp-sym.h>.
30059 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30060 * math/fegetenv.c: Do not include <bp-sym.h>.
30061 (fegetenv): Do not use BP_SYM in versioned symbols.
30062 * nptl/sysdeps/pthread/bits/libc-lockP.h
30063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30064 <bp-sym.h>.
30065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30066 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30068 (__pthread_mutex_destroy): Likewise.
30069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30070 (__pthread_mutex_lock): Likewise.
30071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30072 (__pthread_mutex_trylock): Likewise.
30073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30074 (__pthread_mutex_unlock): Likewise.
30075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30076 (__pthread_mutexattr_init): Likewise.
30077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30078 (__pthread_mutexattr_destroy): Likewise.
30079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30080 (__pthread_mutexattr_settype): Likewise.
30081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30082 (__pthread_rwlock_init): Likewise.
30083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30084 (__pthread_rwlock_destroy): Likewise.
30085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30086 (__pthread_rwlock_rdlock): Likewise.
30087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30088 (__pthread_rwlock_tryrdlock): Likewise.
30089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30090 (__pthread_rwlock_wrlock): Likewise.
30091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30092 (__pthread_rwlock_trywrlock): Likewise.
30093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30094 (__pthread_rwlock_unlock): Likewise.
30095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30096 (__pthread_key_create): Likewise.
30097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30098 (__pthread_setspecific): Likewise.
30099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30100 (__pthread_getspecific): Likewise.
30101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30102 Likewise.
30103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30104 (_pthread_cleanup_push_defer): Likewise.
30105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30106 (_pthread_cleanup_pop_restore): Likewise.
30107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30108 (pthread_setcancelstate): Likewise.
30109 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30110 <bp-sym.h>.
30111 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30112 (memchr): Do not use BP_SYM in weak_alias.
30113 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30114 (fegetenv): Do not use BP_SYM in versioned symbols.
30115 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30116 (fesetenv): Do not use BP_SYM in versioned symbols.
30117 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30118 (feupdateenv): Do not use BP_SYM in versioned symbols.
30119 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30120 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30121 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30122 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30123 (open64): Do not use BP_SYM in weak_alias.
30124 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30125 (fegetenv): Do not use BP_SYM in versioned symbols.
30126 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30127 (fesetenv): Do not use BP_SYM in versioned symbols.
30128 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30129 (feupdateenv): Do not use BP_SYM in versioned symbols.
30130 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30131 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30132 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30133 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30134 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30135 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30136 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30137 <bp-sym.h>.
30138 (__libc_start_main): Do not use BP_SYM.
30139
d6752ccd
SP
301402013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30141
cb57ce60
SP
30142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30143 redundant return line.
30144 (norm): Likewise.
30145 (denorm): Likewise.
30146 (dbl_mp): Likewise.
30147 (sub_magnitudes): Likewise.
30148 (__add): Likewise.
30149 (__sub): Likewise.
30150 (__mul): Likewise.
30151 (__inv): Likewise.
30152 (__dvd): Likewise.
30153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30154 (norm): Likewise.
30155 (denorm): Likewise.
30156 (dbl_mp): Likewise.
30157 (sub_magnitudes): Likewise.
30158 (__add): Likewise.
30159 (__sub): Likewise.
30160 (__mul): Likewise.
30161 (__inv): Likewise.
30162 (__dvd): Likewise.
30163
f414520d
SP
30164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30165 instead of __mul.
30166 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30167 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30168 (cc32): Likewise.
30169
d6752ccd
SP
30170 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30171 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30173 of __mul for squares.
30174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30175 function
30176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30177 Likewise.
30178 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30180
70d9946a
JM
301812013-02-13 Joseph Myers <joseph@codesourcery.com>
30182
30183 [BZ #13550]
30184 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30185 code.
30186 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30187 prototype or function definition. Rename ubp_* variables and
30188 parameters. Remove argv definitions conditional on
30189 [__BOUNDED_POINTERS__].
30190 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30191 * elf/dl-runtime.c (_dl_fixup): Likewise.
30192 * include/set-hooks.h (RUN_HOOK): Likewise.
30193 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30194 definition.
30195 * string/strcpy.c (strcpy): Do not use __unbounded.
30196 * sysdeps/generic/frame.h (struct layout): Likewise.
30197 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30198 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30199 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30200 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30201 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30202 (__backtrace): Likewise.
30203 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30204 use __ptrvalue.
30205 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30206 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30207 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30208 Likewise.
30209 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30210 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30211 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30212 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30213 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30214 Do not use __unbounded.
30215 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30216 Rename __unboundedrlimits parameter to rlimits in prototype.
30217 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30218 Do not use __unbounded.
30219 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30220 not use __ptrvalue.
30221 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30222 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30223 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30224 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30225 __ptrvalue or __unbounded.
30226 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30227 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30228 use __unbounded.
30229 (__new_msgctl): Do not use __ptrvalue.
30230 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30231 __unbounded.
30232 (__libc_msgrcv): Do not use __ptrvalue.
30233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30234 startup_info): Do not use __unbounded.
30235 (__libc_start_main): Likewise. Rename ubp_* variables and
30236 parameters. Remove argv definitions conditional on
30237 [__BOUNDED_POINTERS__].
30238 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30239 __ptrvalue.
30240 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30241 use __unbounded.
30242 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30243 or __ptrvalue.
30244 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30245 use __unbounded.
30246 (__new_shmctl): Do not use __ptrvalue.
30247 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30248 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30249 Likewise.
30250 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30252 (__libc_sigaction): Likewise.
30253 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30254 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30255 Likewise.
30256 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30257
cc7834d6
OB
302582013-02-13 Ondřej Bílka <neleai@seznam.cz>
30259
ffb1ec7b 30260 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30261
30262 * string/mempcpy.c: Implement by calling memcpy.
30263
bdf02814
SP
302642013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30265
c2af38aa
SP
30266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30267
4e92d59e
SP
30268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30269 evaluation.
30270
909279a5
SP
30271 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30272 values in the mantissa.
30273
bdf02814
SP
30274 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30275 minimize writes to Z.
30276 (sub_magnitudes): Simplify code a bit.
30277
cd525923
RM
302782013-02-12 Roland McGrath <roland@hack.frob.com>
30279
30280 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30281 from the message. The linker prefixes all warnings with that already.
30282
7e2f0d2d
AS
302832013-02-12 Andreas Schwab <schwab@suse.de>
30284
a445af0b
AS
30285 [BZ #15078]
30286 * posix/regexec.c (extend_buffers): Add parameter min_len.
30287 (check_matching): Pass minimum needed length.
30288 (clean_state_log_if_needed): Likewise.
30289 (get_subexp): Likewise.
30290 * posix/Makefile (tests): Add bug-regex34.
30291 (bug-regex34-ENV): Define.
30292 * posix/bug-regex34.c: New file.
30293
7e2f0d2d
AS
30294 [BZ #11561]
30295 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30296 elements compare against the byte sequence of it, not its name.
30297 * posix/Makefile (tests): Add bug-regex35.
30298 (bug-regex35-ENV): Define.
30299 * posix/bug-regex35.c: New file.
30300
a175b684
TV
303012013-02-11 Tom de Vries <tom@codesourcery.com>
30302
30303 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30304 comment.
30305 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30306 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30307 (CHECK_EOL): Add undef.
30308
310998fe 303092013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30310
30311 * bits/stdlib-bsearch.h: New file.
30312 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30313 * stdlib/stdlib.h: Likewise.
41eda41d 30314
8ded91fb
RM
303152013-02-11 Roland McGrath <roland@hack.frob.com>
30316
30317 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30318 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30319 declaration.
30320 * manual/search.texi (Array Search Function): Add missing const in
30321 lfind prototype.
30322 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30323 declaration to use rlim_t.
30324 (Basic Scheduling Functions): Remove erroneous const from
30325 sched_getparam prototype. Remove erroneous * from
30326 sched_get_priority_max and sched_get_priority_min prototypes.
30327 (Resource Usage): Fix summary @comment on vtimes to refer to
30328 sys/vtimes.h rather than vtimes.h.
30329 Add missing *s in vtimes prototype.
30330 (Limits on Resources): Fix ulimit prototype to return long int.
30331 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30332 prototypes to use long int rather than double.
30333 (BSD Random): Fix initstate and setstate to use char *, not void *.
30334 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30335 prototype to make second argument 'struct aiocb64 *const[]'.
30336 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30337 (Status of AIO Operations): Remove erroneous const in aio_return and
30338 aio_return64 prototypes.
30339 (Synchronizing I/O): Fix sync prototype to return void.
30340 * manual/startup.texi (Suboptions): Remove an erroneous const in
30341 getsubopt prototype.
30342 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30343 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30344 use size_t rather than int.
30345 (Scanning All Users): Likewise for getpwent_r.
30346 (Setting Groups): Add missing const to setgroups prototype.
30347 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30348 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30349 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30350 'const void *' rather than 'const char *'.
30351 (Host Address Functions): Likewise for inet_ntop.
30352 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30353 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30354 ssize_t for return value.
30355 (Sending Data): Likewise for send, sendto, sendmsg.
30356 (Socket Option Functions): Add a missing const in setsockopt prototype.
30357 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30358 use wchar_t for the argument.
30359 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30360 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30361 take no arguments.
30362 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30363 double/float/long double for second argument.
30364 Fix return types of significand, significandf, significandl.
30365 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30366 argument in fchmod prototype.
30367 (File Owner): Use uid_t and gid_t in fchown prototype.
30368 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30369 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30370 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30371 use 'const struct dirent **' as argument types to CMP function pointer
30372 argument.
30373 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30374 (File Times): Fix summary magic @comment for struct utimbuf and utime
30375 to refer to utime.h, not time.h.
30376 * manual/string.texi (Argz Functions): Add missing const in
30377 argz_extract and argz_next prototypes.
30378 (Finding Tokens in a String): Likewise for basename.
30379 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30380 (Copying and Concatenation): Fix typo in wmemmove prototype.
30381 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30382 (Signal Stack): Remove erroneous const in sigstack prototype.
30383 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30384 prototype.
30385 (Simple Calendar Time): Likewise for stime.
30386 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30387 prototype.
30388 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30389 say sys/sysctl.h instead.
30390 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30391 and vsyslog prototypes.
30392
fe77fe6d
TV
303932013-02-11 Tom de Vries <tom@codesourcery.com>
30394
30395 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30396 Remove.
30397
3a09b620
RM
303982013-02-11 Roland McGrath <roland@hack.frob.com>
30399
30400 * misc/sys/mman.h: Fix typo in mremap comment.
30401
550a0b89
RM
304022013-02-08 Roland McGrath <roland@hack.frob.com>
30403
30404 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30405 the '\0' terminator.
30406
a2da1673
JM
304072013-02-08 Joseph Myers <joseph@codesourcery.com>
30408
30409 [BZ #13550]
30410 * debug/segfault.c: Don't include <bp-checks.h>.
30411 * sysdeps/generic/bp-checks.h: Remove file.
30412 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30413 (__GETDENTS): Don't use CHECK_N.
30414 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30415 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30416 (__getgroups): Don't use CHECK_N.
30417 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30418 (setgroups): Don't use CHECK_N.
30419 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30420 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30421 (__libc_msgrcv): Don't use CHECK_N.
30422 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30423 (__libc_msgsnd): Don't use CHECK_N.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30425 <bp-checks.h>.
30426 (__libc_pread): Don't use CHECK_N.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30428 include <bp-checks.h>.
30429 (__libc_pread64): Don't use CHECK_N.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30431 include <bp-checks.h>.
30432 (__libc_pwrite): Don't use CHECK_N.
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30434 include <bp-checks.h>.
30435 (__libc_pwrite64): Don't use CHECK_N.
30436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30437 <bp-checks.h>.
30438 (__libc_pread): Don't use CHECK_N.
30439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30440 include <bp-checks.h>.
30441 (__libc_pread64): Don't use CHECK_N.
30442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30443 include <bp-checks.h>.
30444 (__libc_pwrite): Don't use CHECK_N.
30445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30446 include <bp-checks.h>.
30447 (__libc_pwrite64): Don't use CHECK_N.
30448 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30449 (do_pread): Don't use CHECK_N.
30450 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30451 (do_pread64): Don't use CHECK_N.
30452 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30453 (do_pwrite): Don't use CHECK_N.
30454 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30455 (do_pwrite64): Don't use CHECK_N.
30456 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30457 (__libc_readv): Don't use CHECK_N.
30458 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30459 (semop): Don't use CHECK_N.
30460 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30461 <bp-checks.h>.
30462 (semtimedop): Don't use CHECK_N.
30463 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30464 (__libc_pread): Don't use CHECK_N.
30465 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30466 <bp-checks.h>.
30467 (__libc_pread64): Don't use CHECK_N.
30468 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30469 <bp-checks.h>.
30470 (__libc_pwrite): Don't use CHECK_N.
30471 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30472 <bp-checks.h>.
30473 (__libc_pwrite64): Don't use CHECK_N.
30474 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30475 <bp-checks.h>.
30476 (__libc_msgrcv): Don't use CHECK_N.
30477 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30478 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30479 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30480 (__libc_writev): Don't use CHECK_N.
30481
b84660a8
RM
304822013-02-08 Roland McGrath <roland@hack.frob.com>
30483
7f3e75f8
RM
30484 * string/strcpy.c: Removed unused variable.
30485
b84660a8
RM
30486 * Makeconfig (+sysdep-includes): Define with := rather than =.
30487 Use an existing include/ subdir of each sysdeps dir before it.
30488
471514d3
CD
304892013-02-08 Carlos O'Donell <carlos@redhat.com>
30490
30491 * nscd/connection.c (register_traced_file): Comment function.
30492 [HAVE_INOTIFY] (union __inev): Define.
30493 [HAVE_INOTIFY] (inotify_check_files): New function.
30494 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30495 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30496 clear_db_cache.
30497 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30498
b2d3c3be
CD
304992013-02-08 Carlos O'Donell <carlos@redhat.com>
30500
30501 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30502 loaded if not already and that a failure is permanent.
30503
b39949d2
CD
305042013-02-08 Carlos O'Donell <carlos@redhat.com>
30505
ddacd1db 30506 [BZ #15006]
b39949d2
CD
30507 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30508 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30509
b2c9eff4
JM
305102013-02-08 Joseph Myers <joseph@codesourcery.com>
30511
f3aae3f3
JM
30512 [BZ #13550]
30513 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30514 (CHECK_1_NULL_OK): Likewise.
30515 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30516 (__fxstat): Do not use CHECK_1.
30517 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30518 <bp-checks.h>.
30519 (___fxstat64): Do not use CHECK_1.
30520 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30521 <bp-checks.h>.
30522 (__fxstatat): Do not use CHECK_1.
30523 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30524 <bp-checks.h>.
30525 (__fxstatat64): Do not use CHECK_1.
30526 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30527 <bp-checks.h>.
30528 (__fxstat): Do not use CHECK_1.
30529 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30530 <bp-checks.h>.
30531 (__fxstatat): Do not use CHECK_1.
30532 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30533 <bp-checks.h>.
30534 (__getresgid): Do not use CHECK_1.
30535 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30536 <bp-checks.h>.
30537 (__getresuid): Do not use CHECK_1.
30538 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30539 <bp-checks.h>.
30540 (__lxstat): Do not use CHECK_1.
30541 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30542 <bp-checks.h>.
30543 (__old_msgctl): Do not use CHECK_1.
30544 (__new_msgctl): Likewise.
30545 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30546 <bp-checks.h>.
30547 (__new_setrlimit): Do not use CHECK_1.
30548 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30549 <bp-checks.h>.
30550 (__old_shmctl): Do not use CHECK_1.
30551 (__new_shmctl): Likewise.
30552 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30553 <bp-checks.h>.
30554 (__xstat): Do not use CHECK_1.
30555 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30556 (__lxstat): Do not use CHECK_1.
30557 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30558 <bp-checks.h>.
30559 (___lxstat64): Do not use CHECK_1.
30560 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30561 (__old_msgctl): Do not use CHECK_1.
30562 (__new_msgctl): Likewise.
30563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30564 <bp-checks.h>.
30565 (__gettimeofday): Do not use CHECK_1.
30566 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30567 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30568 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30569 <bp-checks.h>.
30570 (__gettimeofday): Do not use CHECK_1.
30571 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30572 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30573 (__new_shmctl): Do not use CHECK_1.
30574 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30575 <bp-checks.h>.
30576 (do_sigtimedwait): Do not use CHECK_1.
30577 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30578 <bp-checks.h>.
30579 (do_sigwaitinfo): Do not use CHECK_1.
30580 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30581 <bp-checks.h>.
30582 (msgctl): Do not use CHECK_1.
30583 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30584 <bp-checks.h>.
30585 (shmctl): Do not use CHECK_1.
30586 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30587 (ustat): Do not use CHECK_1.
30588 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30589 <bp-checks.h>.
30590 (__fxstat): Do not use CHECK_1.
30591 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30592 <bp-checks.h>.
30593 (__fxstatat): Do not use CHECK_1.
30594 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30595 <bp-checks.h>.
30596 (__lxstat): Do not use CHECK_1.
30597 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30598 <bp-checks.h>.
30599 (__xstat): Do not use CHECK_1.
30600 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30601 (__xstat): Do not use CHECK_1.
30602 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30603 (___xstat64): Do not use CHECK_1.
30604
b2c9eff4
JM
30605 [BZ #13550]
30606 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30607 definitions.
30608 (CHECK_BOUNDS_HIGH): Likewise.
30609 * string/strcpy.c: Do not include <bp-checks.h>.
30610 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30611
f1d70dad
RM
306122013-02-07 Roland McGrath <roland@hack.frob.com>
30613
30614 * nscd/nscd-client.h (__nscd_drop_map_ref):
30615 Add __attribute__ ((unused)).
30616 * nis/nss-nisplus.h (niserr2nss): Likewise.
30617
30618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30619 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30620
30621 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30622 Remove inline keyword.
30623 * include/rounding-mode.h (round_away): Likewise.
30624 * libio/wfileops.c (adjust_wide_data): Likewise.
30625 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30626 (__m128i_strloadu_tolower): Likewise.
30627 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30628 (__m128i_strloadu_tolower): Likewise.
30629 * time/mktime.c (ydhms_diff): Likewise.
30630 * locale/elem-hash.h (elem_hash): Likewise.
30631 * locale/setlocale.c (setdata): Likewise.
30632 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30633 (re_string_wchar_at): Likewise.
30634 (bitset_not, bitset_merge, bitset_mask): Likewise.
30635 [!(__GNUC__ > 3)] (inline): Remove macro.
30636 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30637 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30638 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30639 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30640 * string/memcmp.c (memcmp_bytes): Likewise.
30641 * locale/programs/locarchive.c (compute_hashval): Likewise.
30642 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30643 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30644 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30645 * nss/getent.c (print_rpc, print_protocols): Likewise.
30646 (print_passwd, print_group, print_aliases): Likewise.
30647 * nis/nss-nisplus.h (niserr2nss): Likewise.
30648 * nscd/connections.c (restart_p): Likewise.
30649 Change return type to bool.
30650
eab55bfb
RM
306512013-02-05 Roland McGrath <roland@hack.frob.com>
30652
7bd642f5
RM
30653 * Makeconfig (all-Depend-files): Add existing
30654 $(sorted-subdirs:=/Depend) files.
30655 (all-subdirs): Remove nss.
30656 * sysdeps/unix/inet/Subdirs: Add it here instead.
30657 * hesiod/Depend: New file.
30658
573c29b2
RM
30659 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30660 instead of calling alloca.
30661
b2e25af0
RM
30662 * io/lseek.c (__lseek): Rename to __libc_lseek.
30663 Define __lseek as an alias.
30664
eab55bfb
RM
30665 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30666
9a0d1941
CD
306672013-02-04 Carlos O'Donell <carlos@redhat.com>
30668
30669 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30670 else clause and remove check for non-standard endianness.
30671
b83bbec4
DM
306722013-02-04 David S. Miller <davem@davemloft.net>
30673
30674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30675
6277fdab
JM
306762013-02-04 Joseph Myers <joseph@codesourcery.com>
30677
30678 [BZ #13550]
30679 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30680 (__ubp_memchr): Remove prototype.
30681 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30682 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30683 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30684 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30685 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30686 Remove alias.
30687 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30688 (__ubp_memchr): Likewise.
30689 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30690 (__ubp_memchr): Likewise.
30691 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30692 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30693 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30694 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30695 CHECK_STRING.
30696 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30697 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30698 (__getcwd): Do not use CHECK_STRING.
30699 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30700 <bp-checks.h>.
30701 (__real_chown): Do not use CHECK_STRING.
30702 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30703 <bp-checks.h>.
30704 (fchownat): Do not use CHECK_STRING.
30705 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30706 CHECK_STRING.
30707 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30708 <bp-checks.h>.
30709 (__lchown): Do not use CHECK_STRING.
30710 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30711 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30712 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30713 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30715 include <bp-checks.h>.
30716 (truncate64): Do not use CHECK_STRING.
30717 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30718 <bp-checks.h>.
30719 (__real_chown): Do not use CHECK_STRING.
30720 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30721 <bp-checks.h>.
30722 (__lchown): Do not use CHECK_STRING.
30723 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30724 <bp-checks.h>.
30725 (__chown): Do not use CHECK_STRING.
30726 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30727 <bp-checks.h>.
30728 (truncate64): Do not use CHECK_STRING.
30729 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30730 Likewise.
30731 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30732 (__xmknod): Do not use CHECK_STRING.
30733 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30734 <bp-checks.h>.
30735 (__xmknodat): Do not use CHECK_STRING.
30736 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30737 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30738
903ae060
AS
307392013-02-04 Andreas Schwab <schwab@suse.de>
30740
30741 [BZ #14142]
30742 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30743 * include/netdb.h: Likewise for h_errno.
30744 * elf/tst-stackguard1.c: Include <tls.h>.
30745
542f9466
JK
307462013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30747
30748 * elf/link.h (struct link_map): Extend the l_addr comment.
30749 * include/link.h (struct link_map): Likewise.
30750
e782a927
JM
307512013-02-01 Joseph Myers <joseph@codesourcery.com>
30752
30753 [BZ #13550]
30754 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30755 (BOUNDED_1): Remove macro.
30756 * debug/backtrace.c: Don't include <bp-checks.h>.
30757 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30758 (__backtrace): Likewise.
30759 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30760 <bp-checks.h>.
30761 (__backtrace): Don't use BOUNDED_1.
30762 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30763 <bp-checks.h>.
30764 (__backtrace): Don't use BOUNDED_1.
30765 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30766 (__backtrace): Don't use BOUNDED_1.
30767 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30768 (shmat): Don't use BOUNDED_N.
30769
8cf28c5e
JM
307702013-01-31 Joseph Myers <joseph@codesourcery.com>
30771
3a7ac8a0
JM
30772 [BZ #13550]
30773 * sysdeps/generic/bp-start.h: Remove file.
30774 * csu/libc-start.c: Don't include <bp-start.h>.
30775 (LIBC_START_MAIN): Set up __environ directly instead of using
30776 INIT_ARGV_and_ENVIRON.
30777 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30778 <bp-start.h>.
30779
f3499f95
JM
30780 [BZ #13550]
30781 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30782 definitions.
30783 (CHECK_FCNTL): Likewise.
30784 (CHECK_N_PAGES): Likewise.
30785
32a45bea
JM
30786 [BZ #13550]
30787 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30788 definitions.
30789 (CHECK_SIGSET_NULL_OK): Likewise.
30790 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30791 <bp-checks.h>.
30792 (sigpending): Don't use CHECK_SIGSET.
30793 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30794 <bp-checks.h>.
30795 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30796 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30797 <bp-checks.h>.
30798 (do_sigsuspend): Don't use CHECK_SIGSET.
30799 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30800 use CHECK_SIGSET.
30801 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30802 (do_sigwait): Don't use CHECK_SIGSET.
30803 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30804 use CHECK_SIGSET.
30805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30806 include <bp-checks.h>.
30807 (sigpending): Don't use CHECK_SIGSET.
30808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30809 include <bp-checks.h>.
30810 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30811 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30812 <bp-checks.h>.
30813 (sigpending): Don't use CHECK_SIGSET.
30814 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30815 <bp-checks.h>.
30816 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30817
2e8a5c8c
JM
30818 [BZ #13550]
30819 * sysdeps/generic/bp-semctl.h: Remove file.
30820 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30821 <bp-checks.h> and <bp-semctl.h>.
30822 (__old_semctl): Don't use CHECK_SEMCTL.
30823 (__new_semctl): Likewise.
30824 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30825 and <bp-semctl.h>.
30826 (__old_semctl): Don't use CHECK_SEMCTL.
30827 (__new_semctl): Likewise.
30828 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30829 <bp-checks.h> and <bp-semctl.h>.
30830 (__old_semctl): Don't use CHECK_SEMCTL.
30831 (__new_semctl): Likewise.
30832 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30833 <bp-checks.h> and <bp-semctl.h>.
30834 (semctl): Don't use CHECK_SEMCTL.
30835
c2d54929
JM
30836 [BZ #13550]
30837 * Makerules (elide-bp-thunks): Remove variable.
30838 (elide-routines.oS): Don't use $(elide-bp-thunks).
30839 (elide-routines.os): Likewise.
30840 (elide-routines.o): Likewise.
30841 (elide-routines.op): Likewise.
30842 (elide-routines.og): Likewise.
30843 (objects): Don't use $(bp-thunks).
30844 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30845 include.
30846 (common-generated): Do not add s-proto-bp.d.
30847 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30848 (int): Likewise.
30849 (typ): Likewise.
30850 Do not generate makefile rules for bounded-pointer thunks.
30851 * sysdeps/generic/bp-thunks.h: Remove file.
30852 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30853 * sysdeps/unix/s-proto-bp.S: Likewise.
30854
8cf28c5e
JM
30855 [BZ #15062]
30856 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30857 parts of result separately when argument is not close to line from
30858 -i to i and one part of argument is small.
30859 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30860 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30861 * math/libm-test.inc (cacos_test): Add more tests.
30862 (casin_test): Likewise.
30863 (casinh_test): Likewise.
30864 * sysdeps/i386/fpu/libm-test-ulps: Update.
30865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30866
c4e33b8d
DM
308672013-01-31 David S. Miller <davem@davemloft.net>
30868
30869 * po/de.po: Update from translation team.
30870
3b60b421
MK
308712013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30872
30873 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30874
bb931195
TS
308752013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30876
b5a5da23
TS
30877 * configure.in (_AC_PROG_CC_C89): New definition.
30878 * configure: Regenerate.
30879
bb931195
TS
30880 * configure.in (AC_PROG_CPP): New definition.
30881 * configure: Regenerate.
30882
8c53a12c
JM
308832013-01-23 Joseph Myers <joseph@codesourcery.com>
30884
30885 * debug/tst-backtrace.h: New file.
30886 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30887 (ret): Remove variable.
30888 (x): Likewise.
30889 (FAIL): Remove macro.
30890 (NO_INLINE): Likewise.
30891 (fn1): Use match function instead of strstr.
30892 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30893 (ret): Remove variable.
30894 (x): Likewise.
30895 (FAIL): Remove macro.
30896 (NO_INLINE): Likewise.
30897 (fn): Use match function instead of strstr.
30898 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30899 (ret): Remove variable.
30900 (x): Likewise.
30901 (FAIL): Remove macro.
30902 (NO_INLINE): Likewise.
30903 (handle_signal): Use match function instead of strstr.
30904 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30905 (ret): Remove variable.
30906 (x): Likewise.
30907 (FAIL): Remove macro.
30908 (NO_INLINE): Likewise.
30909 (handle_signal): Use match function instead of strstr.
30910
4858fa2a
RM
309112013-01-23 Roland McGrath <roland@hack.frob.com>
30912
30913 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30914
bae8e7f5
DM
309152013-01-23 David S. Miller <davem@davemloft.net>
30916
30917 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30918 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30919 argument of CAS if possible.
30920 * sysdeps/sparc/sparc64/bits/atomic.h
30921 (__arch_compare_and_exchange_val_32_acq): Likewise.
30922 (__arch_compare_and_exchange_val_64_acq): Likewise.
30923
9cbbc4ae
PT
309242013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30925
30926 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30927 * sysdeps/posix/ulimit.c: ... this.
92a601b8 30928 Include <limits.h>.
67b3f58c 30929 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 30930
5655a0b5
AC
309312013-01-23 Adam Conrad <adconrad@0c3.net>
30932
30933 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30934 (LDFLAGS-tst-array5): Likewise.
30935
052aff95
JM
309362013-01-23 Joseph Myers <joseph@codesourcery.com>
30937
30938 [BZ #15036]
30939 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30940 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30941 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30942 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30943
7c1e01aa
DM
309442013-01-21 David S. Miller <davem@davemloft.net>
30945
30946 * sysdeps/sparc/backtrace.c: New file.
30947 * sysdeps/sparc/sparc32/backtrace.h: New file.
30948 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30949 * sysdeps/sparc/sparc64/backtrace.h: New file.
30950 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30951 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30952 -funwind-tables.
30953
ab087e0a
AS
309542013-01-21 Andreas Schwab <schwab@suse.de>
30955
30956 [BZ #15020]
30957 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30958 closed its stdout.
30959
ed689c2f
AS
309602013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30961
30962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30963 "mpa2.h".
30964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30965
31d470ac
JM
309662013-01-18 Joseph Myers <joseph@codesourcery.com>
30967 Mark Mitchell <mark@codesourcery.com>
30968 Tom de Vries <tom@codesourcery.com>
30969 Paul Pluzhnikov <ppluzhnikov@google.com>
30970
30971 * debug/tst-backtrace2.c: New file.
30972 * debug/tst-backtrace3.c: Likewise.
30973 * debug/tst-backtrace4.c: Likewise.
30974 * debug/tst-backtrace5.c: Likewise.
30975 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30976 (CFLAGS-tst-backtrace3.c): Likewise.
30977 (CFLAGS-tst-backtrace4.c): Likewise.
30978 (CFLAGS-tst-backtrace5.c): Likewise.
30979 (LDFLAGS-tst-backtrace2): Likewise.
30980 (LDFLAGS-tst-backtrace3): Likewise.
30981 (LDFLAGS-tst-backtrace4): Likewise.
30982 (LDFLAGS-tst-backtrace5): Likewise.
30983 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30984 tst-backtrace4 and tst-backtrace5.
30985
90567f30 309862013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
30987 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30988
30989 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30990 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30992 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30994 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30995 "+r" and remove output regs list as redundant. Add explicit inline
30996 asm to specify register of return val to work around compiler codegen
30997 bug. Remove (int) cast on return value. Add return type parameter to
30998 use in macro so that this macro does not truncate return value for
30999 64-bit values.
31000 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31001 pass to INTERNAL_VSYSCALL_NCS.
31002 (INLINE_VSYSCALL): Add 'long int' as return type to
31003 INTERNAL_VSYSCALL_NCS macro invocation.
31004 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31005 INTERNAL_VSYSCALL_NCS macro invocation.
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31007
d3b9ea61
SP
310082013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31009
0b57daeb
SP
31010 [BZ #14496]
31011 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31012 Fix application of SIMD FP exception mask.
31013
caa99d06
SP
31014 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31015 mp_no from a power of two.
31016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31017 __mpexp_twomm1. Use __pow_mp.
31018
d3b9ea61
SP
31019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31020 multiplication.
31021
1dbaee3c
DM
310222013-01-17 David S. Miller <davem@davemloft.net>
31023
31024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31025
728d7b43
JM
310262013-01-17 Joseph Myers <joseph@codesourcery.com>
31027
31028 [BZ #15023]
31029 * include/complex.h: Condition contents on [!_COMPLEX_H].
31030 (__kernel_casinhf): New prototype.
31031 (__kernel_casinh): Likewise.
31032 (__kernel_casinhl): Likewise.
31033 * math/Makefile (libm_calls): Add k_casinh.
31034 * math/k_casinh.c: New file.
31035 * math/k_casinhf.c: Likewise.
31036 * math/k_casinhl.c: Likewise.
31037 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31038 finite nonzero arguments.
31039 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31040 finite nonzero arguments.
31041 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31042 finite nonzero arguments.
31043 * math/s_casinh.c: Do not include <float.h>.
31044 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31045 * math/s_casinhf.c: Do not include <float.h>.
31046 (__casinhf): Move code for finite nonzero arguments to
31047 k_casinhf.c.
31048 * math/s_casinhl.c: Do not include <float.h>.
31049 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31050 redefine.
31051 (__casinhl): Move code for finite nonzero arguments to
31052 k_casinhl.c.
31053 * math/libm-test.inc (cacos_test): Add more tests.
31054 * sysdeps/i386/fpu/libm-test-ulps: Update.
31055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31056
2a26ef3a
PT
310572013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31058
31059 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31060 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31061 [!HAVE_MREMAP]: Remove [defined linux] case.
31062 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31063
a897655d
SP
310642013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31065
31066 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31067
881ebe89 310682013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31069
31070 * elf/elf.h (R_386_SIZE32): New relocation.
31071 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31072 R_386_SIZE32.
31073 (elf_machine_rela): Likewise.
31074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31075 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31076
59981e9b
JM
310772013-01-17 Joseph Myers <joseph@codesourcery.com>
31078
31079 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31080 (FP_FAST_FMA): Do not define.
31081 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31082 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31083 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31084 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31085 !_SOFT_FLOAT]: Likewise.
31086 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31087 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31088 value.
31089 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31090 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31091 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31092 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31093 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31094 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31095 file.
31096
cfa8054f
AS
310972013-01-16 Andreas Schwab <schwab@suse.de>
31098
31099 [BZ #14327]
31100 * include/stdlib.h (__mktemp): Add declaration.
31101 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31102 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31103
dd930cc5
SP
311042013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31105
881ebe89
SP
31106 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31107 definitions.
31108 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31109 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31110 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31111 definitions here.
31112 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31113 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31114 definitions.
31115 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31116 and ONE.
31117 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31118 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31119 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31120 definitions.
31121 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31122 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31123 definitions.
31124 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31125
dd930cc5
SP
31126 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31127
c19a9f89
DM
311282013-01-15 David S. Miller <davem@davemloft.net>
31129
1aa61767
DM
31130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31131 trunc{,f} to libm-sysdep_routes.
31132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31134 file.
31135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31137 file.
31138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31139 file.
31140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31142 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31143 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31144 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31145 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31146 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31147 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31148
c42d5e98
DM
31149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31150 nearbyint{,f} to libm-sysdep_routes.
31151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31153 New file.
31154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31155 file.
31156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31157 New file.
31158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31159 file.
31160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31163 file.
31164 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31165 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31166 file.
31167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31168 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31169 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31170
c19a9f89
DM
31171 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31172 libc_feholdexcept and libc_fesetenv.
31173
357679d2
MF
311742013-01-15 Mike Frysinger <vapier@gentoo.org>
31175
31176 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31177
65a82e3d
DM
311782013-01-14 David S. Miller <davem@davemloft.net>
31179
8b954ab9
DM
31180 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31181 (SPARC_ASM_VIS2_IFUNC): Likewise.
31182 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31184 use of 'siam' instruction.
31185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31186 Likewise.
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31188 Likewise.
31189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31190 Likewise.
31191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31196 file.
31197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31198 file.
31199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31200 file.
31201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31202 file.
31203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31208 new VIS2 routines.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31212 Likewise.
31213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31218 routines to libm-sysdep_routines.
31219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31220
65a82e3d
DM
31221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31222 fdim/fdimf to libm-sysdep_routines.
31223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31224 file.
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31227 file.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31231 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31232 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31233 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31234 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31235
e34ab705
SP
312362013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31237
2a91b573
SP
31238 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31239 to optimize copies.
31240
1066a534
SP
31241 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31244
e34ab705
SP
31245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31246 local variable MPTWO.
31247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31248 Likewise.
31249
aba5e596
MF
312502013-01-13 Mike Frysinger <vapier@gentoo.org>
31251
31252 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31253 GLOB_NOESCAPE.
31254
e557e9e5
MF
312552013-01-13 Mike Frysinger <vapier@gentoo.org>
31256
31257 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31258
0428cec9
MF
312592013-01-13 Mike Frysinger <vapier@gentoo.org>
31260
31261 * manual/pattern.texi (glob_t): Document gl_flags.
31262 (glob64_t): Likewise.
31263
8794a964
DM
312642013-01-11 David S. Miller <davem@davemloft.net>
31265
66438c3f
RM
31266 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31267 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31268 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31269 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31270 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31271 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31272 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31273 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31274 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31275 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31276 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31277 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31278 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31279
4ae4244d
DM
31280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31281 sparc V9 rather than using V8 code.
31282 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31283 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31284
8794a964
DM
31285 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31286 Move to...
31287 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31288 Here.
31289
6270516e
RM
312902013-01-11 Roland McGrath <roland@hack.frob.com>
31291
31292 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31293 not in the main loop.
31294 * configure: Regenerated.
31295
6a57d931
JM
312962013-01-11 Joseph Myers <joseph@codesourcery.com>
31297
31298 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31299 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31300 to just #else.
31301 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31302 [!__GLIBC_HAVE_LONG_LONG] case.
31303 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31304 condition to just #else.
31305 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31306 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31307 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31308 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31309 unconditional.
31310 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31311 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31312 #elif condition to just #else.
31313 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31314 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31315 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31316 #elif condition to just #else.
31317
0e8529e9
SE
313182013-01-11 Steve Ellcey <sellcey@mips.com>
31319
31320 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31321 (EF_MIPS_ARCH_64): Fix value.
31322 (EF_MIPS_ARCH_32R2): New.
31323 (EF_MIPS_ARCH_64R2): New.
31324
740b3dbe
L
313252013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31326
31327 * Makeconfig (+link-pie-before-libc): New.
31328 (+link-pie-after-libc): Likewise.
31329 (+link-pie-tests): Likewise.
31330 (+link-pie): Rewritten.
31331 (link-before-libc): Remove $(config-LDFLAGS).
31332 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31333 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31334 (config-LDFLAGS): Renamed to ...
31335 (rtld-LDFLAGS): This.
31336 (rtld-tests-LDFLAGS): New macro.
31337 (link-libc-rpath-link): Likewise.
31338 (link-libc-tests-rpath-link): Likewise.
31339 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31340 (link-libc): Prepand $(link-libc-rpath-link).
31341 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31342 (test-program-prefix): New macro.
31343 (test-via-rtld-prefix): Likewise.
31344 (test-program-cmd): Likewise.
31345 (host-test-program-cmd): Likewise.
31346 * Makefile ($(common-objpfx)testrun.sh): Replace
31347 $(run-program-prefix) with $(test-program-prefix).
31348 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31349 $(rtld-LDFLAGS).
31350 ($(common-objpfx)shlib.lds): Likewise.
31351 (build-module-helper): Likewise.
31352 ($(common-objpfx)format.lds): Likewise.
31353 * Rules (binaries-pie-tests): New.
31354 (binaries-pie-notests): Likewise.
31355 (binaries-pie): Rewritten.
31356 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31357 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31358 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31359 (make-test-out): Replace $(host-built-program-cmd) with
31360 $(host-test-program-cmd).
31361 * config.make.in (build-hardcoded-path-in-tests): New variable.
31362 * configure.in (--enable-hardcoded-path-in-tests): New configure
31363 option.
31364 (hardcoded_path_in_tests): New AC_SUBST.
31365 * configure: Regenerated.
31366 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31367 $(built-program-cmd) with $(test-program-cmd).
31368 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31369 (test_program_cmd): This.
31370 * elf/Makefile ($(objpfx)order.out): Run test with
31371 $(test-program-prefix).
31372 ($(objpfx)order2.out): Likewise.
31373 ($(objpfx)tst-initorder.out): Likewise.
31374 ($(objpfx)tst-initorder2.out): Likewise.
31375 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31376 $(test-program-cmd).
31377 ($(objpfx)tst-array1-static.out): Likewise.
31378 ($(objpfx)tst-array2.out): Likewise.
31379 ($(objpfx)tst-array3.out): Likewise.
31380 ($(objpfx)tst-array4.out): Likewise.
31381 ($(objpfx)tst-array5.out): Likewise.
31382 ($(objpfx)tst-array5-static.out): Likewise.
31383 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31384 $(test-program-cmd).
31385 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31386 $(run-program-prefix) with $(test-program-prefix).
31387 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31388 (test_program_prefix): This.
31389 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31390 $(run-program-prefix) with $(test-program-prefix).
31391 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31392 (test_program_prefix): This.
31393 * iconvdata/tst-tables.sh: Likewise.
31394 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31395 $(run-program-prefix) with $(test-program-prefix).
31396 ($(objpfx)tst-translit.out): Likewise.
31397 ($(objpfx)tst-gettext2.out): Likewise.
31398 ($(objpfx)tst-gettext4.out): Likewise.
31399 ($(objpfx)tst-gettext6.out): Likewise.
31400 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31401 (test_program_prefix): This.
31402 * intl/tst-gettext2.sh: Likewise.
31403 * intl/tst-gettext4.sh Likewise.
31404 * intl/tst-gettext6.sh: Likewise.
31405 * intl/tst-translit.sh: Likewise.
31406 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31407 with $(test-program-cmd).
31408 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31409 $(run-program-prefix) with $(test-program-prefix).
31410 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31411 (test_program_prefix): This.
31412 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31413 $(run-program-prefix) with $(test-program-prefix).
31414 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31415 (test_program_prefix): This.
31416 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31417 * posix/Makefile ($(objpfx)globtest.out): Replace
31418 $(run-via-rtld-prefix) and $(test-wrapper) with
31419 $(test-program-prefix) and $(test-via-rtld-prefix).
31420 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31421 $(test-program-prefix).
31422 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31423 $(host-test-program-cmd).
31424 (tst-spawn-ARGS): Likewise.
31425 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31426 $(test-program-prefix).
31427 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31428 (test_via_rtld_prefix): This.
31429 (test_wrapper): Renamed to ...
31430 (test_program_prefix): This.
31431 (run_program_prefix): Replaced by test_program_prefix.
31432 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31433 (test_program_prefix): This.
31434 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31435 with $(host-test-program-cmd).
31436 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31437 $(run-program-prefix) with $(test-program-prefix).
31438 ($(objpfx)tst-printf.out): Likewise.
31439 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31440 $(test-program-cmd).
31441 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31442 (test_program_prefix): This.
31443 * stdio-common/tst-unbputc.sh: Likewise.
31444 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31445 $(run-program-prefix) with $(test-program-prefix).
31446 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31447 (test_program_prefix): This.
31448 * string/Makefile ($(objpfx)tst-svc.out): Replace
31449 $(built-program-cmd) with $(test-program-cmd).
31450
c6fe55cf
AJ
314512013-01-11 Andreas Jaeger <aj@suse.de>
31452
31453 [BZ #15003]
31454 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31455 value. Sync with Linux 3.7.
31456
9e6919c8
DM
314572013-01-10 David S. Miller <davem@davemloft.net>
31458
31459 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31460 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31461 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31462
1c9f1a02
RM
314632013-01-10 Roland McGrath <roland@hack.frob.com>
31464
31465 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31466 never set.
31467 * configure: Regenerated.
31468
b9de2dde
DM
314692013-01-10 David S. Miller <davem@davemloft.net>
31470
31471 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31472 sparc V9 rather than using V8 code.
31473 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31474 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31475
e7f68ef4
RM
314762013-01-10 Roland McGrath <roland@hack.frob.com>
31477
31478 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31479 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31480 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31481 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31482 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31483 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31484 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31485 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31486 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31487 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31488 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31489 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31490 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31491 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31492 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31493 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31494 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31495 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31496 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31497 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31498 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31499 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31500 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31501 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31502 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31503 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31504 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31505
5a47cc9c
DM
315062013-01-10 David S. Miller <davem@davemloft.net>
31507
31508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31509
4cf8f209
L
315102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31511
31512 * posix/Makefile (tests-static): New variable.
31513 (tests): Add $(tests-static).
31514 (tst-exec-static-ARGS): New variable.
31515 (tst-spawn-static-ARGS): Likewise.
31516 * posix/tst-exec-static.c: New file.
31517 * posix/tst-spawn-static.c: Likewise.
31518 * posix/tst-exec.c: Support run directly.
31519 * posix/tst-spawn.c: Likewise.
31520
fed0faa1
JM
315212013-01-10 Joseph Myers <joseph@codesourcery.com>
31522
828beb13
JM
31523 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31524 long.
31525 * math/bits/mathcalls.h (llrint): Likewise.
31526 (llround): Likewise.
31527 * stdlib/stdlib.h (struct drand48_data): Likewise.
31528 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31529 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31530 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31531 Likewise.
31532 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31533 Likewise.
31534 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31535 (elf_greg_t): Likewise.
31536 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31537 (__jmp_buf): Likewise.
31538 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31539 definitions.
31540 (llrint): Likewise, for all definitions.
31541 (llrintl): Likewise.
31542
fed0faa1
JM
31543 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31544 Remove [__GNUC__] condition.
31545 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31546 condition to just [__USE_ISOC99].
31547 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31548
1a20cb20
L
315492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31550
31551 [BZ #14200]
31552 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31553 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31554 defined.
31555 (_POSIX_V6_ILP32_OFF32): Likewise.
31556 (_XBS5_ILP32_OFF32): Likewise.
31557 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31558 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31559
751b85f7
SP
315602013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31561
7490eb81
SP
31562 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31563
751b85f7
SP
31564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31565 doubles __mpexp_twomm1. Adjust usage.
31566 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31567 Remove.
31568
988197f0
AS
315692013-01-10 Andreas Schwab <schwab@suse.de>
31570
31571 [BZ #14964]
31572 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31573 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31574
e83d7298
DM
315752013-01-09 David S. Miller <davem@davemloft.net>
31576
034ed64b 31577 [BZ #15003]
57f41c40
AS
31578 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31579 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31580 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31581 (TCP_FASTOPEN): Define.
e83d7298
DM
31582 (tcp_repair_opt): New structure.
31583 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31584 enum values.
57f41c40
AS
31585 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31586 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31587 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
31588 (tcp_cookie_transactions): New structure.
31589
d5e0b9bd
AB
315902013-01-09 Anton Blanchard <anton@samba.org>
31591
31592 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31593 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31594 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31595 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31596
0c07e3ea
JM
315972013-01-09 Joseph Myers <joseph@codesourcery.com>
31598
31599 * include/features.h (__USE_ANSI): Remove.
31600
232f7002
RM
316012013-01-09 Roland McGrath <roland@hack.frob.com>
31602
ad98e30c
RM
31603 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31604
232f7002
RM
31605 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31606
950c99ca
SP
316072013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31608
b5792741
SP
31609 * sysdeps/s390/fpu/libm-test-ulps: Update.
31610
47cf2278
SP
31611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31612
950c99ca
SP
31613 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31614 (__acr): Likewise.
31615 (__cpy): Likewise.
31616 (norm): Likewise.
31617 (denorm): Likewise.
31618 (__mp_dbl): Likewise.
31619 (__dbl_mp): Likewise.
31620 (add_magnitudes): Likewise.
31621 (sub_magnitudes): Likewise.
31622 (__add): Likewise.
31623 (__sub): Likewise.
31624 (__mul): Likewise.
31625 (__inv): Likewise.
31626 (__dvd): Likewise.
31627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31628 (__acr): Likewise.
31629 (__cpy): Likewise.
31630 (norm): Likewise.
31631 (denorm): Likewise.
31632 (__mp_dbl): Likewise.
31633 (__dbl_mp): Likewise.
31634 (add_magnitudes): Likewise.
31635 (sub_magnitudes): Likewise.
31636 (__add): Likewise.
31637 (__sub): Likewise.
31638 (__mul): Likewise.
31639 (__inv): Likewise.
31640 (__dvd): Likewise.
31641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31642 (__acr): Likewise.
31643 (__cpy): Likewise.
31644 (norm): Likewise.
31645 (denorm): Likewise.
31646 (__mp_dbl): Likewise.
31647 (__dbl_mp): Likewise.
31648 (add_magnitudes): Likewise.
31649 (sub_magnitudes): Likewise.
31650 (__add): Likewise.
31651 (__sub): Likewise.
31652 (__mul): Likewise.
31653 (__inv): Likewise.
31654 (__dvd): Likewise.
31655
eede9df9
JM
316562013-01-08 Joseph Myers <joseph@codesourcery.com>
31657
31658 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31659 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31660 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31661 2 && __USE_EXTERN_INLINES]: Likewise.
31662
c40ea3d9
AJ
316632013-01-08 Andreas Jaeger <aj@suse.de>
31664
31665 [BZ# 14985]
31666 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31667 Remove.
31668 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31669 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31670
2ccdea26
AB
316712013-01-07 Anton Blanchard <anton@samba.org>
31672
31673 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31674 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31675 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31676 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31677 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31678 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31679 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31680 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31682 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31683 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31684 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31685 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31686 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31687 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31688 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31689 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31690 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31691 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31694 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31696 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31697 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31698 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31699 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31700 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31702 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31703 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31705 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31706 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31707 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31708 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31709 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31711 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31714 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31715 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31716
a9708fed
JM
317172013-01-07 Joseph Myers <joseph@codesourcery.com>
31718
375607b9
JM
31719 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31720 (__MALLOC_PMT): Likewise.
31721 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31722 [__GNUC__], only on [_LIBC].
31723 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31724 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31725 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31726 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31727 forward declaration.
31728 (realloc_hook_ini): Likewise.
31729 (memalign_hook_ini): Likewise.
31730 (__libc_memalign): Do not use __MALLOC_PMT in variable
31731 declaration.
31732 (__libc_valloc): Likewise.
31733 (__libc_pvalloc): Likewise.
31734 (__libc_calloc): Likewise.
31735 (__posix_memalign): Likewise.
31736
a9708fed
JM
31737 [BZ #14996]
31738 * math/s_casinh.c: Include <float.h>.
31739 (__casinh): Do not do computation with squaring and square root
31740 for large arguments.
31741 * math/s_casinhf.c: Include <float.h>.
31742 (__casinhf): Do not do computation with squaring and square root
31743 for large arguments.
31744 * math/s_casinhl.c: Include <float.h>.
31745 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31746 (__casinhl): Do not do computation with squaring and square root
31747 for large arguments.
31748 * math/libm-test.inc (casin_test): Add more tests.
31749 (casinh_test): Likewise.
31750 * sysdeps/i386/fpu/libm-test-ulps: Update.
31751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31752
afec409a
L
317532013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31754
31755 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31756 (__x86_64_raw_data_cache_size): Likewise.
31757 (__x86_64_data_cache_size_half): Likewise.
31758 (__x86_64_raw_data_cache_size_half): Likewise.
31759 (__x86_64_shared_cache_size): Likewise.
31760 (__x86_64_raw_shared_cache_size): Likewise.
31761 (__x86_64_shared_cache_size_half): Likewise.
31762 (__x86_64_raw_shared_cache_size_half): Likewise.
31763 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31764 to ...
31765 (__x86_data_cache_size): This.
31766 (__x86_64_raw_data_cache_size): Renamed to ...
31767 (__x86_raw_data_cache_size): This.
31768 (__x86_64_data_cache_size_half): Renamed to ...
31769 (__x86_data_cache_size_half): This.
31770 (__x86_64_raw_data_cache_size_half): Renamed to ...
31771 (__x86_raw_data_cache_size_half): This.
31772 (__x86_64_shared_cache_size): Renamed to ...
31773 (__x86_shared_cache_size): This.
31774 (__x86_64_raw_shared_cache_size): Renamed to ...
31775 (__x86_raw_shared_cache_size): This.
31776 (__x86_64_shared_cache_size_half): Renamed to ...
31777 (__x86_shared_cache_size_half): This.
31778 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31779 (__x86_raw_shared_cache_size_half): This.
31780 * sysdeps/x86_64/memcpy.S: Updated.
31781 * sysdeps/x86_64/memset.S: Likewise.
31782 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31784 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31785
0b3986d0
DM
317862013-01-04 David S. Miller <davem@davemloft.net>
31787
31788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31789
e47686e9
AS
317902013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31791
d643bac1
AS
31792 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31793 1 to avoid redefinition warning.
31794 (__USE_GNU): Don't define.
31795 (init_signaling_nan): Protoize.
31796
e47686e9
AS
31797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31798
b18decba
SP
317992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31800
fffb407f
SP
31801 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31803 (__cpymn): Likewise.
31804 (norm): Remove commented code.
31805 (denorm): Likewise.
31806 (__mp_dbl): Likewise.
31807 (__inv): Likewise.
31808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31809 (__cpymn): Likewise.
31810 (norm): Remove commented code.
31811 (denorm): Likewise.
31812 (__mp_dbl): Likewise.
31813 (__inv): Likewise.
31814
b18decba
SP
31815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31816 mp_no value for 1.0 and 2.0.
31817 (norm): Use RADIXI instead of radixi.d.
31818 (denorm): Likewise.
31819 (__mul): Use 0.0 instead of zero.d.
31820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31821 mp_no value for 1.0 and 2.0.
31822 (norm): Use RADIXI instead of radixi.d.
31823 (denorm): Likewise.
31824 (__mul): Use 0.0 instead of zero.d.
31825
cdc1c96f
JM
318262013-01-04 Joseph Myers <joseph@codesourcery.com>
31827
31828 [BZ #14994]
31829 * math/s_casinh.c (__casinh): Reduce finite argument to first
31830 quadrant then set signs of results at the end.
31831 * math/s_casinhf.c (__casinhf): Likewise.
31832 * math/s_casinhl.c (__casinhl): Likewise.
31833 * math/libm-test.inc (casin_test): Add more tests.
31834 (casinh_test): Likewise.
31835 * sysdeps/i386/fpu/libm-test-ulps: Update.
31836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31837
302913e1
SP
318382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31839
6420d207
SP
31840 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31841
a9e48ab4
SP
31842 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31843
b7837264
SP
31844 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31845 declarations.
31846 (denorm): Likewise.
31847 (__mp_dbl): Likewise.
31848 (__inv): Likewise.
31849
f8af25d2
SP
31850 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31851 and adjust the header comment.
31852
302913e1
SP
31853 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31854 variable name from declaration.
31855
5d7dd1ca
L
318562013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31857
31858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31859 Initialize COMMON_CPUID_INDEX_7 element.
31860 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31861 (CPUID_RTM): Likewise.
31862 (HAS_RTM): Likewise.
31863 (COMMON_CPUID_INDEX_7): New enum.
31864
2f5f40f4
AS
318652013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31866
31867 [BZ #14981]
31868 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31869 size is zero, record memory as freed.
31870
4056f4a0
AJ
318712013-01-03 Andreas Jaeger <aj@suse.de>
31872
31873 * po/ia.po: Add new Interlingua translation.
31874
ab15736f 318752012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
31876
31877 * locale/programs/localedef.c: Fix description of '--posix' flag.
31878
568035b7
JM
318792013-01-02 Joseph Myers <joseph@codesourcery.com>
31880
e6898b8d
JM
31881 * NEWS: Update dates in second copyright notice.
31882 * README: Update copyright dates in example.
31883 * manual/libc.texinfo: Update copyright dates.
31884 * scripts/test-installation.pl: Update copyright date in --version
31885 output.
31886
0e2f9562
JM
31887 * hurd/ctty-input.c: Fix copyright notice formatting.
31888 * hurd/ctty-output.c: Likewise.
31889 * hurd/dtable.c: Likewise.
31890 * hurd/hurd-raise.c: Likewise.
31891 * hurd/hurdprio.c: Likewise.
31892 * hurd/msgportdemux.c: Likewise.
31893 * misc/sys/file.h: Likewise.
31894 * misc/sys/ioctl.h: Likewise.
31895 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31896 * sysdeps/mach/hurd/chdir.c: Likewise.
31897 * sysdeps/mach/hurd/fchdir.c: Likewise.
31898 * sysdeps/mach/hurd/rename.c: Likewise.
31899 * sysdeps/mach/hurd/rmdir.c: Likewise.
31900 * sysdeps/mach/hurd/seekdir.c: Likewise.
31901 * sysdeps/mach/hurd/setsid.c: Likewise.
31902 * sysdeps/posix/wait3.c: Likewise.
31903
568035b7
JM
31904 * All files with FSF copyright notices: Update copyright dates
31905 using scripts/update-copyrights.
31906 * intl/plural.c: Regenerated.
31907 * locale/programs/charmap-kw.h: Likewise.
31908 * locale/programs/locfile-kw.h: Likewise.
31909
da08f647
SP
319102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31911
0f5477af
SP
31912 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31913 four values.
31914
44e0d4c2
SP
31915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31916 calculation loop and add branch prediction.
31917
4d55b4e5
SP
31918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31919 check access beyond bounds of m1np.
31920
da08f647
SP
31921 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31922 MPTWO.
31923 (__inv): Remove local variable MPTWO to use the global
31924 constant.
31925 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31927 variable MPTWO.
31928 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31929 MP3HALFS static const.
31930
8e051029
DM
319312013-01-01 David S. Miller <davem@davemloft.net>
31932
31933 * po/ca.po: Update from translation team.
31934
f4cf5f2d
JM
319352013-01-01 Joseph Myers <joseph@codesourcery.com>
31936
31937 * scripts/update-copyrights: New file.
31938 * Makeconfig: Reformat copyright notice.
31939 * ctype/ctype.h: Likewise.
31940 * debug/swprintf_chk.c: Likewise.
31941 * elf/dl-cache.c: Likewise.
31942 * elf/dl-debug.c: Likewise.
31943 * elf/dl-object.c: Likewise.
31944 * grp/initgroups.c: Likewise.
31945 * hurd/Makefile: Likewise.
31946 * hurd/hurd/signal.h: Likewise.
31947 * hurd/hurdfault.c: Likewise.
31948 * hurd/hurdioctl.c: Likewise.
31949 * hurd/hurdlookup.c: Likewise.
31950 * hurd/intr-msg.c: Likewise.
31951 * iconv/gconv_open.c: Likewise.
31952 * libio/swprintf.c: Likewise.
31953 * locale/lc-ctype.c: Likewise.
31954 * locale/nl_langinfo.c: Likewise.
31955 * mach/Machrules: Likewise.
31956 * mach/Makefile: Likewise.
31957 * malloc/obstack.h: Likewise.
31958 * manual/Makefile: Likewise.
31959 * manual/tsort.awk: Likewise.
31960 * misc/bits/stab.def: Likewise.
31961 * nis/nis_print_group_entry.c: Likewise.
31962 * nis/nis_table.c: Likewise.
31963 * nis/nss_compat/compat-pwd.c: Likewise.
31964 * nis/nss_compat/compat-spwd.c: Likewise.
31965 * po/Makefile: Likewise.
31966 * posix/fnmatch.c: Likewise.
31967 * posix/regex.h: Likewise.
31968 * resolv/Makefile: Likewise.
31969 * resolv/nss_dns/dns-network.c: Likewise.
31970 * resolv/res_hconf.c: Likewise.
31971 * scripts/gen-sorted.awk: Likewise.
31972 * soft-fp/soft-fp.h: Likewise.
31973 * stdio-common/printf.h: Likewise.
31974 * stdlib/monetary.h: Likewise.
31975 * stdlib/random.c: Likewise.
31976 * stdlib/random_r.c: Likewise.
31977 * sysdeps/generic/Makefile: Likewise.
31978 * sysdeps/gnu/Makefile: Likewise.
31979 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31981 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31989 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31993 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31994 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32002 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32003 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32005 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32007 * sysdeps/mach/hurd/errnos.awk: Likewise.
32008 * sysdeps/mach/hurd/fork.c: Likewise.
32009 * sysdeps/mach/hurd/getcwd.c: Likewise.
32010 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32011 * sysdeps/mach/hurd/mmap.c: Likewise.
32012 * sysdeps/mach/hurd/utimes.c: Likewise.
32013 * sysdeps/mach/hurd/xmknod.c: Likewise.
32014 * sysdeps/posix/profil.c: Likewise.
32015 * sysdeps/posix/readdir_r.c: Likewise.
32016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32017 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32018 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32019 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32021 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32022 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32023 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32025 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32026 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32027 * sysdeps/pthread/lio_listio.c: Likewise.
32028 * sysdeps/sparc/dl-procinfo.h: Likewise.
32029 * sysdeps/unix/i386/sysdep.S: Likewise.
32030 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32031 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32032 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32033 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32035 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32036 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32037 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32038 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32039 * sysdeps/wordsize-32/divdi3.c: Likewise.
32040 * time/sys/time.h: Likewise.
32041 * wcsmbs/Makefile: Likewise.
32042
0549fbba
DM
320432013-01-01 David S. Miller <davem@davemloft.net>
32044
a141f1a7
DM
32045 * po/fr.po: Update from translation team.
32046
0549fbba
DM
32047 * catgets/gencat.c: Update copyright year.
32048 * csu/version.c: Likewise.
32049 * debug/catchsegv.sh: Likewise.
32050 * debug/pcprofiledump.c: Likewise.
32051 * debug/xtrace.sh: Likewise.
32052 * elf/ldconfig.c: Likewise.
32053 * elf/ldd.bash.in: Likewise.
32054 * elf/pldd.c: Likewise.
32055 * elf/sotruss.ksh: Likewise.
32056 * elf/sprof.c: Likewise.
32057 * iconv/iconv_prog.c: Likewise.
32058 * iconv/iconvconfig.c: Likewise.
32059 * locale/programs/locale.c: Likewise.
32060 * locale/programs/localedef.c: Likewise.
32061 * login/programs/pt_chown.c: Likewise.
32062 * malloc/memusage.sh: Likewise.
32063 * malloc/memusagestat.c: Likewise.
32064 * malloc/mtrace.pl: Likewise.
32065 * nscd/nscd.c: Likewise.
32066 * nss/getent.c: Likewise.
32067 * nss/makedb.c: Likewise.
32068 * posix/getconf.c: Likewise.
32069
18ea052c
SP
320702012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32071
32072 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32073 numbers.
32074
9c89fca6
MF
320752012-12-30 Mike Frysinger <vapier@gentoo.org>
32076
32077 * math/bits/mathcalls.h (modf): Use __nonnull.
32078
085ec079
SP
320792012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32080
32081 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32082 (split): Use macro CN instead of the bare value.
32083 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32084 could be used.
32085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32086 instead of the bare value.
32087 (power1): Likewise.
32088
6d9f97e1
SP
320892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32090
d63f73be
SP
32091 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32092 __ATAN_TWOM.
32093 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32094
6d9f97e1
SP
32095 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32096 their values.
32097 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32098 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32099 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32100 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32101
4c4febf5
AJ
321022012-12-28 Andreas Jaeger <aj@suse.de>
32103
af5843ef
AJ
32104 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32105 values are from Linux 3.7.
32106
4c4febf5
AJ
32107 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32108 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32109
99136f82
SP
321102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32111
2f216c3c 32112 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32113 TRUE case.
32114
99136f82
SP
32115 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32116 (norm): Likewise.
32117 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32118 variables with preprocessor constants.
32119 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32120 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32121 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32122
7fffbdff
BH
321232012-12-27 Bruno Haible <bruno@clisp.org>
32124
32125 [BZ #14317]
32126 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32127 only if needed.
32128
b76eb5f0
SP
321292012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32130
31a7fe5c
SP
32131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32132 and use variable directly.
32133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32134
b76eb5f0
SP
32135 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32136 MPONE.
32137 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32138 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32139 variable MPONE.
32140 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32142 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32143 include directive. Remove local variable MPONE.
32144 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32145 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32146 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32147
2c8bfe7d
DM
321482012-12-25 David S. Miller <davem@davemloft.net>
32149
32150 * version.h (RELEASE): Set to "development".
32151 (VERSION): Set to "2.17.90".
32152 * NEWS: Add 2.18 section.
32153
147d03b0
DM
321542012-12-21 David S. Miller <davem@davemloft.net>
32155
32156 * po/hr.po: Update from translation team.
32157
a8ebb2b9
AK
321582012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32159
32160 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32161
95b4f1b6
SE
321622012-12-19 Steve Ellcey <sellcey@mips.com>
32163
b2d94007 32164 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32165
cedb2a90
MS
321662012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32167
32168 * manual/contrib.texi (Contributors): Spelling correction.
32169
bbf527d6
DM
321702012-12-15 David S. Miller <davem@davemloft.net>
32171
32172 * po/ru.po: Update from translation team.
32173
bc38c906
DM
321742012-12-13 David S. Miller <davem@davemloft.net>
32175
85429b1a
DM
32176 * NEWS: Mention IFUNC testsuite enhancements.
32177
d283e353
DM
32178 * po/pl.po: Update from translation team.
32179 * po/bg.po: Likewise.
32180
bc38c906
DM
32181 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32182 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32183
a181b0d7
DM
321842012-12-11 David S. Miller <davem@davemloft.net>
32185
4641d57e
DM
32186 * po/sv.po: Update from translation team.
32187
f7bc6495
DM
32188 * po/vi.po: Update from translation team.
32189
6fc9048f
DM
32190 * po/cs.po: Update from translation team.
32191
a181b0d7
DM
32192 * po/de.po: Update from translation team.
32193 * po/eo.po: Likewise.
32194 * po/nl.po: Likewise.
32195
f70bfe80
SP
321962012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32197
3c8b4190
SP
32198 [BZ #14246]
32199 * manual/argp.texi (Argp Helper Functions): Move node to follow
32200 Argp Parsing State.
32201
f70bfe80
SP
32202 [BZ #14872]
32203 * manual/conf.texi (Limits on File System Capacity): Mention if
32204 terminating null is included in the max size.
32205
188f0adf
AJ
322062012-12-10 Andreas Jaeger <aj@suse.de>
32207
32208 * po/cs.po: Update from translation team.
32209
56e7d3ad
SP
322102012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32211
32212 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32213 void pointer and cast to uintptr_t.
32214 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32215 path.
32216 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32217 * sysdeps/s390/s390-64/memset.S: Likewise.
32218
76f2d2ea 322192012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32220
32221 [BZ #14833]
32222 * menual/message.texi (Message Translation): Fix typos.
32223 (Helper programs for gettext): Likewise.
32224
67cbf9a2
AS
322252012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32226
32227 [BZ #14898]
32228 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32229 Change to -1.
32230
682d0e9a
DM
322312012-12-07 David S. Miller <davem@davemloft.net>
32232
32233 * po/libc.pot: Update.
32234
573cd484
RH
322352012-12-07 Richard Henderson <rth@redhat.com>
32236
7e9da188 32237 [BZ #10114]
573cd484
RH
32238 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32239 normal/normal case to before the switch.
32240 (_FP_DIV): Likewise.
32241
e933a943
MF
322422012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32243 Mike Frysinger <vapier@gentoo.org>
32244
32245 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32246 check for __NR_fadvise64_64.
32247
82123268
CM
322482012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32249
32250 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32251 0, not just to plain "0" as a statement.
32252 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32253 with cw.
32254
d9814526
JM
322552012-12-06 Joseph Myers <joseph@codesourcery.com>
32256
32257 * NEWS: Use sourceware.org in Bugzilla URL.
32258
7728c574
SP
322592012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32260
f16946dd
SP
32261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32262 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32263
5704bbcb
SP
32264 * stdio-common/tst-put-error.c (do_test): Add newline to the
32265 padded test to ensure flush.
32266
17aa0516
JL
322672012-12-05 Jeff Law <law@redhat.com>
32268
32269 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32270
363313b5
JM
322712012-12-05 Joseph Myers <joseph@codesourcery.com>
32272
effbd42a
JM
32273 * README: Don't refer to ports add-on as distributed separately.
32274 Mention AArch64 in list of systems supported in the ports add-on.
32275
87600365
JM
32276 * LICENSES: Add more non-FSF copyright and license notices.
32277
a0d7066a
JM
32278 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32279 ((unused)).
32280
66ca5a5b
JM
32281 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32282
363313b5
JM
32283 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32284 10000 as width of padded output.
32285
b37984ad
JM
322862012-12-04 Joseph Myers <joseph@codesourcery.com>
32287
9003570a
JM
32288 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32289
b37984ad
JM
32290 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32291 variable LX with __attribute__ ((unused)).
32292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32293 Likewise.
32294 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32295 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32296 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32297 with __attribute__ ((unused)).
32298
c8df52ec
DM
322992012-12-04 David S. Miller <davem@abraco.davemloft.net>
32300
32301 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32302
b3b099af
JM
323032012-12-04 Joseph Myers <joseph@codesourcery.com>
32304
c33aa6e3
JM
32305 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32306 (CFLAGS-nldbl-acos.c): New variable.
32307 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32308 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32309 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32310 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32311 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32312 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32313 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32314 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32315 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32316 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32317 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32318 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32319 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32320 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32321 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32322 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32323 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32324 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32325 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32326 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32327 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32328 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32329 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32330 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32331 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32332 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32333 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32334 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32335 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32336 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32337 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32338 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32339 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32340 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32341 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32342 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32343 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32344 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32345 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32346 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32347 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32353 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32354 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32355 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32356 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32357 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32358 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32359 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32360 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32361 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32362 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32363 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32364 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32365 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32366 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32367 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32368 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32369 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32370 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32371 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32372 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32373 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32374 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32375 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32376 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32377 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32378 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32379 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32380 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32381 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32382 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32383 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32384 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32385 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32386 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32387 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32388 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32389 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32390 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32391 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32392 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32393 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32394 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32395 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32396 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32397 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32398 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32399 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32400 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32401 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32402 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32403 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32404
20f0018d
JM
32405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32406 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32407
b3b099af
JM
32408 [BZ #14914]
32409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32410 whole low double instead of just low 47 bits when splitting values
32411 into two parts.
32412
029264d1
AM
324132012-12-03 Allan McRae <allan@archlinux.org>
32414
32415 * manual/stdio.texi (Predefined Printf Handlers): Remove
32416 @hsep and @vsep usage.
32417
c9d6789e
MF
324182012-12-03 Mike Frysinger <vapier@gentoo.org>
32419
32420 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32421 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32422
4b7634a5
JL
324232012-12-03 Jeff Law <law@redhat.com>
32424
32425 * time/sys/time.h (settimeofday): Do not mark TV argument
32426 as __nonnull.
32427
eb6cbd24
MF
324282012-12-01 Mike Frysinger <vapier@gentoo.org>
32429
32430 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32431 when currently writing and seek to current position when not.
32432 * libio/Makefile (tests): Remove bug-fclose1.
32433 * libio/bug-fclose1.c: Delete.
32434
f638872a
JM
324352012-12-01 Joseph Myers <joseph@codesourcery.com>
32436
32437 * manual/arith.texi (feenableexcept): Fix typo.
32438 (fedisableexcept): Likewise.
32439
48085d14
RM
324402012-11-30 Roland McGrath <roland@hack.frob.com>
32441
32442 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32443 second, differently-typed declaration, rather than a cast.
32444
1a538b9f
SP
324452012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32446
32447 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32448 * include/rpc/svc.h: ... here.
32449
d07f2ff1 324502012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
32451
32452 [BZ #13013]
32453 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32454 depending n and resplen2 to catch cases where answer
32455 equals answerp2.
32456
c93ec1f0
CD
324572012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32458
32459 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32460 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32461
37db69de
MF
324622012-11-29 Mike Frysinger <vapier@gentoo.org>
32463
32464 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32465
e10c4e4f
RM
324662012-11-29 Roland McGrath <roland@hack.frob.com>
32467
32468 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32469
2af1b328
JL
324702012-11-28 Jeff Law <law@redhat.com>
32471
32472 [BZ #13761]
32473 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32474 dataset_temporary. Track alloca usage into alloca_used.
32475 If dataset is large allocate and release it via malloc/free.
32476
111db5b1
FW
324772012-06-04 Florian Weimer <fweimer@redhat.com>
32478
f06cc227 32479 [BZ #14197]
111db5b1
FW
32480 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32481
dd694abd
DM
324822012-11-28 David S. Miller <davem@davemloft.net>
32483
32484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32485
9984dd01
JM
324862012-11-28 Joseph Myers <joseph@codesourcery.com>
32487
32488 [BZ #14803]
32489 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32490 of pi/2 rounded to nearest to 64 bits.
32491 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32492 nearest to 64 bits.
32493 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32494 bits.
32495
14bc93a9
JL
324962012-11-28 Jeff Law <law@redhat.com>
32497 Martin Osvald <mosvald@redhat.com>
32498
32499 [BZ #14889]
32500 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32501 * sunrpc/svc.c: Include time.h.
32502 (__svc_accept_failed): New function.
32503 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32504 any reason other than EINTR, call __svc_accept_failed.
32505 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32506 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32507
e3c6aa3a
AS
325082012-11-28 Andreas Schwab <schwab@suse.de>
32509
32510 * scripts/abilist.awk: Also handle indirect functions in .opd
32511 section.
32512
1bead169
JM
325132012-11-28 Joseph Myers <joseph@codesourcery.com>
32514
32515 [BZ #13881]
32516 * sysdeps/x86/fpu/powl_helper.c: New file.
32517 * sysdeps/x86/fpu/Makefile: Likewise.
32518 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32519 (p3): New object.
32520 (__ieee754_powl): Use __powl_helper for finite arguments except
32521 integer exponents below 8.
32522 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32523 (p3): New object.
32524 (__ieee754_powl): Use __powl_helper for finite arguments except
32525 integer exponents below 8.
32526 * math/libm-test.inc (pow_test): Add more tests and enable some
32527 previously disabled tests.
32528 * sysdeps/i386/fpu/libm-test-ulps: Update.
32529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32530
0817d63d
SP
325312012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32532 Carlos O'Donell <carlos_odonell@mentor.com>
32533
32534 * nss/makedb.c (is_prime): Assert that input is odd and greater
32535 than 4. Note that fact in a comment too.
32536 (next_prime): Add 4 to input.
32537
de2fd463
SP
325382012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32539
32540 [BZ #11741]
32541 * libio/Makefile (tests): Add test case tst-fwrite-error.
32542 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32543 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32544 * libio/tst-fwrite-error.c: New test case.
32545
c515fb51
L
325462012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32547
32548 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32549 before casting to void *.
32550 * include/libc-internal.h (__pointer_type): New macro.
32551 (__integer_if_pointer_type_sub): Likewise.
32552 (__integer_if_pointer_type): Likewise.
32553 (cast_to_integer): Likewise.
32554 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32555 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32556 before casting to atomic64_t.
32557 (atomic_exchange_acq): Likewise.
32558 (__arch_exchange_and_add_body): Likewise.
32559 (__arch_add_body): Likewise.
32560 (atomic_add_negative): Likewise.
32561 (atomic_add_zero): Likewise.
32562
4cf77aa9
JM
325632012-11-26 Joseph Myers <joseph@codesourcery.com>
32564
32565 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32566 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32567 (add_fdes): Likewise.
32568 (linear_search_fdes): Likewise.
32569 (binary_search_unencoded_fdes): Likewise.
32570
d260b3b4
AS
325712012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32572
32573 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32574
67060746
AC
325752012-11-24 Adam Conrad <adconrad@0c3.net>
32576
32577 * configure.in: Autodetect C++ header directories.
32578 * configure: Regenerated.
32579
800938a1
MF
325802012-11-23 Mike Frysinger <vapier@gentoo.org>
32581
32582 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32583
4e6e34e6
AS
325842012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32585
32586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32587
7c7feb47
JM
325882012-11-22 Joseph Myers <joseph@codesourcery.com>
32589
7184dcdf
JM
32590 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32591 LDBL_MANT_DIG == 106]: Disable some tests.
32592 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32593 Likewise.
32594 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32595 Likewise.
32596
0a42601f
JM
32597 [BZ #14871]
32598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32599 input for small inputs. Return +/- pi/2 for large inputs.
32600 * math/libm-test.inc (atan_test): Add more tests.
32601
79c9b9fe
JM
32602 * sysdeps/generic/unwind-dw2-fde-glibc.c
32603 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32604 __attribute__ ((unused)).
32605
c60d3bf2
JM
32606 [BZ #14645]
32607 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32608 x * y if x and y are nonzero and z is zero.
32609
ef1e0867
JM
32610 [BZ #14811]
32611 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32612 nonzero exponents with absolute value below 0x1p-117 to +/-
32613 0x1p-117.
32614
1468ded3
JM
32615 [BZ #14869]
32616 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32617 up arguments below 2**-450, not just those below 2**-500.
32618 * math/libm-test.inc (hypot_test): Add another test.
32619
8e27e3cc
JM
32620 [BZ #14868]
32621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32622 Return a+b for ratio over 2**120, not 2**60.
32623 * math/libm-test.inc (hypot_test): Add another test.
32624
c9c0279b
JM
32625 * math/libm-test.inc (clog_test): Use
32626 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32627 (clog10_test): Likewise.
32628
7c7feb47
JM
32629 [BZ #6778]
32630 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32631
fff1530e
AS
326322012-11-22 Andreas Schwab <schwab@suse.de>
32633
32634 * sysdeps/i386/fpu/libm-test-ulps: Update.
32635
94558d30
PT
326362012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32637
32638 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32639 printf output with newline.
32640
7e1be741
L
326412012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32642
6bfea974
L
32643 [BZ #14865]
32644 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32645 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32646 -z nodlopen, -z initfirst and -z execstack support.
32647 * configure: Regenerated.
32648
7e1be741
L
32649 * elf/elf.h (DF_1_NODIRECT): New macro.
32650 (DF_1_IGNMULDEF): Likewise.
32651 (DF_1_NOKSYMS): Likewise.
32652 (DF_1_NOHDR): Likewise.
32653 (DF_1_EDITED): Likewise.
32654 (DF_1_NORELOC): Likewise.
32655 (DF_1_SYMINTPOSE): Likewise.
32656 (DF_1_GLOBAUDIT): Likewise.
32657 (DF_1_SINGLETON): Likewise.
32658 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32659 DT_1_SUPPORTED_MASK bits.
32660 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32661
105ce2ce
CD
326622012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32663
32664 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32665
123be9de
TS
326662012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32667
d072f3f7
TS
32668 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32669 macro.
32670
123be9de
TS
32671 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32672 (sendmmsg): Move declarations...
32673 * socket/sys/socket.h: ... here.
32674 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32675 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32676 include it from...
32677 * socket/recvmmsg.c: ... this new file.
32678 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32679 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32680 definition of __sendmmsg hidden.
32681 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32682 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32683 Move ENOSYS stub into and include it from...
32684 * socket/sendmmsg.c: ... this new file.
32685 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32686 (sysdep_routines): Move recvmmsg and sendmmsg...
32687 * socket/Makefile (routines): ... here.
32688 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32689 (GLIBC_PRIVATE): Add __sendmmsg.
32690 * include/sys/socket.h (__sendmmsg): Add declarations.
32691 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32692 sendmmsg.
32693
cf9a5d18
JM
326942012-11-20 Joseph Myers <joseph@codesourcery.com>
32695
32696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32697 variable I1 with __attribute__ ((unused)).
32698 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32699
ecd4caf9
JM
327002012-11-19 Joseph Myers <joseph@codesourcery.com>
32701
be14d48f
JM
32702 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32703 DUMMY variables with __attribute__ ((unused)).
32704
ecd4caf9
JM
32705 * bits/byteswap.h: Include <bits/types.h>.
32706 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32707
986cab95
PT
327082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32709
32710 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32711 string_t. Do not manually set errno.
32712 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32713 length with __strnlen. Make sure to both set errno and return it on
32714 failure.
32715
6d33cc9d
DM
327162012-11-19 David S. Miller <davem@davemloft.net>
32717
32718 With help from Joseph Myers.
32719 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32720 very large arguments properly.
32721 * math/libm-test.inc (atan_test): New tests.
32722 (atan2_test): New tests.
32723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32725
ee663277
JM
327262012-11-19 Joseph Myers <joseph@codesourcery.com>
32727
877f2d8e
JM
32728 [BZ #14856]
32729 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32730 Define to 3.
32731
116fc08a
JM
32732 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32733 [POSIX] (EADDRNOTAVAIL): Likewise.
32734 [POSIX] (EAFNOSUPPORT): Likewise.
32735 [POSIX] (EALREADY): Likewise.
32736 [POSIX] (ECONNABORTED): Likewise.
32737 [POSIX] (ECONNREFUSED): Likewise.
32738 [POSIX] (ECONNRESET): Likewise.
32739 [POSIX] (EDESTADDRREQ): Likewise.
32740 [POSIX] (EDQUOT): Likewise.
32741 [POSIX] (EHOSTUNREACH): Likewise.
32742 [POSIX] (EIDRM): Likewise.
32743 [POSIX] (EISCONN): Likewise.
32744 [POSIX] (ELOOP): Likewise.
32745 [POSIX] (EMULTIHOP): Likewise.
32746 [POSIX] (ENETDOWN): Likewise.
32747 [POSIX] (ENETUNREACH): Likewise.
32748 [POSIX] (ENOBUFS): Likewise.
32749 [POSIX] (ENODATA): Likewise.
32750 [POSIX] (ENOLINK): Likewise.
32751 [POSIX] (ENOMSG): Likewise.
32752 [POSIX] (ENOPROTOOPT): Likewise.
32753 [POSIX] (ENOSR): Likewise.
32754 [POSIX] (ENOSTR): Likewise.
32755 [POSIX] (ENOTCONN): Likewise.
32756 [POSIX] (ENOTSOCK): Likewise.
32757 [POSIX] (EOPNOTSUPP): Likewise.
32758 [POSIX] (EOVERFLOW): Likewise.
32759 [POSIX] (EPROTO): Likewise.
32760 [POSIX] (EPROTONOSUPPORT): Likewise.
32761 [POSIX] (EPROTOTYPE): Likewise.
32762 [POSIX] (ESTALE): Likewise.
32763 [POSIX] (ETIME): Likewise.
32764 [POSIX] (ETXTBSY): Likewise.
32765 [POSIX] (EWOULDBLOCK): Likewise.
32766 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32767 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32768 [POSIX] (SEEK_CUR): Likewise.
32769 [POSIX] (SEEK_END): Likewise.
32770 [POSIX || UNIX98] (mode_t): Do not require.
32771 [POSIX] (off_t): Likewise.
32772 [POSIX] (pid_t): Likewise.
32773 [POSIX] (sys/stat.h): Do not allow header.
32774 [POSIX] (unistd.h): Likewise.
32775 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32776 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32778 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32779 require.
32780 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32781 sigevent): Specify elements.
32782 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32783 entry.
32784 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32785 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32786
a483863f
JM
32787 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32788 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32789 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32790 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32791 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32792 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32793 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32794 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32796 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32797 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32798 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32799 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32800 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32801 Likewise.
32802 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32803 Likewise.
32804 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32805 Likewise.
32806 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32807 Likewise.
32808 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32809 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32810 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32811 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32812 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32813 Specify lower bound on value.
32814 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32815 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32820 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32821 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32822 value.
32823 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32824 as optional.
32825 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32826 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32827 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32828 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32829 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32830 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32831 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32832 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32833 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32834 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32835 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32837 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32838 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32839 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32840 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32841 entry.
32842 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32843 optional.
32844 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32845 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32846 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32847 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32848 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32849 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32850 Likewise.
32851 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32852 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32853 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32854 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32855 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32856 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32857 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32858 as optional.
32859 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32860 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32861 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32862 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32863 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32864 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32865 specify as optional.
32866 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32867 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32868 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32869 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32870 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32871 [XPG3] (NL_LANGMAX): Likewise.
32872 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32873 [POSIX || XPG3] (NL_NMAX): Likewise.
32874 [POSIX || XPG3] (NL_SETMAX): Likewise.
32875 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32876 [XPG3] (NZERO): Likewise.
32877 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32878 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32879 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32880 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32881 (REG_ERANGE): Expect.
32882 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32883 optional-constant.
32884 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32885 Use (void) in prototype.
32886 [POSIX] (*_t): Allow.
32887 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32888 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32889 (WRDE_BADVAL): Expect.
32890
5ba924e3
JM
32891 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32892 expect.
32893 [XPG3 || XPG4] (O_RSYNC): Likewise.
32894 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32895 Likewise.
32896 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32897 [XPG3 || XPG4] (sigqueue): Likewise.
32898 [XPG3 || XPG4] (sigtimedwait): Likewise.
32899 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32900 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32901 [XPG3 || XPG4] (vsnprintf): Likewise.
32902 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32903 Likewise.
32904 [XPG3 || XPG4] (blksize_t): Likewise.
32905 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32906 Likewise.
32907 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32908 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32909 [XPG3 || XPG4] (struct itimerspec): Likewise.
32910 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32911 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32912 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32913 [XPG3 || XPG4] (clockid_t): Likewise.
32914 [XPG3 || XPG4] (timer_t): Likewise.
32915 [XPG3 || XPG4] (clock_getres): Likewise.
32916 [XPG3 || XPG4] (clock_gettime): Likewise.
32917 [XPG3 || XPG4] (clock_settime): Likewise.
32918 [XPG3 || XPG4] (nanosleep): Likewise.
32919 [XPG3 || XPG4] (timer_create): Likewise.
32920 [XPG3 || XPG4] (timer_delete): Likewise.
32921 [XPG3 || XPG4] (timer_gettime): Likewise.
32922 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32923 [XPG3 || XPG4] (timer_settime): Likewise.
32924 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32925 [XPG3 || XPG4] (getlogin_r): Likewise.
32926 [XPG3 || XPG4] (pread): Likewise.
32927 [XPG3 || XPG4] (pthread_atfork): Likewise.
32928 [XPG3 || XPG4] (pwrite): Likewise.
32929
ee663277
JM
32930 [BZ #14835]
32931 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32932 <bits/siginfo.h>.
32933
942caa16
PT
329342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32935
e19af380
PT
32936 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32937 finalizing MALLSTREAM.
32938
942caa16
PT
32939 * sysdeps/mach/hurd/syncfs.c: New file.
32940
cfde9b46
SP
329412012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32942
32943 [BZ #14719]
32944 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32945 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32946 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32947 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32948 (_nss_dns_gethostbyname4_r): Likewise.
32949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32950 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32951
f6da27e5
PH
329522012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32953
32954 [BZ #13763]
32955 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32956
6665d4a2
SM
329572012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32958
1f51ee92
SM
32959 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32960 * elf/cache.c (print_entry): Print ",AArch64" for
32961 FLAG_AARCH64_LIB64
32962
6665d4a2
SM
32963 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32964 * elf/cache.c (print_entry): Print ",hard-float" for
32965 FLAG_ARM_LIBHF.
32966
05b227bd
DM
329672012-11-18 David S. Miller <davem@davemloft.net>
32968
32969 With help from Joseph Myers.
32970 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32971 cutoff to 2**-13.
32972 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32973 cutoff to 2**-25.
32974 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32975 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32976 small.
32977 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32978 * math/libm-test.inc (y0_test): New tests.
32979 (y1_test): New tests.
32980 * sysdeps/i386/fpu/libm-test-ulps: Update.
32981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32983
786b0b67
AS
329842012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32985
32986 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32987 64-bit targets.
32988 * configure: Regenerated.
32989
8e18b86d
DM
329902012-11-17 David S. Miller <davem@davemloft.net>
32991
32992 [BZ #14811]
32993 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32994 nonzero exponents with absolute value below 0x1p-128 to +/-
32995 0x1p-128.
32996
531f1ae0
JM
329972012-11-17 Joseph Myers <joseph@codesourcery.com>
32998
12df29e2
JM
32999 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33000
150dc1a0
JM
33001 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33002
531f1ae0
JM
33003 * posix/getconf-speclist.c: New file.
33004 * posix/posix-envs.def: Likewise.
33005 * posix/confstr.c (START_ENV_GROUP): New macro.
33006 (END_ENV_GROUP): Likewise.
33007 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33008 (KNOWN_PRESENT_ENV_STRING): Likewise.
33009 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33010 (UNKNOWN_ENVIRONMENT): Likewise.
33011 (confstr): Include posix-envs.def instead of handling
33012 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33013 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33014 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33015 (END_ENV_GROUP): Likewise.
33016 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33017 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33018 (UNKNOWN_ENVIRONMENT): Likewise.
33019 (__sysconf): Include posix-envs.def instead of handling associated
33020 cases directly here.
33021 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33022 preprocessing getconf-speclist.c rather than running getconf or
33023 generating empty file.
33024
a93f9cbc
PT
330252012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33026
33027 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33028
d64d9f87
AL
330292012-11-16 Andrej Lajovic <natrij@gmail.com>
33030
33031 [BZ #14672]
33032 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33033
447885eb
DM
330342012-11-16 David S. Miller <davem@davemloft.net>
33035
33036 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33037 smaller than LDBL_EPSILON/2.0L, just return xm1.
33038
bcbf9830
L
330392012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * elf/tst-array1.c (init): Set constructor priority to 1000.
33042 (fini): Set destructor priority to 1000.
33043 * elf/tst-array2dep.c: Likewise.
33044
2b766585
SP
330452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33046
33047 [BZ #11741]
33048 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33049 (_IO_new_file_xsputn): Also return EOF if none of the input
33050 data was written when overflow failed.
33051 * libio/iopadn.c (_IO_padn): Likewise.
33052 * libio/iowpadn.c (_IO_wpadn): Likewise.
33053 * stdio-common/tst-put-error.c: Add copyright notice.
33054 (do_test): Add case for printing padded string.
33055 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33056 _IO_padn returned error.
33057 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33058 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33059 return EOF.
33060
b1848fde
SP
330612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33062
33063 * libio/libioP.h: Add comment note that the references to C++
33064 bits are now obsolete.
33065
2fd89785
MS
330662012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33067
33068 * math/libm-test.inc (check_complex): Use asprintf.
33069
e3ea5409
JM
330702012-11-14 Joseph Myers <joseph@codesourcery.com>
33071
33072 * debug/pcprofiledump.c (print_version): Update copyright year.
33073 * malloc/memusagestat.c (print_version): Likewise.
33074
2e64d265
L
330752012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33076
33077 [BZ #14831]
33078 * elf/Makefile (tests): Add tst-audit8.
33079 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33080 ($(objpfx)tst-audit8.out): New target.
33081 (tst-audit8-ENV): New variable.
33082 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33083 audit if l_reloc_result is NULL.
33084 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33085 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33086 * elf/tst-audit8.c: New file.
33087
c485e4d2
MS
330882012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33089
33090 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33091 * misc/Makefile (CFLAGS-select.c): Define.
33092 * posix/Makefile (CFLAGS-pause.c): Define.
33093
3a0d900a
DM
330942012-11-13 David S. Miller <davem@davemloft.net>
33095
33096 * crypt/Makefile: Move test targets after toplevel Rules
33097 inclusion. Grab any necessary sysdep routines when linking.
33098 * crypt/md5.c (md5_process_block): Remove define, we will always
33099 name it __md5_process_block.
33100 (md5_finish_ctx): Update md5_process_block call.
33101 (md5_stream): Likewise.
33102 (md5_process_bytes): Likewise.
33103 (md5_process_block): Rename to __md5_process_block and move to ...
33104 * crypt/md5-block.c: ... here.
33105 * crypt/sha256.c (sha256_process_block): Move to ...
33106 * crypt/sha256-block.c: ... here.
33107 * crypt/sha512.c (sha512_process_block): Move to ...
33108 * crypt/sha512-block.c: ... here.
33109 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33110 path.
33111 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33112 * sysdeps/sparc/sparc64/multiarch/Makefile
33113 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33114 crypt subdir.
33115 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33116 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33117 multiarch changes.
33118 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33119 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33120 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33121 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33122 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33123 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33124 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33125 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33126 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33127 file.
33128 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33129 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33130 file.
33131 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33132
8ca89318
JM
331332012-11-13 Joseph Myers <joseph@codesourcery.com>
33134
e27d476a
JM
33135 * timezone/tzselect.ksh: Update from tzcode git revision
33136 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33137 * timezone/zdump.c: Likewise.
33138 * timezone/zic.c: Likewise.
33139 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33140 in TZVERSION setting, not $(PKGVERSION).
33141 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33142 REPORT_BUGS_TO settings.
33143
8ca89318
JM
33144 [BZ #14838]
33145 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33146 macro.
33147
47594329
MS
331482012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33149
33150 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33151 detection to immediately after _FP_ROUND().
33152 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33153 bits are 0.
33154
640ac3f1
DM
331552012-11-11 David S. Miller <davem@davemloft.net>
33156
33157 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33158 inttypes.h
33159 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33160 __close rather than their public counterparts.
33161
3d2577bb
JM
331622012-11-10 Joseph Myers <joseph@codesourcery.com>
33163
33164 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33165 file.
33166 [UNIX98] (sem_timedwait): Do not expect.
33167 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33168 [XPG4 || UNIX98] (sockatmark): Do not expect.
33169 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33170 (clock_getcpuclockid): Do not expect.
33171 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33172 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33173 Do not expect.
33174 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33175 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33176 [UNIX98] (vwscanf): Likewise.
33177 [UNIX98] (vswscanf): Likewise.
33178
fb1ae1ee
JM
331792012-11-09 Joseph Myers <joseph@codesourcery.com>
33180
9ec6f8bd
JM
33181 * timezone/version.h: Remove file.
33182 * timezone/README: Do not refer to version.h.
33183 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33184 $(objpfx)version.h.
33185 ($(objpfx)zdump.o): Likewise.
c3f81911 33186 ($(objpfx)version.h): New target.
9ec6f8bd 33187
0aa8f8a1
JM
33188 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33189 2012i.
33190 * timezone/README: Don't mention modification to tzselect.ksh.
33191 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33192 work on unmodified tzselect.ksh. Substitute version numbers in
33193 tzselect.ksh.
33194
4e87147f
JM
33195 * Makefile (format-me): Remove.
33196 (INSTALL): Adjust indentation. Use commands directly instead of
33197 using $(format-me).
33198
8b748aed
JM
33199 * aclocal.m4 (ACX_PKGVERSION): New macro.
33200 (ACX_BUGURL): Likewise.
33201 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33202 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33203 (REPORT_BUGS_TO): Likewise.
33204 * configure: Regenerated.
33205 * config.h.in (PKGVERSION): New macro.
33206 (REPORT_BUGS_TO): Likewise.
33207 * config.make.in (PKGVERSION): New variable.
33208 (PKGVERSION_TEXI): Likewise.
33209 (REPORT_BUGS_TO): Likewise.
33210 (REPORT_BUGS_TEXI): Likewise.
33211 * Makefile (format-me): Use -I$(common-objpfx)manual.
33212 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33213 ($(common-objpfx)manual/%): New target.
33214 (manual/%): Remove target.
33215 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33216 (print_version): Use PKGVERSION.
33217 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33218 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33219 and REPORT_BUGS_TO.
33220 ($(objpfx)xtrace): Likewise.
33221 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33222 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33223 (print_version): Use PKGVERSION.
33224 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33225 (do_version): Use PKGVERSION.
33226 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33227 REPORT_BUGS_TO.
33228 (common-ldd-rewrite): Likewise.
33229 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33230 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33231 (print_version): Use PKGVERSION.
33232 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33233 * elf/pldd.c (argp_program_bug_address): Remove variable.
33234 (more_help): New function.
33235 (argp): Use more_help.
33236 (print_version): Use PKGVERSION.
33237 * elf/sln.c (main): Use PKGVERSION.
33238 (usage): Use REPORT_BUGS_TO.
33239 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33240 (top level): Use PKGVERSION.
33241 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33242 (print_version): Use PKGVERSION.
33243 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33244 (print_version): Use PKGVERSION.
33245 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33246 (print_version): Use PKGVERSION.
33247 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33248 (print_version): Use PKGVERSION.
33249 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33250 (print_version): Use PKGVERSION.
33251 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33252 (print_version): Use PKGVERSION.
33253 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33254 and BUGURL.
33255 ($(objpfx)memusage): Likewise.
33256 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33257 (do_version): Use PKGVERSION.
33258 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33259 (print_version): Use PKGVERSION.
33260 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33261 ($PKGVERSION): New variable.
33262 ($REPORT_BUGS_TO): Likewise.
33263 (usage): Use $REPORT_BUGS_TO.
33264 (top level): Use $PKGVERSION.
33265 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33266 ($(objpfx)pkgvers.texi): New rule.
33267 ($(objpfx)stamp-pkgvers): Likewise.
33268 * manual/install.texi: Include pkgvers.texi.
33269 (--with-pkgversion): Document new configure option.
33270 (--with-bugurl): Likewise.
33271 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33272 than necessarily for this particular distribution. Use
33273 REPORT_BUGS_TO for where to report bugs.
33274 * INSTALL: Regenerated.
33275 * manual/libc.texinfo: Include pkgvers.texi.
33276 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33277 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33278 (print_version): Use PKGVERSION.
33279 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33280 (print_version): Use PKGVERSION.
33281 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33282 (print_version): Use PKGVERSION.
33283 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33284 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33285 macro.
33286 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33287 (print_version): Use PKGVERSION.
33288 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33289 (print_version): Use PKGVERSION.
33290 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33291 and PKGVERSION.
33292
92e4b6a9
JM
33293 * timezone/checktab.awk: Update from tzcode 2012i.
33294 * timezone/ialloc.c: Likewise.
33295 * timezone/private.h: Likewise.
33296 * timezone/scheck.c: Likewise.
33297 * timezone/tzfile.h: Likewise.
33298 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33299 (TZVERSION): Hardcode tzcode version number.
33300 * timezone/zdump.c: Update from tzcode 2012i.
33301 * timezone/zic.c: Likewise.
33302 * timezone/version.h: New file.
33303 * timezone/README: Describe version.h. Update upstream location.
33304
9bde902c
JM
33305 [BZ #14824]
33306 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33307 (mktemp): Enable declaration.
33308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33311 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33312 Likewise.
33313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33314 Likewise.
33315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33316 Likewise.
33317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33318 Likewise.
33319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33320 Likewise.
33321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33322 Likewise.
33323
fb1ae1ee
JM
33324 [BZ #14821]
33325 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33326 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33327 for copies of such integer values.
33328 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33329 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33330
2c1adbcb
AJ
333312012-11-09 Andreas Jaeger <aj@suse.de>
33332
33333 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33334 definitions and declarations that are provided by
33335 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33336
d0f8457e
AK
333372012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33338
3a235abb 33339 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33340 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33341 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33342 definition.
33343
57241e26
MS
333442012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33345
33346 * elf/elf.h: Update comment before AArch64 relocations.
33347
60e8270d
DM
333482012-11-07 David S. Miller <davem@davemloft.net>
33349
33350 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33351 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33352 (__start_context): Declare.
33353 (__makecontext_ret): Delete.
33354 (__makecontext): Hook up __start_context instead of
33355 __makecontext_ret.
33356 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33357 (sysdep_routines): Add __start_context when in stdlib.
33358
0fbb0fbc
JM
333592012-11-07 Joseph Myers <joseph@codesourcery.com>
33360
33361 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33362 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33363 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33364 hardcoded "nm".
33365 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33366 (READELF): New variable. Use it instead of hardcoded "readelf".
33367
eb48db7e
L
333682012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33369
33370 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33371 * sysdeps/x86/Makefile: Here.
33372 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33373 * sysdeps/x86/tst-xmmymm.sh: This.
33374
05bcf62a
JM
333752012-11-07 Joseph Myers <joseph@codesourcery.com>
33376
c4b6cf53
JM
33377 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33378 expectations.
33379 [UNIX98] (pthread_barrier_t): Do not expect.
33380 [UNIX98] (pthread_barrierattr_t): Likewise.
33381 [UNIX98] (pthread_spinlock_t): Likewise.
33382 [UNIX98] (pthread_barrier_destroy): Likewise.
33383 [UNIX98] (pthread_barrier_init): Likewise.
33384 [UNIX98] (pthread_barrier_wait): Likewise.
33385 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33386 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33387 [UNIX98] (pthread_barrierattr_init): Likewise.
33388 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33389 [UNIX98] (pthread_getcpuclockid): Likewise.
33390 [UNIX98] (pthread_mutex_timedlock): Likewise.
33391 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33392 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33393 [UNIX98] (pthread_sigmask): Likewise.
33394 [UNIX98] (pthread_spin_destroy): Likewise.
33395 [UNIX98] (pthread_spin_init): Likewise.
33396 [UNIX98] (pthread_spin_lock): Likewise.
33397 [UNIX98] (pthread_spin_trylock): Likewise.
33398 [UNIX98] (pthread_spin_unlock): Likewise.
33399 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33400 Do not expect.
33401 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33402 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33403 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33404 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33405 [XPG3 || XPG4] (pthread_key_t): Likewise.
33406 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33407 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33408 [XPG3 || XPG4] (pthread_once_t): Likewise.
33409 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33410 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33411 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33412 [XPG3 || XPG4] (pthread_t): Likewise.
33413
cbe6e120
JM
33414 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33415 not expect.
33416 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33417
1b126443
JM
33418 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33419 Change function return type to int.
33420
b961a573
JM
33421 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33422 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33423 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33424 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33425 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33426 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33427 [!POSIX] (posix_madvise): Likewise.
33428 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33429 && !UNIX98].
33430 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33431 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33432 (mode_t): Likewise.
33433 (posix_mem_offset): Likewise.
33434 (posix_typed_mem_get_info): Likewise.
33435 (posix_typed_mem_open): Likewise.
33436
9e188909
JM
33437 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33438 Change condition to [XOPEN2K8].
33439
05bcf62a
JM
33440 * conform/conformtest.pl: Preprocess allow-header data with -x c
33441 instead of from stdin.
33442 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33443 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33444 [C99-based standards] (cerfc): Likewise.
33445 [C99-based standards] (cexp2): Likewise.
33446 [C99-based standards] (cexpm1): Likewise.
33447 [C99-based standards] (clog10): Likewise.
33448 [C99-based standards] (clog1p): Likewise.
33449 [C99-based standards] (clog2): Likewise.
33450 [C99-based standards] (clgamma): Likewise.
33451 [C99-based standards] (ctgamma): Likewise.
33452 [C99-based standards] (cerff): Likewise.
33453 [C99-based standards] (cerfcf): Likewise.
33454 [C99-based standards] (cexp2f): Likewise.
33455 [C99-based standards] (cexpm1f): Likewise.
33456 [C99-based standards] (clog10f): Likewise.
33457 [C99-based standards] (clog1pf): Likewise.
33458 [C99-based standards] (clog2f): Likewise.
33459 [C99-based standards] (clgammaf): Likewise.
33460 [C99-based standards] (ctgammaf): Likewise.
33461 [C99-based standards] (cerfl): Likewise.
33462 [C99-based standards] (cerfcl): Likewise.
33463 [C99-based standards] (cexp2l): Likewise.
33464 [C99-based standards] (cexpm1l): Likewise.
33465 [C99-based standards] (clog10l): Likewise.
33466 [C99-based standards] (clog1pl): Likewise.
33467 [C99-based standards] (clog2l): Likewise.
33468 [C99-based standards] (clgammal): Likewise.
33469 [C99-based standards] (ctgammal): Likewise.
33470 * conform/data/inttypes.h-data [C99-based standards]: Include
33471 stdint.h-data. Remove all expectations for stdint.h contents.
33472 [C99-based standards] (PRI*): Do not allow.
33473 [C99-based standards] (SCN*): Likewise.
33474 [C99-based standards] (*_t): Likewise.
33475 [C99-based-standards] (PRId8): Expect macro.
33476 [C99-based-standards] (PRIi8): Likewise.
33477 [C99-based-standards] (PRIo8): Likewise.
33478 [C99-based-standards] (PRIu8): Likewise.
33479 [C99-based-standards] (PRIx8): Likewise.
33480 [C99-based-standards] (PRIX8): Likewise.
33481 [C99-based-standards] (SCNd8): Likewise.
33482 [C99-based-standards] (SCNi8): Likewise.
33483 [C99-based-standards] (SCNo8): Likewise.
33484 [C99-based-standards] (SCNu8): Likewise.
33485 [C99-based-standards] (SCNx8): Likewise.
33486 [C99-based-standards] (PRIdLEAST8): Likewise.
33487 [C99-based-standards] (PRIiLEAST8): Likewise.
33488 [C99-based-standards] (PRIoLEAST8): Likewise.
33489 [C99-based-standards] (PRIuLEAST8): Likewise.
33490 [C99-based-standards] (PRIxLEAST8): Likewise.
33491 [C99-based-standards] (PRIXLEAST8): Likewise.
33492 [C99-based-standards] (SCNdLEAST8): Likewise.
33493 [C99-based-standards] (SCNiLEAST8): Likewise.
33494 [C99-based-standards] (SCNoLEAST8): Likewise.
33495 [C99-based-standards] (SCNuLEAST8): Likewise.
33496 [C99-based-standards] (SCNxLEAST8): Likewise.
33497 [C99-based-standards] (PRIdFAST8): Likewise.
33498 [C99-based-standards] (PRIiFAST8): Likewise.
33499 [C99-based-standards] (PRIoFAST8): Likewise.
33500 [C99-based-standards] (PRIuFAST8): Likewise.
33501 [C99-based-standards] (PRIxFAST8): Likewise.
33502 [C99-based-standards] (PRIXFAST8): Likewise.
33503 [C99-based-standards] (SCNdFAST8): Likewise.
33504 [C99-based-standards] (SCNiFAST8): Likewise.
33505 [C99-based-standards] (SCNoFAST8): Likewise.
33506 [C99-based-standards] (SCNuFAST8): Likewise.
33507 [C99-based-standards] (SCNxFAST8): Likewise.
33508 [C99-based-standards] (PRId16): Likewise.
33509 [C99-based-standards] (PRIi16): Likewise.
33510 [C99-based-standards] (PRIo16): Likewise.
33511 [C99-based-standards] (PRIu16): Likewise.
33512 [C99-based-standards] (PRIx16): Likewise.
33513 [C99-based-standards] (PRIX16): Likewise.
33514 [C99-based-standards] (SCNd16): Likewise.
33515 [C99-based-standards] (SCNi16): Likewise.
33516 [C99-based-standards] (SCNo16): Likewise.
33517 [C99-based-standards] (SCNu16): Likewise.
33518 [C99-based-standards] (SCNx16): Likewise.
33519 [C99-based-standards] (PRIdLEAST16): Likewise.
33520 [C99-based-standards] (PRIiLEAST16): Likewise.
33521 [C99-based-standards] (PRIoLEAST16): Likewise.
33522 [C99-based-standards] (PRIuLEAST16): Likewise.
33523 [C99-based-standards] (PRIxLEAST16): Likewise.
33524 [C99-based-standards] (PRIXLEAST16): Likewise.
33525 [C99-based-standards] (SCNdLEAST16): Likewise.
33526 [C99-based-standards] (SCNiLEAST16): Likewise.
33527 [C99-based-standards] (SCNoLEAST16): Likewise.
33528 [C99-based-standards] (SCNuLEAST16): Likewise.
33529 [C99-based-standards] (SCNxLEAST16): Likewise.
33530 [C99-based-standards] (PRIdFAST16): Likewise.
33531 [C99-based-standards] (PRIiFAST16): Likewise.
33532 [C99-based-standards] (PRIoFAST16): Likewise.
33533 [C99-based-standards] (PRIuFAST16): Likewise.
33534 [C99-based-standards] (PRIxFAST16): Likewise.
33535 [C99-based-standards] (PRIXFAST16): Likewise.
33536 [C99-based-standards] (SCNdFAST16): Likewise.
33537 [C99-based-standards] (SCNiFAST16): Likewise.
33538 [C99-based-standards] (SCNoFAST16): Likewise.
33539 [C99-based-standards] (SCNuFAST16): Likewise.
33540 [C99-based-standards] (SCNxFAST16): Likewise.
33541 [C99-based-standards] (PRId32): Likewise.
33542 [C99-based-standards] (PRIi32): Likewise.
33543 [C99-based-standards] (PRIo32): Likewise.
33544 [C99-based-standards] (PRIu32): Likewise.
33545 [C99-based-standards] (PRIx32): Likewise.
33546 [C99-based-standards] (PRIX32): Likewise.
33547 [C99-based-standards] (SCNd32): Likewise.
33548 [C99-based-standards] (SCNi32): Likewise.
33549 [C99-based-standards] (SCNo32): Likewise.
33550 [C99-based-standards] (SCNu32): Likewise.
33551 [C99-based-standards] (SCNx32): Likewise.
33552 [C99-based-standards] (PRIdLEAST32): Likewise.
33553 [C99-based-standards] (PRIiLEAST32): Likewise.
33554 [C99-based-standards] (PRIoLEAST32): Likewise.
33555 [C99-based-standards] (PRIuLEAST32): Likewise.
33556 [C99-based-standards] (PRIxLEAST32): Likewise.
33557 [C99-based-standards] (PRIXLEAST32): Likewise.
33558 [C99-based-standards] (SCNdLEAST32): Likewise.
33559 [C99-based-standards] (SCNiLEAST32): Likewise.
33560 [C99-based-standards] (SCNoLEAST32): Likewise.
33561 [C99-based-standards] (SCNuLEAST32): Likewise.
33562 [C99-based-standards] (SCNxLEAST32): Likewise.
33563 [C99-based-standards] (PRIdFAST32): Likewise.
33564 [C99-based-standards] (PRIiFAST32): Likewise.
33565 [C99-based-standards] (PRIoFAST32): Likewise.
33566 [C99-based-standards] (PRIuFAST32): Likewise.
33567 [C99-based-standards] (PRIxFAST32): Likewise.
33568 [C99-based-standards] (PRIXFAST32): Likewise.
33569 [C99-based-standards] (SCNdFAST32): Likewise.
33570 [C99-based-standards] (SCNiFAST32): Likewise.
33571 [C99-based-standards] (SCNoFAST32): Likewise.
33572 [C99-based-standards] (SCNuFAST32): Likewise.
33573 [C99-based-standards] (SCNxFAST32): Likewise.
33574 [C99-based-standards] (PRId64): Likewise.
33575 [C99-based-standards] (PRIi64): Likewise.
33576 [C99-based-standards] (PRIo64): Likewise.
33577 [C99-based-standards] (PRIu64): Likewise.
33578 [C99-based-standards] (PRIx64): Likewise.
33579 [C99-based-standards] (PRIX64): Likewise.
33580 [C99-based-standards] (SCNd64): Likewise.
33581 [C99-based-standards] (SCNi64): Likewise.
33582 [C99-based-standards] (SCNo64): Likewise.
33583 [C99-based-standards] (SCNu64): Likewise.
33584 [C99-based-standards] (SCNx64): Likewise.
33585 [C99-based-standards] (PRIdLEAST64): Likewise.
33586 [C99-based-standards] (PRIiLEAST64): Likewise.
33587 [C99-based-standards] (PRIoLEAST64): Likewise.
33588 [C99-based-standards] (PRIuLEAST64): Likewise.
33589 [C99-based-standards] (PRIxLEAST64): Likewise.
33590 [C99-based-standards] (PRIXLEAST64): Likewise.
33591 [C99-based-standards] (SCNdLEAST64): Likewise.
33592 [C99-based-standards] (SCNiLEAST64): Likewise.
33593 [C99-based-standards] (SCNoLEAST64): Likewise.
33594 [C99-based-standards] (SCNuLEAST64): Likewise.
33595 [C99-based-standards] (SCNxLEAST64): Likewise.
33596 [C99-based-standards] (PRIdFAST64): Likewise.
33597 [C99-based-standards] (PRIiFAST64): Likewise.
33598 [C99-based-standards] (PRIoFAST64): Likewise.
33599 [C99-based-standards] (PRIuFAST64): Likewise.
33600 [C99-based-standards] (PRIxFAST64): Likewise.
33601 [C99-based-standards] (PRIXFAST64): Likewise.
33602 [C99-based-standards] (SCNdFAST64): Likewise.
33603 [C99-based-standards] (SCNiFAST64): Likewise.
33604 [C99-based-standards] (SCNoFAST64): Likewise.
33605 [C99-based-standards] (SCNuFAST64): Likewise.
33606 [C99-based-standards] (SCNxFAST64): Likewise.
33607 [C99-based-standards] (PRIdMAX): Likewise.
33608 [C99-based-standards] (PRIiMAX): Likewise.
33609 [C99-based-standards] (PRIoMAX): Likewise.
33610 [C99-based-standards] (PRIuMAX): Likewise.
33611 [C99-based-standards] (PRIxMAX): Likewise.
33612 [C99-based-standards] (PRIXMAX): Likewise.
33613 [C99-based-standards] (SCNdMAX): Likewise.
33614 [C99-based-standards] (SCNiMAX): Likewise.
33615 [C99-based-standards] (SCNoMAX): Likewise.
33616 [C99-based-standards] (SCNuMAX): Likewise.
33617 [C99-based-standards] (SCNxMAX): Likewise.
33618 [C99-based-standards] (PRIdPTR): Likewise.
33619 [C99-based-standards] (PRIiPTR): Likewise.
33620 [C99-based-standards] (PRIoPTR): Likewise.
33621 [C99-based-standards] (PRIuPTR): Likewise.
33622 [C99-based-standards] (PRIxPTR): Likewise.
33623 [C99-based-standards] (PRIXPTR): Likewise.
33624 [C99-based-standards] (SCNdPTR): Likewise.
33625 [C99-based-standards] (SCNiPTR): Likewise.
33626 [C99-based-standards] (SCNoPTR): Likewise.
33627 [C99-based-standards] (SCNuPTR): Likewise.
33628 [C99-based-standards] (SCNxPTR): Likewise.
33629 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33630 allow.
33631 * conform/data/stdint.h-data: Update comments to clarify
33632 requirements.
33633 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33634 type.
33635 [C99-based standards] (INT8_MAX): Likewise.
33636 [C99-based standards] (INT16_MIN): Likewise.
33637 [C99-based standards] (INT16_MAX): Likewise.
33638 [C99-based standards] (INT32_MIN): Likewise.
33639 [C99-based standards] (INT32_MAX): Likewise.
33640 [C99-based standards] (INT64_MIN): Likewise.
33641 [C99-based standards] (INT64_MAX): Likewise.
33642 [C99-based standards] (UINT8_MAX): Likewise.
33643 [C99-based standards] (UINT16_MAX): Likewise.
33644 [C99-based standards] (UINT32_MAX): Likewise.
33645 [C99-based standards] (UINT64_MAX): Likewise.
33646 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33647 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33648 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33649 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33650 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33651 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33652 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33653 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33654 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33655 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33656 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33657 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33658 [C99-based standards] (INT_FAST8_MIN): Likewise.
33659 [C99-based standards] (INT_FAST8_MAX): Likewise.
33660 [C99-based standards] (INT_FAST16_MIN): Likewise.
33661 [C99-based standards] (INT_FAST16_MAX): Likewise.
33662 [C99-based standards] (INT_FAST32_MIN): Likewise.
33663 [C99-based standards] (INT_FAST32_MAX): Likewise.
33664 [C99-based standards] (INT_FAST64_MIN): Likewise.
33665 [C99-based standards] (INT_FAST64_MAX): Likewise.
33666 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33667 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33668 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33669 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33670 [C99-based standards] (INTPTR_MIN): Likewise.
33671 [C99-based standards] (INTPTR_MAX): Likewise.
33672 [C99-based standards] (UINTPTR_MAX): Likewise.
33673 [C99-based standards] (INTMAX_MIN): Likewise.
33674 [C99-based standards] (INTMAX_MAX): Likewise.
33675 [C99-based standards] (UINTMAX_MAX): Likewise.
33676 [C99-based standards] (PTRDIFF_MIN): Likewise.
33677 [C99-based standards] (PTRDIFF_MAX): Likewise.
33678 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33679 [C99-based standards] (SIZE_MAX): Likewise.
33680 [C99-based standards] (WCHAR_MAX): Likewise.
33681 [C99-based standards] (WINT_MAX): Likewise.
33682 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33683 constraint on value.
33684 [C99-based standards] (WCHAR_MIN): Likewise.
33685 [C99-based standards] (WINT_MIN): Likewise.
33686 [C99-based standards] (*_t): Allow.
33687 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33688 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33689 Include math.h-data and complex.h-data. Remove all expectations
33690 of math.h and complex.h contents.
33691 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33692 at end of line.
33693 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33694 (struct tm): Expect tag.
33695 [C99-based-standards] (wcstof): Expect function.
33696 [C99-based-standards] (wcstold): Likewise.
33697 [C99-based-standards] (wcstoll): Likewise.
33698 [C99-based-standards] (wcstoull): Likewise.
33699 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33700 macro-int-constant. Specify type.
33701 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33702 constraint on value.
33703 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33704 Specify type.
33705 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33706 Specify value.
33707 [ISO C standards]: Do not allow headers.
33708 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33709 wcs[abcdefghijklmnopqrstuvwxyz]*.
33710 [ISO C standards] (*_t): Do not allow.
33711 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33712 Expect function.
33713 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33714 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33715 Specify type.
33716 [ISO C standards]: Do not allow headers.
33717 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33718 is[abcdefghijklmnopqrstuvwxyz]*.
33719 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33720 to[abcdefghijklmnopqrstuvwxyz]*.
33721 [ISO C standards] (*_t): Do not allow.
33722 * conform/data/stdalign.h-data: New file.
33723 * conform/data/stdbool.h-data: Likewise.
33724 * conform/data/stdnoreturn.h-data: Likewise.
33725
7514feb8
RM
337262012-11-07 Roland McGrath <roland@hack.frob.com>
33727
33728 [BZ #14815]
33729 * manual/filesys.texi (Directory Entries): Typo fix.
33730 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33731
19b2ecfc
MS
337322012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33733
33734 * elf/elf.h (EM_AARCH64): New macro.
33735 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33736 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33737 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33738 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33739 (R_AARCH64_TLSDESC): Likewise.
33740 (NT_ARM_TLS): Likewise.
33741 (NT_ARM_HW_BREAK): Likewise.
33742 (NT_ARM_HW_WATCH): Likewise.
33743
60e235ee
JM
337442012-11-07 Joseph Myers <joseph@codesourcery.com>
33745
33746 [BZ #14811]
33747 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33748 (__ieee754_powl): Saturate nonzero exponents with absolute value
33749 below 0x1p-79 to +/- 0x1p-79.
33750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33751 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33752 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33753 nonzero exponents with absolute value below 0x1p-32 to +/-
33754 0x1p-32.
33755 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33756 (__ieee754_powl): Saturate nonzero exponents with absolute value
33757 below 0x1p-79 to +/- 0x1p-79.
33758 * math/libm-test.inc (pow_test): Add more tests.
33759
0ab234b7
AK
337602012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33761
33762 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33763 _dl_s390_cap_flags with kernel. Increase string length.
33764 (_dl_s390_platforms): Add z196 and zEC12.
33765
45832f74
JM
337662012-11-07 Joseph Myers <joseph@codesourcery.com>
33767
33768 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33769 Change XOPEN21K to XOPEN2K.
33770
19218757
MK
337712012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33772
33773 * string/memmove.c: Use memcpy when possible.
33774
c5f45721
AJ
337752012-11-06 Andreas Jaeger <aj@suse.de>
33776
33777 * po/eo.po: Update from translation team.
33778
82477c28
JM
337792012-11-06 Joseph Myers <joseph@codesourcery.com>
33780
33781 [BZ #14793]
33782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33783 exponent and small x and y exponents, scale x or y up. Increase
33784 by 2 the exponent used in scaling up.
33785 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33787 * math/libm-test.inc (fma_test): Add more tests.
33788 (fma_test_towardzero): Likewise.
33789 (fma_test_downward): Likewise.
33790 (fma_test_upward): Likewise.
33791
99252c8c
JM
337922012-11-05 Joseph Myers <joseph@codesourcery.com>
33793
acfa885f
JM
33794 [BZ #14805]
33795 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33796 fenv_t *.
33797
99252c8c
JM
33798 [BZ #14801]
33799 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33800 namespace for names of struct fields.
33801 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33802 fenv_t fields.
33803 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33804 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33805
d6d98dea
ST
338062012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33807
33808 [BZ #3665]
33809 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33810
e10bb107
TS
338112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33812
33813 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33814 PTR_DEMANGLE.
33815
33816 [BZ #5246]
33817 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33818 PTR_DEMANGLE.
33819
a0c2940d
JM
338202012-11-04 Joseph Myers <joseph@codesourcery.com>
33821
33822 [BZ #14797]
33823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33824 definitely overflow as x * y not x * y + z.
33825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33827 * math/libm-test.inc (fma_test): Add more tests.
33828 (fma_test_towardzero): Likewise.
33829 (fma_test_downward): Likewise.
33830 (fma_test_upward): Likewise.
33831
b830319d
TS
338322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33833
33834 [BZ #157]
33835
33836 * include/stub-tag.h: Remove file.
33837 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33838 '#include' of it.
33839 * manual/maint.texi (Porting): Don't reference it.
33840 * Makerules ($(objpfx)stubs): Likewise.
33841 * dirent/closedir.c: Don't include <stub-tag.h>.
33842 * dirent/dirfd.c: Likewise.
33843 * dirent/fdopendir.c: Likewise.
33844 * dirent/getdents.c: Likewise.
33845 * dirent/getdents64.c: Likewise.
33846 * dirent/opendir.c: Likewise.
33847 * dirent/readdir.c: Likewise.
33848 * dirent/readdir64.c: Likewise.
33849 * dirent/readdir64_r.c: Likewise.
33850 * dirent/readdir_r.c: Likewise.
33851 * dirent/rewinddir.c: Likewise.
33852 * dirent/seekdir.c: Likewise.
33853 * dirent/telldir.c: Likewise.
33854 * gmon/profil.c: Likewise.
33855 * grp/setgroups.c: Likewise.
33856 * inet/if_index.c: Likewise.
33857 * io/access.c: Likewise.
33858 * io/chdir.c: Likewise.
33859 * io/chmod.c: Likewise.
33860 * io/chown.c: Likewise.
33861 * io/close.c: Likewise.
33862 * io/dup.c: Likewise.
33863 * io/dup2.c: Likewise.
33864 * io/dup3.c: Likewise.
33865 * io/euidaccess.c: Likewise.
33866 * io/faccessat.c: Likewise.
33867 * io/fchdir.c: Likewise.
33868 * io/fchmod.c: Likewise.
33869 * io/fchmodat.c: Likewise.
33870 * io/fchown.c: Likewise.
33871 * io/fchownat.c: Likewise.
33872 * io/fcntl.c: Likewise.
33873 * io/flock.c: Likewise.
33874 * io/fstatfs.c: Likewise.
33875 * io/fstatfs64.c: Likewise.
33876 * io/fstatvfs.c: Likewise.
33877 * io/fstatvfs64.c: Likewise.
33878 * io/futimens.c: Likewise.
33879 * io/fxstat.c: Likewise.
33880 * io/fxstat64.c: Likewise.
33881 * io/fxstatat.c: Likewise.
33882 * io/fxstatat64.c: Likewise.
33883 * io/getcwd.c: Likewise.
33884 * io/isatty.c: Likewise.
33885 * io/lchmod.c: Likewise.
33886 * io/lchown.c: Likewise.
33887 * io/link.c: Likewise.
33888 * io/linkat.c: Likewise.
33889 * io/lseek.c: Likewise.
33890 * io/lseek64.c: Likewise.
33891 * io/lxstat64.c: Likewise.
33892 * io/mkdir.c: Likewise.
33893 * io/mkdirat.c: Likewise.
33894 * io/mkfifo.c: Likewise.
33895 * io/mkfifoat.c: Likewise.
33896 * io/open.c: Likewise.
33897 * io/open64.c: Likewise.
33898 * io/openat.c: Likewise.
33899 * io/openat64.c: Likewise.
33900 * io/pipe.c: Likewise.
33901 * io/pipe2.c: Likewise.
33902 * io/poll.c: Likewise.
33903 * io/posix_fadvise.c: Likewise.
33904 * io/posix_fadvise64.c: Likewise.
33905 * io/posix_fallocate.c: Likewise.
33906 * io/posix_fallocate64.c: Likewise.
33907 * io/read.c: Likewise.
33908 * io/readlink.c: Likewise.
33909 * io/readlinkat.c: Likewise.
33910 * io/rmdir.c: Likewise.
33911 * io/sendfile.c: Likewise.
33912 * io/sendfile64.c: Likewise.
33913 * io/statfs.c: Likewise.
33914 * io/statfs64.c: Likewise.
33915 * io/statvfs.c: Likewise.
33916 * io/statvfs64.c: Likewise.
33917 * io/symlink.c: Likewise.
33918 * io/symlinkat.c: Likewise.
33919 * io/ttyname.c: Likewise.
33920 * io/ttyname_r.c: Likewise.
33921 * io/umask.c: Likewise.
33922 * io/unlink.c: Likewise.
33923 * io/unlinkat.c: Likewise.
33924 * io/utime.c: Likewise.
33925 * io/utimensat.c: Likewise.
33926 * io/write.c: Likewise.
33927 * io/xmknod.c: Likewise.
33928 * io/xmknodat.c: Likewise.
33929 * io/xstat.c: Likewise.
33930 * io/xstat64.c: Likewise.
33931 * login/getpt.c: Likewise.
33932 * login/grantpt.c: Likewise.
33933 * login/unlockpt.c: Likewise.
33934 * math/e_acoshl.c: Likewise.
33935 * math/e_acosl.c: Likewise.
33936 * math/e_asinl.c: Likewise.
33937 * math/e_atan2l.c: Likewise.
33938 * math/e_atanhl.c: Likewise.
33939 * math/e_coshl.c: Likewise.
33940 * math/e_expl.c: Likewise.
33941 * math/e_fmodl.c: Likewise.
33942 * math/e_gammal_r.c: Likewise.
33943 * math/e_hypotl.c: Likewise.
33944 * math/e_j0l.c: Likewise.
33945 * math/e_j1l.c: Likewise.
33946 * math/e_jnl.c: Likewise.
33947 * math/e_lgammal_r.c: Likewise.
33948 * math/e_log10l.c: Likewise.
33949 * math/e_log2l.c: Likewise.
33950 * math/e_logl.c: Likewise.
33951 * math/e_powl.c: Likewise.
33952 * math/e_rem_pio2l.c: Likewise.
33953 * math/e_sinhl.c: Likewise.
33954 * math/e_sqrtl.c: Likewise.
33955 * math/fclrexcpt.c: Likewise.
33956 * math/fedisblxcpt.c: Likewise.
33957 * math/feenablxcpt.c: Likewise.
33958 * math/fegetenv.c: Likewise.
33959 * math/fegetexcept.c: Likewise.
33960 * math/fegetround.c: Likewise.
33961 * math/feholdexcpt.c: Likewise.
33962 * math/fesetenv.c: Likewise.
33963 * math/fesetround.c: Likewise.
33964 * math/feupdateenv.c: Likewise.
33965 * math/fgetexcptflg.c: Likewise.
33966 * math/fraiseexcpt.c: Likewise.
33967 * math/fsetexcptflg.c: Likewise.
33968 * math/ftestexcept.c: Likewise.
33969 * math/k_cosl.c: Likewise.
33970 * math/k_rem_pio2l.c: Likewise.
33971 * math/k_sinl.c: Likewise.
33972 * math/k_tanl.c: Likewise.
33973 * math/s_asinhl.c: Likewise.
33974 * math/s_atanl.c: Likewise.
33975 * math/s_cbrtl.c: Likewise.
33976 * math/s_erfl.c: Likewise.
33977 * math/s_expm1l.c: Likewise.
33978 * math/s_log1pl.c: Likewise.
33979 * math/s_tanhl.c: Likewise.
33980 * misc/acct.c: Likewise.
33981 * misc/brk.c: Likewise.
33982 * misc/chflags.c: Likewise.
33983 * misc/chroot.c: Likewise.
33984 * misc/fchflags.c: Likewise.
33985 * misc/fgetxattr.c: Likewise.
33986 * misc/flistxattr.c: Likewise.
33987 * misc/fremovexattr.c: Likewise.
33988 * misc/fsetxattr.c: Likewise.
33989 * misc/fsync.c: Likewise.
33990 * misc/ftruncate.c: Likewise.
33991 * misc/futimes.c: Likewise.
33992 * misc/futimesat.c: Likewise.
33993 * misc/getdomain.c: Likewise.
33994 * misc/getdtsz.c: Likewise.
33995 * misc/gethostid.c: Likewise.
33996 * misc/gethostname.c: Likewise.
33997 * misc/getloadavg.c: Likewise.
33998 * misc/getpagesize.c: Likewise.
33999 * misc/getsysstats.c: Likewise.
34000 * misc/getxattr.c: Likewise.
34001 * misc/gtty.c: Likewise.
34002 * misc/ioctl.c: Likewise.
34003 * misc/lgetxattr.c: Likewise.
34004 * misc/listxattr.c: Likewise.
34005 * misc/llistxattr.c: Likewise.
34006 * misc/lremovexattr.c: Likewise.
34007 * misc/lsetxattr.c: Likewise.
34008 * misc/lutimes.c: Likewise.
34009 * misc/madvise.c: Likewise.
34010 * misc/mincore.c: Likewise.
34011 * misc/mlock.c: Likewise.
34012 * misc/mlockall.c: Likewise.
34013 * misc/mmap.c: Likewise.
34014 * misc/mprotect.c: Likewise.
34015 * misc/msync.c: Likewise.
34016 * misc/munlock.c: Likewise.
34017 * misc/munlockall.c: Likewise.
34018 * misc/munmap.c: Likewise.
34019 * misc/preadv.c: Likewise.
34020 * misc/preadv64.c: Likewise.
34021 * misc/ptrace.c: Likewise.
34022 * misc/pwritev.c: Likewise.
34023 * misc/pwritev64.c: Likewise.
34024 * misc/readv.c: Likewise.
34025 * misc/reboot.c: Likewise.
34026 * misc/remap_file_pages.c: Likewise.
34027 * misc/removexattr.c: Likewise.
34028 * misc/revoke.c: Likewise.
34029 * misc/select.c: Likewise.
34030 * misc/setdomain.c: Likewise.
34031 * misc/setegid.c: Likewise.
34032 * misc/seteuid.c: Likewise.
34033 * misc/sethostid.c: Likewise.
34034 * misc/sethostname.c: Likewise.
34035 * misc/setregid.c: Likewise.
34036 * misc/setreuid.c: Likewise.
34037 * misc/setxattr.c: Likewise.
34038 * misc/sstk.c: Likewise.
34039 * misc/stty.c: Likewise.
34040 * misc/swapoff.c: Likewise.
34041 * misc/swapon.c: Likewise.
34042 * misc/sync.c: Likewise.
34043 * misc/syncfs.c: Likewise.
34044 * misc/syscall.c: Likewise.
34045 * misc/truncate.c: Likewise.
34046 * misc/ualarm.c: Likewise.
34047 * misc/usleep.c: Likewise.
34048 * misc/ustat.c: Likewise.
34049 * misc/utimes.c: Likewise.
34050 * misc/vhangup.c: Likewise.
34051 * misc/writev.c: Likewise.
34052 * posix/_exit.c: Likewise.
34053 * posix/alarm.c: Likewise.
34054 * posix/execve.c: Likewise.
34055 * posix/fexecve.c: Likewise.
34056 * posix/fork.c: Likewise.
34057 * posix/fpathconf.c: Likewise.
34058 * posix/getaddrinfo.c: Likewise.
34059 * posix/getegid.c: Likewise.
34060 * posix/geteuid.c: Likewise.
34061 * posix/getgid.c: Likewise.
34062 * posix/getgroups.c: Likewise.
34063 * posix/getlogin.c: Likewise.
34064 * posix/getlogin_r.c: Likewise.
34065 * posix/getpgid.c: Likewise.
34066 * posix/getpid.c: Likewise.
34067 * posix/getppid.c: Likewise.
34068 * posix/getresgid.c: Likewise.
34069 * posix/getresuid.c: Likewise.
34070 * posix/getsid.c: Likewise.
34071 * posix/getuid.c: Likewise.
34072 * posix/glob64.c: Likewise.
34073 * posix/nanosleep.c: Likewise.
34074 * posix/pathconf.c: Likewise.
34075 * posix/pause.c: Likewise.
34076 * posix/posix_madvise.c: Likewise.
34077 * posix/pread.c: Likewise.
34078 * posix/pread64.c: Likewise.
34079 * posix/pwrite.c: Likewise.
34080 * posix/pwrite64.c: Likewise.
34081 * posix/sched_getaffinity.c: Likewise.
34082 * posix/sched_getp.c: Likewise.
34083 * posix/sched_gets.c: Likewise.
34084 * posix/sched_primax.c: Likewise.
34085 * posix/sched_primin.c: Likewise.
34086 * posix/sched_rr_gi.c: Likewise.
34087 * posix/sched_setaffinity.c: Likewise.
34088 * posix/sched_setp.c: Likewise.
34089 * posix/sched_sets.c: Likewise.
34090 * posix/sched_yield.c: Likewise.
34091 * posix/setgid.c: Likewise.
34092 * posix/setlogin.c: Likewise.
34093 * posix/setpgid.c: Likewise.
34094 * posix/setresgid.c: Likewise.
34095 * posix/setresuid.c: Likewise.
34096 * posix/setsid.c: Likewise.
34097 * posix/setuid.c: Likewise.
34098 * posix/sleep.c: Likewise.
34099 * posix/spawni.c: Likewise.
34100 * posix/sysconf.c: Likewise.
34101 * posix/times.c: Likewise.
34102 * posix/wait.c: Likewise.
34103 * posix/wait3.c: Likewise.
34104 * posix/wait4.c: Likewise.
34105 * posix/waitpid.c: Likewise.
34106 * resolv/gai_sigqueue.c: Likewise.
34107 * resource/getpriority.c: Likewise.
34108 * resource/getrlimit.c: Likewise.
34109 * resource/getrusage.c: Likewise.
34110 * resource/nice.c: Likewise.
34111 * resource/setpriority.c: Likewise.
34112 * resource/setrlimit.c: Likewise.
34113 * resource/ulimit.c: Likewise.
34114 * rt/aio_cancel.c: Likewise.
34115 * rt/aio_fsync.c: Likewise.
34116 * rt/aio_read.c: Likewise.
34117 * rt/aio_sigqueue.c: Likewise.
34118 * rt/aio_suspend.c: Likewise.
34119 * rt/aio_write.c: Likewise.
34120 * rt/clock_getres.c: Likewise.
34121 * rt/clock_gettime.c: Likewise.
34122 * rt/clock_nanosleep.c: Likewise.
34123 * rt/clock_settime.c: Likewise.
34124 * rt/lio_listio.c: Likewise.
34125 * rt/mq_close.c: Likewise.
34126 * rt/mq_getattr.c: Likewise.
34127 * rt/mq_notify.c: Likewise.
34128 * rt/mq_open.c: Likewise.
34129 * rt/mq_receive.c: Likewise.
34130 * rt/mq_send.c: Likewise.
34131 * rt/mq_setattr.c: Likewise.
34132 * rt/mq_timedreceive.c: Likewise.
34133 * rt/mq_timedsend.c: Likewise.
34134 * rt/mq_unlink.c: Likewise.
34135 * rt/shm_open.c: Likewise.
34136 * rt/shm_unlink.c: Likewise.
34137 * rt/timer_create.c: Likewise.
34138 * rt/timer_delete.c: Likewise.
34139 * rt/timer_getoverr.c: Likewise.
34140 * rt/timer_gettime.c: Likewise.
34141 * rt/timer_settime.c: Likewise.
34142 * setjmp/__longjmp.c: Likewise.
34143 * setjmp/setjmp.c: Likewise.
34144 * signal/kill.c: Likewise.
34145 * signal/killpg.c: Likewise.
34146 * signal/raise.c: Likewise.
34147 * signal/sigaction.c: Likewise.
34148 * signal/sigaltstack.c: Likewise.
34149 * signal/sigblock.c: Likewise.
34150 * signal/sigignore.c: Likewise.
34151 * signal/sigintr.c: Likewise.
34152 * signal/signal.c: Likewise.
34153 * signal/sigpause.c: Likewise.
34154 * signal/sigpending.c: Likewise.
34155 * signal/sigqueue.c: Likewise.
34156 * signal/sigreturn.c: Likewise.
34157 * signal/sigset.c: Likewise.
34158 * signal/sigsetmask.c: Likewise.
34159 * signal/sigstack.c: Likewise.
34160 * signal/sigsuspend.c: Likewise.
34161 * signal/sigtimedwait.c: Likewise.
34162 * signal/sigvec.c: Likewise.
34163 * signal/sigwait.c: Likewise.
34164 * signal/sigwaitinfo.c: Likewise.
34165 * signal/sysv_signal.c: Likewise.
34166 * socket/accept.c: Likewise.
34167 * socket/accept4.c: Likewise.
34168 * socket/bind.c: Likewise.
34169 * socket/connect.c: Likewise.
34170 * socket/getpeername.c: Likewise.
34171 * socket/getsockname.c: Likewise.
34172 * socket/getsockopt.c: Likewise.
34173 * socket/isfdtype.c: Likewise.
34174 * socket/listen.c: Likewise.
34175 * socket/recv.c: Likewise.
34176 * socket/recvfrom.c: Likewise.
34177 * socket/recvmsg.c: Likewise.
34178 * socket/send.c: Likewise.
34179 * socket/sendmsg.c: Likewise.
34180 * socket/sendto.c: Likewise.
34181 * socket/setsockopt.c: Likewise.
34182 * socket/shutdown.c: Likewise.
34183 * socket/sockatmark.c: Likewise.
34184 * socket/socket.c: Likewise.
34185 * socket/socketpair.c: Likewise.
34186 * stdio-common/ctermid.c: Likewise.
34187 * stdio-common/cuserid.c: Likewise.
34188 * stdio-common/remove.c: Likewise.
34189 * stdio-common/rename.c: Likewise.
34190 * stdio-common/renameat.c: Likewise.
34191 * stdio-common/tempname.c: Likewise.
34192 * stdlib/getcontext.c: Likewise.
34193 * stdlib/makecontext.c: Likewise.
34194 * stdlib/setcontext.c: Likewise.
34195 * stdlib/swapcontext.c: Likewise.
34196 * stdlib/system.c: Likewise.
34197 * streams/fattach.c: Likewise.
34198 * streams/fdetach.c: Likewise.
34199 * streams/getmsg.c: Likewise.
34200 * streams/getpmsg.c: Likewise.
34201 * streams/putmsg.c: Likewise.
34202 * streams/putpmsg.c: Likewise.
34203 * sysdeps/unix/bsd/getpt.c: Likewise.
34204 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34205 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34206 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34208 Likewise.
34209 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34210 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34211 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34212 * sysvipc/msgctl.c: Likewise.
34213 * sysvipc/msgget.c: Likewise.
34214 * sysvipc/msgrcv.c: Likewise.
34215 * sysvipc/msgsnd.c: Likewise.
34216 * sysvipc/semctl.c: Likewise.
34217 * sysvipc/semget.c: Likewise.
34218 * sysvipc/semop.c: Likewise.
34219 * sysvipc/semtimedop.c: Likewise.
34220 * sysvipc/shmat.c: Likewise.
34221 * sysvipc/shmctl.c: Likewise.
34222 * sysvipc/shmdt.c: Likewise.
34223 * sysvipc/shmget.c: Likewise.
34224 * termios/tcdrain.c: Likewise.
34225 * termios/tcflow.c: Likewise.
34226 * termios/tcflush.c: Likewise.
34227 * termios/tcgetattr.c: Likewise.
34228 * termios/tcgetpgrp.c: Likewise.
34229 * termios/tcsendbrk.c: Likewise.
34230 * termios/tcsetattr.c: Likewise.
34231 * termios/tcsetpgrp.c: Likewise.
34232 * time/adjtime.c: Likewise.
34233 * time/clock.c: Likewise.
34234 * time/getitimer.c: Likewise.
34235 * time/gettimeofday.c: Likewise.
34236 * time/setitimer.c: Likewise.
34237 * time/settimeofday.c: Likewise.
34238 * time/stime.c: Likewise.
34239 * time/time.c: Likewise.
34240
342412012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34242
a20492cf
PT
34243 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34244 /usr/old/bin.
34245
72e182e3
PT
34246 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34247 instead of spaces.
34248 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34249
fbeafede
JM
342502012-11-03 Joseph Myers <joseph@codesourcery.com>
34251
5b5b04d6
JM
34252 [BZ #14796]
34253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34254 FE_TONEAREST before applying Dekker multiplication and Knuth
34255 addition. Clear inexact exceptions and check for exact zero
34256 results afterwards.
34257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34258 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34260 * math/libm-test.inc (fma_test): Add more tests.
34261 (fma_test_towardzero): Likewise.
34262 (fma_test_downward): Likewise.
34263 (fma_test_upward): Likewise.
34264 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34265 function.
34266 (libc_fesetround): New macro.
34267 (libc_fesetroundf): Likewise.
34268 (libc_fesetroundl): Likewise.
34269 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34270 function.
34271 (libc_fesetround_387): Likewise.
34272 (libc_fesetroundf): New macro.
34273 (libc_fesetround): Likewise.
34274 (libc_fesetroundl): Likewise.
34275 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34276 function.
34277 (libc_fesetroundf): New macro.
34278 (libc_fesetround): Likewise.
34279 (libc_fesetroundl): Likewise.
34280 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34281 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34282 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34283 libm_hidden_ver.
34284 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34285 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34286 libm_hidden_def.
34287 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34288 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34289 libm_hidden_ver.
34290 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34291 libm_hidden_def.
34292
fbeafede
JM
34293 [BZ #3439]
34294 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34295 integer constant usable in #if and use that to give value to enum
34296 constant.
34297 (FE_DIVBYZERO): Likewise.
34298 (FE_UNDERFLOW): Likewise.
34299 (FE_OVERFLOW): Likewise.
34300 (FE_INVALID): Likewise.
34301 (FE_INVALID_SNAN): Likewise.
34302 (FE_INVALID_ISI): Likewise.
34303 (FE_INVALID_IDI): Likewise.
34304 (FE_INVALID_ZDZ): Likewise.
34305 (FE_INVALID_IMZ): Likewise.
34306 (FE_INVALID_COMPARE): Likewise.
34307 (FE_INVALID_SOFTWARE): Likewise.
34308 (FE_INVALID_SQRT): Likewise.
34309 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34310 (FE_TONEAREST): Likewise.
34311 (FE_TOWARDZERO): Likewise.
34312 (FE_UPWARD): Likewise.
34313 (FE_DOWNWARD): Likewise.
34314 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34315 (FE_DIVBYZERO): Likewise.
34316 (FE_OVERFLOW): Likewise.
34317 (FE_UNDERFLOW): Likewise.
34318 (FE_INEXACT): Likewise.
34319 (FE_TONEAREST): Likewise.
34320 (FE_DOWNWARD): Likewise.
34321 (FE_UPWARD): Likewise.
34322 (FE_TOWARDZERO): Likewise.
34323 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34324 (FE_UNDERFLOW): Likewise.
34325 (FE_OVERFLOW): Likewise.
34326 (FE_DIVBYZERO): Likewise.
34327 (FE_INVALID): Likewise.
34328 (FE_TONEAREST): Likewise.
34329 (FE_TOWARDZERO): Likewise.
34330 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34331 (FE_OVERFLOW): Likewise.
34332 (FE_UNDERFLOW): Likewise.
34333 (FE_DIVBYZERO): Likewise.
34334 (FE_INEXACT): Likewise.
34335 (FE_TONEAREST): Likewise.
34336 (FE_TOWARDZERO): Likewise.
34337 (FE_UPWARD): Likewise.
34338 (FE_DOWNWARD): Likewise.
34339 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34340 (FE_DIVBYZERO): Likewise.
34341 (FE_OVERFLOW): Likewise.
34342 (FE_UNDERFLOW): Likewise.
34343 (FE_INEXACT): Likewise.
34344 (FE_TONEAREST): Likewise.
34345 (FE_DOWNWARD): Likewise.
34346 (FE_UPWARD): Likewise.
34347 (FE_TOWARDZERO): Likewise.
34348
105ca950
CM
343492012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34350
34351 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34352
a542b389
AS
343532012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34354
34355 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34356 commands. Quote $PWD.
34357 (blacklist_exports): Don't use remove_newlines. Replace "declare
34358 -x" by "export".
34359 (remove_newlines): Remove.
34360
f62c8abc
L
343612012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34362
34363 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34364 * stdlib/stdlib.h (atof): Moved to ...
34365 * include/bits/stdlib-float.h: Here. New file.
34366 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34367 * stdlib/bits/stdlib-float.h: New file.
34368 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34369 -mno-sse -mno-mmx.
34370 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34371 <xmmintrin.h>.
34372
0155d5b2
JM
343732012-11-02 Joseph Myers <joseph@codesourcery.com>
34374
a68d0680
JM
34375 * conform/conformtest.pl (@headers): Add fenv.h.
34376 * conform/data/fenv.h-data: New file.
34377 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34378 include of <math/fenv.h>.
34379
caf7f573
JM
34380 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34381 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34382 && !UNIX98]. Enables tests for XOPEN2K8.
34383 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34384 POSIX2008]: Likewise.
34385
6c073ad6
JM
34386 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34387 (struct rusage): Do not expect type or its members.
34388
0155d5b2
JM
34389 [BZ #3439]
34390 * math/math.h (FP_NAN): Define macro to integer constant usable in
34391 #if and use that to give value to enum constant.
34392 (FP_INFINITE): Likewise.
34393 (FP_ZERO): Likewise.
34394 (FP_SUBNORMAL): Likewise.
34395 (FP_NORMAL): Likewise.
34396
b5dcacb4
AS
343972012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34398
34399 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34400 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34401 arguments.
34402
f7934be8
RM
344032012-11-02 Roland McGrath <roland@hack.frob.com>
34404
34405 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34406 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34407 autoconf-time if not.
34408 * configure.in: Remove AC_PREREQ.
34409
d7d08bde
TMQMF
344102012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34411
34412 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34413 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34414 of the internal implementation.
34415
dcdae19a
JM
344162012-11-02 Joseph Myers <joseph@codesourcery.com>
34417
34418 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34419 except include of <misc/sys/syslog.h>.
34420
d6cffd3e
AS
344212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34422
34423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34424 function returns with a NULL context exit with zero.
34425
b3563932
TMQMF
344262012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34427
34428 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34429
b288a93d
L
344302012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34431
34432 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34433 (run_program_cmd): This.
34434 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34435 (tst_langinfo): New variable. Use it.
34436
a2421a68
SAS
344372012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34438
34439 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34440 floating point opcodes.
34441
6f796e1b
TS
344422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34443
7402596b
TS
34444 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34445 variable.
34446
d0d4f868
TS
34447 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34448
6f796e1b
TS
34449 * sysdeps/mach/hurd/powerpc: Remove directory.
34450 * sysdeps/mach/powerpc: Likewise.
34451
4da224a2
AS
344522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34453
34454 * scripts/check-local-headers.sh: Ignore c++ headers.
34455
341dd673
TS
344562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34457
34458 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34459 __libc_cleanup_region_start argument.
34460
473611b2
JM
344612012-11-01 Joseph Myers <joseph@codesourcery.com>
34462
34463 [BZ #14784]
34464 [BZ #14785]
34465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34466 x * y using scaling, not as x * y + z.
34467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34469 * math/libm-test.inc (fma_test): Add more tests.
34470 (fma_test_towardzero): Likewise.
34471 (fma_test_downward): Likewise.
34472 (fma_test_upward): Likewise.
34473
4078da3d
TS
344742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34475
34476 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34477
903252aa
JM
344782012-10-31 Joseph Myers <joseph@codesourcery.com>
34479
34480 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34481 New variable.
34482
cbc818d0
TS
344832012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34484
34485 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34486
5a03cb1e
AS
344872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34488
34489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34490 Fix sort order.
34491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34492 Likewise.
34493
90aff2ff
TMQMF
344942012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34495
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34497 Fix the order of the list for glibc 2.17.
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34499 Likewise.
34500
1818fcb7
AS
345012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34502
34503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34504
ef82f4da
JM
345052012-10-31 Joseph Myers <joseph@codesourcery.com>
34506
16a0e2ec
JM
34507 [BZ #14610]
34508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34509 for low part of x being zero before using __atanl (y).
34510 * math/libm-test.inc (atan2_test): Add another test.
34511
0eb69512
JM
34512 * manual/install.texi (Configuring and compiling): Document
34513 general use of test-wrapper and test-wrapper-env.
34514 * INSTALL: Regenerated.
34515
ef82f4da
JM
34516 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34517 (__fma): Do not extract and scale down low bits on after-rounding
34518 systems when result rounded to normal precision would have normal
34519 exponent.
34520 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34521 (__fmal): Do not extract and scale down low bits on after-rounding
34522 systems when result rounded to normal precision would have normal
34523 exponent.
34524 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34525 (__fmal): Do not extract and scale down low bits on after-rounding
34526 systems when result rounded to normal precision would have normal
34527 exponent.
34528 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34529 macro.
34530 (fma_test): Add more tests.
34531 (fma_test_towardzero): Likewise.
34532 (fma_test_downward): Likewise.
34533 (fma_test_upward): Likewise.
34534
954ef0d9
L
345352012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34536
34537 * sysdeps/i386/tininess.h: Renamed to ...
34538 * sysdeps/x86/tininess.h: This.
34539 * sysdeps/x86_64/tininess.h: Removed.
34540
df61ffb2
JM
345412012-10-30 Joseph Myers <joseph@codesourcery.com>
34542
34543 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34544 input. Use $(build-program-cmd).
34545 ($(objpfx)tst-array1-static.out): Likewise.
34546 ($(objpfx)tst-array2.out): Likewise.
34547 ($(objpfx)tst-array3.out): Likewise.
34548 ($(objpfx)tst-array4.out): Likewise.
34549 ($(objpfx)tst-array5.out): Likewise.
34550 ($(objpfx)tst-array5-static.out): Likewise.
34551
01767843
CM
345522012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34553
47cc1490
CM
34554 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34555 if defined.
34556
01767843
CM
34557 * nss/nsswitch.h (nss_interface_function): Provide new
34558 macro for use with NSS functions.
34559 * grp/initgroups.c: Use new macro.
34560 * nss/getXXbyYY.c: Likewise.
34561 * nss/getXXbyYY_r.c: Likewise.
34562 * nss/getXXent.c: Likewise.
34563 * nss/getXXent_r.c: Likewise.
34564 * sysdeps/posix/getaddrinfo.c: Likewise.
34565
8321aa97
AJ
345662012-10-30 Andreas Jaeger <aj@suse.de>
34567
34568 * po/ru.po: Update Russion translation from translation project.
34569
2a27fd6d
JM
345702012-10-30 Joseph Myers <joseph@codesourcery.com>
34571
8627a232
JM
34572 [BZ #14152]
34573 [BZ #14783]
34574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34575 result and shift together with sticky bit instead of replicating
34576 round-to-nearest rounding.
34577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34578 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34579 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34580 missing underflow exceptions.
34581 (fma_test_towardzero): Add more tests.
34582 (fma_test_downward): Likewise.
34583 (fma_test_upward): Likewise.
34584
2a27fd6d
JM
34585 [BZ #14047]
34586 * sysdeps/generic/tininess.h: New file.
34587 * sysdeps/i386/tininess.h: Likewise.
34588 * sysdeps/sh/tininess.h: Likewise.
34589 * sysdeps/x86_64/tininess.h: Likewise.
34590 * stdlib/tst-strtod-underflow.c: Likewise.
34591 * stdlib/tst-tininess.c: Likewise.
34592 * stdlib/strtod_l.c: Include <tininess.h>.
34593 (round_and_return): Do not set errno for exact underflow cases.
34594 Force an underflow exception when setting errno for underflow.
34595 Determine underflow based on rounding to normal precision if
34596 TININESS_AFTER_ROUNDING.
34597 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34598 ERANGE for exact underflow cases.
34599 * stdlib/Makefile (tests): Add tst-tininess and
34600 tst-strtod-underflow.
34601 ($(objpfx)tst-tininess): Use $(link-libm).
34602 ($(objpfx)tst-strtod-underflow): Likewise.
34603
e7170363
AJ
346042012-10-30 Andreas Jaeger <aj@suse.de>
34605
e5088dc6
AJ
34606 [BZ#14767]
34607 * elf/Makefile (tests): Remove conditional for have-initfini-array
34608 since this is now always required and the variable does not exist
34609 anymore.
34610 (tests-static): Likewise.
34611 (modules-names): Likewise.
34612
e7170363 34613 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
34614
34615 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34616 merged with constructor/destructor.
34617 (init_array): Likewise.
34618 * elf/tst-array2dep.c (fini_array): Likewise.
34619 (init_array): Likewise.
34620
60457d8a
MF
346212012-10-29 Mike Frysinger <vapier@gentoo.org>
34622
34623 * manual/message.texi: Delete @cartouche tags.
34624
8bece752
PT
346252012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34626
94ce799f
PT
34627 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34628 EOPNOTSUPP.
34629 * sysdeps/mach/hurd/fsync.c: Likewise.
34630
8bece752
PT
34631 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34632 [_POSIX_REALTIME_SIGNALS]: Change condition to
34633 [_POSIX_REALTIME_SIGNALS > 0].
34634
86ebe6b1
AJ
346352012-10-27 Andreas Jaeger <aj@suse.de>
34636
34637 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34638 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34640 [__WORDSIZE != 64]: Likewise.
34641
54399c08
L
346422012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34643
34644 * iconvdata/tst-table.sh: Remove ${SHELL}.
34645 * iconvdata/tst-tables.sh: Likewise.
34646
e2211bed
DM
346472012-10-25 David S. Miller <davem@davemloft.net>
34648
34649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34650 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34651 of strtoull.
34652
f303f97c
DM
34653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34654 ifunc-impl-list.c
34655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34656 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34657 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34658 file.
34659
1e9d84cd
RM
346602012-10-25 Roland McGrath <roland@hack.frob.com>
34661
34662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34663 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34664 __getdirentries.
34665
df381762
JM
346662012-10-25 Joseph Myers <joseph@codesourcery.com>
34667 Jim Blandy <jimb@codesourcery.com>
34668
34669 * scripts/cross-test-ssh.sh: New file.
34670 * manual/install.texi (Configuring and compiling): Document use of
34671 cross-test-ssh.sh.
34672 * INSTALL: Regenerated.
34673
bff64913
PT
346742012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34675
34676 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34677 EOPNOTSUPP.
34678
25fe8932
JM
346792012-10-25 Joseph Myers <joseph@codesourcery.com>
34680
34681 * Makeconfig (run-program-prefix): Fix comment.
34682
cc1290d0
JM
346832012-10-24 Joseph Myers <joseph@codesourcery.com>
34684 Jim Blandy <jimb@codesourcery.com>
34685
34686 * Makeconfig (test-wrapper): New variable,
34687 (test-wrapper-env): Likewise.
34688 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34689 (run-built-tests): Define to yes.
34690 (run-program-prefix): Use $(test-wrapper).
34691 (built-program-cmd): Likewise.
34692 * Rules (make-test-out): Use $(test-wrapper-env) and
34693 $(host-built-program-cmd).
34694 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34695 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34696 tst-pathopt.sh.
34697 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34698 $(test-wrapper-env) to tst-rtld-load-self.sh.
34699 ($(objpfx)order2.out): Use $(test-wrapper).
34700 ($(objpfx)tst-initorder.out): Likewise.
34701 ($(objpfx)tst-initorder2.out): Likewise.
34702 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34703 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34704 (test_wrapper_env): New variable. Use it to run ld.so.
34705 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34706 Use it to run ld.so.
34707 (test_wrapper_env): Likewise.
34708 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34709 $(test-wrapper) to run-iconv-test.sh.
34710 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34711 (ICONV): Use $test_wrapper.
34712 * posix/Makefile ($(objpfx)globtest.out): Pass
34713 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34714 globtest.sh, not $(run-program-prefix).
34715 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34716 (test_wrapper): Likewise.
34717 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34718 set together with run_via_rtld_prefix.
34719 (run_program_prefix): Define in terms of test_wrapper and
34720 run_via_rtld_prefix.
34721
6e6249d0
RM
347222012-10-24 Roland McGrath <roland@hack.frob.com>
34723
34724 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34725 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34726 Targets removed.
34727
34728 [BZ #14743]
34729 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34730 Declare __clock_getres, __clock_gettime, __clock_settime,
34731 __clock_nanosleep, and __clock_getcpuclockid.
34732 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34733 Remove librt_hidden_def (clock_gettime).
34734 * sysdeps/unix/clock_gettime.c: Likewise.
34735 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34736 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34737 * rt/clock_getres.c: Define __clock_getres as an alias.
34738 * sysdeps/posix/clock_getres.c: Likewise.
34739 * rt/clock_settime.c: Define __clock_settime as an alias.
34740 * sysdeps/unix/clock_settime.c: Likewise.
34741 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34742 * sysdeps/unix/clock_nanosleep.c: Likewise.
34743 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34744 * rt/clock-compat.c: New file.
34745 * rt/Makefile (librt-routines): Add clock-compat and move
34746 $(clock-routines) to ...
34747 (routines): ... here, new variable.
34748 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34749 Don't add get_clockfreq here.
34750 * rt/Versions (libc: GLIBC_2.17): New version set.
34751 Add clock_* symbols here.
34752 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34753 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34754 (GLIBC_2.17): Add clock_* symbols.
34755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34757 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34759 Likewise.
34760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34761 Likewise.
34762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34766 * NEWS: Mention the move.
34767
34768 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34769 Use __open, __read, __close rather than their public counterparts.
34770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34771 (__get_clockfreq_via_cpuinfo): Likewise.
34772 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34773 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34774
34775 * config.h.in (HAVE_IFUNC): New #undef.
34776 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34777 was successful.
34778 * configure: Regenerated.
34779
0cae3f4b
MF
347802012-10-24 Mike Frysinger <vapier@gentoo.org>
34781
34782 * configure.in: Move READELF check to start of file.
34783 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34784 libc_cv_asm_gnu_indirect_function in the process.
34785 * configure: Regenerated.
34786
8175a253
MF
347872012-10-24 Mike Frysinger <vapier@gentoo.org>
34788
34789 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34790 send the output to /dev/null.
34791 (libc_cv_cc_with_libunwind): Likewise.
34792 (libc_cv_as_noexecstack): Likewise.
34793 * configure: Regenerate.
34794
0708a7d1
JM
347952012-10-24 Joseph Myers <joseph@codesourcery.com>
34796
10b40d85
JM
34797 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34798
0708a7d1
JM
34799 * posix/globtest.sh (TMPDIR): Do not set.
34800 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34801 (testout): Likewise.
34802
9fddec1a
AJ
348032012-10-24 Andreas Jaeger <aj@suse.de>
34804
3a8db22f
AJ
34805 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34806 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34807 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34808 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34809 posix_fadvise64, posix_fallocate64.
34810
9fddec1a
AJ
34811 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34812 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34813 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34814 Likewise.
34815 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34816 Likewise.
34817 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34818
34819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34820 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34821 <bits/fcntl-linux.h>.
34822 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34823
34824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34825 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34826 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34827 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34828 [__WORDSIZE != 64]: Likewise.
34829
ebfd1bbd
JM
348302012-10-23 Joseph Myers <joseph@codesourcery.com>
34831
03ac099f
JM
34832 * Makeconfig (run-built-tests): New variable.
34833 * Rules [$(cross-compiling) = yes]: Change condition to
34834 [$(run-built-tests) = no].
34835 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34836 to [$(run-built-tests) = yes].
34837 * elf/Makefile [$(cross-compiling) = no]: Likewise
34838 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34839 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34840 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34841 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34842 * io/Makefile [$(cross-compiling) = no]: Likewise.
34843 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34844 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34845 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34846 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34847 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34848 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34849 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34850 * string/Makefile [$(cross-compiling) = no]: Likewise.
34851
ebfd1bbd
JM
34852 * posix/Makefile ($(objpfx)globtest.out): Pass
34853 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34854 $(rtld-installed-name).
34855 * posix/globtest.sh (elf_objpfx): Remove variable.
34856 (rtld_installed_name): Likewise.
34857 (library_path): Likewise.
34858 (run_program_prefix): New variable. Use for running globtest
34859 binary.
34860
166bca24
JB
348612012-10-23 Jim Blandy <jimb@codesourcery.com>
34862 Joseph Myers <joseph@codesourcery.com>
34863
34864 * Makeconfig (host-built-program-cmd): New variable.
34865 * elf/Makefile (tst-stackguard1-ARGS): Use
34866 $(host-built-program-cmd).
34867 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34868 (tst-spawn-ARGS): Likewise.
34869 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34870
88866099
JM
348712012-10-23 Joseph Myers <joseph@codesourcery.com>
34872 Jim Blandy <jimb@codesourcery.com>
34873
34874 * Makeconfig (run-via-rtld-prefix): New variable.
34875 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34876 (built-program-cmd): Likewise.
34877
b4b4c296
AJ
348782012-10-22 Andreas Jaeger <aj@suse.de>
34879
34880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34881 __O_RSYNC if it exists, otherwise to O_SYNC.
34882
6fb54a22
JB
348832012-10-22 Jim Blandy <jimb@codesourcery.com>
34884 Joseph Myers <joseph@codesourcery.com>
34885
34886 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34887 /dev/null.
34888 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34889 from /dev/null
34890 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34891 /dev/null.
34892
481b90b9
AJ
348932012-10-22 Andreas Jaeger <aj@suse.de>
34894
2a0e2669
AJ
34895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34896 Define always.
34897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34898
76e38f9a
AJ
34899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34900 bits/fcntl-linux.h.
34901
7cd37b43
AJ
34902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34903 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34904
481b90b9
AJ
34905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34906 to __O_LARGEFILE.
34907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34908 to __O_LARGEFILE.
34909
aba75984
JB
349102012-10-21 Jim Blandy <jimb@codesourcery.com>
34911 Joseph Myers <joseph@codesourcery.com>
34912
34913 * config.make.in (NM): New variable.
34914
88d4247f
AJ
349152012-10-21 Andreas Jaeger <aj@suse.de>
34916
34917 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34918 definitions and declarations that are provided by
34919 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34920
f2eed205
L
349212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34922
34923 [BZ #14683]
34924 * elf/Makefile (tests-static): Add tst-leaks1-static.
34925 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34926 ($(objpfx)tst-leaks1-static): New rule.
34927 ($(objpfx)tst-leaks1-static-mem): Likewise.
34928 (tst-leaks1-static-ENV): New macro.
34929 * elf/dl-open.c (dl_open_worker): Check the main application
34930 only if SHARED is defined.
34931 * elf/tst-leaks1-static.c: New file.
34932
335e6931
AJ
349332012-10-20 Andreas Jaeger <aj@suse.de>
34934
34935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34936 generic values for Linux.
34937 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34938 and declarations that are provided by <bits/fcntl-linux.h> and
34939 include <bits/fcntl-linux.h>.
34940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34942
ac5c94d3
RM
349432012-10-20 Roland McGrath <roland@hack.frob.com>
34944
34945 * io/fcntl.h: Move include of <bits/types.h> to the top and
34946 include it unconditionally.
34947
de54b33a
L
349482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34949
228cfb01
L
34950 * wcsmbs/Makefile (tests-ifunc): New variable.
34951 (tests): Add $(tests-ifunc).
34952 * wcsmbs/test-wcschr-ifunc.c: New file.
34953 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34954 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34955 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34956 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34957 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34958
69f07e5f
L
34959 * string/Makefile (tests-ifunc): New variable.
34960 (tests): Add $(tests-ifunc).
34961 * string/test-memccpy.c (TEST_NAME): New macro.
34962 * string/test-memchr.c (TEST_NAME): Likewise.
34963 * string/test-memcmp.c (TEST_NAME): Likewise.
34964 * string/test-memcpy.c (TEST_NAME): Likewise.
34965 * string/test-memmem.c (TEST_NAME): Likewise.
34966 * string/test-memmove.c (TEST_NAME): Likewise.
34967 * string/test-memset.c (TEST_NAME): Likewise.
34968 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34969 * string/test-stpcpy.c (TEST_NAME): Likewise.
34970 * string/test-stpncpy.c (TEST_NAME): Likewise.
34971 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34972 * string/test-strcasestr.c (TEST_NAME): Likewise.
34973 * string/test-strcat.c (TEST_NAME): Likewise.
34974 * string/test-strchr.c (TEST_NAME): Likewise.
34975 * string/test-strcmp.c(TEST_NAME): Likewise.
34976 * string/test-strcpy.c (TEST_NAME): Likewise.
34977 * string/test-strcspn.c (TEST_NAME): Likewise.
34978 * string/test-strlen.c (TEST_NAME): Likewise.
34979 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34980 * string/test-strncmp.c (TEST_NAME): Likewise.
34981 * string/test-strncpy.c (TEST_NAME): Likewise.
34982 * string/test-strnlen.c (TEST_NAME): Likewise.
34983 * string/test-strpbrk.c (TEST_NAME): Likewise.
34984 * string/test-strrchr.c (TEST_NAME): Likewise.
34985 * string/test-strspn.c (TEST_NAME): Likewise.
34986 * string/test-strstr.c (TEST_NAME): Likewise.
34987 * string/test-bcopy-ifunc.c: New file.
34988 * string/test-bzero-ifunc.c: Likewise.
34989 * string/test-memccpy-ifunc.c: Likewise.
34990 * string/test-memchr-ifunc.c: Likewise.
34991 * string/test-memcmp-ifunc.c: Likewise.
34992 * string/test-memcpy-ifunc.c: Likewise.
34993 * string/test-memmem-ifunc.c: Likewise.
34994 * string/test-memmove-ifunc.c: Likewise.
34995 * string/test-mempcpy-ifunc.c: Likewise.
34996 * string/test-memset-ifunc.c: Likewise.
34997 * string/test-rawmemchr-ifunc.c: Likewise.
34998 * string/test-stpcpy-ifunc.c: Likewise.
34999 * string/test-stpncpy-ifunc.c: Likewise.
35000 * string/test-strcasecmp-ifunc.c: Likewise.
35001 * string/test-strcasestr-ifunc.c: Likewise.
35002 * string/test-strcat-ifunc.c: Likewise.
35003 * string/test-strchr-ifunc.c: Likewise.
35004 * string/test-strchrnul-ifunc.c: Likewise.
35005 * string/test-strcmp-ifunc.c: Likewise.
35006 * string/test-strcpy-ifunc.c: Likewise.
35007 * string/test-strcspn-ifunc.c: Likewise.
35008 * string/test-strlen-ifunc.c: Likewise.
35009 * string/test-strncasecmp-ifunc.c: Likewise.
35010 * string/test-strncat-ifunc.c: Likewise.
35011 * string/test-strncmp-ifunc.c: Likewise.
35012 * string/test-strncpy-ifunc.c: Likewise.
35013 * string/test-strnlen-ifunc.c: Likewise.
35014 * string/test-strpbrk-ifunc.c: Likewise.
35015 * string/test-strrchr-ifunc.c: Likewise.
35016 * string/test-strspn-ifunc.c: Likewise.
35017 * string/test-strstr-ifunc.c: Likewise.
35018
de54b33a
L
35019 * debug/Makefile (tests-ifunc): New variable.
35020 (tests): Add $(tests-ifunc).
35021 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35022 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35023 * debug/test-stpcpy_chk-ifunc.c: New file.
35024 * debug/test-strcpy_chk-ifunc.c: Likewise.
35025
88481c16
SP
350262012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35027
35028 [BZ #13601]
35029 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35030 header is not read in.
35031
135948bd
JM
350322012-10-19 Joseph Myers <joseph@codesourcery.com>
35033
89f1c388
JM
35034 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35035 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35036 directly. Pass built executable to script as
35037 $(built-program-cmd).
35038 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35039 $testprogram without using LD_LIBRARY_PATH and $ldso.
35040
e40a0d21
JM
35041 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35042 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35043 $(rtld-installed-name).
35044 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35045 (rtld_installed_name): Likewise.
35046 (library_path): Likewise.
35047 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35048 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35049 $(run-program-prefix) to tst-tables.sh.
35050 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35051 it to run tst-table-from and tst-table-to.
35052 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35053 Pass it to tst-table.sh.
35054 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35055 $(run-program-prefix) to tst-gettext.sh.
35056 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35057 tst-translit.sh.
35058 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35059 tst-gettext2.sh.
35060 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35061 to run tst-gettext.
35062 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35063 to run tst-gettext2.
35064 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35065 to run tst-translit.
35066 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35067 $(run-program-prefix) to tst-mtrace.sh.
35068 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35069 to run tst-mtrace.
35070 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35071 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35072 $(rtld-installed-name).
35073 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35074 (rtld_installed_name): Likewise.
35075 (run_program_prefix): New variable. Use it to run wordexp-test.
35076
728e272a
JM
35077 * Makeconfig (ARCH): Remove all definitions.
35078 (machine): Likewise.
35079 [ARCH]: Remove conditional code.
35080 [!objdir]: Give error.
35081 [!objdir] (objpfx): Remove.
35082 [!objdir] (common-objpfx): Likewise.
35083 [!objdir] (common-objdir): Likewise.
35084 * configure.in (config_makefile): Remove. Hardcode Makefile in
35085 AC_CONFIG_FILES call.
35086 * configure: Regenerated.
35087
d528cdcf
JM
35088 [BZ #13888]
35089 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35090 or TMPDIR.
35091 (testout): Likewise.
35092
135948bd
JM
35093 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35094 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35095 $(rtld-installed-name).
35096 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35097 (rtld_installed_name): Likwise.
35098 (runit): Remove function.
35099 (run_getconf): New variable, Use it for running getconf binary.
35100
38c78296
L
351012012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35102
35103 [BZ #14716]
35104 * string/test-memmem.c (check_result): New function.
35105 (do_one_test): Use it.
35106 (check1): New function.
35107 (test_main): Use it.
35108
d077f65f
MT
351092012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35110
35111 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35112
ced52c71
JM
351132012-10-18 Joseph Myers <joseph@codesourcery.com>
35114
35115 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35116 (_G_LSEEK64): Likewise.
35117 (_G_MMAP64): Likewise.
35118 (_G_FSTAT64): Likewise.
35119 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35120 (_G_LSEEK64): Likewise.
35121 (_G_MMAP64): Likewise.
35122 (_G_FSTAT64): Likewise.
35123 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35124 unconditional. Call __mmap64 directly.
35125 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35126 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35127 __lseek64 directly.
35128 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35129 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35130 __mmap64 directly.
35131 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35132 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35133 __lseek64 directly.
35134 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35135 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35136 __lseek64 directly.
35137 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35138 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35139 __lseek64 directly.
35140 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35141 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35142 __fxstat64 directly.
35143 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35144 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35145 unconditional.
35146 (freopen64) [!_G_OPEN64]: Remove conditional code.
35147 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35148 unconditional.
35149 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35150 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35151 unconditional.
35152 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35153 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35154 unconditional.
35155 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35156 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35157 unconditional.
35158 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35159 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35160 unconditional.
35161 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35162 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35163 unconditional.
35164 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35165 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35166 unconditional.
35167 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35168
b741de23
SP
351692012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35170
35171 [BZ #12140]
35172 * manual/memory.texi (Malloc Tunable Parameters): Add note
35173 about free list pointers overwriting some perturb bytes.
35174 Wording suggested by Roland McGrath.
35175
f9b9d9c9
JM
351762012-10-17 Joseph Myers <joseph@codesourcery.com>
35177
35178 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35179 (lgamma_test): Likewise.
35180 (tgamma_test): Likewise.
35181
172a631a
FW
351822012-10-16 Florian Weimer <fweimer@redhat.com>
35183
35184 [BZ #14700]
35185 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35186 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35187
e9f37252
MK
351882012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35189
35190 * NEWS: Mention BZ #14716.
35191 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35192 when removing AVAILABLE1_USES_J macro.
35193
d394eb74
L
351942012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35195
35196 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35197 (__bswap_64): __uint64_t for unsigned 64-bit int.
35198
ca38dc17
AS
351992012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35200
35201 * include/string.h (memmem): Declare libc hidden alias.
35202 * string/memmem.c (memmem): Define libc hidden alias.
35203 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35204 __read, __close instead of open, read, close.
35205
9a387d1f
L
352062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35207
ac49ecaf
L
35208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35209 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35210 global and hidden.
35211 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35212 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35213 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35214 Likewise.
35215 (__rawmemchr_sse2): Likewise.
35216 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35217 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35218 (__strchr_sse2): Likewise.
35219 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35220 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35221 (__strcasecmp_sse2): Likewise.
35222 (__strncasecmp_sse2): Likewise.
35223 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35224 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35225 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35226 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35227 (__strrchr_sse2): Likewise.
35228 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35229 ifunc-impl-list.c.
35230 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35231 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35232 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35233 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35234 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35235 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35236 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35237 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35238 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35239 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35240 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35241 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35242 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35243 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35244 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35245 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35246 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35247 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35248 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35249 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35250 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35251 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35252 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35253 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35254 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35255 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35256 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35257 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35258 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35259 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35260
b090e8ea
L
35261 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35262 global and hidden.
35263 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35264 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35265 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35266 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35267 Likewise.
35268 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35269 Likewise.
35270 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35271 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35272 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35273 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35274 ifunc-impl-list.c.
35275 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35276 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35277 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35281 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35283 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35290 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35291 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35292 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35293 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35294 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35295 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35296 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35297 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35298 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35299 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35300 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35301 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35302 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35303 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35304 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35305 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35306 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35307 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35308 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35309 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35310 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35311 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35312 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35313 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35315 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35316
11dd4af6
L
35317 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35318 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35319 * include/ifunc-impl-list.h: New file.
35320 * misc/ifunc-impl-list.c: Likewise.
35321 * misc/Makefile (routines): Add ifunc-impl-list.
35322 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35323 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35324 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35325 TEST_NAME]: New variables.
11dd4af6
L
35326 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35327 are defined.
35328 (test_init): Call __libc_ifunc_impl_list to initialize
35329 func_list if TEST_IFUNC and TEST_NAME are defined.
35330
9a387d1f
L
35331 * string/Makefile (strop-tests): Add bcopy and bzero.
35332 * string/test-bcopy.c: New file.
35333 * string/test-bzero.c: Likewise.
35334 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35335 defined.
35336 * string/test-memset.c: Support bzero test if TEST_BZERO is
35337 defined.
35338 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35339 __libc_memmove.
35340 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35341 __libc_memset.
35342 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35343 of memset.
35344
472371b9
JM
353452012-10-10 Joseph Myers <joseph@codesourcery.com>
35346
1e4a9536
JM
35347 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35348 * configure: Regenerated.
35349
d173d12e
JM
35350 * Makeconfig (+link-static-before-libc): Don't include
35351 $(link-static-libc).
35352
472371b9
JM
35353 * libio/libio.h (_IO_pos_t): Remove.
35354
89a3ad0b
AO
353552012-10-10 Alexandre Oliva <aoliva@redhat.com>
35356
35357 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35358 McGrath.
35359
e7451425
AO
353602012-10-10 Alexandre Oliva <aoliva@redhat.com>
35361
35362 * crypt/crypt-entry.c: Include fips-private.h.
35363 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35364 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35365 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35366 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35367
4ba74a35
AO
353682012-10-10 Alexandre Oliva <aoliva@redhat.com>
35369
35370 * crypt/crypt-private.h: Include stdbool.h.
35371 (_ufc_setup_salt_r): Return bool.
35372 * crypt/crypt-entry.c: Include errno.h.
35373 (__crypt_r): Return NULL with EINVAL for bad salt.
35374 * crypt/crypt_util.c (bad_for_salt): New.
35375 (_ufc_setup_salt_r): Check that salt is long enough and within
35376 the specified alphabet.
35377 * crypt/badsalttest.c: New file.
35378 * crypt/Makefile (tests): Add it.
35379 ($(objpfx)badsalttest): New.
35380
f96f1242
MK
353812012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35382
35383 * NEWS: Add entry for BZ #14602.
35384
0e8e0c1c
JM
353852012-10-09 Joseph Myers <joseph@codesourcery.com>
35386
35387 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35388 type-generic.
35389 * math/libm-test.inc: Update comment listing what functions and
35390 macros are tested.
35391 (isgreater_test): New function.
35392 (isgreaterequal_test): Likewise.
35393 (isless_test): Likewise.
35394 (islessequal_test): Likewise.
35395 (islessgreater_test): Likewise.
35396 (isunordered_test): Likewise.
35397 (main): Call the new functions.
35398
273edc5e
RM
353992012-10-09 Roland McGrath <roland@hack.frob.com>
35400
b8493de0
RM
35401 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35402 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35403 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35404 * sysdeps/i386/configure: Regenerated.
35405 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35406 * sysdeps/mach/configure: Regenerated.
35407 * sysdeps/mach/hurd/configure: Regenerated.
35408 * sysdeps/powerpc/configure: Regenerated.
35409 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35410 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35411 * sysdeps/s390/s390-32/configure: Regenerated.
35412 * sysdeps/s390/s390-64/configure: Regenerated.
35413 * sysdeps/sh/configure: Regenerated.
35414 * sysdeps/sparc/configure: Regenerated.
35415 * sysdeps/unix/sysv/linux/configure: Regenerated.
35416 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35417 * sysdeps/x86_64/configure: Regenerated.
35418
273edc5e
RM
35419 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35420 defined. Don't check if MAP is NULL.
35421
c8450f70
JM
354222012-10-09 Joseph Myers <joseph@codesourcery.com>
35423
35424 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35425 (_G_stat64): Likewise.
35426 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35427 (_G_stat64): Likewise.
35428 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35429 instead of struct _G_stat64.
35430 * libio/fileops.c (mmap_remap_check): Likewise.
35431 (decide_maybe_mmap): Likewise.
35432 (_IO_new_file_seekoff): Likewise.
35433 (_IO_file_stat): Likewise.
35434 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35435 _G_off64_t.
35436 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35437 instead of struct _G_stat64.
35438 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35439
57e605ba
MK
354402012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35441
35442 [BZ #14602]
35443 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35444 Replace with ...
35445 (CHECK_EOL): New macro.
35446 (two_way_short_needle): Check beginning of haystack for EOL. Use
35447 CHECK_EOL.
35448 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35449 Replace with CHECK_EOL.
35450 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35451 Replace with CHECK_EOL.
35452
ef1bb361
JM
354532012-10-08 Joseph Myers <joseph@codesourcery.com>
35454
35455 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35456 type-generic.
35457 * math/libm-test.inc: Update comment listing what functions and
35458 macros are tested.
35459 (finite_test): New function.
35460 (isinf_test): Likewise.
35461 (isnan_test): Likewise.
35462 (fpclassify_test): Test subnormal input.
35463 (isfinite_test): Likewise.
35464 (isnormal_test): Likewise.
35465 (main): Call the new functions.
35466
55f11534
JN
354672012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35468
35469 [BZ #14660]
35470 * Makerules (%.dynsym): Force C locale when running
35471 $(OBJDUMP) --dynamic-syms.
35472
1ab29350
AS
354732012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35474
35475 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35476 <stdint.h>.
35477
f1ecb7ef
DM
354782012-10-06 David S. Miller <davem@davemloft.net>
35479
35480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35481 upper 32-bits of the length value in %o2 since we use branch-on-register
35482 tests which consider the entire 64-bit register.
35483
5d41d91a
L
354842012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35485
35486 * string/test-strstr.c (check2): Add a test for page boundary.
35487
3baddb72
DM
354882012-10-05 David S. Miller <davem@davemloft.net>
35489
35490 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35491 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35492 file.
35493 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35494 sysdep_routines.
35495 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35496 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35497 and bzero when HWCAP_SPARC_CRYPTO is present.
35498
9cee5585
L
354992012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35500
d7e0dab9
L
35501 [BZ #14602]
35502 * string/test-strstr.c (check2): New function.
35503 (test_main): Call check2.
35504
03759f47
L
35505 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35506 and bug-strchr1.
35507 * string/bug-strcasestr1.c (do_test): Moved to ...
35508 * string/test-strcasestr.c (check1): Here. New function.
35509 (do_one_test): Break out result checking code into ...
35510 (check_result): This. New function.
35511 (do_one_test): Call check_result.
35512 (test_main): Call check1.
35513 * string/bug-strchr1.c (do_test): Moved to ...
35514 * string/test-strchr.c (check1): Here. New function.
35515 (do_one_test): Break out result checking code into ...
35516 (check_result): This. New function.
35517 (do_one_test): Call check_result.
35518 (test_main): Call check1.
35519 * string/bug-strstr1.c (main): Moved to ...
046f153e 35520 * string/test-strstr.c (check1): Here. New function.
03759f47
L
35521 (do_one_test): Break out result checking code into ...
35522 (check_result): This. New function.
35523 (do_one_test): Call check_result.
35524 (test_main): Call check1.
35525 * string/bug-strcasestr1.c: Removed.
35526 * string/bug-strchr1.c: Likewise.
35527 * string/bug-strstr1.c: Likewise.
35528
53cea63e
L
35529 * elf/Makefile (dl-routines): Add hwcaps.
35530 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35531 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35532 (_dl_important_hwcaps): Moved to ...
35533 * elf/dl-hwcaps.c: Here. New file.
35534 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35535
9cee5585 35536 [BZ #14557]
bb859b06
L
35537 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35538 if IS_IN_rtld isn't defined.
35539
9cee5585
L
35540 * elf/dl-support.c (_dl_sysinfo_map): New.
35541 Include "get-dynamic-info.h" and "setup-vdso.h".
35542 (_dl_non_dynamic_init): Call setup_vdso.
35543 * elf/dynamic-link.h: Don't include <assert.h>.
35544 (elf_get_dynamic_info): Moved to ...
35545 * elf/get-dynamic-info.h: Here. New file.
35546 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35547 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35548 * elf/setup-vdso.h: Here. New file.
35549 * elf/rtld.c: Include "setup-vdso.h".
35550 (dl_main): Call setup_vdso.
35551
23c31b76
JM
355522012-10-05 Joseph Myers <joseph@codesourcery.com>
35553
28234b07
JM
35554 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35555 creal in comment listing functions tested. List finite, isinf,
35556 isnan, isless, islessequal, isgreater, isgreaterequal,
35557 islessgreater, isunordered, lgamma_r and pow10 as functions and
35558 macros not tested. Mention which functions not tested are aliases
35559 for other functions. Fix typo. Note that signs of NaNs are not
35560 tested.
35561
23c31b76
JM
35562 * scripts/config.guess: Update from config.git.
35563 * scripts/config.sub: Likewise.
35564
9043e228
RM
355652012-10-04 Roland McGrath <roland@hack.frob.com>
35566
35567 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35568 * misc/madvise.c (madvise): Renamed to __madvise.
35569 Make madvise a weak alias.
35570 * include/sys/mman.h: Declare __madvise.
35571 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35572 * sysdeps/unix/syscalls.list
35573 (madvise): Make __madvise the strong name, and madvise a weak alias.
35574 * sysdeps/unix/sysv/linux/syscalls.list
35575 (madvise, mmap): Remove redundant entries.
35576 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35577 * malloc/malloc.c (mtrim): Likewise.
35578 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35579
f57f8055
RM
355802012-10-03 Roland McGrath <roland@hack.frob.com>
35581
35582 * sysdeps/mach/hurd/dl-cache.c: File removed.
35583 * config.h.in (USE_LDCONFIG): New #undef.
35584 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35585 * configure: Regenerated.
35586 * elf/Makefile (dl-routines): Add dl-cache only under
35587 [$(use-ldconfig) = yes].
35588 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35589 cache on [USE_LDCONFIG].
35590 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35591 [USE_LDCONFIG].
35592 * elf/rtld.c (dl_main): Likewise.
35593
5bb0c10a
PT
355942012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35595
35596 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35597 _SC_LEVEL4_CACHE_LINESIZE.
35598
010188c6
RM
355992012-10-03 Roland McGrath <roland@hack.frob.com>
35600
35601 * sysdeps/unix/bsd/confstr.h: File removed.
35602
b6c5ec07
AO
356032012-10-02 Alexandre Oliva <aoliva@redhat.com>
35604
35605 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35606 sys/sdt-config.h.
35607
408223d4
RM
356082012-10-02 Roland McGrath <roland@hack.frob.com>
35609
35610 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35611 Make 'mapoff' field ElfW(Off) rather than off_t.
35612
bb9510dc
DL
356132012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35614
fc997c6e
DL
35615 * nscd/Makefile: Remove nscd-cflags and all its users.
35616 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35617 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35618
bb9510dc
DL
35619 [BZ #10631]
35620 * malloc.c (malloc_printerr): Clarify error message.
35621
05699367
L
356222012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35623
35624 [BZ #14648]
35625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35626 Set bit_FMA_Usable if FMA is supported.
35627 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35628 macro.
35629 (bit_FMA4_Usable): Updated.
35630 (index_FMA_Usable): New macro.
35631 (CPUID_FMA): Likewise
35632 (HAS_FMA): Defined with bit_FMA_Usable.
35633
51367701
RM
356342012-10-01 Roland McGrath <roland@hack.frob.com>
35635
35636 * bits/types.h (__swblk_t): Type removed.
35637 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35638 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35640 (__SWBLK_T_TYPE): Likewise.
35641 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35642 (__SWBLK_T_TYPE): Likewise.
35643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35644 (__SWBLK_T_TYPE): Likewise.
35645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35646 (__SWBLK_T_TYPE): Likewise.
35647
4d57bf63 356482012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 35649 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
35650
35651 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35652 (xdr_mapname): Use YPMAXMAP as maxsize.
35653 (xdr_peername): Use YPMAXPEER as maxsize.
35654 (xdr_keydat): Use YPAXRECORD as maxsize.
35655 (xdr_valdat): Use YPMAXRECORD as maxsize.
35656
93c65d43
RM
356572012-10-01 Roland McGrath <roland@hack.frob.com>
35658
497a03d6
RM
35659 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35660
93c65d43
RM
35661 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35662 * csu/init-first.c: ... here.
35663 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35664 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35665 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35666 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35667 * sysdeps/i386/init-first.c: File removed.
35668 * sysdeps/sh/init-first.c: File removed.
35669
bec749fd
JM
356702012-10-01 Joseph Myers <joseph@codesourcery.com>
35671
35672 [BZ #14645]
35673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35674 if x * y might underflow to zero and z is zero.
35675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35676 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35677 * math/libm-test.inc (min_subnorm_value): New variable.
35678 (fma_test): Add more tests.
35679 (fma_test_towardzero): Likewise.
35680 (fma_test_downward): Likewise
35681 (fma_test_upward): Likewise.
35682 (initialize): Set min_subnorm_value.
35683
8ec5b013
JM
356842012-09-29 Joseph Myers <joseph@codesourcery.com>
35685
35686 [BZ #14638]
35687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35688 0 + 0.
35689 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35690 mode for addition resulting in exact zero.
35691 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35693 exact 0 + 0.
35694 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35696 * math/libm-test.inc (fma_test): Add more tests.
35697 (fma_test_towardzero): New function.
35698 (fma_test_downward): Likewise.
35699 (fma_test_upward): Likewise.
35700 (main): Call the new functions.
35701
b1fa802e
DM
357022012-09-28 David S. Miller <davem@davemloft.net>
35703
35704 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35705
d3b9fd9e
RM
357062012-09-28 Roland McGrath <roland@hack.frob.com>
35707
ea4d37b3
RM
35708 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35709 instead of SIGALRM.
35710
ac51c949
RM
35711 * sysdeps/gnu/_G_config.h: Moved to ...
35712 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35713 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35714 * sysdeps/generic/_G_config.h: ... here.
35715
28c195f7
RM
35716 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35717
848917f9
RM
35718 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35719
6bacf05b
RM
35720 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35721 Conditionalize target on [libnss_test1.so-version].
35722
91363dbb
RM
35723 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35724
cc87f7d8
RM
35725 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35726 (elfobjdir): Move out of conditionals.
35727
b1c608fe
RM
35728 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35729 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35730 (__nss_lookup_function): Conditionalize label remove_from_tree on
35731 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 35732
1d9a6d96
DM
357332012-09-28 David S. Miller <davem@davemloft.net>
35734
35735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35736 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35737 file.
35738 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35739 sysdep_routines.
35740 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35742 when HWCAP_SPARC_CRYPTO is present.
35743
72581615
PT
357442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35745
35746 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35747
715a900c
JL
357482012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35749
35750 [BZ #6530]
35751 * stdio-common/vfprintf.c (process_string_arg): Revert
35752 2000-07-22 change.
35753
357542011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35755
35756 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35757 for testcase.
35758 * stdio-common/tst-sprintf.c: Include <locale.h>
35759 (main): Test sprintf's handling of incomplete multibyte
35760 characters.
35761
9bac1d86
L
357622012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35763
35764 * elf/dl-runtime.c (VERSYMIDX): Removed.
35765 * elf/dl-version.c (VERSYMIDX): Likewise.
35766 * elf/do-rel.h (VERSYMIDX): Likewise.
35767 (VALIDX): Likewise.
35768 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35769 * elf/rtld.c (VALIDX): Likewise.
35770 (ADDRIDX): Likewise.
9bac1d86
L
35771 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35772 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35773 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
35774 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35775 (VALIDX): Likewise.
35776 (ADDRIDX): Likewise.
9bac1d86 35777
b31606c0
PT
357782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35779
35780 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35781
11541177
JL
357822012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35783
35784 [BZ #11438]
35785 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35786 to global scope.
35787 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35788 addresses are in the same scope as 192.0.2/24.
35789 * posix/gai.conf: Document new scope table defaults.
35790
adb26fae
SP
357912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35792
35793 [BZ #5298]
35794 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35795 for ftell. Compute offsets from write pointers instead.
35796 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35797
4573c6b0
SP
357982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35799
35800 [BZ #14543]
35801 * libio/Makefile (tests): New test case tst-fseek.
35802 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35803 combination works in wide mode.
35804 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35805 state when the external buffer state changes.
35806
aa9bbfe6
DM
358072012-09-27 David S. Miller <davem@davemloft.net>
35808
35809 [BZ #14376]
35810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35811 pass reloc->r_addend in as the 'high' argument to
35812 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35813
784421e7
DM
35814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35815
c39bc8b8
PT
358162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35817
35818 * rt/tst-aio2.c: Include <pthread.h>.
35819 * rt/tst-aio3.c: Likewise.
35820
1ccc2399
SE
358212012-09-27 Steve Ellcey <sellcey@mips.com>
35822
35823 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35824
31ed4153
L
358252012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35826
25f5f885
L
35827 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35828 contents on [SHARED].
31ed4153 35829
b7bfe116
MP
358302012-09-26 Marek Polacek <polacek@redhat.com>
35831
35832 [BZ #14530]
35833 [BZ #13741]
35834 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35835 for C++ and GCC <4.3 as well as for non GCC compilers.
35836
43c4edba
MT
358372012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35838
35839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35840
6a1bf82f
RM
358412012-09-25 Roland McGrath <roland@hack.frob.com>
35842
35843 * Makefile.in (all, install): Declare with .PHONY.
35844 Reported by Michael Hope <michael.hope@linaro.org>.
35845
8ad11b9a
TMQMF
358462012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35847
35848 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35849 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35850 system header.
35851 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35852 Likewise.
35853 (sydep_routines): Add the new and the internal functions.
35854 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35855 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35857 (GLIBC_2.17): Add the new function.
35858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35859 (GLIBC_2.17): Likewise.
35860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35861 (GLIBC_2.17): Likewise.
35862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35863 (GLIBC_2.17): Likewise.
35864 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35865
7e2fca8d
AM
358662012-09-25 Alan Modra <amodra@gmail.com>
35867
35868 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35869 Add release barrier before setting once_control to say
35870 initialisation is done. Add hints on lwarx. Use macro in
35871 place of isync.
35872 (clear_once_control): Add release barrier.
35873
b87c4b24
JM
358742012-09-25 Joseph Myers <joseph@codesourcery.com>
35875
d032e0d2
JM
35876 [BZ #13629]
35877 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35878 specially.
35879 * math/s_clog10.c (__clog10): Likewise.
35880 * math/s_clog10f.c (__clog10f): Likewise.
35881 * math/s_clog10l.c (__clog10l): Likewise.
35882 * math/s_clogf.c (__clogf): Likewise.
35883 * math/s_clogl.c (__clogl): Likewise.
35884 * math/Makefile (libm-calls): Add x2y2m1.
35885 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35886 (__x2y2m1): Likewise.
35887 (__x2y2m1l): Likewise.
35888 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35889 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35892 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35893 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35894 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35895 * sysdeps/i386/fpu/libm-test-ulps: Update.
35896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35897
b87c4b24
JM
35898 [BZ #14621]
35899 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35900 int as type of variable DEPTH.
35901 (glob): Use size_t instead of int as type of variables NEWCOUNT
35902 and OLD_PATHC.
35903
6d3bf199
LD
359042012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35905
22bf5c17
LD
35906 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35907 Add s_sincosf-sse2.
35908 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35909 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35910 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35911 macros for using routine as __sincosf_ia32.
35912 Use macro for function declaration and weak_alias.
35913 * sysdeps/i386/fpu/libm-test-ulps: Update.
35914
35915 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35917
35918 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
35919 subnormal argument.
35920 * math/s_cexpf.c (__cexpf): Likewise.
35921 * math/s_csinf.c (__csinf): Likewise.
35922 * math/s_csinhf.c (__csinhf): Likewise.
35923 * math/s_ctanf.c (__ctanf): Likewise.
35924 * math/s_ctanhf.c (__ctanhf): Likewise.
35925 * math/s_ccosh.c (__ccoshf): Likewise.
35926 * math/s_cexp.c (__cexpl): Likewise.
35927 * math/s_csin.c (__csin): Likewise.
35928 * math/s_csinh.c (__csinh): Likewise.
35929 * math/s_ctan.c (__ctan): Likewise.
35930 * math/s_ctanh.c (ctanh): Likewise.
35931 * math/s_ccoshl.c (__ccoshl): Likewise.
35932 * math/s_cexpl.c (__cexpl): Likewise.
35933 * math/s_csinl.c (__csinl): Likewise.
35934 * math/s_csinhl.c (__csinhl): Likewise.
35935 * math/s_ctanl.c (__ctanl): Likewise.
35936 * math/s_ctanhl.c (__ctanhl): Likewise.
35937
203e5603
JM
359382012-09-25 Joseph Myers <joseph@codesourcery.com>
35939
35940 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35941 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35942 (_IO_off_t): Define to __off_t, not _G_off_t.
35943 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35944 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35945 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35946 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35947 type of __dummy and __dummy2 fields.
35948 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35949 (_G_ssize_t): Likewise.
35950 (_G_off_t): Likewise.
35951 (_G_pid_t): Likewise.
35952 (_G_uid_t): Likewise.
35953 (_G_wchar_t): Likewise.
35954 (_G_wint_t): Likewise.
35955 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35956 (_G_ssize_t): Likewise.
35957 (_G_off_t): Likewise.
35958 (_G_pid_t): Likewise.
35959 (_G_uid_t): Likewise.
35960 (_G_wchar_t): Likewise.
35961 (_G_wint_t): Likewise.
35962 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35963 (_G_ssize_t): Likewise.
35964 (_G_off_t): Likewise.
35965 (_G_pid_t): Likewise.
35966 (_G_uid_t): Likewise.
35967 (_G_wchar_t): Likewise.
35968 (_G_wint_t): Likewise.
35969
9fab36eb
SP
359702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35971
35972 * malloc/arena.c: Include malloc-sysdep.h.
35973 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35974 is sufficient to shrink the heap or an unmap is needed.
35975 * sysdeps/generic/malloc-sysdep.h: New file. Define
35976 new function check_may_shrink_heap.
35977 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35978 new function check_may_shrink_heap.
35979
2b4f00d1
SP
359802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35981
35982 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35983 comments.
35984
9a9028b1
DL
359852012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35986
57c69bef
DL
35987 * catgets/test-gencat.sh: Add "set -e".
35988 * elf/tst-pathopt.sh: Likewise.
35989 * grp/tst_fgetgrent.sh: Likewise.
35990 * iconvdata/run-iconv-test.sh: Likewise.
35991 * intl/tst-gettext.sh: Likewise.
35992 * intl/tst-gettext2.sh: Likewise.
35993 * intl/tst-gettext4.sh: Likewise.
35994 * intl/tst-gettext6.sh: Likewise.
35995 * intl/tst-translit.sh: Likewise.
35996 * io/ftwtest-sh: Likewise.
35997 * libio/test-freopen.sh: Likewise.
35998 * malloc/tst-mtrace.sh: Likewise.
35999 * posix/globtest.sh: Likewise.
36000 * posix/tst-getconf.sh: Likewise.
36001 * posix/wordexp-tst.sh: Likewise.
36002 * stdio-common/tst-printf.sh: Likewise.
36003 * stdio-common/tst-unbputc.sh: Likewise.
36004 * stdlib/tst-fmtmsg.sh: Likewise.
36005 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36006 * catgets/Makefile: Do not specify -e option when running
36007 testsuite shell scripts.
36008 * elf/Makefile: Likewise.
36009 * grp/Makefile: Likewise.
36010 * iconvdata/Makefile: Likewise.
36011 * intl/Makefile: Likewise.
36012 * io/Makefile: Likewise.
36013 * libio/Makefile: Likewise.
36014 * malloc/Makefile: Likewise.
36015 * posix/Makefile: Likewise.
36016 * stdio-common/Makefile: Likewise.
36017 * stdlib/Makefile: Likewise.
36018 * sysdeps/x86_64/Makefile: Likewise.
36019
9a9028b1
DL
36020 * io/ftwtest-sh: Add copyright header.
36021 * posix/globtest.sh: Likewise.
36022 * posix/tst-getconf.sh: Likewise.
36023 * posix/wordexp-tst.sh: Likewise.
36024 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36025
ced6f16e
L
360262012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36027
94b32c39
L
36028 [BZ #13679]
36029 * Makeconfig (+link): Defined as $(+link-static) if
36030 $(build-shared) isn't yes.
36031 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36032 isn't yes.
36033 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36034
189e935b
L
36035 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36036
ced6f16e
L
36037 [BZ #14562]
36038 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36039 new chunk size with MALLOC_ALIGN_MASK.
36040
a9f8e53a
JM
360412012-09-24 Joseph Myers <joseph@codesourcery.com>
36042
36043 [BZ #5044]
36044 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36045 <rounding-mode.h>.
36046 (__printf_fphex): Determine rounding using get_rounding_mode and
36047 round_away.
36048 * stdio-common/tst-printf-round.c (struct hex_test): New
36049 structure.
36050 (hex_tests): New variable.
36051 (test_hex_in_one_mode): New function.
36052 (do_test): Also run tests for hex float output.
36053
43153109
JM
360542012-09-21 Joseph Myers <joseph@codesourcery.com>
36055
36056 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36057 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36058 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36059 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36060 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36061 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36062 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36063 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36064
8a26625d
JM
360652012-09-20 Joseph Myers <joseph@codesourcery.com>
36066
36067 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36068 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36069 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36070 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36071
f3fd569c
DL
360722012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36073
36074 [BZ #14579]
36075 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36076 mode only.
36077 * elf/tst-rtld-load-self.sh: New test.
36078 * elf/Makefile: Run it.
36079
63bbedd4
JM
360802012-09-18 Joseph Myers <joseph@codesourcery.com>
36081
36082 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36083 (tst-writev-ENV): Remove.
36084 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36085
626f8b6a
CM
360862012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36087
36088 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36089
b7aaa4d6
JM
360902012-09-17 Joseph Myers <joseph@codesourcery.com>
36091
36092 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36093 unconditional.
36094 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36095 Likewise.
36096 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36097 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36098 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36099 Likewise.
36100
65513990
L
361012012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36102
36103 [BZ #14587]
36104 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36105 * config.make.in (have-cpp-asm-debuginfo): Removed.
36106 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36107 * configure: Regenerated.
36108
784761be
JM
361092012-09-14 Joseph Myers <joseph@codesourcery.com>
36110
36111 [BZ #5044]
36112 * stdio-common/printf_fp.c: Include <stdbool.h> and
36113 <rounding-mode.h>.
36114 (___printf_fp): Determine rounding using get_rounding_mode and
36115 round_away.
36116 * stdio-common/tst-printf-round.c: New file.
36117 * stdio-common/Makefile (tests): Add tst-printf-round.
36118 (link-libm): New variable.
36119 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36120
9503345f
L
361212012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36122
36123 [BZ #14576]
36124 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36125 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36126 Likewise.
36127 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36128 Likewise.
36129
ad35fc00
JM
361302012-09-13 Joseph Myers <joseph@codesourcery.com>
36131
36132 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36133 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36134 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36135 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36136
6c9b0f68
JM
361372012-09-12 Joseph Myers <joseph@codesourcery.com>
36138
36139 [BZ #14518]
36140 * include/rounding-mode.h: New file.
36141 * sysdeps/generic/get-rounding-mode.h: Likewise.
36142 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36143 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36144 (MAX_VALUE): New macro.
36145 (MIN_VALUE): Likewise.
36146 (overflow_value): New function.
36147 (underflow_value): Likewise.
36148 (round_and_return): Use overflow_value and underflow_value to
36149 determine return values in overflow and underflow cases. Use
36150 round_away to determine rounding depending on rounding mode.
36151 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36152 determine return values in overflow and underflow cases.
36153 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36154 (struct test_results): New structure.
36155 (struct test): Use struct test_results to store expected results
36156 for all rounding modes.
36157 (TEST): Include expected results for all rounding modes.
36158 (test_in_one_mode): New function.
36159 (do_test): Use test_in_one_mode to compute and check results.
36160 Check results for all rounding modes.
36161 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36162 $(link-libm).
36163
19fcedd5
AM
361642012-12-09 Allan McRae <allan@archlinux.org>
36165
1e9d84cd 36166 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36167
8bbfd2f1
JM
361682012-09-11 Joseph Myers <joseph@codesourcery.com>
36169
36170 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36171 (_G_int32_t): Likewise.
36172 (_G_uint16_t): Likewise.
36173 (_G_uint32_t): Likewise.
36174 (_G_HAVE_BOOL): Likewise.
36175 (_G_HAVE_ATEXIT): Likewise.
36176 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36177 (_G_HAVE_IO_FILE_OPEN): Likewise.
36178 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36179 (_G_int32_t): Likewise.
36180 (_G_uint16_t): Likewise.
36181 (_G_uint32_t): Likewise.
36182 (_G_HAVE_BOOL): Likewise.
36183 (_G_HAVE_ATEXIT): Likewise.
36184 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36185 (_G_HAVE_IO_FILE_OPEN): Likewise.
36186 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36187 (_G_int32_t): Likewise.
36188 (_G_uint16_t): Likewise.
36189 (_G_uint32_t): Likewise.
36190 (_G_HAVE_BOOL): Likewise.
36191 (_G_HAVE_ATEXIT): Likewise.
36192 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36193 (_G_HAVE_IO_FILE_OPEN): Likewise.
36194
b1dc5912
L
361952012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36196
36197 * csu/libc-tls.c: Update copyright years.
36198
0e886ef9
JM
361992012-09-10 Joseph Myers <joseph@codesourcery.com>
36200
28361c5e
JM
36201 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36202 [!_G_USING_THUNKS]: Remove conditional code.
36203 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36204 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36205
0e886ef9
JM
36206 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36207 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36208 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36209 (_G_VTABLE_LABEL_PREFIX): Likewise.
36210 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36211 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36212 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36213 (_G_VTABLE_LABEL_PREFIX): Likewise.
36214 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36215 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36216 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36217 (_G_VTABLE_LABEL_PREFIX): Likewise.
36218 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36219
bcba7aa2
L
362202012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36221
36222 * libio/Makefile: Include ../Makeconfig before tests.
36223 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36224 only if $(build-shared) is yes.
36225
06585ee8
L
36226 * iconv/gconv_db.c: Update copyright years.
36227
80ccd52c
LD
362282012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36229
36230 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36231 unwind info if defined PIC. Fix special cases description.
36232 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36233
36234 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36235 DP_HI_MASK entry.
36236 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36237
691bc9c1
L
362382012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36239
3d9b46b3
L
36240 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36241
de2139a9
L
36242 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36243 is NULL.
36244
5ca78dd0
L
36245 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36246 (LDLIBS-tst-chk4): This.
36247 (LDFLAGS-tst-chk5): Renamed to ...
36248 (LDLIBS-tst-chk5): This.
36249 (LDFLAGS-tst-chk6): Renamed to ...
36250 (LDLIBS-tst-chk6): This.
36251 (LDFLAGS-tst-lfschk4): Renamed to ...
36252 (LDLIBS-tst-lfschk4): This.
36253 (LDFLAGS-tst-lfschk5): Renamed to ...
36254 (LDLIBS-tst-lfschk5): This.
36255 (LDFLAGS-tst-lfschk6): Renamed to ...
36256 (LDLIBS-tst-lfschk6): This.
36257
691bc9c1
L
36258 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36259 on $(common-objpfx)soversions.mk.
36260
65cafb1c
JM
362612012-09-07 Joseph Myers <joseph@codesourcery.com>
36262
36263 [BZ #10014]
36264 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36265 example host name.
36266
c78ab094
SP
362672012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36268
36269 * malloc/arena.c (arena_get_retry): New function that gets
36270 another arena for the caller to try its request on.
36271 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36272 current arena cannot fulfill the request.
36273 (__libc_memalign): Likewise.
36274 (__libc_memalign): Likewise.
36275 (__libc_pvalloc): Likewise.
36276 (__libc_calloc): Likewise.
36277
01f49f59
JT
362782012-09-05 John Tobey <john.tobey@gmail.com>
36279
36280 [BZ #13542]
36281 * manual/arith.texi (Operations on Complex): Fix description
36282 of carg branch cut.
36283
4c23fed5
JM
362842012-09-06 Joseph Myers <joseph@codesourcery.com>
36285
1d3c8572
JM
36286 [BZ #10014]
36287 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36288 host name.
36289
4c23fed5
JM
36290 [BZ #10038]
36291 * manual/memory.texi (Memory): Make order of menu items match
36292 order of sections.
36293
04570aaa
L
362942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36295
36296 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36297 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36298 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36299
b80af2f4
L
363002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36301
36302 * csu/libc-tls.c (static_dtv): Renamed to ...
36303 (_dl_static_dtv): This. Make it global.
36304 (_dl_initial_dtv): Removed.
36305 (__libc_setup_tls): Updated.
36306 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36307 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36308 DL_INITIAL_DTV.
36309
2abe9f15
PM
363102012-09-06 Petr Machata <pmachata@redhat.com>
36311
36312 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36313 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36314 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36315 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36316
0948c3af
L
363172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36318
36319 [BZ #14545]
36320 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36321 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36322 freeing dtv[-1].
36323
a5055ad1
L
363242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36325
36326 [BZ #14544]
36327 * Makeconfig (link-static-before-libc): Replace $(+prector)
36328 with $(+prectorT).
36329 (link-static-after-libc): Replace $(+postctor) with
36330 $(+postctorT).
36331 (link-bounded): Replace $(+prector)/$(+postctor) with
36332 $(+prectorT)/$(+postctorT).
36333 (+prectorT): New macro.
36334 (+postctorT): Likewise.
36335
ed8c2ecd
JM
363362012-09-06 Joseph Myers <joseph@codesourcery.com>
36337
36338 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36339 (round_str): Handle values above the maximum for IBM long double
36340 as inexact.
36341 * stdlib/tst-strtod-round.c (tests): Regenerated.
36342
14c996c8
AK
363432012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36344
36345 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36346 assembler flag.
36347 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36348 zarch_nohighgprs around the zarch optimized routines.
36349 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36350 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36351 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36352 for zarch.
36353
430d6ce6
DM
363542012-09-05 David S. Miller <davem@davemloft.net>
36355
36356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36357
57f41c40
AS
36358 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36359 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36360 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36361 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36362 entries.
36363
24d4e01b
AO
363642012-09-05 Alexandre Oliva <aoliva@redhat.com>
36365
36366 * malloc/arena.c: Fold copyright years.
36367 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36368
61d58174
AO
363692012-09-05 Alexandre Oliva <aoliva@redhat.com>
36370
36371 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36372
20196a5e
AO
363732012-09-05 Alexandre Oliva <aoliva@redhat.com>
36374
36375 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36376
5c447383
AO
363772012-09-05 Alexandre Oliva <aoliva@redhat.com>
36378
36379 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36380 change internal state upon failure.
36381
fad64255
AO
363822012-09-05 Alexandre Oliva <aoliva@redhat.com>
36383
36384 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36385 * malloc/memusage.c (mmap): Likewise.
36386 (mmap64, mremap): Likewise. Adjust name in comment.
36387
1ffb8c90
SP
363882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36389
36390 * libio/fileops.c: Fix typos in comments.
36391 * libio/oldfileops.c: Likewise.
36392 * libio/wfileops.c: Likewise.
36393
6ef9cc37
SP
363942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36395
36396 [BZ #1349]
36397 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36398 (tst-malloc-usable-ENV): Set environment for test case.
36399 * malloc/hooks.c (malloc_check_get_size): New function to get
36400 requested size.
36401 * malloc/malloc.c (musable): Use malloc_check_get_size.
36402 * malloc/tst-malloc-usable.c: New test case.
36403
4d038ae3
AS
364042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36405
36406 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36407
c4e85184
AM
364082012-09-05 Allan McRae <allan@archlinux.org>
36409
b9dafc56 36410 [BZ #13966]
c4e85184
AM
36411 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36412 determine header location.
36413 * configure: Regenerated.
36414
e1343020
AS
364152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36416
36417 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36418 float format.
36419 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
36420 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36421 format.
e1343020
AS
36422 (test): Regenerate.
36423
0a9f1987
DM
364242012-09-04 David S. Miller <davem@davemloft.net>
36425
36426 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36427 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36428 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36429
29237804
FW
364302012-09-04 Florian Weimer <fweimer@redhat.com>
36431
36432 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36433 failures.
36434
edb3cb88
FW
36435 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36436
60160d83
JM
364372012-09-04 Joseph Myers <joseph@codesourcery.com>
36438
36439 [BZ #9914]
36440 * libio/iogetdelim.c: Include <limits.h>.
36441 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36442 + len + 1 would overflow.
36443
bcd6c8dc
AJ
364442012-09-03 Andreas Jaeger <aj@suse.de>
36445
36446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36447 * sysdeps/i386/fpu/libm-test-ulps: Update.
36448
4ffffbd2
LD
364492012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36450
36451 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36452 Add s_sinf-sse2, s_conf-sse2.
36453
36454 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36455 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36456 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36457 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36458
36459 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36460 for using routine as __sinf_ia32.
36461 Use macro for function declaration and weak_alias.
36462 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36463 for using routine as __cosf_ia32.
36464 Use macro for function declaration and weak_alias.
36465
36466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36467 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36468
36469 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36470 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36472
36473 * math/libm-test.inc (cos_test): Add more test cases.
36474 (sin_test): Likewise.
36475 (sincos_test): Likewise.
36476
511fa286
AK
364772012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36478
36479 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36480 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36481 hidden.
36482 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36483
5f30cfec
L
364842012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36485
36486 [BZ #14538]
36487 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36488 first element of the GOT.
36489 (elf_machine_load_address): Return the difference between
36490 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36491
0786794f
AM
364922012-09-01 Allan McRae <allan@archlinux.org>
36493
5f30cfec
L
36494 [BZ #13412]
36495 * configure.in (AWK): Require gawk version 3.0 or later.
36496 * configure: Regenerated.
0786794f 36497
26889eac
JM
364982012-09-01 Joseph Myers <joseph@codesourcery.com>
36499
36500 * sysdeps/unix/sysv/linux/kernel-features.h
36501 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36502 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36503 [__NR_clock_getres]: Make code unconditional.
36504 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36505 (clock_getcpuclockid): Remove code left unreachable by removal of
36506 conditionals.
36507 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36508 code unconditional.
36509 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36510 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36511 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36512 Make code unconditional.
36513 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36514 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36515 * sysdeps/unix/sysv/linux/clock_settime.c
36516 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36517 conditional code.
36518 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36519 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36520
d22e28b0
L
365212012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36522
36523 [BZ #14476]
36524 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36525 scripts/test-installation.pl.
36526
36527 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36528 and $ld_so_version if it is set.
36529
050af9c4
SP
365302012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36531
36532 [BZ #14516]
36533 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36534 failure if reading from procfs failed.
36535 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36536
ad845c0b
JM
365372012-08-27 Joseph Myers <joseph@codesourcery.com>
36538
36539 * sysdeps/unix/sysv/linux/kernel-features.h
36540 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36541 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36542 Remove conditional code.
36543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36544 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36545 Remove conditional code.
36546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36547 * sysdeps/unix/sysv/linux/i386/fxstat.c
36548 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36549 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36550 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36551 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36553 * sysdeps/unix/sysv/linux/i386/lxstat.c
36554 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36555 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36556 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36557 Remove conditional code.
36558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36559 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36560 Remove conditional code.
36561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36562 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36563 <kernel-features.h>.
36564 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36565 Remove.
36566 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36567 Remove conditional code.
36568 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36569 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36570 Remove conditional.
36571
5dbf56af
MF
365722012-08-27 Mike Frysinger <vapier@gentoo.org>
36573
36574 [BZ #5400]
36575 * NEWS: Add fixed bug number.
36576
d6e70f43
JM
365772012-08-27 Joseph Myers <joseph@codesourcery.com>
36578
7efb4737
JM
36579 [BZ #14519]
36580 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36581 underflowing exponent in case of negative sign.
36582 * stdlib/tst-strtod-round-data: Add more tests.
36583 * stdlib/tst-strtod-round.c (tests): Regenerated.
36584
af92131a
JM
36585 [BZ #3479]
36586 * stdlib/strtod_l.c (NDIG): Remove.
36587 (HEXNDIG): Likewise.
36588 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36589 smallest representable value.
36590 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36591 lie within an exact representation of 1/2 ulp of the result.
36592 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36593 unconditionally.
36594 (TENS_P9_IDX): Define unconditionally.
36595 (TENS_P9_SIZE): Likewise.
36596 (TENS_P10_IDX): Likewise.
36597 (TENS_P10_SIZE): Likewise.
36598 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36599 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36600 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36601 entries for 10^2^13 and 10^2^14.
36602 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36603 (TENS_P13_IDX): Define.
36604 (TENS_P13_SIZE): Likewise.
36605 (TENS_P14_IDX): Likewise.
36606 (TENS_P14_SIZE): Likewise.
36607 (_fpioconst_pow10): Change array size to
36608 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36609 unconditional.
36610 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36611 1024]: Add entries for 10^2^13 and 10^2^14.
36612 [LAST_POW10 > _LAST_POW10]: Remove #error.
36613 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36614 (_fpioconst_pow10): Change array size to
36615 FPIOCONST_POW10_ARRAY_SIZE.
36616 * stdlib/gen-fpioconst.c: New file.
36617 * stdlib/gen-tst-strtod-round.c: Likewise.
36618 * stdlib/tst-strtod-round-data: Likewise.
36619 * stdlib/tst-strtod-round.c: Likewise.
36620 * stdlib/Makefile (tests): Add tst-strtod-round.
36621
d6e70f43
JM
36622 [BZ #14459]
36623 * stdlib/strtod_l.c: Include <stdint.h>.
36624 (NDEBUG): Do not define.
36625 (round_and_return): Change EXPONENT parameter to type intmax_t.
36626 Rearrange calculations to avoid internal overflow possibilities.
36627 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36628 Rearrange calculations to avoid internal overflow possibilities.
36629 Assert that number fits inside MPNSIZE limbs.
36630 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36631 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36632 calculations and add assertions to avoid internal overflow
36633 possibilities. Add casts to avoid signed/unsigned operations.
36634 * stdlib/tst-strtod-overflow.c: New file.
36635 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36636
1f529f7d
MP
366372012-08-25 Marek Polacek <polacek@redhat.com>
36638
36639 * time/time.h: Fix some typos in comments.
36640
59a629f1
RM
366412012-08-23 Roland McGrath <roland@hack.frob.com>
36642
36643 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36644 * posix/tst-rfc3484-2.c: Likewise.
36645 * posix/tst-rfc3484-3.c: Likewise.
36646
d3bafbc9
SM
366472012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36648
36649 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36650 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36651
4efcc022
JM
366522012-08-23 Joseph Myers <joseph@codesourcery.com>
36653
36654 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36655 #include of fxstatat64.c.
36656
3cc3ef96
RM
366572012-08-22 Roland McGrath <roland@hack.frob.com>
36658
f04e2132
RM
36659 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36660 * shadow/getspent_r.c: Likewise.
36661 * shadow/getspnam.c: Likewise.
36662 * shadow/getspnam_r.c: Likewise.
36663 * gshadow/getsgent.c: Likewise.
36664 * gshadow/getsgent_r.c: Likewise.
36665 * gshadow/getsgnam.c: Likewise.
36666 * gshadow/getsgnam_r.c: Likewise.
36667 * inet/getnetbyad.c: Likewise.
36668 * inet/getnetbyad_r.c: Likewise.
36669 * inet/getnetbynm.c: Likewise.
36670 * inet/getnetbynm_r.c: Likewise.
36671 * inet/getnetent.c: Likewise.
36672 * inet/getnetent_r.c: Likewise.
36673 * inet/getproto.c: Likewise.
36674 * inet/getproto_r.c: Likewise.
36675 * inet/getprtent.c: Likewise.
36676 * inet/getprtent_r.c: Likewise.
36677 * inet/getprtname.c: Likewise.
36678 * inet/getprtname_r.c: Likewise.
36679 * inet/getrpcbyname.c: Likewise.
36680 * inet/getrpcbyname_r.c: Likewise.
36681 * inet/getrpcbynumber.c: Likewise.
36682 * inet/getrpcbynumber_r.c: Likewise.
36683 * inet/getrpcent.c: Likewise.
36684 * inet/getrpcent_r.c: Likewise.
36685 * inet/getaliasent.c: Likewise.
36686 * inet/getaliasent_r.c: Likewise.
36687 * inet/getaliasname.c: Likewise.
36688 * inet/getaliasname_r.c: Likewise.
36689 * nscd/getgrgid_r.c: Likewise.
36690 * nscd/getgrnam_r.c: Likewise.
36691 * nscd/gethstbyad_r.c: Likewise.
36692 * nscd/gethstbynm3_r.c: Likewise.
36693 * nscd/getpwnam_r.c: Likewise.
36694 * nscd/getpwuid_r.c: Likewise.
36695 * nscd/getsrvbynm_r.c: Likewise.
36696 * nscd/getsrvbypt_r.c: Likewise.
36697 * nscd/gai.c: Likewise.
36698
c53d909c
RM
36699 * configure.in (build_nscd): New substituted variable, set
36700 by --disable-build-nscd and defaults to $use_nscd.
36701 * configure: Regenerated.
36702 * config.make.in (build-nscd): New substituted variable.
36703 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36704 Change conditional to require [$(build-nscd) = yes] as well.
36705 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36706
3cc3ef96
RM
36707 [BZ# 13696]
36708 * configure.in (use_nscd): New substituted variable, set by
36709 --disable-nscd. If enabled, define USE_NSCD.
36710 * configure: Regenerated.
36711 * config.h.in: Add USE_NSCD.
36712 * config.make.in (use-nscd): New substituted variable.
36713 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36714 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36715 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36716 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36717 (CFLAGS-getgrnam_r.c): Likewise.
36718 (CFLAGS-initgroups.c): Likewise.
36719 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36720 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36721 Variables removed.
36722 * inet/getnetgrent_r.c
36723 (nscd_setnetgrent): New function, broken out of ...
36724 (setnetgrent): ... here. Call it.
36725 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36726 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36727 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36728 * nscd/Makefile (routines, aux): Move definitions after include of
36729 Makeconfig. Conditionalize on [$(use-nscd) != no].
36730 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36731 Conditionalize on [USE_NSCD].
36732 (is_nscd, nscd_init_cb): Likewise.
36733 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36734 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36735 * nss/nss_db/db-init.c: Likewise.
36736 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36737 [USE_NSCD].
36738 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36739 (make_request): Use it.
36740 (cache_valid_p): New function.
36741 (__check_pf): Use it.
36742 * NEWS: Add item for --disable-nscd.
36743
07e51550
DL
367442012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36745
36746 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36747 to support sed >= 4.2.1-20-ga9bf076.
36748 * configure: Regenerated.
36749
35a5b08b
RM
367502012-08-22 Roland McGrath <roland@hack.frob.com>
36751
36752 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36753 Conditionalize whole body on [IREL].
36754
8479f23a
JL
367552012-08-22 Jeff Law <law@redhat.com>
36756
36757 [BZ #14505]
36758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36759 if the family is PF_UNSPEC.
36760
48da0b21
MF
367612012-08-22 Mike Frysinger <vapier@gentoo.org>
36762
36763 * Makerules (lib-version): Rename from V.
36764 (install-lib-nosubdir): Change V to lib-version.
36765
15d0da8c
WS
367662012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36767
36768 [BZ #14252]
36769 * powerpc32/power6/wcschr.c: New file.
36770 * powerpc32/power6/wcscpy.c: New file.
36771 * powerpc32/power6/wcsrchr.c: New file.
36772 * powerpc64/power6/wcschr.c: New file.
36773 * powerpc64/power6/wcscpy.c: New file.
36774 * powerpc64/power6/wcsrchr.c: New file.
36775
bcca0895
MK
367762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36777
36778 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36779 (two_way_short_needle): Use it.
5a4aaa33
RM
36780 * string/strstr.c (AVAILABLE1_USES_J): Define.
36781 * string/strcasestr.c: Likewise.
99677e57
MK
36782
36783 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36784 array references.
36785 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36786
400726de
MK
36787 [BZ #11607]
36788 * NEWS: Add an entry.
36789 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36790 define their defaults.
36791 (two_way_short_needle): Detect end-of-string on-the-fly.
36792 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36793 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36794 * string/bug-strcasestr1.c: New test.
36795 * string/Makefile: Run it.
36796
20a71f2c
MK
367972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36798
36799 [BZ #11607]
36800 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36801 the first character.
36802
21ad0558
RM
368032012-08-21 Roland McGrath <roland@hack.frob.com>
36804
36805 * csu/elf-init.c (__libc_csu_irel): Function removed.
36806 * csu/libc-start.c (apply_irel): New function.
36807 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36808
0e1d9911
JM
368092012-08-21 Joseph Myers <joseph@codesourcery.com>
36810
36811 * sysdeps/unix/sysv/linux/kernel-features.h
36812 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36813 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36814 <kernel-features.h>.
36815 [__NR_fadvise64_64]: Make code unconditional.
36816 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36817 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36818 !__NR_fadvise64_64)]: Likewise.
36819 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36820 !__NR_fadvise64_64))]: Likewise.
36821 [__NR_fadvise64]: Make code unconditional.
36822 [!__NR_fadvise64]: Remove conditional code.
36823 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36824 <kernel-features.h>.
36825 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36826 unconditional.
36827 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36828 conditional code.
36829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36830 not include <kernel-features.h>.
36831 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36832 unconditional.
36833 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36834 conditional code.
36835 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36836 include <kernel-features.h>.
36837 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36838 unconditional.
36839 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36840 conditional code.
36841
14a50c9d
WS
368422012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36843
36844 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36845 slight instruction rearrangements per scrollpipe analysis.
36846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36847
c0f4faf0
RM
368482012-08-20 Roland McGrath <roland@hack.frob.com>
36849
696da859
RM
36850 * manual/syslog.texi (syslog; vsyslog, closelog):
36851 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36852 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36853
c0f4faf0
RM
36854 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36855 DSOCAPS to match condition on defining it.
36856
348363b2
JM
368572012-08-20 Joseph Myers <joseph@codesourcery.com>
36858
a35cbf28
JM
36859 * sysdeps/unix/sysv/linux/kernel-features.h
36860 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36862 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36863 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36865 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36866 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36868 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36869 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36870
445f7ecd
JM
36871 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36872 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36873
348363b2
JM
36874 * sysdeps/unix/sysv/linux/kernel-features.h
36875 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36876 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36877 unconditional.
36878 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36879 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36880 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36881 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36882 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36883 Make code unconditional.
36884 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36885 (__mmap64) [!__NR_mmap2]: Likewise.
36886 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36887 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36888 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36889 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36890 [__NR_mmap2]: Make code unconditional.
36891 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36892 (__mmap64) [!__NR_mmap2]: Likewise.
36893
bc5bc0e5
AK
368942012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36895
36896 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36897
88d506de
AJ
368982012-08-18 Andreas Jaeger <aj@suse.de>
36899
36900 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36901
493387d2
MF
369022012-08-18 Mike Frysinger <vapier@gentoo.org>
36903
36904 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36905 * include/unistd.h (__have_sock_cloexec): Likewise.
36906 (__have_pipe2): Likewise.
36907 (__have_dup3): Likewise.
36908
a277af22
MF
369092012-08-18 Mike Frysinger <vapier@gentoo.org>
36910
36911 [BZ #9685]
36912 * include/unistd.h (__have_pipe2): Change define into an extern int.
36913 (__have_dup3): Likewise.
36914 * socket/have_sock_cloexec.c: Include fcntl.h.
36915 (__have_pipe2): New variable.
36916 (__have_dup3): Likewise.
36917
fdab8fd3
MF
369182012-08-17 Mike Frysinger <vapier@gentoo.org>
36919
36920 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36921
31035e80
MP
369222012-08-17 Marek Polacek <polacek@redhat.com>
36923
36924 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36925 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36926
3bd9e993
RM
369272012-08-17 Roland McGrath <roland@hack.frob.com>
36928
c91c505f
RM
36929 * configure.in: Add AC_SUBST for sysheaders.
36930 * configure: Regenerated.
36931 * config.make.in (sysheaders): New substituted variable.
36932
7c6f9d53
RM
36933 * sysdeps/unix/mkfifo.c: Moved ...
36934 * sysdeps/posix/mkfifo.c: ... here.
36935 * sysdeps/unix/mkfifoat.c: Moved ...
36936 * sysdeps/posix/mkfifoat.c: ... here.
36937
36938 * sysdeps/unix/utime.c: Moved ...
36939 * sysdeps/posix/utime.c: ... here.
36940
36941 * sysdeps/unix/time.c: Moved ...
36942 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
36943 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36944 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
36945
36946 * sysdeps/unix/nice.c: Moved ...
36947 * sysdeps/posix/nice.c: ... here.
36948
36949 * sysdeps/unix/alarm.c: Moved ...
36950 * sysdeps/posix/alarm.c: ... here.
36951
3bd9e993
RM
36952 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36953
d1f09384
JL
369542012-08-17 Jeff Law <law@redhat.com>
36955
36956 * intl/Makefile (codeset_mo): New variable.
36957 ($(codeset_mo)): New target.
36958 (tst-codeset.out): Depend on that. Remove explicit rule.
36959 (tst-gettext3.out, tst-gettext5.out): Likewise.
36960 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36961 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36962 * intl/tst-codeset.sh: Remove.
36963 * intl/tst-gettext3.sh: Likewise.
36964 * intl/tst-gettext5.sh: Likewise.
36965
2ae1ae5c
RM
369662012-08-17 Roland McGrath <roland@hack.frob.com>
36967
c31fdb83
RM
36968 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36969 * sysdeps/unix/syscalls.list: ... here.
36970
a0844057
RM
36971 * sysdeps/posix/getaddrinfo.c
36972 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36973 (gaiconf_init, gaiconf_reload): Use them.
36974 [!_STATBUF_ST_NSEC]
36975 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36976 Define using time_t rather than struct timespec.
36977
750c1f2a
RM
36978 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36979 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36980 Macros removed.
36981 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36982 [!NO_THREADS].
36983 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36984 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36985 Likewise.
36986
2ae1ae5c
RM
36987 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36988 __libc_cleanup_push argument.
36989
e66a42f5
RM
36990 * bits/param.h: New file.
36991 * misc/sys/param.h: New file.
36992 * include/sys/param.h: New file.
36993 * misc/Makefile (headers): Add bits/param.h.
36994 * sysdeps/generic/sys/param.h: File removed.
36995 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36996 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36997 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 36998 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 36999
b7c08a66
RM
37000 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37001 last change.
37002
b2e1c562
RM
37003 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37004 [_IO_MTSAFE_IO].
37005 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37006 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37007 New macros.
37008
c75ccd4c
RM
37009 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37010 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37011 rather than -D_IO_MTSAFE_IO conditionally.
37012 * stdio-common/Makefile (CPPFLAGS): Likewise.
37013 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37014 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37015 Use $(libio-mtsafe).
37016 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37017 of -D_IO_MTSAFE_IO.
37018 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37019 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37020 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37021 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37022 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37023 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37024 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37025 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37026 (CFLAGS-fread_u_chk.c): Likewise.
37027 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37028 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37029 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37030 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37031 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37032 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37033 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37034 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37035 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37036
37037 * libio/Makefile: Test [$(libc-reentrant) = yes]
37038 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37039
37040 * Makeconfig
37041 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37042 * sysdeps/pthread/configure: File removed.
37043 * sysdeps/pthread/Makeconfig: New file.
37044 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37045 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37046
d9195db8
GB
370472012-08-16 Gary Benson <gbenson@redhat.com>
37048
37049 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37050 unmapping the first object in a namespace.
37051
86466cd9
RM
370522012-08-16 Roland McGrath <roland@hack.frob.com>
37053
37054 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37055 (__internal_setnetgrent): ... this. Add internal_function to
37056 definition. Add libc_hidden_def.
37057 (setnetgrent): Update caller.
37058 (internal_endnetgrent): Renamed to ...
37059 (__internal_endnetgrent): ... this. Add internal_function to
37060 definition. Add libc_hidden_def.
37061 (endnetgrent): Update caller.
37062 (internal_getnetgrent_r): Renamed to ...
37063 (__internal_getnetgrent_r): ... this. Add internal_function to
37064 definition. Add libc_hidden_def.
37065 (__getnetgrent_r): Update caller.
37066 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37067
c3c8283c
JM
370682012-08-16 Joseph Myers <joseph@codesourcery.com>
37069
37070 * stdlib/longlong.h: Update from GCC.
37071
db1ee0a8
RM
370722012-08-16 Roland McGrath <roland@hack.frob.com>
37073
37074 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37075 on _QL, which is set by umul_ppmm but never used.
37076 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37077 variables, which are set by GMP macros but never used.
37078 * stdio-common/_itowa.c (_itowa): Likewise.
37079 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37080 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37081
30f69637
CD
370822012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37083
37084 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37085 struct La_sh_regs is not constant.
37086 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37087 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37088 and struct La_sparc64_regs are not constant.
37089
93a78ac4
JM
370902012-08-16 Joseph Myers <joseph@codesourcery.com>
37091
37092 * sysdeps/unix/sysv/linux/kernel-features.h
37093 (__ASSUME_POSIX_TIMERS): Remove.
37094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37095 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37096 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37097 Make code unconditional.
37098 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37099 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37100 Make code unconditional.
37101 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37102 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37103 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37104 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37105 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37106 Make code unconditional.
37107 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37108 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37109 (__libc_missing_posix_timers): Remove.
37110
dd924cd7
RM
371112012-08-15 Roland McGrath <roland@hack.frob.com>
37112
4b4f2771
RM
37113 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37114 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37115
601c888b
RM
37116 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37117
176790a7
RM
37118 * elf/dl-sym.c: Include <stdlib.h>.
37119
329bc018
RM
37120 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37121 constants, which avoids warnings in 32-bit builds.
37122
e04e272d
RM
37123 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37124 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37125
952bf94a
RM
37126 * misc/lseek.c: File moved to ...
37127 * io/lseek.c: ... here.
37128
7c99b50a
RM
37129 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37130
dd924cd7
RM
37131 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37132 shifting LEN more than 31 bits at once.
37133
b3f479a8
LD
371342012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37135
37136 [BZ #14195]
8c4ae0d4
RM
37137 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37138 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37139 * string/test-strncasecmp.c (check1): Renamed to...
37140 (bz12205): ...this.
37141 (bz14195): Add new testcase for two empty input strings and N > 0.
37142 (test_main): Call new testcase, adapt for renamed function.
37143
9c55864e
AJ
371442012-08-15 Andreas Jaeger <aj@suse.de>
37145
37146 [BZ #14090]
37147 * crypt/md5test2.c: New test, based on test supplied by Serge
37148 Belyshev <belyshev@depni.sinp.msu.ru>.
37149 * crypt/Makefile (xtests): Add md5test-giant..
37150 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37151
02dcb6c5
PE
371522012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37153
37154 [BZ #14090]
37155 * crypt/md5.c (md5_process_block): Don't assume the buffer
37156 length is less than 2**32.
37157 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37158 length is less than 2**64.
37159
a3f95dcc
RM
371602012-08-15 Roland McGrath <roland@hack.frob.com>
37161
be75d758
RM
37162 * string/str-two-way.h: Include <sys/param.h>.
37163 (MAX): Macro removed.
37164
7312ca90
RM
37165 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37166 Move #define and #undef of memmove to just before and after
37167 including <string.h>.
37168
9a0a5486
RM
37169 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37170 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37171 and after including <string.h>. Move declarations of
37172 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37173 to before #include "string/memmove.c".
37174
67cc348d
RM
37175 * include/dirent.h: Declare __getdirentries.
37176
a3f95dcc
RM
37177 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37178 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37179
ca98e171
MF
371802012-08-14 Mike Frysinger <vapier@gentoo.org>
37181
37182 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37183 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37184 * sysdeps/i386/configure: Regenerated.
37185 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37186 STABS_CURRENT_FILE, and STABS_FUN.
37187 (END): Remove call to STABS_FUN_END.
37188 (STABS_CURRENT_FILE1): Delete.
37189 (STABS_CURRENT_FILE): Likewise.
37190 (STABS_FUN): Likewise.
37191 (STABS_FUN_END): Likewise.
37192 (STABS_FUN2): Likewise.
37193 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37194 * sysdeps/x86_64/configure: Regenerated.
37195
5908bf46
RM
371962012-08-14 Roland McGrath <roland@hack.frob.com>
37197
37198 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37199 * elf/dl-lookup.c: Likewise.
5908bf46 37200
f2c05b9e
JM
372012012-08-14 Joseph Myers <joseph@codesourcery.com>
37202
37203 * sysdeps/unix/sysv/linux/kernel-features.h
37204 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37205 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37206 unconditionally.
37207 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37208 unconditionally.
37209 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37210 condition on __ASSUME_CLONE_THREAD_FLAGS.
37211
e11f5155
AJ
372122012-08-14 Andreas Jaeger <aj@suse.de>
37213
37214 * sysdeps/i386/fpu/libm-test-ulps: Update.
37215
51a9ba86
MK
372162012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37217
2fdd4f78
AJ
37218 * include/atomic.h (atomic_exchange_and_add): Split into ...
37219 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37220 New atomic macros.
51a9ba86 37221
ba6cba9e
MT
372222012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37223
37224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37225
42443a47
JL
372262012-08-13 Jeff Law <law@redhat.com>
37227
37228 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37229 null byte in the output string.
37230
121dce05
JM
372312012-08-10 Joseph Myers <joseph@codesourcery.com>
37232
37233 * sysdeps/unix/sysv/linux/kernel-features.h
37234 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37235 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37236 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37237 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37238 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37239 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37240 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37241
bf51f568
JL
372422012-08-09 Jeff Law <law@redhat.com>
37243
37244 [BZ #13939]
37245 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37246 When avoid_arena is set, don't retry in the that arena. Pick the
37247 next one, whatever it might be.
37248 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37249 (arena_lock): Pass in new parameter to arena_get2.
37250 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37251 arena_get2.
37252 (__libc_malloc): Unify retrying after main arena failure with
37253 __libc_memalign version.
37254 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37255
f85fa270
L
372562012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37257
37258 [BZ #14166]
37259 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37260 to __redirect_strstr.
37261 (__strstr_sse42): Use typeof __redirect_strstr.
37262 (__strstr_ia32): Likewise.
37263 (__libc_strstr): New prototype.
37264 (strstr): Renamed to ...
37265 (__libc_strstr): This.
37266 (strstr): New strong alias of __libc_strstr.
37267 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37268 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37269 __redirect_time.
37270 Include <time.h>.
37271 (__libc_time): New prototype.
37272 (time_ifunc): Replace time with __libc_time.
37273 (time): New strong alias and hidden definition of __libc_time.
37274 (__GI_time): Remove strong alias.
37275 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37276 Include <stddef.h>.
37277 (memmove): Redefined to __redirect_memmove.
37278 (__memmove_sse2): Use typeof __redirect_memmove.
37279 (__memmove_ssse3): Likewise.
37280 (__memmove_ssse3_back): Likewise.
37281 (__libc_memmove): New prototype.
37282 (memmove): Renamed to ...
37283 (__libc_memmove): This.
37284 (memmove): New strong alias of __libc_memmove.
37285
33b4a91e
MS
372862012-08-08 Mark Salter <msalter@redhat.com>
37287
37288 * elf/elf.h
37289 (R_MN10300_TLS_GD): Define.
37290 (R_MN10300_TLS_LD): Likewise.
37291 (R_MN10300_TLS_LDO): Likewise.
37292 (R_MN10300_TLS_GOTIE): Likewise.
37293 (R_MN10300_TLS_IE): Likewise.
37294 (R_MN10300_TLS_LE): Likewise.
37295 (R_MN10300_TLS_DTPMOD): Likewise.
37296 (R_MN10300_TLS_DTPOFF): Likewise.
37297 (R_MN10300_TLS_TPOFF): Likewise.
37298 (R_MN10300_SYM_DIFF): Likewise.
37299 (R_MN10300_ALIGN): Likewise.
37300 (R_MN10300_NUM): Update.
37301
b36137f1
JM
373022012-08-08 Joseph Myers <joseph@codesourcery.com>
37303
37304 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37305 Remove.
37306
cdd915fd
RM
373072012-08-08 Roland McGrath <roland@hack.frob.com>
37308
a2433aac
RM
37309 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37310
cdd915fd
RM
37311 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37312 sysdeps/unix -> sysdeps/posix move.
37313 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37314
bf9b740a
AM
373152012-08-07 Allan McRae <allan@archlinux.org>
37316
37317 [BZ #14303]
37318 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37319 (SUNOS_CPP): Likewise.
37320 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37321 not found.
37322 (open_input): Call CPP using execvp.
37323
93df14ee
JM
373242012-08-07 Joseph Myers <joseph@codesourcery.com>
37325
37326 * sysdeps/unix/sysv/linux/kernel-features.h
37327 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37328 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37329 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37330 (__ASSUME_WAITID_SYSCALL): Likewise.
37331 * sysdeps/unix/sysv/linux/dl-execstack.c
37332 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37333 code unconditional.
37334 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37335 conditional code.
37336 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37337 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37338 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37339 code.
37340 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37341 unconditional.
37342 [__ASSUME_WAITID_SYSCALL]: Likewise.
37343 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37344
d34689de
RM
373452012-08-07 Roland McGrath <roland@hack.frob.com>
37346
a281decc
RM
37347 * sysdeps/unix/closedir.c: Renamed to ...
37348 * sysdeps/posix/closedir.c: ... here.
37349 * sysdeps/unix/dirfd.c: Renamed to ...
37350 * sysdeps/posix/dirfd.c: ... here.
37351 * sysdeps/unix/dirstream.h: Renamed to ...
37352 * sysdeps/posix/dirstream.h: ... here.
37353 * sysdeps/unix/fdopendir.c: Renamed to ...
37354 * sysdeps/posix/fdopendir.c: ... here.
37355 * sysdeps/unix/opendir.c: Renamed to ...
37356 * sysdeps/posix/opendir.c: ... here.
37357 * sysdeps/unix/readdir.c: Renamed to ...
37358 * sysdeps/posix/readdir.c: ... here.
37359 * sysdeps/unix/readdir_r.c: Renamed to ...
37360 * sysdeps/posix/readdir_r.c: ... here.
37361 * sysdeps/unix/rewinddir.c: Renamed to ...
37362 * sysdeps/posix/rewinddir.c: ... here.
37363 * sysdeps/unix/seekdir.c: Renamed to ...
37364 * sysdeps/posix/seekdir.c: ... here.
37365 * sysdeps/unix/telldir.c: Renamed to ...
37366 * sysdeps/posix/telldir.c: ... here.
37367 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37368 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37369 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37370 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37371
22895b47
RM
37372 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37373 * bits/fcntl.h: ... here.
37374
707a53b6
RM
37375 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37376 not 0.
37377 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37378 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37379 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37380 (struct flock): Move l_start, l_len to the beginning.
37381 Use __pid_t for l_pid.
37382 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37383 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37384 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37385 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37386 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37387 [__USE_LARGEFILE64] (struct flock64): New type.
37388 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37389
f0bd3e25
RM
37390 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37391 * bits/dirent.h: ... here.
37392
d34689de
RM
37393 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37394 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37395
6dad2c06
JM
373962012-08-07 Joseph Myers <joseph@codesourcery.com>
37397
37398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37399 Change from 2.6.0 to 2.6.16.
37400 * sysdeps/unix/sysv/linux/configure: Regenerated.
37401 * sysdeps/unix/sysv/linux/kernel-features.h
37402 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37403 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37404 version.
37405 (__ASSUME_UTIMES): Likewise.
37406 (__ASSUME_CLONE_STOPPED): Remove.
37407 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37408 architectures, not kernel version.
37409 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37410 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37411 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37412 (__ASSUME_WAITID_SYSCALL): Likewise.
37413 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37414 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37415 * README: State 2.6.16 as minimum Linux kernel version. Do not
37416 refer to older versions.
37417
03af9520
RM
374182012-08-06 Roland McGrath <roland@hack.frob.com>
37419
8e49df1d
RM
37420 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37421 Define alphasort64 as an alias.
37422 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37423 Define versionsort64 as an alias.
37424 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37425 Define scandir64 as an alias.
37426 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37427 Define scandirat64 as an alias.
37428 * dirent/alphasort64.c (alphasort64):
37429 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37430 * dirent/versionsort64.c: Likewise.
37431 * dirent/scandir64.c: Likewise.
37432 * dirent/scandirat64.c: Likewise.
37433 * sysdeps/wordsize-64/alphasort.c: File removed.
37434 * sysdeps/wordsize-64/alphasort64.c: File removed.
37435 * sysdeps/wordsize-64/scandir.c: File removed.
37436 * sysdeps/wordsize-64/scandir64.c: File removed.
37437 * sysdeps/wordsize-64/scandirat.c: File removed.
37438 * sysdeps/wordsize-64/scandirat64.c: File removed.
37439 * sysdeps/wordsize-64/versionsort.c: File removed.
37440 * sysdeps/wordsize-64/versionsort64.c: File removed.
37441 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37442 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37443 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37444 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37445 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37446 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37447 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37448 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37449
37450 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37452 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37454 [defined __arch64__ || defined __sparcv9]
37455 (__INO_T_MATCHES_INO64_T): New macro.
37456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37457 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37458 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37459 * sysdeps/unix/sysv/linux/bits/dirent.h
37460 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37461 (_DIRENT_MATCHES_DIRENT64): New macro.
37462
03af9520
RM
37463 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37464 Define lockf64 as an alias.
37465 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37466 Define fseeko64 as an alias.
37467 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37468 Define ftello64 as an alias.
37469 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37470 Define _IO_fgetpos64 and fgetpos64 as aliases.
37471 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37472 Define _IO_fsetpos64 and fsetpos64 as aliases.
37473 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37474 Conditionalize body on this.
37475 * libio/fseeko64.c: Likewise.
37476 * libio/ftello64.c: Likewise.
37477 * libio/iofgetpos64.c: Likewise.
37478 * libio/iofsetpos64.c: Likewise.
37479 * sysdeps/wordsize-64/lockf.c: File removed.
37480 * sysdeps/wordsize-64/lockf64.c: File removed.
37481 * sysdeps/wordsize-64/fseeko.c: File removed.
37482 * sysdeps/wordsize-64/fseeko64.c: File removed.
37483 * sysdeps/wordsize-64/ftello.c: File removed.
37484 * sysdeps/wordsize-64/ftello64.c: File removed.
37485 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37486 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37487 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37488 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37489 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37490 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37491 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37492 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37493 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37494 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37496 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37497 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37498 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37499
37500 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37502 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37504 [defined __arch64__ || defined __sparcv9]
37505 (__OFF_T_MATCHES_OFF64_T): New macro.
37506 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37507 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37509 (__OFF_T_MATCHES_OFF64_T): New macro.
37510
c5757acd
L
375112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37512
37513 * stdlib/secure-getenv.c (__secure_getenv): Replace
37514 GLIBC_2_16 with GLIBC_2_17.
37515
3a31811e
L
375162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37517
37518 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37519 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37520
faa2bccb
DM
375212012-08-03 David S. Miller <davem@davemloft.net>
37522
37523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37524
85fe1997
JM
375252012-08-03 Joseph Myers <joseph@codesourcery.com>
37526
37527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37528 Remove.
37529 (__ASSUME_CORRECT_SI_PID): Likewise.
37530 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37531 (__ASSUME_TMPFS_NAME): Likewise.
37532 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37533 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37534 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37535 (HAVE_AUX_SECURE): Make definition unconditional.
37536 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37537 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37538
4f75b7a0
RM
375392012-08-03 Roland McGrath <roland@hack.frob.com>
37540
37541 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37542 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37543 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37544 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37545 __eloop_threshold instead of SYMLOOP_MAX.
37546
37547 * sysdeps/generic/eloop-threshold.h: New file.
37548 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37549 of MAXSYMLINKS.
37550 * elf/chroot_canon.c (chroot_canon): Likewise.
37551
7aab07e4
JM
375522012-08-03 Joseph Myers <joseph@codesourcery.com>
37553
37554 [BZ #13717]
37555 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37556 Change to 2.6.0 everywhere.
37557 * sysdeps/unix/sysv/linux/configure: Regenerated.
37558 * sysdeps/unix/sysv/linux/kernel-features.h
37559 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37560 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37561 kernel versions.
37562 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37563 (__ASSUME_FUTEX_REQUEUE): Remove.
37564 (__ASSUME_STATFS64): Define unconditionally.
37565 (__ASSUME_AT_SECURE): Likewise.
37566 (__ASSUME_CORRECT_SI_PID): Likewise.
37567 (__ASSUME_TGKILL): Define without depending on kernel version for
37568 i386.
37569 (__ASSUME_UTIMES): Likewise.
37570 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37571 kernel version.
37572 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37573 (__ASSUME_TMPFS_NAME): Likewise.
37574 * README: Update reference to Linux kernel versions.
37575
b67e9372
MP
375762012-08-02 Marek Polacek <polacek@redhat.com>
37577
1f529f7d 37578 [BZ# 14150]
b67e9372
MP
37579 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37580 libc_cv_asm_type_prefix with %.
37581 * configure: Regenerated.
d2441631
RM
37582 * include/libc-symbols.h: Remove comment about
37583 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
37584 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37585 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37586 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37587 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37588 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37589 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37590 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37591 * elf/tst-unique2mod1.c: Likewise.
37592 * elf/tst-unique1mod2.c: Likewise.
37593 * elf/tst-unique1mod1.c: Likewise.
37594 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37595 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37596 Replace ASM_TYPE_DIRECTIVE with .type.
37597 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37598 * sysdeps/i386/sysdep.h: Likewise.
37599 * sysdeps/x86_64/sysdep.h: Likewise.
37600 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
37601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37602 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 37603 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
37604 * sysdeps/powerpc/powerpc32/sysdep.h:
37605 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
37606 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37607 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37608 * sysdeps/i386/fpu/e_powf.S: Likewise.
37609 * sysdeps/i386/fpu/e_expl.S: Likewise.
37610 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37611 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37612 * sysdeps/i386/fpu/e_pow.S: Likewise.
37613 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37614 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37615 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37616 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37617 * sysdeps/i386/fpu/e_log2.S: Likewise.
37618 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37619 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37620 * sysdeps/i386/fpu/e_powl.S: Likewise.
37621 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37622 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37623 * sysdeps/i386/fpu/e_logl.S: Likewise.
37624 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37625 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37626 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37627 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37628 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37629 * sysdeps/i386/fpu/e_log.S: Likewise.
37630 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37631 * sysdeps/i386/fpu/e_logf.S: Likewise.
37632 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37633 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37634 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37635 * sysdeps/i386/fpu/e_log10.S: Likewise.
37636 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37637 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37638 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37639 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37640 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37641 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37642 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37643 * sysdeps/i386/i686/strtok.S: Likewise.
37644 * sysdeps/i386/i386-mcount.S: Likewise.
37645 * sysdeps/i386/strtok.S: Likewise.
37646 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37647 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37649 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37650 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37651 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37652 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37653 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37654 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37655 * sysdeps/x86_64/_mcount.S: Likewise.
37656 * sysdeps/x86_64/strtok.S: Likewise.
37657 * sysdeps/sh/_mcount.S: Likewise.
37658
2747bf9a
RM
376592012-08-01 Roland McGrath <roland@hack.frob.com>
37660
37661 * libio/iofopen.c: Include <fcntl.h>.
37662 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37663 (_IO_fopen64, fopen64): Define as aliases.
37664 * libio/iofopen64.c: Include <fcntl.h>.
37665 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37666 Conditionalize body on this.
37667 * sysdeps/wordsize-64/iofopen.c: File removed.
37668 * sysdeps/wordsize-64/iofopen64.c: File removed.
37669
3fb791b8
MP
376702012-08-01 Marek Polacek <polacek@redhat.com>
37671
37672 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37673 Use dlfcn directly instead of a variable.
37674 (binfmt-subdir): Do not define.
37675 (dlfcn): Likewise.
37676
a9f1039f
JM
376772012-08-01 Joseph Myers <joseph@codesourcery.com>
37678
23bddc06
JM
37679 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37680 Remove all definitions.
37681 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37682 <kernel-features.h>.
37683 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37684 (miss_F_GETOWN_EX): Remove all definitions.
37685 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37686 macro definition.
37687 [!__ASSUME_FCNTL64]: Remove conditional code.
37688 [__ASSUME_FCNTL64]: Make code unconditional.
37689 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37690 <kernel-features.h>.
37691 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37692 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37693 (lockf64) [__NR_fcntl64]: Make code unconditional.
37694 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37695
a9f1039f
JM
37696 * sysdeps/unix/sysv/linux/kernel-features.h
37697 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37698 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37699 Make code unconditional.
37700 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37701 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37703 [__NR_vfork]: Make code unconditional.
37704 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37705 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37707 [__NR_vfork]: Make code unconditional.
37708 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37709 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37710
09c0ee5f
RM
377112012-08-01 Roland McGrath <roland@hack.frob.com>
37712
48aec5b9
RM
37713 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37714 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37715
cd97c966
RM
37716 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37717 Define mkstemp64 as an alias.
3f55550c
RM
37718 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37719 Define mkstemps64 as an alias.
cd97c966
RM
37720 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37721 Define mkostemp64 as an alias.
b8625cfc
RM
37722 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37723 Define mkostemps64 as an alias.
cd97c966
RM
37724 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37725 Conditionalize body on this.
37726 * misc/mkostemp64.c: Likewise.
b8625cfc 37727 * misc/mkostemps64.c: Likewise.
3f55550c 37728 * misc/mkstemps64.c: Likewise.
cd97c966
RM
37729 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37730 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37731 * sysdeps/wordsize-64/mkostemp.c: File removed.
37732 * sysdeps/wordsize-64/mkstemp.c: File removed.
37733 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37734 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37735 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37736 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37737
09c0ee5f
RM
37738 [BZ #14138]
37739 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37740 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37741 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37742 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37743
37744 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37745 compat_symbol macros from <shlib-compat.h> rather than the underlying
37746 default_symbol_version and symbol_version macros, so that DEFAULT
37747 lines in shlib-versions are respected.
37748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37749
7e66ee51
FW
377502012-08-01 Florian Weimer <fweimer@redhat.com>
37751
37752 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37753 Declare with warn_unused_result.
37754 (setgid, setregid, setegid, setresgid): Likewise.
37755 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37756 Likewise.
37757 * WUR-REPORT: Remove set*id functions.
37758
d2a54255
PT
377592012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37760
37761 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37762
7ecdb005
RM
377632012-07-31 Roland McGrath <roland@hack.frob.com>
37764
b4180a5e 37765 [BZ #10191]
789bd351
RM
37766 * include/sys/socket.h (__libc_accept, __libc_accept4):
37767 Add attribute_hidden.
37768 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37769
40ce302d
RM
37770 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37771 use of PTR_MANGLE.
37772 * inet/getnetgrent_r.c (setup): Likewise.
37773
7ecdb005
RM
37774 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37775
e2eabb2c
DM
377762012-07-31 David S. Miller <davem@davemloft.net>
37777
37778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37779
d0419dbf
JM
377802012-07-31 Joseph Myers <joseph@codesourcery.com>
37781
37782 [BZ #13629]
37783 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37784 value between 1.0 and 2.0 and smaller part has absolute value less
37785 than 1.0.
37786 * math/s_clog10.c (__clog10): Likewise.
37787 * math/s_clog10f.c (__clog10f): Likewise.
37788 * math/s_clog10l.c (__clog10l): Likewise.
37789 * math/s_clogf.c (__clogf): Likewise.
37790 * math/s_clogl.c (__clogl): Likewise.
37791 * math/libm-test.inc (clog_test): Add more tests.
37792 (clog10_test): Likewise.
37793 * sysdeps/i386/fpu/libm-test-ulps: Update.
37794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37795
2bc13872
FW
377962012-07-31 Florian Weimer <fweimer@redhat.com>
37797
37798 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37799 Exit with zero in case no suitable GID is found, and write a
37800 message to standard error.
37801
bea9b193
RM
378022012-07-30 Roland McGrath <roland@hack.frob.com>
37803
37804 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37805 rather than to 1.
37806 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37807 (MAXPATHLEN): Removed.
37808 (NOGROUP, NODEV): New macros.
37809 (setbit, clrbit, isset, isclr): New macros.
37810 (howmany, roundup, powerof2): New macros.
37811 (DEV_BSIZE): New macro.
37812
37813 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37814 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37815
37816 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37817 definition on [!__NO_LONG_DOUBLE_MATH].
37818
37819 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37820 PTR_MANGLE and PTR_DEMANGLE.
37821
37822 * socket/accept4.c (accept4): Rename to __libc_accept4.
37823 Define accept4 as a weak alias.
37824
37825 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37826 on [_DIRENT_HAVE_D_TYPE].
37827 * io/ftw.c (ftw_dir): Likewise.
37828
37829 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37830
37831 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37832
37833 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37834 Use the BSD numbers rather than the arbitrary ones we had.
37835 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37836 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37837 (SIGXCPU, SIGXFSZ): New macros.
37838 (_NSIG): Now 32.
37839
37840 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37841 initializer on [_LIBC_REENTRANT].
37842
37843 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37844 definitions inside [_POSIX_MAPPED_FILES].
37845
37846 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37847
37848 * dirent/opendir.c: Include <fcntl.h>.
37849
37850 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37851 (__libc_getspecific): Likewise.
37852 (__libc_key_create): Likewise.
37853
37854 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37855 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37856 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37857 (tmpfile64): Define as alias.
37858 * sysdeps/wordsize-64/tmpfile.c: File removed.
37859 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37860 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37861 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37862
37863 * stdio-common/vfscanf.c: Include <stdbool.h>.
37864 * nss/makedb.c: Likewise.
37865 * stdio-common/_i18n_number.h: Likewise.
37866 * argp/argp-help.c: Likewise.
37867 * posix/wordexp.c: Likewise.
37868 * sysdeps/posix/spawni.c: Likewise.
37869 * nss/nss_files/files-initgroups.c: Likewise.
37870 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37871 * nss/nss_files/files-initgroups.c: Likewise.
37872 * nss/nss_db/db-netgrp.c: Likewise.
37873 * nss/nss_db/db-initgroups.c: Likewise.
37874 * io/fchmodat.c: Include <sys/stat.h>.
37875
37876 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37877 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37878
37879 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37880 [HAVE_MMAP].
37881
37882 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37883 Add multiple inclusion protection.
37884
e5abc686
DM
378852012-07-27 David S. Miller <davem@davemloft.net>
37886
37887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37888
815e6fa3
GB
378892012-07-27 Gary Benson <gbenson@redhat.com>
37890
37891 [BZ #14298]
37892 * elf/rtld.c: Include <stap-probe.h>.
37893 (dl_main): Added static probes "init_start" and "init_complete".
37894 * elf/dl-load.c: Include <stap-probe.h>.
37895 (lose): Take new parameter "nsid".
37896 Added static probe "map_failed".
37897 (_dl_map_object_from_fd): Pass namespace id to lose.
37898 Added static probe "map_start".
37899 (open_verify): Pass namespace id to lose.
37900 * elf/dl-open.c: Include <stap-probe.h>.
37901 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37902 and "reloc_complete".
37903 * elf/dl-close.c: Include <stap-probe.h>.
37904 (_dl_close_worker): Added static probes "unmap_start" and
37905 "unmap_complete".
37906 * elf/rtld-debugger-interface.txt: New file documenting the above.
37907
9f98c16c
RM
379082012-07-26 Roland McGrath <roland@hack.frob.com>
37909
37910 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37911 rather than a string variable.
37912 * sunrpc/rpc_main.c (h_output): Likewise.
37913 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37914
f3c22df3
PT
379152012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37916
37917 * inet/check_native.c: New file.
37918
3129cfc6
JM
379192012-07-26 Joseph Myers <joseph@codesourcery.com>
37920
da865e95
JM
37921 [BZ #13629]
37922 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37923 if larger part has absolute value 1.0.
37924 * math/s_clog10.c (__clog10): Likewise.
37925 * math/s_clog10f.c (__clog10f): Likewise.
37926 * math/s_clog10l.c (__clog10l): Likewise.
37927 * math/s_clogf.c (__clogf): Likewise.
37928 * math/s_clogl.c (__clogl): Likewise.
37929 * math/libm-test.inc (clog_test): Add more tests.
37930 (clog10_test): Likewise.
37931 * sysdeps/i386/fpu/libm-test-ulps: Update.
37932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37933
3129cfc6
JM
37934 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37935 (pltexit): Likewise.
37936 (La_regs): Likewise.
37937 (La_retval): Likewise.
37938 (int_retval): Likewise.
37939 Update #error for removed macros to refer only to definitions in
37940 tst-audit.h.
37941 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.c (pltenter): Remove all definitions of
37954 macro.
37955 (pltexit): Likewise.
37956 (La_regs): Likewise.
37957 (La_retval): Likewise.
37958 (int_retval): Likewise.
37959 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37960 macro.
37961 (pltexit): Likewise.
37962 (La_regs): Likewise.
37963 (La_retval): Likewise.
37964 (int_retval): Likewise.
37965 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37966 macro.
37967 (pltexit): Likewise.
37968 (La_regs): Likewise.
37969 (La_retval): Likewise.
37970 (int_retval): Likewise.
37971 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37972 macro.
37973 (pltexit): Likewise.
37974 (La_regs): Likewise.
37975 (La_retval): Likewise.
37976 (int_retval): Likewise.
37977 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37978 macro definitions in tst-audit.h.
37979 * sysdeps/i386/tst-audit.h: New file.
37980 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37981 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37982 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37983 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37984 * sysdeps/sh/tst-audit.h: Likewise.
37985 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37986 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37987 * sysdeps/x86_64/tst-audit.h: Likewise.
37988
bfc07087
AJ
379892012-07-26 Andreas Jaeger <aj@suse.de>
37990
b1b2aaf8
AJ
37991 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37992 ptrace.
37993
37994 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37995 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37996 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37997 PTRACE_O_MASK.
37998 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37999 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38000 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38001
bfc07087
AJ
38002 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38003 value.
38004
38005 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38006 _sigsys.
38007 (si_call_addr, si_syscall, si_arch): Define new macro.
38008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38009 _sigsys.
38010 (si_call_addr, si_syscall, si_arch): Define new marcro.
38011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38012 _sigsys.
38013 (si_call_addr, si_syscall, si_arch): Define new macro.
38014 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38015 _sigsys.
38016 (si_call_addr, si_syscall, si_arch): Define new macro.
38017
89b4b02f
JM
380182012-07-25 Joseph Myers <joseph@codesourcery.com>
38019
38020 [BZ #13717]
38021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38022 Change to 2.4.21 where previously 2.4.1.
38023 * sysdeps/unix/sysv/linux/configure: Regenerated.
38024 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38025 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38026 Linux kernel version.
38027 (__ASSUME_STD_AUXV): Remove.
38028 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38029 kernel version.
38030 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38031 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38032 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38033 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38034 (__ASSUME_NETLINK_SUPPORT): Likewise.
38035 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38036 (__no_netlink_support): Remove conditional definition.
38037 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38038 Remove.
38039 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38040 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38041 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38042 (if_nameindex_ioctl): Remove.
38043 (if_nameindex_netlink): Do not handle __no_netlink_support.
38044 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38045 code.
38046 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38047 Remove conditional code.
38048 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38049 code.
38050 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38051 unconditional.
38052 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38053 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38054 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38055 Remove.
38056 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38057 [!__ASSUME_STD_AUXV]: Remove conditional code.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38059 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38060 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38062 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38063 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38064 code.
38065 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38067 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38068 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38069 conditional code.
38070 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38072 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38073 code.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38075 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38076 conditional code.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38078 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38079 code unconditional.
38080 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38081 conditional code.
38082 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38083 unconditional.
38084 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38085 conditional code.
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38087 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38088 unconditional.
38089 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38090 conditional code.
38091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38092 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38093 code unconditional.
38094 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38095 conditional code.
38096 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38097 unconditional.
38098 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38099 conditional code.
38100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38101 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38102 code unconditional.
38103 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38104 conditional code.
38105 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38106 unconditional.
38107 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38108 conditional code.
38109
842a39cd
AS
381102012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38111
38112 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38113 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38114 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38115 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38116 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38117 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38118 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38119 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38120 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38121 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38122 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38123 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38124 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38125 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38126 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38127 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38128 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38129 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38130 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38132 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38133 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38135
84b3fd84
FW
381362012-07-25 Florian Weimer <fweimer@redhat.com>
38137
38138 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38139 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38140 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38141 Introduce __libc_secure_getenv.
0c7936d5
FW
38142 * stdlib/Versions (2.17): Add secure_getenv
38143 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38144 * stdlib/secure-getenv.c: Rename __secure_getenv to
38145 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38146 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38147 * stdlib/tst-secure-getenv.c: New.
38148 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38149 * manual/startup.texi (Environment Access): Document
38150 secure_getenv.
84b3fd84
FW
38151 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38152 __libc_secure_getenv.
38153 * inet/ruserpass.c (ruserpass): Likewise.
38154 * malloc/mtrace.c (mtrace): Likewise.
38155 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38156 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38157 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38158 * sysdeps/posix/tempname.c: Likewise. Evaluate
38159 HAVE_SECURE_GETENV.
38160 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38161 __secure_getenv to __libc_secure_getenv.
84b3fd84 38162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38164 Likewise.
38165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38166 Likewise.
38167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38169 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38174
56e49b71
JM
381752012-07-25 Joseph Myers <joseph@codesourcery.com>
38176
38177 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38178 (struct La_i86_retval): Likewise.
38179 (struct La_x86_64_regs): Likewise.
38180 (struct La_x86_64_retval): Likewise.
38181 (struct La_x32_regs): Likewise.
38182 (struct La_x32_retval): Likewise.
38183 (struct La_ppc32_regs): Likewise.
38184 (struct La_ppc32_retval): Likewise.
38185 (struct La_ppc64_regs): Likewise.
38186 (struct La_ppc64_retval): Likewise.
38187 (struct La_sh_regs): Likewise.
38188 (struct La_sh_retval): Likewise.
38189 (struct La_s390_32_regs): Likewise.
38190 (struct La_s390_32_retval): Likewise.
38191 (struct La_s390_64_regs): Likewise.
38192 (struct La_s390_64_retval): Likewise.
38193 (struct La_sparc32_regs): Likewise.
38194 (struct La_sparc32_retval): Likewise.
38195 (struct La_sparc64_regs): Likewise.
38196 (struct La_sparc64_retval): Likewise.
38197 (struct audit_ifaces): Remove architecture-specific pltenter and
38198 pltexit members.
38199 * sysdeps/i386/ldsodefs.h: New file.
38200 * sysdeps/powerpc/ldsodefs.h: Likewise.
38201 * sysdeps/s390/ldsodefs.h: Likewise.
38202 * sysdeps/sh/ldsodefs.h: Likewise.
38203 * sysdeps/sparc/ldsodefs.h: Likewise.
38204 * sysdeps/x86_64/ldsodefs.h: Likewise.
38205
354691b7
MP
382062012-07-25 Marek Polacek <polacek@redhat.com>
38207
38208 [BZ #6808]
38209 * math/libm-test.inc (yn_test): Add another test.
38210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38211 to ERANGE when the result is +-Inf.
38212 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38213 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38214 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38215 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38216
bf9e2071
JM
382172012-07-24 Joseph Myers <joseph@codesourcery.com>
38218
38219 * conform/data/time.h-data (NULL): Use macro-constant. Require
38220 equal to 0.
38221 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38222 clock_t.
38223 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38224
57633811
TS
382252012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38226
38227 * configure.in <sysdeps resolving>: Correct printing
38228 Implies_before.
38229 * configure: Regenerate.
38230
c23c33b0
TS
382312012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38232
38233 * math/w_ilogb.c: Include <limits.h>.
38234 * math/w_ilogbl.c: Likewise.
38235
b5982523
JM
382362012-07-20 Joseph Myers <joseph@codesourcery.com>
38237
38238 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38239 va_copy. Document allowing for unavailable va_copy only as
38240 pre-C99 compatibility.
38241 * manual/string.texi (Copying and Concatenation): Use va_copy
38242 instead of __va_copy in concat example.
38243
ac4ea442
PT
382442012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38245
38246 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38247 (__sendto): Use create_address_port. Initialize APORT and deallocate
38248 it if not null.
38249
f98eafbd
PT
38250 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38251 with O_NOLINK passed to __file_name_lookup.
38252
898c7aab
PT
38253 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38254 with O_NOLINK passed to __file_name_lookup.
38255
0ced335a
PT
38256 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38257 negative N or less than NGIDS.
38258
b3404dbd
PT
38259 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38260 type to string_t. Set ERANGE as errno and return it if NAME is not big
38261 enough. Use memcpy instead of strncpy.
38262
0f48659e
JM
382632012-07-20 Joseph Myers <joseph@codesourcery.com>
38264
38265 * elf/Makefile (check-data): Remove.
38266 (localplt.data): New vpath directive.
38267 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38268 instead of $(check-data).
38269 * scripts/data/localplt-generic.data: Move to ...
38270 * sysdeps/generic/localplt.data: ... here.
38271 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38272 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38273 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38275 ... here.
38276 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38278 ... here.
38279 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38281 ... here.
38282 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38284 ... here.
38285 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38287 ... here.
38288 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38290 ... here.
38291
d37cbdaa
AZ
382922012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38293
38294 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38295 PPC32 and PPC64 files.
38296 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38297 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38298
46f85fc2
AK
382992012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38300
38301 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38302 __makecontext_ret to ...
38303 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38304 ... here and call exit if uc_link is NULL. New file.
38305 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38306 __makecontext_ret.S.
38307 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38308 __makecontext_ret to ...
38309 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38310 ... here and call exit if uc_link is NULL. New file.
38311 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38312 __makecontext_ret.S.
38313
08f43f9b
AK
383142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38315
38316 * elf/elf.h (R_390_IRELATIVE): New definition.
38317 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38318 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38319 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38320 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38321 (elf_machine_lazy_rel): Likewise.
38322 * sysdeps/s390/dl-irel.h: New file.
38323 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38324 * sysdeps/s390/s390-64/memset.S: New asm code.
38325 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38326 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38327 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38328 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38329 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38330 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38331 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38332 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38333 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38334 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38335 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38336 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38337 * sysdeps/s390/s390-32/memset.S: New asm code.
38338 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38339
3b05db33
MP
383402012-07-17 Marek Polacek <polacek@redhat.com>
38341
38342 [BZ #14349]
38343 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38344 * sysdeps/s390/s390-64/configure.in: Likewise.
38345 * sysdeps/sparc/configure.in: Likewise.
38346 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38347 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38348 * sysdeps/i386/configure.in: Likewise.
38349 * sysdeps/x86_64/configure.in: Likewise.
38350 * sysdeps/sh/configure.in: Likewise.
38351 * sysdeps/s390/s390-32/configure: Regenerated.
38352 * sysdeps/s390/s390-64/configure: Likewise.
38353 * sysdeps/x86_64/configure: Likewise.
38354 * sysdeps/sh/configure: Likewise.
38355 * sysdeps/powerpc/powerpc64/configure: Likewise.
38356 * sysdeps/powerpc/powerpc32/configure: Likewise.
38357 * sysdeps/sparc/configure: Likwise.
38358 * sysdeps/i386/configure: Likewise.
38359
a66877c6
MP
38360 * elf/dl-open.c: Comment fixes.
38361
cfc82fd8
JM
383622012-07-17 Joseph Myers <joseph@codesourcery.com>
38363
bd29910a
JM
38364 * Makefile [CXX] (check-data): Remove.
38365 [CXX] (c++-types.data): New vpath directive.
38366 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38367 vpath. Do not allow for C++ type data being missing.
38368 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38369 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38370 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38371 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38372 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38373 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38374 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38376 ... here.
38377 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38379 ... here.
38380 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38382 ... here.
38383 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38385 ... here.
38386 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38388 ... here.
38389 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38391 ... here.
38392 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38394 ... here.
38395 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38397
cfc82fd8
JM
38398 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38399 definitions to architecture-specific files.
38400 (TLS_IE): Likewise.
38401 (TLS_LD): Likewise.
38402 (TLS_GD): Likewise.
38403 * sysdeps/i386/tls-macros.h: New file.
38404 * sysdeps/powerpc/tls-macros.h: Likewise.
38405 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38406 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38407 * sysdeps/sh/tls-macros.h: Likewise.
38408 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38409 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38410 * sysdeps/x86_64/tls-macros.h: Likewise.
38411
f7db3170
TS
384122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38413
07cbfc23
TS
38414 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38415 zero value for regular exit case.
38416
f7db3170
TS
38417 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38418 (__start_context): Preserve zero value for regular exit case.
38419
dc97c227
TS
384202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38421 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38422
38423 * manual/setjmp.texi (setcontext): Clarify normal process
38424 termination when uc_link is the null pointer.
38425 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38426 exit call.
38427
d0cd7d02
AS
384282012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38429
38430 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38431 preprocessor. Test for each exception mask separately.
38432
dd318934
AJ
384332012-07-16 Andreas Jaeger <aj@suse.de>
38434
38435 * po/ru.po: Update from translation team.
38436
8048311a
JM
384372012-07-15 Joseph Myers <joseph@codesourcery.com>
38438
38439 * conform/data/string.h-data (NULL): Use macro-constant. Require
38440 equal to 0.
38441 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38442 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38443 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38444 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38445 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38446
b637d46e
AJ
384472012-07-13 Andreas Jaeger <aj@suse.de>
38448
38449 * po/fr.po: Update from translation team.
38450
541428fe
MP
384512012-07-12 Marek Polacek <polacek@redhat.com>
38452
38453 [BZ #14173]
38454 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38455 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38456 loop condition.
38457
ec332e94
JM
384582012-07-12 Joseph Myers <joseph@codesourcery.com>
38459
38460 [BZ #13717]
38461 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38462 Change to 2.4.1 where previously 2.4.0.
38463 * sysdeps/unix/sysv/linux/configure: Regenerated.
38464 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38465 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38466 version.
38467 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38468 (__ASSUME_AT_CLKTCK): Remove.
38469 (__ASSUME_AT_PAGESIZE): Likewise.
38470 (__ASSUME_AT_XID): Likewise.
38471 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38472 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38473 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38474 unconditionally.
38475 (HAVE_AUX_PAGESIZE): Likewise.
38476 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38477 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38478 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38479
7b6e99be
JB
384802012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38481
38482 [BZ #14307]
38483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38484 the temporary buffer used to invoke __gethostbyname2_r,
38485 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38486 host_data / struct gaih_addrtuple.
38487 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38488 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38489 header file nss/nsswitch.h.
38490 * nss/nsswitch.h (global scope): Add definition of implementation
38491 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38492 resolv/nss_dns/dns-host.c).
38493
608404eb
AJ
384942012-07-11 Andreas Jaeger <aj@suse.de>
38495
38496 * po/fr.po: Update from translation team.
38497
71220aca
AJ
38498 * po/sv.po: Update from translation team
38499 * po/fr.po: Another update from translation team.
38500
28cfe843
AZ
385012012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38502
38503 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38504 for subnormals or multiply small sinh result by itself.
38505 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38507
6b90f981
DM
385082012-07-11 David S. Miller <davem@davemloft.net>
38509
38510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38511
c6825772
AS
385122012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38513
38514 [BZ #14347]
38515 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38516 (INTERNAL_MARK): Shift it here.
38517
7b8e0d49
MP
385182012-07-10 Marek Polacek <polacek@redhat.com>
38519
38520 [BZ #14151]
38521 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38522 libc_cv_asm_global_directive with .globl.
38523 * configure: Regenerated.
38524 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38525 with .globl.
38526 * sysdeps/i386/configure: Regenerated.
38527 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38528 with .globl.
38529 * sysdeps/x86_64/configure: Regenerated.
38530 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38531 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38532 * elf/tst-unique2mod2.c: Likewise.
38533 * elf/tst-unique2mod1.c: Likewise.
38534 * elf/tst-unique1mod2.c: Likewise.
38535 * elf/tst-unique1mod1.c: Likewise.
38536 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38537 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38538 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38539 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38540 * sysdeps/mach/sysdep.h: Likewise.
38541 * sysdeps/i386/sysdep.h: Likewise.
38542 * sysdeps/i386/i386-mcount.S: Likewise.
38543 * sysdeps/x86_64/_mcount.S: Likewise.
38544 * sysdeps/x86_64/sysdep.h: Likewise.
38545 * sysdeps/sh/_mcount.S: Likewise.
38546 * sysdeps/sh/sysdep.h: Likewise.
38547 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38548 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38549 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38550 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38551 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38552 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38553 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38554 * locale/localeinfo.h: Likewise.
38555 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38556 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38557
6c55cda3
RM
385582012-07-09 Roland McGrath <roland@hack.frob.com>
38559
38560 [BZ #14336]
38561 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38562 system".
38563 * manual/message.texi (The Uniforum approach): Likewise.
38564 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38565 (glibc iconv Implementation): Likewise.
38566
638a572e
JM
385672012-07-09 Joseph Myers <joseph@codesourcery.com>
38568
38569 [BZ #14337]
38570 * math/s_clog.c (__clog): Avoid scaling a value down where that
38571 could result in underflow.
38572 * math/s_clog10.c (__clog10): Likewise.
38573 * math/s_clog10f.c (__clog10f): Likewise.
38574 * math/s_clog10l.c (__clog10l): Likewise.
38575 * math/s_clogf.c (__clogf): Likewise.
38576 * math/s_clogl.c (__clogl): Likewise.
38577 * math/libm-test.inc (clog_test): Add more tests.
38578 (clog10_test): Likewise.
38579 * sysdeps/i386/fpu/libm-test-ulps: Update.
38580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38581
261f4859
AS
385822012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38583
0abaf3e4
AS
38584 [BZ #14283]
38585 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38586 by 7 not 8 to examine high bit of fractional part.
38587
261f4859
AS
38588 [BZ #14042]
38589 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38590 for call to __mcount_internal.
38591 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38592 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38593 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38594
f17ac40d
JM
385952012-07-06 Joseph Myers <joseph@codesourcery.com>
38596
9ad63c23
JM
38597 [BZ #14154]
38598 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38599 approximation for values within 0x1p-13f of an odd multiple of
38600 pi/4.
38601 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38602 exception. Add more tests.
38603 * sysdeps/i386/fpu/libm-test-ulps: Update.
38604
f17ac40d
JM
38605 [BZ #6778]
38606 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38607 inputs and return -1 for them. Do not check for +Inf in case not
38608 reachable for +Inf.
38609 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38610 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38611 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38612 and return -1 for them. Do not check for +Inf in case not
38613 reachable for +Inf.
38614 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38615 define.
38616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38617 and return -1 for them. Do not check for +Inf in case not
38618 reachable for +Inf.
38619 * math/libm-test.inc (expm1_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
fb21f89b
MF
386242012-07-06 Mike Frysinger <vapier@gentoo.org>
38625
38626 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38627
cdfe2c5e
JM
386282012-07-05 Joseph Myers <joseph@codesourcery.com>
38629
38630 [BZ #14157]
38631 [BZ #14331]
38632 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38633 could result in spurious underflow. Scale down values above
38634 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38635 * math/s_csqrtf.c (__csqrtf): Likewise.
38636 * math/s_csqrtl.c (__csqrtl): Likewise.
38637 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38638 spurious underflow.
38639 * sysdeps/i386/fpu/libm-test-ulps: Update.
38640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38641
70d35b67
AS
386422012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38643
704bc459
AS
38644 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38645 xopen-msg.sed.
38646 * catgets/xopen-msg.awk: New file.
38647 * catgets/xopen-msg.sed: Removed.
38648
70d35b67
AS
38649 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38650 po2text.sed.
38651 * intl/po2test.awk: New file.
38652 * intl/po2test.sed: Removed.
38653
ca61cf32
JM
386542012-07-04 Joseph Myers <joseph@codesourcery.com>
38655
38656 [BZ #14328]
38657 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38658 or multiply small sinh result by itself.
38659 * math/s_ctanf.c (__ctanf): Likewise.
38660 * math/s_ctanh.c (__ctanh): Likewise.
38661 * math/s_ctanhf.c (__ctanhf): Likewise.
38662 * math/s_ctanhl.c (__ctanhl): Likewise.
38663 * math/s_ctanl.c (__ctanl): Likewise.
38664 * math/libm-test.inc (ctan_test_tonearest): New function.
38665 (ctan_test_towardzero): Likewise.
38666 (ctan_test_downward): Likewise.
38667 (ctan_test_upward): Likewise.
38668 (ctanh_test_tonearest): Likewise.
38669 (ctanh_test_towardzero): Likewise.
38670 (ctanh_test_downward): Likewise.
38671 (ctanh_test_upward): Likewise.
38672 (main): Call these new functions.
38673 * sysdeps/i386/fpu/libm-test-ulps: Update.
38674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38675
ca48a46a
MF
386762012-07-03 Mike Frysinger <vapier@gentoo.org>
38677
38678 * .gitignore: Delete /ports entry.
38679
9d63d37d
AJ
386802012-07-03 Andreas Jaeger <aj@suse.de>
38681
38682 * po/bg.po: Update from translation team.
38683 * po/cs.po: Likewise.
38684 * po/de.po: Likewise.
38685 * po/hr.po: Likewise.
38686 * po/nl.pl: Likewise.
38687 * po/pl.po: Likewise.
38688 * po/vi.po: Likewise.
38689
370ca3d2
JM
386902012-07-03 Joseph Myers <joseph@codesourcery.com>
38691
95f5a9a8
JM
38692 * Makeconfig [!+link] (+link-before-libc): New variable.
38693 [!+link] (+link-after-libc): Likewise.
38694 [!+link] (+link-tests): Likewise.
38695 [!+link] (+link): Define in terms of $(+link-before-libc) and
38696 $(+link-after-libc).
38697 [!+link-static] (+link-static-before-libc): New variable.
38698 [!+link-static] (+link-static-after-libc): Likewise.
38699 [!+link-static] (+link-static-tests): Likewise.
38700 [!+link-static] (+link-static): Define in terms of
38701 $(+link-static-before-libc) and $(+link-static-after-libc).
38702 [build-shared] (link-libc-before-gnulib): New variable.
38703 [build-shared] (link-libc-tests): Likewise.
38704 [build-shared] (link-libc): Define in terms of
38705 $(link-libc-before-gnulib).
38706 [!build-shared] (link-libc-tests): New variable.
38707 (link-libc-static-tests): New variable.
38708 [!gnulib] (gnulib-arch): New variable.
38709 [!gnulib] (gnulib-tests): Likewise.
38710 [!gnulib] (static-gnulib-arch): Likewise.
38711 [!gnulib] (static-gnulib-tests): Likewise.
38712 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38713 Define with "=" instead of ":=".
38714 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38715 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38716 * Rules (binaries-all-notests): New variable.
38717 (binaries-all-tests): Likewise.
38718 (binaries-static-notests): Likewise.
38719 (binaries-static-tests): Likewise.
38720 (binaries-all): Define using $(binaries-all-notests) and
38721 $(binaries-all-tests).
38722 (binaries-static): Define using $(binaries-static-notests) and
38723 $(binaries-static-tests).
38724 (binaries-shared-tests): New variable.
38725 (binaries-shared-notests): Likewise.
38726 (binaries-shared): Remove variable.
38727 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38728 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38729 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38730 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38731 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38732 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38733 * elf/Makefile (sln-modules): New variable.
38734 (extra-objs): Add $(sln-modules:=.o).
38735 (ldconfig-modules): Add static-stubs.
38736 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38737 * elf/static-stubs.c: New file.
38738
7a845b2c
JM
38739 [BZ #14283]
38740 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38741 by 7 not 8 to examine high bit of fractional part. Use volatile
38742 variables when splitting into final array of floats if
38743 __FLT_EVAL_METHOD__ != 0.
38744 * math/libm-test.inc (cos_test): Add another test.
38745 (sin_test): Likewise.
38746 * sysdeps/i386/fpu/libm-test-ulps: Update.
38747
e2283f38
JM
38748 [BZ #14273]
38749 * math/libm-test.inc (cosh_test): Add more tests.
38750
370ca3d2
JM
38751 * version.h (RELEASE): Set to "development".
38752 (VERSION): Set to "2.16.90".
38753
ee9247c3
CD
387542012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38755
38756 * NEWS: Update copyright. Remove last-updated date.
38757 Mention math library bug fixes and timezone data changes.
38758 * README: Mention GNU/Hurd, x32, and HPPA support status.
38759
4648c381
TS
387602012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38761
38762 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38763
aac78a43
AJ
387642012-06-27 Andreas Jaeger <aj@suse.de>
38765
38766 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38767
ed3dbfad
AJ
387682012-06-25 Andreas Jaeger <aj@suse.de>
38769
38770 * sysdeps/s390/fpu/libm-test-ulps: Update.
38771
4d0ee855
AS
387722012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38773 Thomas Schwinge <thomas@codesourcery.com>
38774
38775 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38776 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38777 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38778 fanotify_mark.
38779
af1bce34
TS
387802012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38781
a9fa33ba
TS
38782 * sysdeps/mach/start.c: Remove file.
38783 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38784 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38785 * sysdeps/sh/init-first.c: Likewise.
38786
58f902b8
TS
38787 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38788 registers for frame unwinding purposes, add CFI directives.
38789 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38790 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38791 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38792 Likewise.
38793
1518f58b
TS
38794 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38795 __fortify_fail returning.
38796 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38797
db9b5059
TS
38798 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38799 sysdeps/sh/____longjmp_chk.S.
38800 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38801 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38802 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38803 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38804
967705fe
TS
38805 * sysdeps/sh/abort-instr.h: New file.
38806 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38807 process in case exit returns.
38808
a9def8c4
TS
38809 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38810 initialize the GOT register before use.
38811
2a649725
TS
38812 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38813 calculation of ARGC > 4.
38814
af1bce34
TS
38815 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38816 meaningful names to some local labels.
38817
d230f50a
KK
388182012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38819 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38820
38821 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38822 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38823 (__arch_compare_and_exchange_val_16_acq): Likewise.
38824 (__arch_compare_and_exchange_val_32_acq): Likewise.
38825 (atomic_exchange_and_add): Fix gUSA sequence.
38826 (atomic_add): Likewise.
38827 (atomic_add_negative): Likewise.
38828 (atomic_add_zero): Likewise.
38829 (atomic_bit_test_set): Likewise.
38830
0479b305
AS
388312012-06-22 Andreas Schwab <schwab@redhat.com>
38832
38833 [BZ #13579]
38834 * include/link.h (struct link_map): Add l_free_initfini.
38835 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38836 l_initfini.
38837 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38838 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38839 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38840 set.
38841
0e3933b9
CD
388422012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38843
38844 * configure.in: Use AC_LANG_SOURCE.
38845 * configure: Regenerate.
38846
4248b1b1
RM
388472012-06-22 Roland McGrath <roland@hack.frob.com>
38848
38849 * configure.in (libc_cv_localstatedir): New substituted variable.
38850 * configure: Regenerated.
38851 * config.make.in (localstatedir): New variable, substituted from
38852 libc_cv_localstatedir.
38853 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38854 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38855 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38856 * sysdeps/gnu/configure: Regenerated.
38857
006dd861
JL
388582012-06-21 Jeff Law <law@redhat.com>
38859
38860 [BZ #14277]
38861 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38862 free. Simplify list management for _LIBC case.
38863
79662d42
JM
388642012-06-21 Joseph Myers <joseph@codesourcery.com>
38865
b7abb4bf
JM
38866 [BZ #14273]
38867 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38868 Clear sign bit of 64-bit integer value before comparing against
38869 overflow value.
38870
79662d42
JM
38871 * sysdeps/mach/configure: Regenerated.
38872
1f150908
L
388732012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38874
38875 [BZ #14278]
38876 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38877
28363bbf
JL
388782012-06-21 Jeff Law <law@redhat.com>
38879
38880 [BZ #13882]
38881 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38882 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 38883 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
38884 * elf/dl-open.c (dl_open_worker): Likewise.
38885
09615db4
CD
388862012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38887
38888 * scripts/list-sources.sh: Scan PORTS for translations.
38889 * po/libc.pot: Regenerated.
38890
2174c6dd
AJ
388912012-06-21 Andreas Jaeger <aj@suse.de>
38892
38893 [BZ #12194]
38894 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38895 warning.
38896 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38897 * bits/byteswap-16.h (__bswap_16): Likewise.
38898 * bits/byteswap.h (__bswap_constant_16): Likewise.
38899
3ee947b1
L
389002012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38901
38902 [BZ #14117]
a2f34833
L
38903 * sysdeps/i386/fpu_control.h: Removed.
38904 * sysdeps/x86_64/fpu_control.h: Moved to ...
38905 * sysdeps/x86/fpu_control.h: Here.
38906
3ee947b1
L
38907 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38908 (_FPU_SETCW): Likewise.
38909
ed1825f8
L
389102012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38911
25f1282a
L
38912 [BZ #14117]
38913 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38914 * sysdeps/x86/fpu/bits/mathinline.h: This.
38915 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38916
ed1825f8
L
38917 [BZ #14050]
38918 [BZ #14117]
38919 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38920 functions if __x86_64__ is defined.
38921
36d54b74
CLT
389222012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38923
38924 * string/endian.h: Add !__ASSEMBLER__ condition for including
38925 conversion interfaces.
38926
10285c21
JM
389272012-06-15 Joseph Myers <joseph@codesourcery.com>
38928
38929 [BZ #14241]
38930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38931 of ABS(x) in calculating zero to negative powers other than odd
38932 integers.
38933 * math/libm-test.inc (pow_test): Add more tests.
38934
06c5abbd
AJ
389352012-06-15 Andreas Jaeger <aj@suse.de>
38936
38937 * manual/contrib.texi (Contributors): Update entry of Liubov
38938 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38939 Machado Filho.
38940
a3aeac40
CH
389412012-06-15 Cyril Hrubis <metan@ucw.cz>
38942
38943 * string/string.h: Add __wur to GNU version of strerror_r.
38944
49bdf4c1
L
389452012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38946
38947 [BZ #14229]
38948 * string/Makefile (tests): Add tst-strtok_r.
38949 * string/tst-strtok_r.c: New file.
38950 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38951 RAX_LP/RDX_LP on SAVE_PTR.
38952
834f9b8d
RM
389532012-06-14 Roland McGrath <roland@hack.frob.com>
38954
38955 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38956
75fa1921
JM
389572012-06-14 Joseph Myers <joseph@codesourcery.com>
38958
38959 * libm_test.inc (csqrt_test): Allow more spurious underflow
38960 exceptions.
38961 (j0_test): Likewise.
38962 (j1_test): Likewise.
38963 (y0_test): Likewise.
38964 (y1_test): Likewise.
38965
771766df
CD
389662012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38967
38968 * po/Makefile (libc.pot): Use UTF-8 charset.
38969
ceb9e56b
PP
389702012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38971
38972 [BZ #14210]
38973 Suppress sign-conversion warning from FD_SET.
38974 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38975 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38976 not unsigned long int.
38977 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38978
ddb28975
L
389792012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38980
38981 [BZ #14050]
38982 [BZ #14117]
38983 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38984 __extern_always_inline instead of __extern_inline.
38985 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38986 (__signbit): Likewise.
38987 (__signbitl): Support C++ namespace.
38988 (lrintf): New inline function.
38989 (lrint): Likewise.
38990 (llrintf): Likewise.
38991 (llrint): Likewise.
38992 (fmaxf): Likewise.
38993 (fmax): Likewise.
38994 (fminf): Likewise.
38995 (fmin): Likewise.
38996 (rint): Likewise.
38997 (rintf): Likewise.
38998 (ceil): Likewise.
38999 (ceilf): Likewise.
39000 (floor): Likewise.
39001 (floorf): Likewise.
39002 (nearbyint): Likewise.
39003 (nearbyintf): Likewise.
39004
d7b4fb26
TS
390052012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39006
39007 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39008 non-default versions.
39009
eb55f5c2
RM
390102012-06-11 Roland McGrath <roland@hack.frob.com>
39011
39012 [BZ #14218]
39013 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39014
366af02c
TS
390152012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39016
99ff6e5c
TS
39017 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39018 (FE_UPWARD, FE_DOWNWARD): Don't define.
39019 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39020 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39021
366af02c
TS
39022 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39023 reading it.
39024 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39025 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39026
793ea851
KK
390272012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39028
39029 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39031 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39032 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39033
a728a38f
L
390342012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39035
39036 [BZ #14117]
c08010c7
L
39037 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39038 * sysdeps/i386/fpu/Implies: New file.
39039 * sysdeps/x86_64/fpu/Implies: Likewise.
39040 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39041 * sysdeps/x86/fpu/bits/fenv.h: This.
39042
a728a38f
L
39043 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39044 __SSE_MATH__.
39045
6e230d11
SP
390462012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39047
39048 [BZ #14134]
39049 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39050 character 0xffff that matches the last element of the
39051 conversion table.
39052
1b671feb
AZ
390532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39054
39055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39056 fmodl commit.
39057
6043738b
AZ
390582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39059
39060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39061 values higher than 25.6283.
39062
34ae0b32
AZ
390632012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39064
39065 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39066 subnormal exponent extraction and add some __builtin_expect.
39067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39068 Fix for subnormal mantissa calculation.
39069
1214ec8f
MF
390702012-06-04 Mike Frysinger <vapier@gentoo.org>
39071
39072 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39073 cpu2 is -1 and errno is not ENOSYS.
39074
f3d1f93c
L
390752012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39076
39077 [BZ #14117]
0e4a3cd7
L
39078 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39079 * sysdeps/x86/bits/string.h: This.
39080 * sysdeps/x86_64/bits/string.h: Removed.
39081
6704c645
L
39082 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39083 if not compiling for x86-64, but compiling for >= i486.
39084
48495318
L
39085 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39086 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39087
14adcbfc
L
39088 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39089 New macro from Linux kernel 3.4.0.
39090 (FP_XSTATE_MAGIC2): Likewise.
39091 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39092 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39093 (struct _fpx_sw_bytes): New struct.
39094 (struct _xsave_hdr): Likewise.
39095 (struct _ymmh_state): Likewise.
39096 (struct _xstate): Likewise.
39097
68e408ab
L
39098 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39099 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39100 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39101 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39102 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39103 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39104
f3d1f93c
L
39105 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39106 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39107 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39108 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39109 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39110 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39111
d9dc34cd
TMQMF
391122012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39113
39114 [BZ #13743]
39115 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39116 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39117 (sysdep_headers): Include sys/platform/ppc.h.
39118 * sysdeps/powerpc/test-gettimebase.c: Test for
39119 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39120 * manual/Makefile (appendices): Include platform.texi.
39121 * manual/contrib.texi (Contributors): Update @node pointers.
39122 * manual/maint.texi (Maintenance): Likewise.
39123 (Platform): New node.
39124 * manual/platform.texi: New file. Document the new features.
39125
4af3879c
SP
391262012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39127 Jakub Jelinek <jakub@redhat.com>
39128
39129 [BZ #14188]
39130 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39131 where __builtin_expect is unavailable.
39132
2fd6ff13
DM
391332012-06-03 David S. Miller <davem@davemloft.net>
39134
39135 * stdlib/longlong.h: Updated from GCC.
39136
173f7220
AS
391372012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39138
39139 [BZ #14042]
39140 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39141 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39142 __mcount_internal.
39143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39144 (GLIBC_2.16): Likewise.
39145
f34a1c6f
L
391462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39147
39148 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39149
88a4576f
JM
391502012-06-01 Joseph Myers <joseph@codesourcery.com>
39151
ea32bcdd
JM
39152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39153 (default-abi): New variable.
39154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39155 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39156 variable.
39157 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39158 Likewise.
39159 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39160 Likewise.
39161 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39162 Likewise.
39163
88a4576f
JM
39164 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39165 definition. Document in comment.
39166
402fe938
DM
391672012-06-01 David S. Miller <davem@davemloft.net>
39168
39169 * stdlib/longlong.h: Updated from GCC.
39170
3553723f
L
391712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39172
39173 [BZ #14117]
3bd872c4
L
39174 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39175 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39176 sys/debugreg.h sys/io.h here.
39177 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39178 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39179 sys/io.h.
39180 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39181 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39182 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39183 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39184 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39185 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39186
3553723f
L
39187 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39188 Define only if __x86_64__ is defined.
39189
4842e4fe
JM
391902012-06-01 Joseph Myers <joseph@codesourcery.com>
39191
c5bfe3d5
JM
39192 [BZ #14048]
39193 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39194 Use int64_t for variable i.
39195 * math/libm-test.inc (fmod_test): Add more tests.
39196
4842e4fe
JM
39197 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39198 z computation is not scheduled after fetestexcept.
39199 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39200 Use math_force_eval instead of asm to ensure calculation scheduled
39201 before exception test.
39202 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39203 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39204
efb73488
AJ
392052012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39206
39207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39208 computation is not scheduled after fetestexcept.
39209
29bcce7c
L
392102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39211
39212 [BZ #14117]
39213 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39214 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39215
73a68f94
AZ
392162012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39217
39218 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39219 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39220
67b6df78
L
392212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39222
edf2933a 39223 [BZ #14117]
ebc64a18
L
39224 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39225 <bits/wordsize.h>.
39226 (__WCHAR_MIN): Support __WORDSIZE == 64.
39227 (__WCHAR_MAX): Likewise.
39228
edf2933a
L
39229 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39230 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39231
57c6cf40
L
39232 [BZ #14183]
39233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39234 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39235
67b6df78 39236 [BZ #14117]
8eb6281e
L
39237 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39238 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39239
aac639f4
L
39240 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39241 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39242
67b6df78
L
39243 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39244 Defined to 1 if __x86_64__ isn't defined.
39245 (_STAT_VER_LINUX_OLD): New.
39246 (st_atime): Remove duplicate.
39247 (st_mtime): Likewise.
39248 (st_ctime): Likewise.
39249
1c2cfe81
DM
392502012-05-31 David S. Miller <davem@davemloft.net>
39251
39252 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39253 entries.
39254
5be8418c
AS
392552012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39256
e7725326
AS
39257 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39258 gen-libm-test.pl.
39259
5be8418c
AS
39260 [BZ #14132]
39261 * elf/dl-reloc.c: Include <_itoa.h>.
39262 (_dl_reloc_bad_type): Remove use of INTUSE.
39263 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39264 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39265 * stdio-common/psiginfo.c (psiginfo): Likewise.
39266 * stdio-common/psignal.c (psignal): Likewise.
39267 * string/strsignal.c (strsignal): Likewise.
39268 * include/signal.h (_sys_siglist): Declare hidden proto.
39269 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39270 INTVARDEF with libc_hidden_data_def.
39271 * stdio-common/itoa-udigits.c: Likewise.
39272 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39273 (_itoa_lower_digits_internal): Remove declaration.
39274 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39275 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39276 (_sys_sigabbrev_internal): Remove aliases.
39277 (_sys_siglist): Define hidden alias.
39278
507352f1
MT
392792012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39280
39281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39282 bits/sysctl.h.
39283
42bbb1c3
L
392842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39285
39286 [BZ #14117]
6bd784b6
L
39287 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39288 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39289
8bca20f0
L
39290 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39291 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39292 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39293 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39295 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39296
f9e890a9
L
39297 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39298 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39299 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39300
471101a1
L
39301 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39302 with __addr.
39303 (insw): Likewise.
39304 (insl): Likewise.
39305 (outsb): Likewise.
39306 (outsw): Likewise.
39307 (outsl): Likewise.
39308
6451c862
L
39309 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39310 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39311 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39312
a254b8c9
L
39313 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39314 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39315 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39316 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39317 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39318 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39319
b8dfdd92
L
39320 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39321 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39322
578cd270
L
39323 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39324 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39325
de662f5f
L
39326 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39328 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39329
25653439
L
39330 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39331 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39332 to ...
39333 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39334
6bad24a0
L
39335 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39336 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39337 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39338
42bbb1c3
L
39339 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39340 for x86-64.
39341 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39342
2d10d547
JM
393432012-05-31 Joseph Myers <joseph@codesourcery.com>
39344
39345 * math/math.h (M_El): Use two more decimal places.
39346 (M_LOG2El): Likewise.
39347 (M_LOG10El): Likewise.
39348 (M_LN2l): Likewise.
39349 (M_LN10l): Likewise.
39350 (M_PIl): Likewise.
39351 (M_PI_2l): Likewise.
39352 (M_PI_4l): Likewise.
39353 (M_1_PIl): Likewise.
39354 (M_2_PIl): Likewise.
39355 (M_2_SQRTPIl): Likewise.
39356 (M_SQRT2l): Likewise.
39357 (M_SQRT1_2l): Likewise.
39358
f230c29b
DM
393592012-05-31 David S. Miller <davem@davemloft.net>
39360
39361 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39362 values between float registers.
39363 * sysdeps/sparc/sparc64/memset.S: Likewise.
39364 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39365
fed806c3
MF
393662012-05-31 Mike Frysinger <vapier@gentoo.org>
39367
39368 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39369 -D_FORTIFY_SOURCE=1.
39370 (CPPFLAGS-tst-longjmp_chk.c): Define.
39371 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39372 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39373 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39374 CFLAGS-tst-wchar-h.c.
39375
30917259
MP
393762012-05-31 Marek Polacek <polacek@redhat.com>
39377
39378 [BZ #14132]
39379 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39380 __endmntent_internal): Remove declaration.
39381 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39382 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39383 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39384
1c58d5dc
DM
393852012-05-30 David S. Miller <davem@davemloft.net>
39386
39387 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39388 (___Q_simulate_exceptions): Use real FP ops rather than writing
39389 into the %fsr.
39390 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39391 Likewise.
39392
7dc00e0d
L
393932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39394
39395 [BZ #14117]
0bd53985
L
39396 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39397 * sysdeps/x86/bits/xtitypes.h: This.
39398
3a257e66
L
39399 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39400 * sysdeps/x86/bits/wordsize.h: This.
39401
62f62904
L
39402 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39403 * sysdeps/x86/bits/huge_vall.h: This.
39404
404fe9d9
L
39405 * sysdeps/i386/bits/select.h: Removed.
39406 * sysdeps/x86_64/bits/select.h: Renamed to ...
39407 * sysdeps/x86/bits/select.h: This.
39408
d48d0446
L
39409 * sysdeps/i386/bits/setjmp.h: Removed.
39410 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39411 * sysdeps/x86/bits/setjmp.h: This.
39412
7dc00e0d
L
39413 * sysdeps/i386/bits/mathdef.h: Removed.
39414 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39415 * sysdeps/x86/bits/mathdef.h: This.
39416
03277f8f
AS
394172012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39418
39419 [BZ #14132]
39420 * include/sys/socket.h (__connect_internal)
39421 (__libc_sa_len_internal): Remove declaration.
39422 (__connect, __libc_sa_len): Declare hidden_proto.
39423 (SA_LEN): Remove use of INTUSE.
39424 * socket/connect.c: Add libc_hidden_def.
39425 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39426 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39427 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39428 alias.
39429 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39430 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39431 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39432 of adding _internal alias.
39433
13764867
L
394342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39435
39436 [BZ #14117]
6bd97696
L
39437 * sysdeps/i386/bits/link.h: Removed.
39438 * sysdeps/i386/bits/linkmap.h: Likewise.
39439 * sysdeps/x86_64/bits/link.h: Renamed to ...
39440 * sysdeps/x86/bits/link.h: This.
39441 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39442 * sysdeps/x86/bits/linkmap.h: This.
39443
f726f0bb
L
39444 * sysdeps/i386/bits/endian.h: Removed.
39445 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39446 * sysdeps/x86/bits/endian.h: This.
39447
13764867
L
39448 * sysdeps/i386/bits/byteswap.h: Removed.
39449 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39450 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39451 * sysdeps/x86/bits/byteswap.h: This.
39452 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39453 * sysdeps/x86/bits/byteswap-16.h: This.
39454 * sysdeps/i386/Implies: Add x86.
39455 * sysdeps/x86_64/Implies: Likewise.
39456
ae251b0b
DM
394572012-05-30 David S. Miller <davem@davemloft.net>
39458
39459 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39460 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39461 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39462 (FP_TRAPPING_EXCEPTIONS): Define.
39463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39464 (FP_TRAPPING_EXCEPTIONS): Define.
39465 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39466 subnormals only when inexact has been signalled or underflow
39467 exceptions are enabled.
39468 (_FP_PACK_CANONICAL): Likewise.
39469
d5c90867
L
394702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39471
39472 [BZ #14183]
39473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39474 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39475
63f1549e
RH
394762012-05-30 Richard Henderson <rth@twiddle.net>
39477
8d8f2279
RH
39478 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39479 with #ifndef NOT_IN_libc.
39480
63f1549e
RH
39481 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39482 marked to avoid plt entry.
39483
0ab0291b
L
394842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39485
39486 [BZ #14112]
39487 * Makeconfig (default-abi): New macro.
39488 (abi-includes): Likewise.
39489 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39490 $(abi-$(default-abi)-lib-soname) for soname if defined.
39491 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39492 abi-variants.
39493 * Makefile (installed-stubs): Likewise.
39494 * include/stubs-biarch.h: Removed.
39495 * scripts/lib-names.awk: Only handle one library at a time.
39496 * scripts/soversions.awk: Remove WORDSIZE support.
39497 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39498 entries.
39499 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39500 Removed.
39501 (syscall-list-default-condition): Likewise.
39502 (syscall-list-default-condition): Likewise.
39503 (syscall-list-includes): Likewise.
39504 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39505 syscall-list-* with abi-*. Handle undefined abi-variants.
39506 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39507 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39508 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39509 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39510 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39511 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39512 Removed.
39513 (syscall-list-32-options): Likewise.
39514 (syscall-list-32-condition): Likewise.
39515 (syscall-list-64-options): Likewise.
39516 (syscall-list-64-condition): Likewise.
39517 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39518 macro.
39519 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39520 Renamed to ...
39521 (abi-*): This.
39522 (abi-64-ld-soname): New macro.
39523 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39524 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39525 Renamed to ...
39526 (abi-*): This.
39527 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39528 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39529
4da0431d
JM
395302012-05-30 Joseph Myers <joseph@codesourcery.com>
39531
3a85279c
JM
39532 * sysdeps/unix/sysv/linux/kernel-features.h
39533 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39534 * sysdeps/unix/sysv/linux/ftruncate64.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 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39541 include <kernel-features.h>.
39542 [!__NR_ftruncate64]: Remove conditional code.
39543 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39544 [__NR_ftruncate64]: Make code unconditional.
39545 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39547 include <kernel-features.h>.
39548 [!__NR_ftruncate64]: Remove conditional code.
39549 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39550 [__NR_ftruncate64]: Make code unconditional.
39551 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39553 include <kernel-features.h>.
39554 [!__NR_ftruncate64]: Remove conditional code.
39555 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39556 [__NR_ftruncate64]: Make code unconditional.
39557 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39558
4da0431d
JM
39559 * configure.in (libc_cv_fpie): Weaken to a compile test using
39560 LIBC_TRY_CC_OPTION.
39561 * configure: Regenerated.
39562
11ef492c
AK
395632012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39564
39565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39569 Refreshed.
39570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39576 Refreshed.
39577
d66ef399
DM
395782012-05-27 David S. Miller <davem@davemloft.net>
39579
39580 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39581 (___Q_zero): New.
39582 (__Q_simulate_exceptions): Return void. Change to simulate
39583 exceptions by writing into the %fsr.
39584 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39585 (__Qp_handle_exceptions): Likewise.
39586 (numbers): Delete.
39587 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39588 __Qp_handle_exceptions.
39589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39590 __Qp_handle_exceptions.
39591 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39592 as unused and give dummy FP_RND_NEAREST initializer.
39593 (FP_INHIBIT_RESULTS): Define.
39594 (___Q_simulate_exceptions): Update declaration.
39595 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39596 formatting.
39597 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39598 as unused and give dummy FP_RND_NEAREST initializer.
39599 (__Qp_handle_exceptions): Update declaration.
39600 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39601 formatting.
39602
04fb54b5
TS
396032012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39604
39605 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39606 the temporary FPU control word.
39607 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39608 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39609 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39610 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39611 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39612 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39613 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39614 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39615 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39616 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39617 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39618
3f99608f
KK
396192012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39620
39621 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39622 fields.
39623
65a4de4e
CLT
396242012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39625
39626 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39627 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39628 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39629 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39630 Likewise.
39631 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39632 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39633 Likewise.
39634
15749d40
UD
396352012-05-27 Ulrich Drepper <drepper@gmail.com>
39636
39637 * po/h.po: Update from translation team.
39638
25dbcb27
AS
396392012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39640
3d3f8e55
AS
39641 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39642
25dbcb27
AS
39643 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39644 handling of denormals.
39645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39646 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39647 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39648 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39652 Likewise.
39653
7ad47a80 396542012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
39655
39656 [BZ #14152]
39657 * math/libm-test.inc (fma_test): Don't always expect underflow
39658 exception.
39659
9c6ea9fa
SP
396602012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39661
39662 [BZ #12416]
39663 * elf/tst-execstack.c: Include stackinfo.h.
39664 (do_test): Adjust test case to ensure that pthread_getattr_np
39665 behaviour remains the same after marking stack executable.
39666
a8239222
JM
396672012-05-25 Joseph Myers <joseph@codesourcery.com>
39668
39669 * sysdeps/unix/sysv/linux/kernel-features.h
39670 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39671 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39672 kernel-features.h.
39673 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39674 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39675 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39676 kernel-features.h.
39677 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39678 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39679
918b5606
L
396802012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39681
39682 * configure.in: Define the default includes to being none.
39683 * configure: Regenerated.
39684
3a097cc7
RM
396852012-05-25 Roland McGrath <roland@hack.frob.com>
39686
8422c9a5
RM
39687 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39688 * sysdeps/x86_64/setjmp.S: Likewise.
39689 * sysdeps/i386/bsd-setjmp.S: Likewise.
39690 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39691 * sysdeps/i386/setjmp.S: Likewise.
39692 * sysdeps/i386/__longjmp.S: Likewise.
39693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39694 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39695
3a097cc7
RM
39696 * include/stap-probe.h: New file.
39697 * configure.in: Handle --enable-systemtap.
39698 * configure: Regenerated.
39699 * config.h.in (USE_STAP_PROBE): New #undef.
39700 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39701 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39702 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39703
21708942
JM
397042012-05-25 Joseph Myers <joseph@codesourcery.com>
39705
39706 [BZ #13717]
39707 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39708 to 2.4.0 where earlier.
39709 * sysdeps/unix/sysv/linux/configure: Regenerated.
39710 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39711 <kernel-features.h>.
39712 [__ASSUME_32BITUIDS]: Make code unconditional.
39713 [!__ASSUME_32BITUIDS]: Remove conditional code.
39714 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39715 <kernel-features.h>.
39716 [__ASSUME_32BITUIDS]: Make code unconditional.
39717 [!__ASSUME_32BITUIDS]: Remove conditional code.
39718 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39719 [__ASSUME_32BITUIDS]: Make code unconditional.
39720 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39721 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39722 <kernel-features.h>.
39723 [__ASSUME_32BITUIDS]: Make code unconditional.
39724 [!__ASSUME_32BITUIDS]: Remove conditional code.
39725 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39726 <kernel-features.h>.
39727 [__ASSUME_32BITUIDS]: Make code unconditional.
39728 [!__ASSUME_32BITUIDS]: Remove conditional code.
39729 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39730 <kernel-features.h>.
39731 [__ASSUME_32BITUIDS]: Make code unconditional.
39732 [!__ASSUME_32BITUIDS]: Remove conditional code.
39733 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39734 <kernel-features.h>.
39735 [__ASSUME_32BITUIDS]: Make code unconditional.
39736 [!__ASSUME_32BITUIDS]: Remove conditional code.
39737 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39738 <kernel-features.h>.
39739 [__ASSUME_32BITUIDS]: Make code unconditional.
39740 [!__ASSUME_32BITUIDS]: Remove conditional code.
39741 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39742 <kernel-features.h>.
39743 [__ASSUME_32BITUIDS]: Make code unconditional.
39744 [!__ASSUME_32BITUIDS]: Remove conditional code.
39745 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39746 <kernel-features.h>.
39747 [__ASSUME_32BITUIDS]: Make code unconditional.
39748 [!__ASSUME_32BITUIDS]: Remove conditional code.
39749 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39750 <kernel-features.h>.
39751 [__ASSUME_32BITUIDS]: Make code unconditional.
39752 [!__ASSUME_32BITUIDS]: Remove conditional code.
39753 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
39762 <kernel-features.h>.
39763 [__NR_setresgid] (__setresgid): Do not declare.
39764 [__ASSUME_32BITUIDS]: Make code unconditional.
39765 [!__ASSUME_32BITUIDS]: Remove conditional code.
39766 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39767 <kernel-features.h>.
39768 [__NR_setresuid] (__setresuid): Do not declare.
39769 [__ASSUME_32BITUIDS]: Make code unconditional.
39770 [!__ASSUME_32BITUIDS]: Remove conditional code.
39771 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39772 <kernel-features.h>.
39773 [__ASSUME_32BITUIDS]: Make code unconditional.
39774 [!__ASSUME_32BITUIDS]: Remove conditional code.
39775 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39776 <kernel-features.h>.
39777 [__ASSUME_32BITUIDS]: Make code unconditional.
39778 [!__ASSUME_32BITUIDS]: Remove conditional code.
39779 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39780 <kernel-features.h>.
39781 [__ASSUME_32BITUIDS]: Make code unconditional.
39782 [!__ASSUME_32BITUIDS]: Remove conditional code.
39783 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39784 <kernel-features.h>.
39785 [__ASSUME_32BITUIDS]: Make code unconditional.
39786 [!__ASSUME_32BITUIDS]: Remove conditional code.
39787 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39788 <kernel-features.h>.
39789 [__ASSUME_32BITUIDS]: Make code unconditional.
39790 [!__ASSUME_32BITUIDS]: Remove conditional code.
39791 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39792 <kernel-features.h>.
39793 [__ASSUME_32BITUIDS]: Make code unconditional.
39794 [!__ASSUME_32BITUIDS]: Remove conditional code.
39795 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39796 <kernel-features.h>.
39797 [__ASSUME_32BITUIDS]: Make code unconditional.
39798 [!__ASSUME_32BITUIDS]: Remove conditional code.
39799 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39800 <kernel-features.h>.
39801 [__ASSUME_32BITUIDS]: Make code unconditional.
39802 [!__ASSUME_32BITUIDS]: Remove conditional code.
39803 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39804 <kernel-features.h>.
39805 [__ASSUME_32BITUIDS]: Make code unconditional.
39806 [!__ASSUME_32BITUIDS]: Remove conditional code.
39807 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39808 <kernel-features.h>.
39809 [__ASSUME_32BITUIDS]: Make code unconditional.
39810 [!__ASSUME_32BITUIDS]: Remove conditional code.
39811 * sysdeps/unix/sysv/linux/kernel-features.h
39812 (__ASSUME_SETRESUID_SYSCALL): Remove.
39813 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39814 (__ASSUME_32BITUIDS): Likewise.
39815 (__ASSUME_LDT_WORKS): Likewise.
39816 (__ASSUME_O_DIRECTORY): Likewise.
39817 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39818 architecture but not kernel version.
39819 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39820 (__ASSUME_MMAP2_SYSCALL): Likewise.
39821 (__ASSUME_STAT64_SYSCALL): Likewise.
39822 (__ASSUME_IPC64): Likewise.
39823 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39824 <kernel-features.h>.
39825 [__ASSUME_32BITUIDS]: Make code unconditional.
39826 [!__ASSUME_32BITUIDS]: Remove conditional code.
39827 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39828 <kernel-features.h>.
39829 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39830 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39831 132096]: Remove conditional code.
39832 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39833 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39834 <kernel-features.h>.
39835 [__ASSUME_32BITUIDS]: Make code unconditional.
39836 [!__ASSUME_32BITUIDS]: Remove conditional code.
39837 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
39842 <kernel-features.h>.
39843 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39844 unconditional.
39845 (__setresgid): Do not declare.
39846 [__ASSUME_32BITUIDS]: Make code unconditional.
39847 [!__ASSUME_32BITUIDS]: Remove conditional code.
39848 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39849 <kernel-features.h>.
39850 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39851 unconditional.
39852 (__setresuid): Do not declare.
39853 [__ASSUME_32BITUIDS]: Make code unconditional.
39854 [!__ASSUME_32BITUIDS]: Remove conditional code.
39855 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39856 <kernel-features.h>.
39857 [__ASSUME_32BITUIDS]: Make code unconditional.
39858 [!__ASSUME_32BITUIDS]: Remove conditional code.
39859 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39860 <kernel-features.h>.
39861 [__ASSUME_32BITUIDS]: Make code unconditional.
39862 [!__ASSUME_32BITUIDS]: Remove conditional code.
39863
a386f1cc
RH
398642012-05-25 Richard Henderson <rth@twiddle.net>
39865
39866 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39867 dl_hwcap to ifunc resolver.
39868 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39869 elf_ifunc_invoke.
39870 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39871 dl_hwcap to ifunc resolver.
39872 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39873
b6550497
JM
398742012-05-24 Joseph Myers <joseph@codesourcery.com>
39875
39876 [BZ #14153]
39877 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39878 for |x| <= 2**-26, not 2**-57.
39879 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39880 exception.
39881
b0bc23a1
JL
398822012-05-24 Jeff Law <law@redhat.com>
39883
39884 * stdio-common/Makefile (tests): Add bug25.
39885 * stdio-common/bug25.c: New test.
39886
347c92e9
L
398872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39888
39889 [BZ #13576]
39890 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39891 multiple of MALLOC_ALIGNMENT in size.
39892 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39893
6bcc8b3f
JM
398942012-05-24 Joseph Myers <joseph@codesourcery.com>
39895
39896 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39897 Require >= 256.
39898 (FILENAME_MAX): Use macro-int-constant.
39899 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39900 (_IOFBF): Use macro-int-constant.
39901 (_IOLBF): Likewise.
39902 (_IONBF): Likewise.
39903 (SEEK_CUR): Likewise.
39904 (SEEK_END): Likewise.
39905 (SEEK_SET): Likewise.
39906 (TMP_MAX): Likewise.
39907 (EOF): Use macro-int-constant. Require < 0.
39908 (NULL): Use macro-constant. Require == 0.
39909 (stdin): Require type to be FILE *.
39910 (stdout): Likewise.
39911 (stderr): Likewise.
39912 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39913 macro-int-constant.
39914 (EXIT_SUCCESS): Likewise.
39915 (NULL): Use macro-constant. Require == 0.
39916 (RAND_MAX): Use macro-int-constant.
39917 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39918 [C99-based standards] (strtof): Require function.
39919 [C99-based standards] (strtold): Likewise.
39920 [C99-based standards] (strtoll): Likewise.
39921 [C99-based standards] (strtoull): Likewise.
39922 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39923 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39924 [ISO || ISO99 || ISO11] (math.h): Likewise.
39925 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39926 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39928
d18ea0c5
AS
399292012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39930
39931 [BZ #14132]
56d25bb8
AS
39932 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39933 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39934 * intl/dgettext.c (DCGETTEXT): Likewise.
39935 * intl/gettext.c (DCGETTEXT): Likewise.
39936 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39937 * posix/regex_internal.h (gettext): Likewise.
39938 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39939 Remove declaration.
39940 * include/argz.h (__argz_count_internal)
39941 (__argz_stringify_internal): Remove declaration.
39942 (__argz_count, __argz_stringify): Declare hidden proto.
39943 * intl/dcgettext.c: Remove use of INTDEF.
39944 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39945 * string/argz-stringify.c: Likewise.
39946 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39947 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39948 Declare hidden proto.
d18ea0c5
AS
39949 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39950 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39951 Declare hidden proto.
39952 * include/stdio.h (__asprintf_internal): Don't declare.
39953 (__asprintf): Don't define as macro. Declare hidden proto.
39954 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39955 (__fsetlocking): Declare hidden proto.
39956 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39957 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39958 hidden proto.
39959 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39960 (_IO_setlinebuf): Remove use of INTUSE.
39961 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39962 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39963 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39964 Remove declaration.
39965 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39966 (_IO_do_flush): Remove use of INTUSE.
39967 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39968 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39969 (_IO_adjust_column, _IO_least_wmarker)
39970 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39971 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39972 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39973 (_IO_default_doallocate, _IO_wdefault_doallocate)
39974 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39975 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39976 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39977 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39978 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39979 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39980 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39981 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39982 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39983 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39984 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39985 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39986 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39987 proto.
39988 (_IO_flush_all_internal, _IO_adjust_column_internal)
39989 (_IO_default_uflow_internal, _IO_default_finish_internal)
39990 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39991 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39992 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39993 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39994 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39995 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39996 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39997 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39998 (_IO_file_close_internal, _IO_file_close_it_internal)
39999 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40000 (_IO_file_init_internal, _IO_file_attach_internal)
40001 (_IO_file_fopen_internal, _IO_file_read_internal)
40002 (_IO_file_sync_internal, _IO_file_seek_internal)
40003 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40004 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40005 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40006 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40007 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40008 (_IO_list_all_internal, _IO_link_in_internal)
40009 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40010 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40011 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40012 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40013 (_IO_do_write_internal, _IO_padn_internal)
40014 (_IO_getline_info_internal, _IO_getline_internal)
40015 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40016 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40017 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40018 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40019 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40020 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40021 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40022 with libc_hidden_ver, remove use of INTUSE.
40023 * libio/genops.c: Likewise.
40024 * libio/freopen.c: Likewise.
40025 * libio/freopen64.c: Likewise.
40026 * libio/iofclose.c: Likewise.
40027 * libio/iofdopen.c: Likewise.
40028 * libio/iofflush.c: Likewise.
40029 * libio/iofflush_u.c: Likewise.
40030 * libio/iofgets.c: Likewise.
40031 * libio/iofgets_u.c: Likewise.
40032 * libio/iofopen.c: Likewise.
40033 * libio/iofopncook.c: Likewise.
40034 * libio/iofread.c: Likewise.
40035 * libio/iofread_u.c: Likewise.
40036 * libio/ioftell.c: Likewise.
40037 * libio/iofwrite.c: Likewise.
40038 * libio/iogetline.c: Likewise.
40039 * libio/iogets.c: Likewise.
40040 * libio/iogetwline.c: Likewise.
40041 * libio/iopadn.c: Likewise.
40042 * libio/iopopen.c: Likewise.
40043 * libio/ioseekoff.c: Likewise.
40044 * libio/ioseekpos.c: Likewise.
40045 * libio/iosetbuffer.c: Likewise.
40046 * libio/iosetvbuf.c: Likewise.
40047 * libio/ioungetc.c: Likewise.
40048 * libio/ioungetwc.c: Likewise.
40049 * libio/iovdprintf.c: Likewise.
40050 * libio/iovsprintf.c: Likewise.
40051 * libio/iovsscanf.c: Likewise.
40052 * libio/memstream.c: Likewise.
40053 * libio/obprintf.c: Likewise.
40054 * libio/oldfileops.c: Likewise.
40055 * libio/oldiofclose.c: Likewise.
40056 * libio/oldiofdopen.c: Likewise.
40057 * libio/oldiofopen.c: Likewise.
40058 * libio/oldiopopen.c: Likewise.
40059 * libio/oldstdfiles.c: Likewise.
40060 * libio/putc.c: Likewise.
40061 * libio/setbuf.c: Likewise.
40062 * libio/setlinebuf.c: Likewise.
40063 * libio/stdfiles.c: Likewise.
40064 * libio/strops.c: Likewise.
40065 * libio/vasprintf.c: Likewise.
40066 * libio/vscanf.c: Likewise.
40067 * libio/vsnprintf.c: Likewise.
40068 * libio/vswprintf.c: Likewise.
40069 * libio/wfiledoalloc.c: Likewise.
40070 * libio/wfileops.c: Likewise.
40071 * libio/wgenops.c: Likewise.
40072 * libio/wmemstream.c: Likewise.
40073 * libio/wstrops.c: Likewise.
40074 * libio/__fpurge.c: Likewise.
40075 * libio/__fsetlocking.c: Likewise.
40076 * assert/assert.c: Likewise.
40077 * debug/fgets_chk.c: Likewise.
40078 * debug/fgets_u_chk.c: Likewise.
40079 * debug/fread_chk.c: Likewise.
40080 * debug/fread_u_chk.c: Likewise.
40081 * debug/gets_chk.c: Likewise.
40082 * debug/obprintf_chk.c: Likewise.
40083 * debug/vasprintf_chk.c: Likewise.
40084 * debug/vdprintf_chk.c: Likewise.
40085 * debug/vsnprintf_chk.c: Likewise.
40086 * debug/vsprintf_chk.c: Likewise.
40087 * malloc/mtrace.c: Likewise.
40088 * misc/error.c: Likewise.
40089 * misc/syslog.c: Likewise.
40090 * stdio-common/asprintf.c: Likewise.
40091 * stdio-common/fxprintf.c: Likewise.
40092 * stdio-common/getw.c: Likewise.
40093 * stdio-common/isoc99_fscanf.c: Likewise.
40094 * stdio-common/isoc99_scanf.c: Likewise.
40095 * stdio-common/isoc99_vfscanf.c: Likewise.
40096 * stdio-common/isoc99_vscanf.c: Likewise.
40097 * stdio-common/isoc99_vsscanf.c: Likewise.
40098 * stdio-common/printf-prs.c: Likewise.
40099 * stdio-common/printf_fp.c: Likewise.
40100 * stdio-common/printf_fphex.c: Likewise.
40101 * stdio-common/printf_size.c: Likewise.
40102 * stdio-common/putw.c: Likewise.
40103 * stdio-common/scanf.c: Likewise.
40104 * stdio-common/sprintf.c: Likewise.
40105 * stdio-common/tmpfile.c: Likewise.
40106 * stdio-common/vfprintf.c: Likewise.
40107 * stdio-common/vfscanf.c: Likewise.
40108 * stdlib/strfmon_l.c: Likewise.
40109 * sunrpc/openchild.c: Likewise.
40110 * sunrpc/xdr_stdio.c: Likewise.
40111 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40112 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40113
d6c33fda
RM
401142012-05-24 Roland McGrath <roland@hack.frob.com>
40115
c1487492
RM
40116 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40117
40118 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40119 in the third column, to generate for the shared library an IFUNC
40120 that uses _dl_vdso_vsym.
40121 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40122 * Makeconfig (object-suffixes-noshared): New variable.
40123
40124 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40125 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40126 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40127 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40128
d6c33fda
RM
40129 [BZ #14132]
40130 * include/sys/time.h (__gettimeofday): Remove macro.
40131 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40132 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40133 Remove INTDEF.
40134 (__gettimeofday): Add libc_hidden_def.
40135 (gettimeofday): Add libc_hidden_weak.
40136 * sysdeps/mach/gettimeofday.c: Likewise.
40137 * sysdeps/posix/gettimeofday.c: Likewise.
40138 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40139 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40141 (__gettimeofday_internal): Remove strong_alias.
40142 (__gettimeofday): Add libc_hidden_def.
40143 (gettimeofday): Add libc_hidden_weak.
40144 * sysdeps/unix/syscalls.list (gettimeofday):
40145 Remove __gettimeofday_internal alias.
40146
b5a2bbe6
L
401472012-05-24 Daniel Jacobowitz <drow@false.org>
40148 H.J. Lu <hongjiu.lu@intel.com>
40149
40150 [BZ #12495]
40151 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40152 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40153 (largebin_index_32_big): New.
40154 (largebin_index): Use it for 16-byte alignment.
40155 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40156 correction with front_misalign.
40157
cfba4fda
L
401582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40159
7f907421
L
40160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40162 Likewise.
40163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40164 Likewise.
40165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40166 Likewise.
40167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40168 Likewise.
40169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40170 Likewise.
40171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40172 Likewise.
40173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40174 Likewise.
40175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40176 Likewise.
40177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40178 Likewise.
40179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40180 Likewise.
40181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40182 Likewise.
40183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40184 Likewise.
40185
cfba4fda
L
40186 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40187 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40188
80bad0cc
JM
401892012-05-24 Joseph Myers <joseph@codesourcery.com>
40190
7a25eb06
JM
40191 [BZ #10846]
40192 [BZ #14036]
40193 * math/libm-test.inc (exp_test): Add test from bug 14036.
40194 (pow_test): Add test from bug 10846.
40195
795405f9
JM
40196 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40197 and other flags.
40198 (special_function): Do not include flags in test name.
40199 (parse_args): Likewise.
40200 * sysdeps/i386/fpu/libm-test-ulps: Update.
40201 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40202 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40203 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40205
80bad0cc
JM
40206 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40207 exceptions.
40208 * math/libm-test.inc ("Philosophy"): Update comment about
40209 exception testing.
40210 (UNDERFLOW_EXCEPTION): New macro.
40211 (UNDERFLOW_EXCEPTION_OK): Likewise.
40212 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40213 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40214 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40215 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40216 (INVALID_EXCEPTION_OK): Update value.
40217 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40218 (OVERFLOW_EXCEPTION_OK): Likewise.
40219 (IGNORE_ZERO_INF_SIGN): Likewise.
40220 (test_exceptions): Handle underflow exceptions.
40221 (acos_test): Update for underflow exception expectations.
40222 (cexp_test): Likewise.
40223 (clog_test): Likewise.
40224 (clog10_test): Likewise.
40225 (csqrt_test): Likewise.
40226 (ctan_test): Likewise.
40227 (ctanh_test): Likewise.
40228 (exp_test): Likewise.
40229 (exp10_test): Likewise.
40230 (exp2_test): Likewise.
40231 (expm1_test): Likewise.
40232 (fma_test): Likewise.
40233 (j0_test): Likewise.
40234 (jn_test): Likewise.
40235 (nexttoward_test): Likewise.
40236 (pow_test): Likewise.
40237 (scalbn_test): Likewise.
40238 (scalbln_test): Likewise.
40239 (tan_test): Likewise.
40240 (y1_test): Likewise.
40241 * sysdeps/i386/fpu/libm-test-ulps: Update.
40242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40243
9e0e3d0b
DM
402442012-05-23 David S. Miller <davem@davemloft.net>
40245
40246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40247 (__libc_sigaction): Remove unused local variables.
40248
ccd0a08f
L
402492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40250
40251 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40252
62bdf9a6
PE
402532012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40254
f8591f80
PE
40255 mktime: avoid signed integer overflow
40256 * time/mktime.c (__mktime_internal): Do not mishandle the case
40257 where diff == INT_MIN.
40258
94c7d826
PE
40259 mktime: simplify computation of average
40260 * time/mktime.c (ranged_convert): Use new time_t_avg function
40261 instead of rolling our own (probably-slower) code.
40262
ce73d683
PE
40263 mktime: do not assume signed right shift propagates sign bit
40264 * time/mktime.c (isdst_differ): New static function.
40265 (__mktime_internal): No need to normalize tm_isdst now.
40266 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40267 tm_isdst values.
40268
72a22e59
PE
40269 mktime: merge another wrapv change from gnulib
40270 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40271 from some compilers.
40272
68605433
PE
40273 mktime: remove incorrect attempt at unusual arithmetics
40274 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40275 The code didn't really work on such machines anyway.
40276 (TYPE_MINIMUM): Assume two's complement.
40277 (twos_complement_arithmetic): Verify that long_int and time_t
40278 are two's complement (or unsigned, in the latter case).
40279
03cf7fe3
PE
40280 mktime: check signed shifts on long_int and time_t, too
40281 * time/mktime.c (SHR): Check that shifts work as desired
40282 on the types long_int and time_t too, as SHR is used on
40283 such types.
40284
f04dfbc2
PE
40285 mktime: do not assume 'long' is wide enough
40286 * time/mktime.c (verify): Move decl up.
40287 (long_int): New type.
40288 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40289 to remove assumption in the code that 'long' is wide enough to
40290 store year values. This assumption is not true on x32 and on
40291 some non-glibc platforms.
40292
62bdf9a6
PE
40293 mktime: merge wrapv change from gnulib
40294 * time/mktime.c (WRAPV): New macro.
40295 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40296 (guess_time_tm, __mktime_internal): Do not assume that signed
40297 integer overflow wraps around; modern compilers generate code
40298 where this assumption is no longer valid.
40299
5e292e4f
L
403002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40301
40302 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40303 Replace "jmp L(pseudo_end)" with "ret".
40304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40305 Likewise.
40306
8caf8c87
AJ
403072012-05-23 Andreas Jaeger <aj@suse.de>
40308
40309 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40310 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40311
1a09dc56
AJ
403122012-05-23 Andreas Jaeger <aj@suse.de>
40313 Maximilian Attems <max@stro.at>
40314
40315 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40316 New macros.
40317
1c87aba0
L
403182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40319
40320 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40321 code so that pseudo_end is just ret and the stack pointer is
40322 correct also for static library in error case.
40323
40e45bd5
JM
403242012-05-23 Joseph Myers <joseph@codesourcery.com>
40325
c2670533
JM
40326 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40327 move to syscalls.list.
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40332
40e45bd5
JM
40333 * manual/install.texi (Running make install): Do not mention Linux
40334 kernel version for which pt_chown is not needed.
40335 (Linux): Do not mention problems with nscd with 2.0 kernels.
40336 * INSTALL: Regenerated.
40337
be08eda5
AJ
403382012-05-23 Andreas Jaeger <aj@suse.de>
40339
40340 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40341 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40342 macro.
40343 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40344 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40345 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40346 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40347 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40348 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40350 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40352 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40353 * sysdeps/unix/sysv/linux/bits/in.h
40354 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40355
a6a056bb
RM
403562012-05-22 Roland McGrath <roland@hack.frob.com>
40357
40358 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40359 (PREPARE_VERSION): Just use assert instead, it will be elided
40360 under [NDEBUG] anyway.
40361
c9009328
L
403622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40363
40364 * sysdeps/unix/sysv/linux/Makefile: Include
40365 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40366 (sysdep_routines): Remove sysctl.
c9009328
L
40367 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40368 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40369 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40370 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40371 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40372
73338355
AJ
403732012-05-22 Andreas Jaeger <aj@suse.de>
40374
40375 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40376 that pseudo_end is just ret and the stack pointer is correct also
40377 for static library in error case.
40378
d44638b0
PP
403792012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40380
40381 [BZ #14122]
40382 * nss/nsswitch.c (defconfig_entries): New variable.
40383 (__nss_database_lookup): Don't leak defconfig entries.
40384 (nss_parse_service_list): Don't leak on error paths.
40385 (free_database_entries): New function.
40386 (free_defconfig): New function.
40387 (free_mem): Move common code to free_database_entries.
40388
31a39bd8
L
403892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40390
da0331a8
L
40391 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40392 Add arch_prctl.
40393 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40394
31a39bd8
L
40395 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40396 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40398 New macro.
40399 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40400 (INTERNAL_SYSCALL_TYPES): Likewise.
40401 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40402 (LOAD_REGS_TYPES_[1-6]): Likewise.
40403 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40404 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40405
45470df3
AZ
404062012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40407
40408 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40409 copysignl for GLIBC_2_0.
40410 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40411 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40413 logbl for GLIBC_2_0.
40414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40415 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40416
98a61bcb
L
404172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40418
a4f6e481
L
40419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40420 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40421
f63d5db6
L
40422 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40423 Use "neg %eax".
40424
98a61bcb
L
40425 * time/mktime.c: Update copyright years.
40426
95770f14
PE
404272012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40428
6226efbd
PE
40429 mktime: merge comment-quoting-style change from gnulib
40430 * time/mktime.c: Quote 'like this' in comments.
40431 The GNU coding standards suggest that we no longer quote `like this',
40432 as "`" and "'" are typically rendered asymmetrically nowadays.
40433 The typical gnulib style is to quote 'like this' when quoting
40434 code, and "like this" when quoting English.
40435
b99e4f78
PE
40436 * time/mktime.c (compile-command): Add "-I.".
40437
643e01e6
PE
40438 mktime: merge mktime-internal.h change from gnulib
40439 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40440
2554247d
PE
40441 mktime: merge time_r change from gnulib
40442 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40443
826dd0ab
PE
40444 mktime: merge DEBUG change from gnulib
40445 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40446 case system <time.h> has a #define.
40447
bd83aabe
PE
40448 mktime: merge <sys/types.h> change from gnulib
40449 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40450 since <time.t> is now guaranteed to define time_t.
40451
95770f14
PE
40452 mktime: merge HAVE_CONFIG_H change from gnulib
40453 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40454
5e1a27a9
L
404552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40456
0e44a77e
L
40457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40458 Use "neg %eax".
40459
5e1a27a9
L
40460 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40461 __rlim_t cast.
40462 (struct rusage): Use anonymous union to pad each field to
40463 __syscall_slong_t.
40464
46259bec
DM
404652012-05-21 David S. Miller <davem@davemloft.net>
40466
40467 * Makefules (o-iterator): Remove .s cases.
40468 (compile-command.s): Delete.
40469 (COMPILE.s): Delete.
40470 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40471
59f0c22e
JM
404722012-05-21 Joseph Myers <joseph@codesourcery.com>
40473
40474 * configure.in (libc_cv_predef_stack_protector): Only consider
40475 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40476 * configure: Regenerated.
40477
20c07380
L
404782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40479
bbb3154b
L
40480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40481 New macro. Use R*LP on int and pointer.
40482 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
40483 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40484 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
40485 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40486
20c07380
L
40487 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40488 [__WORDSIZE_TIME64_COMPAT32] instead of
40489 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40490 (struct utmp): Likewise.
40491 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40492 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40493 Renamed to ...
40494 (__WORDSIZE_TIME64_COMPAT32): This.
40495 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40496 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40497 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40498 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40499 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40500 (__WORDSIZE_TIME64_COMPAT32): New macro.
40501
d8d1017e
AJ
405022012-05-21 Andreas Jaeger <aj@suse.de>
40503
40504 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40505 only if [SHARED]. Add prototype for __wcschr_ia32.
40506
6c7fb145
RM
405072012-05-21 Roland McGrath <roland@hack.frob.com>
40508
40509 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40510 of %rbp unmolested in the jmp_buf while mangling the low bits.
40511 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40512 unmolested high bits of %rbp while demangling the low bits.
40513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40514
66274218
AJ
405152012-05-21 Andreas Jaeger <aj@suse.de>
40516
07c58f8f
AJ
40517 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40518 * sunrpc/svc_simple.c: Use it for registerrpc.
40519 * sunrpc/xcrypt.c: Use it for passwd2des.
40520
66274218
AJ
40521 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40522
61f65140
L
405232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40524
40525 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40526 Don't define if [__SYSCALL_WORDSIZE != 32].
40527 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40528 New macro.
40529
5fefb436
AJ
405302012-05-21 Bruno Haible <bruno@clisp.org>
40531 Andreas Jaeger <aj@suse.de>
40532
40533 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40534 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40535 inptr and inend for must_buffer_ch.
40536 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40537 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40538 * stdio-common/Makefile (tests): Remove bug15.
40539 (bug15-ENV): Remove macro.
40540 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40541 anymore.
40542
d8e272ab
AJ
405432012-05-19 Andreas Jaeger <aj@suse.de>
40544 Roland McGrath <roland@hack.frob.com>
40545
40546 * manual/contrib.texi: Completely rewritten. It contains now an
40547 alphabetical list of contributors and their contributions.
40548
4a56a162
RH
405492012-05-21 Richard Henderson <rth@twiddle.net>
40550
40551 * misc/getauxval.c (__getauxval): Use unsigned long int.
40552 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40553 (getauxval): Use unsigned long int.
40554
d024d23c
L
405552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40556
40557 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40558
cbc00a03
RM
405592012-05-21 Roland McGrath <roland@hack.frob.com>
40560
40561 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40562 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40563 __alignof__ (long double).
40564
478143fa
AZ
405652012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40566
40567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40568
c7683a6d
RH
405692012-05-20 Richard Henderson <rth@twiddle.net>
40570
40571 * misc/getauxval.c: New file.
40572 * misc/sys/auxv.h: New file.
40573 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40574 (routines): Add getauxval.
40575 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40577 * elf/dl-sysdep.c (_dl_auxv): Remove.
40578 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40579 * elf/dl-support.c (_dl_auxv): New variable.
40580 (_dl_aux_init): Initialize it.
40581 * manual/startup.texi (Auxiliary Vector): New node.
40582 * sysdeps/generic/bits/hwcap.h: New file.
40583 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40584 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40585 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40586 * sysdeps/sparc/sysdep.h: ... here. Include it.
40587 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40588 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
40589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40590 Update.
c7683a6d
RH
40591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40599
a6f1845d
AZ
406002012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40601
40602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40603
cbcbe830
DM
406042012-05-19 David S. Miller <davem@davemloft.net>
40605
40606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40607
e0b16cc2
JM
406082012-05-19 Joseph Myers <joseph@codesourcery.com>
40609
40610 [BZ #14123]
40611 * math/s_ccosh.c: Include <float.h>
40612 (__ccosh): Avoid internal overflow calculating sinh and cosh
40613 values before multiplying by sin and cos values.
40614 * math/s_ccoshf.c: Likewise.
40615 * math/s_ccoshl.c: Likewise.
40616 * math/s_csin.c: Likewise.
40617 * math/s_csinf.c: Likewise.
40618 * math/s_csinl.c: Likewise.
40619 * math/s_csinh.c: Likewise.
40620 * math/s_csinhf.c: Likewise.
40621 * math/s_csinhl.c: Likewise.
40622 * math/libm-test.inc (ccos_test): Add more tests.
40623 (ccosh_test): Likewise.
40624 (csin_test): Likewise.
40625 (csinh_test): Likewise.
40626 * sysdeps/i386/fpu/libm-test-ulps: Update.
40627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40628
6ad13e08
L
406292012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40630
f66f0ce8
L
40631 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40632 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40633
6ad13e08
L
40634 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40635
b1d072a7
JM
406362012-05-19 Joseph Myers <joseph@codesourcery.com>
40637
40638 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40639 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40640 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40641 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40642 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40643 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40644 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40645 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40646 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40647 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40648 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40649 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40650 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40651 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40652 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40653 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40654 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40655 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40656 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40657 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40658 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40659 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40660 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40661 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40662 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40663 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40664 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40665 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40666 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40667 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40668 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40669
9eae47cb
AJ
406702012-05-18 Andreas Jaeger <aj@suse.de>
40671
40672 * csu/.gitignore: Delete.
40673
bb07f69f
L
406742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40675
40676 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40677 (timex): Use __syscall_slong_t.
40678
e6bdb741
AJ
406792012-05-18 Andreas Jaeger <aj@suse.de>
40680 Carlos O'Donell <carlos_odonell@mentor.com>
40681
40682 * manual/install.texi (Configuring and compiling): Update
40683 description about files modified in the source directory.
d6c33fda 40684 * INSTALL: Regenerated.
e6bdb741 40685
1b74487e
L
406862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40687
40688 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40689 value. Use "or" to set return value to -1.
40690 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40691 negate return value.
40692
a88b64b9
TMQMF
406932012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40694
57f41c40
AS
40695 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40696 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
40697 failure if the compiler has Graphite support disabled.
40698 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40699 Likewise.
57f41c40
AS
40700 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40701 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
40702 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40703 Likewise.
40704
3707636e
L
407052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40706
610b8622
L
40707 * sysdeps/x86_64/x32/_itoa.h: New file.
40708
7cd195df
L
40709 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40710 getdents system call only if kernel and user dirents have the
40711 same d_ino and d_off.
40712
94b07d20
L
40713 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40714 LLONG_MAX != LONG_MAX.
40715 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40716 (_fitoa_word): Likewise.
40717
18298070
L
40718 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40719 years.
40720 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40721 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40722 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40723
553c7ea4
L
40724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40725 include <bits/wordsize.h>. Check __x86_64__ instead of
40726 __WORDSIZE.
40727 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40728 if __x86_64__ is defined. Use anonymous union on fpstate.
40729
3707636e
L
40730 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40731 anonymous union.
40732
b53ef01a
AS
407332012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40734
37fb1dc0
AS
40735 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40736 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40737 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40738 Refer to _rtld_local_ro instead of _rtld_global_ro.
40739 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40740 Likewise.
40741 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40742 Likewise.
40743 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40744 Likewise.
40745 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40746 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40747 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40748
b53ef01a
AS
40749 * sysdeps/powerpc/powerpc32/dl-machine.c
40750 (__elf_machine_runtime_setup) [PROF]: Don't reference
40751 _dl_prof_resolve.
40752
7a185db2
AJ
407532012-05-18 Andreas Jaeger <aj@suse.de>
40754
40755 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40756 function only available for GCCs before 3.4 since GCC 3.4
40757 introduced a builtin.
40758 (lrint): Likewise.
40759 (llrintf): Likewise.
40760 (llrint): Likewise.
40761 (fmaxf): Likewise.
40762 (fmax): Likewise.
40763 (fminf): Likewise.
40764 (fmin): Likewise.
40765 (rint): Likewise.
40766 (rintf): Likewise.
40767 (nearbyint): Likewise.
40768 (nearbyintf): Likewise.
40769 (ceil): Likewise.
40770 (ceilf): Likewise.
40771 (floor): Likewise.
40772 (floorf): Likewise.
40773
3e5aef87
L
407742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40775
428bd707
L
40776 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40777 on both fields and cast pointer to __syscall_ulong_t.
40778
3e5aef87
L
40779 * bits/types.h (__fsword_t): New type.
40780 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40781 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40783 (__FSWORD_T_TYPE): Likewise.
40784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40785 (__FSWORD_T_TYPE): Likewise.
40786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40787 (__FSWORD_T_TYPE): Likewise.
40788 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40789 (__FSWORD_T_TYPE): Likewise.
40790 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40791 __SWORD_TYPE with __fsword_t.
40792 (statfs64): Likewise.
40793
1ba7c3dc
DM
407942012-05-17 David S. Miller <davem@davemloft.net>
40795
40796 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40797
59910343
AJ
407982012-05-17 Andreas Jaeger <aj@suse.de>
40799
40800 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40801 warning.
40802
2e4c1e9e
L
408032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40804
40805 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40806
de7f5ce7
AJ
408072012-05-17 Andreas Jaeger <aj@suse.de>
40808
40809 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40810 when it is used.
40811
286abc3d
CM
408122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40813
40814 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40815
477cc68e
L
408162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40817
40818 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40819 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40820
1a0994f5
CD
408212012-05-17 Andreas Jaeger <aj@suse.de>
40822 Carlos O'Donell <carlos_odonell@mentor.com>
40823
40824 [BZ #14059]
40825 * sysdeps/x86_64/multiarch/init-arch.h
40826 (bit_YMM_Usable): Rename to...
40827 (bit_AVX_Usable): ... this.
40828 (bit_FMA4_Usable): New macro.
40829 (bit_XMM_state): New macro.
40830 (bit_YMM_state): New macro.
40831 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40832 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40833 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40834 (CPUID_OSXSAVE): New macro.
40835 (CPUID_AVX): New macro.
40836 (CPUID_FMA4): New macro.
40837 (index_YMM_Usable): Rename to...
40838 (index_AVX_Usable): ... this.
40839 (HAS_AVX): Use HAS_ARCH_FEATURE.
40840 (HAS_FMA4): Likewise.
40841 (HAS_YMM_USABLE): Remove.
40842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40843 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40844 are present.
40845 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40846 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40847 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40848 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40849 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40850
0af797de
CM
408512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40852
40853 * math/libm-test.c: Support platforms without multiple rounding modes.
40854 * math/bug-nextafter.c: Support platforms without FP exceptions.
40855 * math/bug-nexttoward.c: Likewise.
40856 * math/test-fenv.c: Likewise.
40857 * math/test-misc.c: Likewise.
40858 * stdlib/bug-getcontext.c: Likewise.
40859
e39745ff
AJ
408602012-05-17 Andreas Jaeger <aj@suse.de>
40861
40862 * manual/examples/search.c (critter_cmp): Change signature to
40863 avoid warnings.
40864 * manual/string.texi (Collation Functions): Likewise.
40865
48970aba
L
408662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40867
40868 * bits/types.h: Fold copyright years.
40869 * bits/typesizes.h: Likewise.
40870 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40874 * time/time.h: Likewise.
40875
bedee953
PP
408762012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40877
40878 [BZ #208]
40879 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40880 in instead of returning them. Return void.
40881 (__libc_mallinfo): Accumulate over all arenas.
40882 (__malloc_stats): Adjust for change in int_mallinfo interface.
40883
61653dfb
RM
408842012-05-16 Roland McGrath <roland@hack.frob.com>
40885
30b99d79
RM
40886 [BZ #10375]
40887 * configure.in (NM): Add AC_CHECK_TOOL for it.
40888 (libc_extra_cflags): New substituted variable.
40889 Check for -fstack-protector being used implicitly.
40890 * configure: Regenerated.
40891 * config.make.in (config-extra-cflags): New variable,
40892 gets @libc_extra_cflags@.
40893 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40894
61653dfb
RM
40895 [BZ #10375]
40896 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40897 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40898 * configure: Regenerated.
40899 * config.make.in (CPPUNDEFS): New substituted variable.
40900 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40901 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40902 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40903
661768bb
L
409042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40905
40906 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40907 (mq_attr): Use __syscall_slong_t.
40908
d4261567
L
409092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40910
40911 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40912 Check __x86_64__ instead of __WORDSIZE.
40913 (_STAT_VER_LINUX): Likewise.
40914 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40915 __syscall_ulong_t and __syscall_slong_t.
40916 (stat64): Likewise.
40917
cf3ff365
L
409182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40919
40920 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40921
76cf3e4d
L
409222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40923
40924 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40925
a637753a
L
409262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40927
40928 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40929 __syscall_ulong_t.
40930
d5e05119
L
40931 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40932 include <bits/wordsize.h>. Check __x86_64__ instead of
40933 __WORDSIZE.
40934 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40935 defined.
40936 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40937
f62ee380
L
40938 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40939 include <bits/wordsize.h>. Check __x86_64__ instead of
40940 __WORDSIZE.
40941 (user_regs_struct): Use "__extension__ unsigned long long"
40942 instead of "unsigned long" if __x86_64__ is defined.
40943 (user): Likewise. Pad after pointer field if __ILP32__ is
40944 defined.
40945
4e124ced
JM
409462012-05-16 Joseph Myers <joseph@codesourcery.com>
40947
6a3951a0
JM
40948 * configure.in (makeinfo): Require version 4.5 or later. Allow
40949 versions 5 to 9.
40950 * configure: Regenerated.
40951 * manual/install.texi (texinfo): Increase version requirement to
40952 4.5 or later.
40953 * INSTALL: Regenerated.
40954
4e124ced
JM
40955 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40956
953ca31a
L
409572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40958
40959 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40960
617aca05
L
40961 * sysdeps/x86_64/x32/ffs.c: New file.
40962
5762f7ae
L
40963 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40964 __syscall_ulong_t.
40965 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40966 defined. Use __syscall_ulong_t.
40967 (shminfo): Use __syscall_ulong_t.
40968 (shm_info): Likewise.
40969
a26b6856
L
40970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40971 __syscall_ulong_t.
40972
cb2b9ef7
L
40973 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40974 <bits/wordsize.h>.
40975 (msgqnum_t): Use __syscall_ulong_t.
40976 (msglen_t): Likewise.
40977 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40978 __syscall_ulong_t.
40979
34683bb0
L
40980 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40981 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40982
84a68786
L
40983 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40984
48baa5f1
L
40985 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40986 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40987
180be88b
L
40988 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40989 __syscall_slong_t.
40990
5e90c8ad
L
40991 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40992 include <bits/wordsize.h>. Check __x86_64__ instead of
40993 __WORDSIZE.
40994
23dfb58b
L
40995 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40996 "unsigned long long int" if __x86_64__ is defined.
40997 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40998
ce5d54b0
L
40999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41000 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41001 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41002
13dc9eac
L
41003 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41004 <stdint.h>.
41005 (GET_PC): Cast to uintptr_t first.
41006 (GET_FRAME): Likewise.
41007 (GET_STACK): Likewise.
41008
a7895d15
L
41009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41010 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41011 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41012 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41013 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41014 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41015 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41016 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41017 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41019 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41021 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41022 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41023 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41024 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41025 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41026 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41027 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41028 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41029 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41030 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41031 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41032 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41033 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41034 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41035 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41037 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41038
656416c9
AS
410392012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41040
5bd66283
AS
41041 * Makerules (+depfiles): Also collect depfiles from .oS in
41042 $(extra-objs).
41043 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41044 .oS, $(libnldbl-routines)).
41045
656416c9
AS
41046 * Makerules (native-compile-mkdep-flags): Define.
41047 * sunrpc/Makefile (extra-objs): Add $(addprefix
41048 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41049 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41050 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41051 calling $(make-target-directory).
41052
a46f2169
L
410532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41054
41055 * bits/types.h (__snseconds_t): Removed.
41056 * time/time.h (struct timespec): Replace __snseconds_t with
41057 __syscall_slong_t.
41058 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41059 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41060 Likewise.
41061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41062 (__SNSECONDS_T_TYPE): Likewise.
41063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41064 (__SNSECONDS_T_TYPE): Likewise.
41065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41066 (__SNSECONDS_T_TYPE): Likewise.
41067
6af6528b
L
410682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41069
41070 * sysdeps/mach/hurd/bits/typesizes.h
41071 (__SYSCALL_SLONG_TYPE): New macro.
41072 (__SYSCALL_ULONG_TYPE): Likewise.
41073
de986b56
L
410742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41075
41076 * bits/types.h (__syscall_slong_t): New type.
41077 (__syscall_ulong_t): Likewise.
41078
41079 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41080 (__SYSCALL_ULONG_TYPE): Likewise.
41081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41082 (__SYSCALL_SLONG_TYPE): Likewise.
41083 (__SYSCALL_ULONG_TYPE): Likewise.
41084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41085 (__SYSCALL_SLONG_TYPE): Likewise.
41086 (__SYSCALL_ULONG_TYPE): Likewise.
41087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41088 (__SYSCALL_SLONG_TYPE): Likewise.
41089 (__SYSCALL_ULONG_TYPE): Likewise.
41090
85736dc7
L
410912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41092
41093 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41094 Add sigaltstack-offsets.sym.
41095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41096 <sigaltstack-offsets.h>.
41097 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41098 longjmp_msg pointer.
41099 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41100 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41101 signal stack.
41102 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41103
cc03b296
JM
411042012-05-15 Joseph Myers <joseph@codesourcery.com>
41105
a9538892
JM
41106 * elf/stackguard-macros.h: Remove file.
41107 * sysdeps/generic/stackguard-macros.h: New file.
41108 * sysdeps/i386/stackguard-macros.h: Likewise.
41109 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41110 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41111 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41112 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41113 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41114 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41115 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41116 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41117 <elf/stackguard-macros.h>.
41118
cc03b296
JM
41119 [BZ #14109]
41120 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41121 __aligned__ in attribute.
41122 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41123 (gregset_t): Likewise.
41124
93171016
L
411252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41126
41127 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41128 * sysdeps/x86_64/64/Implies-after: Here. New file.
41129 * sysdeps/x86_64/x32/Implies-after: New file.
41130
d86813a0
L
411312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41132
41133 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41134 and access return value for _dl_profile_fixup. Use R10_LP to
41135 load frame size.
41136
2953ec75
L
411372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41138
41139 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41140
3b550e9e
L
411412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41142
41143 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41144 * sysdeps/x86_64/x32/sysdep.h: New file.
41145
eda41706
L
411462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41147
41148 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41149 * sysdeps/x86_64/setjmp.S: Likewise.
41150
9ea01d93
AZ
411512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41152
41153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41154 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41155 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41156 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41157 remove unused global constant.
41158
02a91938
CM
411592012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41160
41161 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41162 include of <not-cancel.h>.
41163
6540185f
RM
411642012-05-15 Roland McGrath <roland@hack.frob.com>
41165
41166 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41167
509072a0
AJ
411682012-05-15 Jeff Law <law@redhat.com>
41169 Andreas Jaeger <aj@suse.de>
41170
41171 [BZ #13594]
41172 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41173 out from...
41174 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41175 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41176 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41177 code changing __hst_map_handle.map.
41178
ba75122d
RM
411792012-05-15 Roland McGrath <roland@hack.frob.com>
41180
41181 * configure.in (sysnames): Look for Implies-before and Implies-after
41182 files.
41183 * configure: Regenerated.
41184
890d8bd8
L
411852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41186
41187 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41188 8-byte data alignment with LP_SIZE alignment.
41189
f6ee6623
L
411902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41191
41192 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41193 into R10_LP.
41194
ea2626f6
L
411952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41196
41197 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41198
085f715e
L
411992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41200
41201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41202 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41204 Likewise.
41205 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41206
be8498fc
L
412072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41208
41209 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41210 (stackinfo_sub_sp): Likewise.
41211
70bc83b9
L
412122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41213
41214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41215 RAX_LP.
41216
9bc0b730
L
412172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41218
41219 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41220 into R*_LP.
41221
6d2850e7
L
412222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41223
41224 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41225 sizes into R*_LP.
41226
3cb84561
L
412272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41228
41229 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41230
54e2ed81
L
412312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41232
41233 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41234 into R11_LP and load __x86_64_shared_cache_size_half into
41235 R8_LP.
41236
8a17f349
L
412372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41238
41239 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41240 R8_LP.
41241
777b1eea
AZ
412422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41243
41244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41245 logb for POWER7.
41246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41247 logbf for POWER7.
41248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41249 logbl for POWER7.
41250 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41251 powerpc32/power7/fpu/s_logb.c via #include.
41252 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41253 powerpc32/power7/fpu/s_logbf.c via #include.
41254 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41255 powerpc32/power7/fpu/s_logbl.c via #include.
41256
d20d4ac2
JM
412572012-05-15 Joseph Myers <joseph@codesourcery.com>
41258
41259 * README.libm: Remove file.
41260
6cdef1ab
L
412612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41262
41263 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41264 count for x32. Use R*_LP and omit operand-size suffix.
41265
0b254d8f
L
412662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41267
41268 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41269 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41270 * sysdeps/x86_64/x32/shlib-versions: New file.
41271
ceb809dc
RM
412722012-05-14 Roland McGrath <roland@hack.frob.com>
41273
41274 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41275 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41276 Use _dl_fatal_printf instead.
41277
37f1abd4
JM
412782012-05-14 Joseph Myers <joseph@codesourcery.com>
41279
41280 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41281 set if not set by the user. Do not allow for being unset.
41282 * sysdeps/unix/sysv/linux/configure: Regenerated.
41283
11de3a33
L
412842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41285
41286 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41287 the `q' suffix from lea and replace .quad with ASM_ADDR.
41288
e02f153a
L
412892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41290
41291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41292 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41293 instead of $17.
41294 (PTR_DEMANGLE): Likewise.
41295
520ae0fd
L
412962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41297
41298 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41299 (LP_OP): Likewise.
41300 (ASM_ADDR): Likewise.
41301 (RAX_LP): Likewise.
41302 (RBP_LP): Likewise.
41303 (RBX_LP): Likewise.
41304 (RCX_LP): Likewise.
41305 (RDI_LP): Likewise.
41306 (RSI_LP): Likewise.
41307 (RSP_LP): Likewise.
41308 (R8_LP): Likewise.
41309 (R9_LP): Likewise.
41310 (R10_LP): Likewise.
41311 (R10_LP): Likewise.
41312 (R11_LP): Likewise.
41313 (R12_LP): Likewise.
41314 (R13_LP): Likewise.
41315 (R14_LP): Likewise.
41316 (R15_LP): Likewise.
41317
b985be81
L
413182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41319
41320 * sysdeps/x86_64/x32/dl-machine.h: New file.
41321
6a4888ff
AJ
413222012-05-14 Andreas Jaeger <aj@suse.de>
41323
41324 * manual/Makefile (subdir): Remove export of subdir.
41325 (all): Remove target.
41326 (.PHONY): Remove all from list.
41327 (mkinstalldirs): Remove.
41328 (.PHONY): Remove installdirs from list.
41329 ($(inst_infodir)/libc.info): Use make-target-directory.
41330 (installdirs): Remove.
41331 (subdir_%): Remove.
41332 (glibc-targets): Remove.
41333 (lib): Remove.
41334 (stubs): Remove.
41335 ($(objpfx)stubs ../po/manual.pot): Remove.
41336 ($(objpfx)stamp%): Remove.
41337 (make-target-directory): Remove.
41338 (subdir_install): Remove.
41339 (routines): Remove.
41340 (aux): Remove.
41341 (sources): Remove.
41342 (objects): Remove.
41343 (headers): Remove.
41344
41345 [BZ #13750]
41346 * manual/.gitignore: Remove, it's not needed anymore.
41347 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41348 all files in it.
41349 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41350 directory.
41351 (texis): Renamed to $(objpfx)texis.
41352 (texis-path): New, contains path to generated files.
41353 (chapters.%): Use texis-path for complete path, add extra argument
41354 libc-texinfo.sh.
41355 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41356 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41357 (summary,texi, stamp-summary): Use complete path of
41358 files. Generate files in build dir.
41359 (dir-add.texi): Build in build dir.
41360 (libm-err.texi,stamp-libm-err): Likewise.
41361 (version.texi, stamp-version): Likewise.
41362 (.%c.texi): Likewise.
41363 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41364 (mostlyclean): Remove target.
41365 (realclean): Remove target.
41366 (generated): Add new variable with contents from mostlyclean and
41367 realclean, remove entries duplicated in common-mostlyclean, add
41368 stamp-libm-err and stamp-version.
41369 (generated-dirs): Add libc directory.
41370 ($(inst_infodir)/libc.info): Install files from build dir.
41371
41372 * manual/install.texi (Configuring and compiling): Adjust since
41373 the info files are not part of the tar ball anymore.
41374
7ac77294
AJ
413752012-05-14 Andreas Jaeger <aj@suse.de>
41376
41377 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41378 variable.
41379
ffb7875d
JM
413802012-05-14 Joseph Myers <joseph@codesourcery.com>
41381
41382 [BZ #13717]
41383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41384 to 2.2.0 where earlier.
41385 * sysdeps/unix/sysv/linux/configure: Regenerated.
41386 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41387 Remove conditional code.
41388 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41389 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41390 Remove conditional code.
41391 [!__NR_lchown]: Likewise.
41392 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41393 [__NR_lchown]: Likewise.
41394 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41395 comment referencing __ASSUME_LCHOWN_SYSCALL.
41396 * sysdeps/unix/sysv/linux/i386/sigaction.c
41397 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41398 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41399 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41400 Remove conditional code.
41401 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41402 (__protocol_available): Remove #if 0 code.
41403 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41404 conditional code.
41405 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41406 * sysdeps/unix/sysv/linux/kernel-features.h
41407 (__ASSUME_GETCWD_SYSCALL): Don't define.
41408 (__ASSUME_REALTIME_SIGNALS): Likewise.
41409 (__ASSUME_PREAD_SYSCALL): Likewise.
41410 (__ASSUME_PWRITE_SYSCALL): Likewise.
41411 (__ASSUME_POLL_SYSCALL): Likewise.
41412 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41413 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41414 non-SPARC.
41415 (__ASSUME_SIOCGIFNAME): Don't define.
41416 (__ASSUME_MSG_NOSIGNAL): Likewise.
41417 (__ASSUME_SENDFILE): Define unconditionally.
41418 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41419 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41420 conditional code.
41421 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41422 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41423 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41424 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41425 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41426 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41427 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41429 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41430 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41435 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41441 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41444 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41447 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41452 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41453 Remove conditional code.
41454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41455 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41456 Remove conditional code.
41457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41458 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41459 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41460 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41461 Remove conditional code.
41462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41463 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41464 Remove conditional code.
41465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41466 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41467 Remove conditional code.
41468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41469 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41470 Remove conditional code.
41471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41472 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41473 Remove conditional code.
41474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41475 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41478 * sysdeps/unix/sysv/linux/sigaction.c
41479 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41480 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41481 * sysdeps/unix/sysv/linux/sigpending.c
41482 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41483 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41484 * sysdeps/unix/sysv/linux/sigprocmask.c
41485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41487 * sysdeps/unix/sysv/linux/sigsuspend.c
41488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41491 (__libc_missing_rt_sigs): Remove.
41492 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41493 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41494 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41495 Remove conditional code.
41496 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41497 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41498 return 1.
41499 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41500 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41501 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41502 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41503
1bfb7291
AJ
415042012-05-14 Andreas Jaeger <aj@suse.de>
41505
caae5a81
AJ
41506 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41507 it's not used in glibc.
41508 (__coshm1): Likewise.
41509 (__acosh1p): Likewise.
41510 (__sgn): Likewise.
41511
1bfb7291
AJ
41512 * manual/string.texi (Copying and Concatenation): Add missing
41513 variable in concat example.
41514 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41515
c044d724
L
415162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41517
144c5467 41518 [BZ #14103]
c044d724
L
41519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41520 __builtin_clzl with __builtin_clzll.
41521
2523c62b
L
415222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41523
41524 [BZ #14104]
41525 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41526 libc_freeres_ptr.
41527
d7bb4c42
LD
415282012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41529
41530 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41531 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41532 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41533 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41534
9dc4e1fb
MF
415352012-05-14 Mike Frysinger <vapier@gentoo.org>
41536
41537 * NEWS: Update ia64 info.
41538
c7df0112
AS
415392012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41540
41541 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41542 used as bcopy.
41543
dc70356c
TS
415442012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41545
41546 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41547 * sysdeps/unix/syscalls.list (dup3): Likewise.
41548 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41549 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41550
9fb1a21f
L
415512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41552
41553 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41554 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41555
4822a2a5
L
415562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41557
41558 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41559 thread pointer.
41560 (TLS_IE): Use mov/add instead of movq/addq to load thread
41561 pointer.
41562 (TLS_GD_PREFIX): New.
41563 (TLS_GD): Use it.
41564
842b81d6
DM
415652012-05-11 David S. Miller <davem@davemloft.net>
41566
41567 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41568 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41569 (_FPU_SETCW): Likewise.
41570
1cf463cd
L
415712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41572
41573 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41574 is 32-byte aligned.
41575
60cc4a18
AS
415762012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41577
41578 [BZ #11837]
41579 * iconvdata/gb18030.c: Update tables.
41580 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41581 characters specially.
41582 (BODY for TO_LOOP): Add encoding of missing ranges.
41583
febb44a4
TS
415842012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41585
41586 [BZ #13673]
41587 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41588 * sysdeps/mach/hurd/dup3.c: Likewise.
41589 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41590 * sysdeps/powerpc/memmove.c:: Likewise.
41591
0a10fb9e
L
415922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41593
41594 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41595 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41596
df8a552f
L
415972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41598
41599 * elf/elf.h (R_X86_64_RELATIVE64): New.
41600 (R_X86_64_NUM): Updated.
41601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41602 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41603 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41604 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41605 tst-quad1pie tst-quad2pie
41606 (modules-names): Add tst-quadmod1 tst-quadmod2.
41607 ($(objpfx)tst-quad1): New dependency.
41608 ($(objpfx)tst-quad2): Likewise.
41609 ($(objpfx)tst-quad1pie): Likewise.
41610 ($(objpfx)tst-quad2pie): Likewise.
41611 * sysdeps/x86_64/tst-quad1.c: New file.
41612 * sysdeps/x86_64/tst-quad1pie.c: New file.
41613 * sysdeps/x86_64/tst-quad2.c: Likewise.
41614 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41615 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41616 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41617 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41618 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41619
f34d6f84
ST
416202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41621
f42d41d1
ST
41622 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41623 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41624 * streams/stropts.h (t_scalar_t): Define type.
41625
3c3571fc
ST
41626 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41627 (_PATH_PRESERVE): Set to "/var/lib".
41628 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41629
61f06bd3
ST
41630 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41631 instead of int.
41632
918d4d71
ST
41633 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41634 if __dir_mkfile succeeded.
41635
f34d6f84
ST
41636 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41637 checking for _hurd_dtablesize. Unlock it right after having
41638 finished _hurd_dtable allocation.
41639
10589b4a
TS
416402012-05-10 Thomas Schwinge <thomas@schwinge.name>
41641
674cdbc7
TS
41642 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41643 * sysdeps/mach/hurd/configure: Regenerated.
41644 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41645 special-casing to...
41646 * sysdeps/gnu/configure.in: ... this new file.
41647 * sysdeps/unix/sysv/linux/configure: Regenerated.
41648 * sysdeps/gnu/configure: New generated file.
41649
8e41b99f
TS
41650 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41651 for Linux: use nsec instead of usec, as well as:
41652 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41653 members of type struct timespec.
41654 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41655 New macros.
41656 (struct stat64): Likewise.
41657 (_STATBUF_ST_NSEC): New macro.
41658 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41659
10589b4a
TS
41660 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41661 __strtoul_internal rather than strtoul.
41662
63643c85
PT
416632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41664
41665 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41666 and reject them.
41667
3faebe6a
ST
416682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41669
41670 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41671 which preserves existing values.
41672 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41673
c6474b07
PT
416742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41675
41676 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41677 TIMEOUT values. Return EINVAL for NFDS values either negative or
41678 greater than FD_SETSIZE.
41679
1043890b
ST
416802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41681
41682 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41683 allocated, call __vm_protect to finish enabling the existing space, and
41684 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41685 allocate the remainder.
41686
37ed8b9b
PT
416872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41688
41689 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41690 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41691
db653660
ST
416922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41693
37ed8b9b
PT
41694 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41695 sysdeps/mach/hurd/readlink.c.
b29d4053 41696
db653660
ST
41697 * posix/tst-sysconf.c (posix_options): Only use
41698 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41699 _POSIX_SYNCHRONIZED_IO when they are defined
41700 * sysdeps/mach/hurd/bits/posix_opt.h:
41701 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41702 (_XOPEN_REALTIME): Undefine macro.
41703 (_XOPEN_REALTIME_THREADS): Undefine macro.
41704 (_XOPEN_SHM): Undefine macro.
41705 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41706 macro to -1.
41707 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41708 macro to -1.
41709 (_POSIX_ASYNC_IO): Undefine macro.
41710 (_POSIX_PRIORITIZED_IO): Undefine macro.
41711 (_POSIX_SPIN_LOCKS): Define macro to -1.
41712
ee16e894
ST
41713 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41714 SA_NODEFER, SA_RESETHAND.
41715 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41716 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41717 F_DUPFD_CLOEXEC.
41718
6103ae3b
TS
417192012-05-10 Thomas Schwinge <thomas@schwinge.name>
41720
41721 * elf/Makefile (pldd-modules): Define unconditionally.
41722
80b4e5f3
TS
417232012-05-10 Thomas Schwinge <thomas@schwinge.name>
41724
41725 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41726
edadcbd6
ST
417272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41728
41729 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41730 Return ENOENT when name is empty.
41731 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41732
80694780
TS
417332012-05-10 Thomas Schwinge <thomas@schwinge.name>
41734
1792c087
TS
41735 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41736
80694780
TS
41737 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41738
6b645f0d
ST
417392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41740
80694780
TS
41741 Fix mlock in all cases except non-readable pages.
41742 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41743 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 41744
6b645f0d
ST
41745 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41746 (__mkdir): When path is `/', just fail with EEXIST.
41747 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41748
e468f8a3
TS
417492012-05-10 Thomas Schwinge <thomas@schwinge.name>
41750
41751 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41752 <sys/uio.h> (for writev).
41753 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41754 and <sys/param.h> (for MIN).
41755
a4186cff
PT
417562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41757
41758 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41759 REQUESTED_TIME. Properly set the remaining time and return EINTR
41760 if interrupted.
41761
510bbf14
TS
417622012-05-10 Thomas Schwinge <thomas@schwinge.name>
41763
41764 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41765 Depend on against $(link-rpcuserlibs).
41766
5d5722e8
ST
417672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41768
a4186cff
PT
41769 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41770 (__libc_stack_end): Do not use attribute_relro.
41771 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41772 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 41773 to libthread-provided value.
a4186cff
PT
41774 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41775 attribute_relro.
5d5722e8 41776
37233df9
TS
417772012-05-10 Thomas Schwinge <thomas@schwinge.name>
41778
be971a2b
TS
41779 [BZ #3748]
41780 * bits/libc-lock.h (__libc_once_get): New macro.
41781 * sysdeps/mach/bits/libc-lock.h: Likewise.
41782 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41783 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41784 instead of using implementation details.
41785
37233df9
TS
41786 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41787 * libio/freopen.c: Likewise.
41788 * libio/freopen64.c: Likewise.
41789 * misc/syslog.c: Likewise.
41790 * nscd/connections.c: Likewise.
41791 * nscd/netgroupcache.c: Likewise.
41792 * sysdeps/posix/getcwd.c: Likewise.
41793
38de94a5
RM
417942012-05-10 Roland McGrath <roland@hack.frob.com>
41795
41796 * math/w_ilogbf.c: Add #include <limits.h>.
41797
67530489
ST
417982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41799
a4186cff 41800 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
41801 path instead of returning without unlocking.
41802
67530489
ST
41803 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41804 immediate-write ioctls.
41805 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41806
5aa3a74a
TS
418072012-05-10 Thomas Schwinge <thomas@schwinge.name>
41808
18bad2ae
TS
41809 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41810 __builtin_frame_address instead of making assumptions about the
41811 location of the return address relative to DATA. Force early load of
41812 the return address.
41813 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41814 __builtin_frame_address.
41815
5aa3a74a
TS
41816 dup3 for GNU Hurd.
41817 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41818 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41819 implement dup3 and do some further code clean-ups.
41820 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41821 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41822
ecd0de9a
ST
418232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41824
cd9fa985
ST
41825 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41826
a4186cff
PT
41827 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41828 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41829 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41830 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41831 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41832 d->port.lock.
802ca5a5 41833
a4186cff
PT
41834 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41835 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41836 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 41837
bcf55240
TS
418382012-05-10 Thomas Schwinge <thomas@schwinge.name>
41839
6960eb42
TS
41840 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41841 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41842 definitions.
41843
eb43375f
TS
41844 accept4 for GNU Hurd.
41845 * include/sys/socket.h (__libc_accept4): New prototype.
41846 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41847 to implement __libc_accept4.
41848 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41849 __libc_accept4.
41850 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41851
bcf55240
TS
41852 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41853 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41854 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41855 signal-defines.sym.
41856
6178c55b
ST
418572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41858
a4186cff 41859 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 41860
6f080c2f
TS
418612012-05-10 Thomas Schwinge <thomas@schwinge.name>
41862
41863 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41864 assertion on O_CLOEXEC flag.
41865 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41866 * hurd/intern-fd.c: Likewise.
41867 * hurd/port2fd.c: Likewise.
41868
bcfe3a54
ST
418692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41870
41871 [BZ #3906]
41872 * bits/in.h (IPV6_PKTINFO): Define new macro.
41873 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41874
89c9aa49
AZ
418752012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41876
41877 [BZ #13954]
41878 [BZ #13955]
41879 [BZ #13956]
41880 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41882 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41883 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41885 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41886 * math/libm-test.inc (logb_test) : Additional logb tests.
41887
021db4be
AJ
418882012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41889 Andreas Jaeger <aj@suse.de>
41890
41891 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41892 * configure: Regenerated.
41893 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41894 * config.make.in (link-obsolete-rpc): New substituted variable.
41895 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41896 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41897 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41898 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41899 so that libc.a contains the symbols.
41900 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41901 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41902 * sunrpc/auth_none.c: Likewise.
41903 * sunrpc/auth_unix.c: Likewise.
41904 * sunrpc/authdes_prot.c: Likewise.
41905 * sunrpc/authuxprot.c: Likewise.
41906 * sunrpc/clnt_gen.c: Likewise.
41907 * sunrpc/clnt_perr.c: Likewise.
41908 * sunrpc/clnt_raw.c: Likewise.
41909 * sunrpc/clnt_simp.c: Likewise.
41910 * sunrpc/clnt_tcp.c: Likewise.
41911 * sunrpc/clnt_udp.c: Likewise.
41912 * sunrpc/clnt_unix.c: Likewise.
41913 * sunrpc/des_crypt.c: Likewise.
41914 * sunrpc/des_soft.c: Likewise.
41915 * sunrpc/get_myaddr.c: Likewise.
41916 * sunrpc/key_call.c: Likewise.
41917 * sunrpc/key_prot.c: Likewise.
41918 * sunrpc/netname.c: Likewise.
41919 * sunrpc/pm_getmaps.c: Likewise.
41920 * sunrpc/pm_getport.c: Likewise.
41921 * sunrpc/pmap_clnt.c: Likewise.
41922 * sunrpc/pmap_prot.c: Likewise.
41923 * sunrpc/pmap_prot2.c: Likewise.
41924 * sunrpc/pmap_rmt.c: Likewise.
41925 * sunrpc/publickey.c: Likewise.
41926 * sunrpc/rpc_cmsg.c: Likewise.
41927 * sunrpc/rpc_common.c: Likewise.
41928 * sunrpc/rpc_dtable.c: Likewise.
41929 * sunrpc/rpc_prot.c: Likewise.
41930 * sunrpc/rpc_thread.c: Likewise.
41931 * sunrpc/rtime.c: Likewise.
41932 * sunrpc/svc.c: Likewise.
41933 * sunrpc/svc_auth.c: Likewise.
41934 * sunrpc/svc_raw.c: Likewise.
41935 * sunrpc/svc_run.c: Likewise.
41936 * sunrpc/svc_tcp.c: Likewise.
41937 * sunrpc/svc_udp.c: Likewise.
41938 * sunrpc/svc_unix.c: Likewise.
41939 * sunrpc/svcauth_des.c: Likewise.
41940 * sunrpc/xcrypt.c: Likewise.
41941 * sunrpc/xdr.c: Likewise.
41942 * sunrpc/xdr_array.c: Likewise.
41943 * sunrpc/xdr_float.c: Likewise.
41944 * sunrpc/xdr_intXX_t.c: Likewise.
41945 * sunrpc/xdr_mem.c: Likewise.
41946 * sunrpc/xdr_rec.c: Likewise.
41947 * sunrpc/xdr_ref.c: Likewise.
41948 * sunrpc/xdr_sizeof.c: Likewise.
41949 * sunrpc/xdr_stdio.c: Likewise.
41950
b5c086a2
RM
419512012-05-10 Roland McGrath <roland@hack.frob.com>
41952
41953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41954 change. Update copyright years.
41955
6d74dd09
JM
419562012-05-10 Joseph Myers <joseph@codesourcery.com>
41957
41958 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41959
28e72501
MK
419602012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41961 Joseph Myers <joseph@codesourcery.com>
41962 Paul Pluzhnikov <ppluzhnikov@google.com>
41963
41964 [BZ #14012]
41965 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41966 requiring rpcgen.
41967 [cross-compiling] (extra-libs): Likewise.
41968 [cross-compiling] (extra-libs-others): Likewise.
41969 [cross-compiling] (librpcsvc-routines): Likewise.
41970 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41971 [cross-compiling] (omit-deps): Likewise.
41972 (sunrpc-CPPFLAGS): New variable.
41973 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41974 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41975 (cross-rpcgen-objs): New variable.
41976 (extra-objs): Append $(cross-rpcgen-objs).
41977 ($(cross-rpcgen-objs)): New rule.
41978 ($(objpfx)cross-rpcgen): Likewise.
41979 (rpcgen-cmd): Define to use $(built-program-file). Expand
41980 comment.
41981 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41982 ($(objpfx)x%.stmp): Likewise.
41983 * sunrpc/proto.h [IS_IN_build] (_): Define.
41984 [IS_IN_build] (_libc_intl_domainname): Likewise.
41985
c8c59454
L
419862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41987
41988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41989 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41990 and R_X86_64_TPOFF64.
41991
6f27cd16
JM
419922012-05-10 Joseph Myers <joseph@codesourcery.com>
41993
41994 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41995 sysdeps/unix/sysv/syscalls.list.
41996 (stime): Likewise.
41997 (utime): Likewise.
41998 * sysdeps/unix/sysv/syscalls.list: Remove file.
41999
02467e1c
PE
420002012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42001
42002 [BZ #3440]
42003 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42004 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42005 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42006 (__LC_IDENTIFICATION): Make these macros useful in #if
42007 expressions, as required by C99.
42008
da392631
AS
420092012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42010
42011 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42012 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42013 after this.
42014
8115f29b
L
420152012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42016
42017 * stdlib/longlong.h: Updated from GCC.
42018
bdd74070
AJ
420192012-05-09 Andreas Jaeger <aj@suse.de>
42020
edfe0dbe
AJ
42021 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42022 default is first entry.
42023 (run_mode): Set type.
42024 (main): Remove informal message about syslog.
42025 (options): Fix typo.
42026
bcfe3a54
ST
42027 [BZ #14053]
42028 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42029 to asm.
bcfe3a54
ST
42030 (lrint): Likewise.
42031 (llrintf): Likewise.
42032 (llrint): Likewise.
42033 (rint): Likewise.
42034 (rintf): Likewise.
42035 (nearbyint): Likewise.
42036 (nearbyintf): Likewise.
bdd74070 42037
91d8d69e
AJ
420382012-05-09 Andreas Jaeger <aj@suse.de>
42039 Pedro Alves <palves@redhat.com>
42040
42041 * nscd/nscd.c (run_mode): Use enum.
42042 (main): Cleanup coding style issue.
42043
bb90b80b
AJ
420442012-05-09 Alexandre Oliva <aoliva@redhat.com>
42045 Andreas Jaeger <aj@suse.de>
42046
bcfe3a54
ST
42047 * nscd/nscd.c (go_background): Replaced with...
42048 (run_mode): ... this.
bb90b80b 42049 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42050 (options): Add -F --foreground.
42051 (main): Implement it.
42052 (parse_opt): Parse it.
bb90b80b 42053
1a4b75a1
AJ
420542012-05-09 Andreas Jaeger <aj@suse.de>
42055
42056 [BZ #14083]
42057 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42058 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42059 -Wconversion warning.
42060 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42061 Likewise.
42062
b1cc2472
JM
420632012-05-09 Joseph Myers <joseph@codesourcery.com>
42064
42065 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42066 == 0.
42067 (LC_ALL): Use macro-int-constant.
42068 (LC_COLLATE): Likewise.
42069 (LC_CTYPE): Likewise.
42070 (LC_MESSAGES): Likewise.
42071 (LC_MONETARY): Likewise.
42072 (LC_NUMERIC): Likewise.
42073 (LC_TIME): Likewise.
42074 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42075 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42077 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42078 Specify type.
42079 [C99-based standards] (float_t): Expect type.
42080 [C99-based standards] (double_t): Expect type.
42081 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42082 type.
42083 [C99-based standards] (HUGE_VALL): Likewise.
42084 [C99-based standards] (INFINITY): Likewise.
42085 [C99-based standards] (NAN): Likewise.
42086 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42087 [C99-based standards] (FP_NAN): Likewise.
42088 [C99-based standards] (FP_NORMAL): Likewise.
42089 [C99-based standards] (FP_SUBNORMAL): Likewise.
42090 [C99-based standards] (FP_ZERO): Likewise.
42091 [C99-based standards] (FP_FAST_FMA): Use
42092 optional-macro-int-constant. Specify type. Require == 1.
42093 [C99-based standards] (FP_FAST_FMAF): Likewise.
42094 [C99-based standards] (FP_FAST_FMAL): Likewise.
42095 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42096 [C99-based standards] (FP_ILOGBNAN): Likewise.
42097 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42098 Specify type.
42099 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42100 [C99-based standards] (math_errhandling): Specify type.
42101 [ISO99 || ISO11] (signgam): Do not allow.
42102 [non-C99-based standards] (copysignf): Do not allow.
42103 [non-C99-based standards] (exp2f): Likewise.
42104 [non-C99-based standards] (log2f): Likewise.
42105 [non-C99-based standards] (modff): Allow.
42106 [non-C99-based standards] (erff): Do not allow.
42107 [non-C99-based standards] (erfcf): Likewise.
42108 [non-C99-based standards] (gammaf): Likewise.
42109 [non-C99-based standards] (hypotf): Likewise.
42110 [non-C99-based standards] (j0f): Likewise.
42111 [non-C99-based standards] (j1f): Likewise.
42112 [non-C99-based standards] (jnf): Likewise.
42113 [non-C99-based standards] (lgammaf): Likewise.
42114 [non-C99-based standards] (tgammaf): Likewise.
42115 [non-C99-based standards] (y0f): Likewise.
42116 [non-C99-based standards] (y1f): Likewise.
42117 [non-C99-based standards] (ynf): Likewise.
42118 [non-C99-based standards] (isnanf): Likewise.
42119 [non-C99-based standards] (acoshf): Likewise.
42120 [non-C99-based standards] (asinhf): Likewise.
42121 [non-C99-based standards] (atanhf): Likewise.
42122 [non-C99-based standards] (cbrtf): Likewise.
42123 [non-C99-based standards] (expm1f): Likewise.
42124 [non-C99-based standards] (ilogbf): Likewise.
42125 [non-C99-based standards] (log1pf): Likewise.
42126 [non-C99-based standards] (logbf): Likewise.
42127 [non-C99-based standards] (nextafterf): Likewise.
42128 [non-C99-based standards] (remainderf): Likewise.
42129 [non-C99-based standards] (rintf): Likewise.
42130 [non-C99-based standards] (scalbf): Likewise.
42131 [non-C99-based standards] (copysignl): Likewise.
42132 [non-C99-based standards] (exp2l): Likewise.
42133 [non-C99-based standards] (log2l): Likewise.
42134 [non-C99-based standards] (modfl): Allow.
42135 [non-C99-based standards] (erfl): Do not allow.
42136 [non-C99-based standards] (erfcl): Likewise.
42137 [non-C99-based standards] (gammal): Likewise.
42138 [non-C99-based standards] (hypotl): Likewise.
42139 [non-C99-based standards] (j0l): Likewise.
42140 [non-C99-based standards] (j1l): Likewise.
42141 [non-C99-based standards] (jnl): Likewise.
42142 [non-C99-based standards] (lgammal): Likewise.
42143 [non-C99-based standards] (tgammal): Likewise.
42144 [non-C99-based standards] (y0l): Likewise.
42145 [non-C99-based standards] (y1l): Likewise.
42146 [non-C99-based standards] (ynl): Likewise.
42147 [non-C99-based standards] (isnanl): Likewise.
42148 [non-C99-based standards] (acoshl): Likewise.
42149 [non-C99-based standards] (asinhl): Likewise.
42150 [non-C99-based standards] (atanhl): Likewise.
42151 [non-C99-based standards] (cbrtl): Likewise.
42152 [non-C99-based standards] (expm1l): Likewise.
42153 [non-C99-based standards] (ilogbl): Likewise.
42154 [non-C99-based standards] (log1pl): Likewise.
42155 [non-C99-based standards] (logbl): Likewise.
42156 [non-C99-based standards] (nextafterl): Likewise.
42157 [non-C99-based standards] (remainderl): Likewise.
42158 [non-C99-based standards] (rintl): Likewise.
42159 [non-C99-based standards] (scalbl): Likewise.
42160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42161 [non-C99-based standards] (FP_*): Do not allow.
42162 [C99-based standards] (FP_*): Change to
42163 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42164 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42165 allow.
42166 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42167 (SIG_ERR): Likewise.
42168 [X/Open-based standards] (SIG_HOLD): Likewise.
42169 (SIG_IGN): Likewise.
42170 (SIGABRT): Use macro-int-constant. Specify type. Require
42171 positive value.
42172 (SIGFPE): Likewise.
42173 (SIGILL): Likewise.
42174 (SIGINT): Likewise.
42175 (SIGSEGV): Likewise.
42176 (SIGTER): Likewise.
42177 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42178 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42179 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42180 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42181 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42182 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42183 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42184 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42185 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42186 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42187 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42188 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42189 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42190 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42191 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42192 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42193 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42194 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42195 [X/Open-based standards] (SIGTRAP): Likewise.
42196 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42197 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42198 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42199 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42200 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42201 allow.
42202
b9f1922d
IW
422032012-05-08 Ian Wienand <ianw@vmware.com>
42204
42205 [BZ #14080]
42206 * time/tzset.c (__tzset_parse_tz): Update default rules for
42207 daylight time changes in the Energy Policy Act of 2005.
42208
1db86e88
AJ
422092012-05-09 Andreas Jaeger <aj@suse.de>
42210
42211 [BZ #13983]
42212 * elf/ldconfig.c (parse_conf): Change string to make clear that
42213 ldconfig only issued a warning if ld.so.conf does not exist.
42214
dee4a4e3
DM
422152012-05-08 David S. Miller <davem@davemloft.net>
42216
ee0db190
DM
42217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42218 movxtod instead of popping the value on the stack.
42219
dee4a4e3
DM
42220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42221
6a43ec98
CD
422222012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42223
42224 * config.h.in: Add HAVE_ARM_PCS_VFP.
42225
05c2c961
RMG
422262012-05-08 Roland Mc Grath <roland@hack.frob.com>
42227
bcfe3a54
ST
42228 [BZ #13979]
42229 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42230 checking but the checks are disabled for any reason.
05c2c961 42231
4b30f61a
L
422322012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42233
42234 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42235 and ELF64_R_TYPE with ELFW(R_TYPE).
42236
eee2bc67
JM
422372012-05-08 Joseph Myers <joseph@codesourcery.com>
42238
7ea5391a
JM
42239 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42240 (ulimit): Likewise.
42241
eee2bc67
JM
42242 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42243 (settimeofday): Likewise.
42244
abb66a67
MF
422452012-05-08 Mike Frysinger <vapier@gentoo.org>
42246
42247 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42248 a struct th_u2 inside the union, and move tu_block/tu_code into
42249 a new th_u3 union of tu_block/tu_code inside of that. Move
42250 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42251 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42252 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42253 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42254 (th_stuff): Change to th_u1.tu_stuff.
42255 (th_data): Define.
42256 (th_msg): Change to th_u1.th_u2.tu_data.
42257
7f18b530
DM
422582012-05-07 David S. Miller <davem@davemloft.net>
42259
05760585
DM
42260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42261
7f18b530
DM
42262 [BZ #14074]
42263 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42264 (SETUP_PIC_REG): Use it.
42265 (SETUP_PIC_REG_LEAF): Use it.
42266
495fd99f
JM
422672012-05-07 Joseph Myers <joseph@codesourcery.com>
42268
42269 [BZ #13885]
42270 [BZ #13923]
42271 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42272 USE_AS_EXPM1L.
42273 (EXPL_FINITE): Likewise.
42274 (FLDLOG): Likewise.
42275 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42276 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42277 e_expl.S.
42278 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42279 USE_AS_EXPM1L.
42280 (EXPL_FINITE): Likewise.
42281 (FLDLOG): Likewise.
42282 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42283 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42284 e_expl.S.
42285 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42286 test of -max_value argument for long double.
42287 * sysdeps/i386/fpu/libm-test-ulps: Update.
42288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42289
6693d694
DM
422902012-05-06 David S. Miller <davem@davemloft.net>
42291
42292 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42293 quad soft-float symbols whose references which are compiler
42294 generated.
42295 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42296
6c23e11c
JM
422972012-05-06 Joseph Myers <joseph@codesourcery.com>
42298
d8b82cad
JM
42299 [BZ #13884]
42300 [BZ #13914]
42301 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42302 USE_AS_EXP10L.
42303 (EXPL_FINITE): Likewise.
42304 (FLDLOG): Likewise.
42305 (c0): Likewise.
42306 (c1): Likewise.
42307 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42308 Adjust comments for base varying.
42309 (__expl_finite): Change alias to EXPL_FINITE.
42310 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42311 e_expl.S.
42312 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42313 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42314 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42315 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42316 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42317 USE_AS_EXP10L.
42318 (EXPL_FINITE): Likewise.
42319 (FLDLOG): Likewise.
42320 (c0): Likewise.
42321 (c1): Likewise.
42322 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42323 Adjust comments for base varying.
42324 (__expl_finite): Change alias to EXPL_FINITE.
42325 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42326 tests for bugs.
42327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42328
6c23e11c
JM
42329 [BZ #14064]
42330 * math/libm-test.inc (check_float_internal): Correct ulp
42331 calculation for subnormal expected results.
42332
29ba805c
AJ
423332012-05-06 Andreas Jaeger <aj@suse.de>
42334
42335 * Makeconfig (+math-flags): New, set to -frounding-math.
42336 (+cflags): Add +math-flags so that all of glibc gets compiled with
42337 it.
42338
42339 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42340
7b17aeda
JM
423412012-05-05 Joseph Myers <joseph@codesourcery.com>
42342
5779f134
JM
42343 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42344 Disable one test.
42345
41498f4d
JM
42346 [BZ #13787]
42347 [BZ #13922]
42348 [BZ #14036]
42349 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42350 (__ieee754_expl): Allow for and saturate large arguments.
42351 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42352 (u_threshold): Likewise.
42353 (__exp): Call __ieee754_exp before checking for overflow and
42354 underflow.
42355 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42356 (u_threshold): Likewise.
42357 (__expf): Call __ieee754_expf before checking for overflow and
42358 underflow.
42359 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42360 (u_threshold): Likewise.
42361 (__expl): Call __ieee754_expl before checking for overflow and
42362 underflow.
42363 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42364 (__ieee754_expl): Allow for and saturate large arguments.
42365 * math/libm-test.inc (exp_test): Add another test. Do not allow
42366 missing overflow exception on overflow.
42367 (expm1_test): Do not allow missing overflow exception on overflow.
42368
6698b8bf
JM
42369 * sysdeps/i386/fpu/e_expl.c: Move to ...
42370 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42371 rather than using inline asm.
42372 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42373 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42374 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42375
7b17aeda
JM
42376 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42377 (nice): Likewise.
42378 (poll): Likewise.
42379 (signal): Likewise.
42380 (time): Likewise.
42381 (times): Likewise.
42382
f7c85819
JM
423832012-05-04 Joseph Myers <joseph@codesourcery.com>
42384
42385 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42386 sysdeps/unix/common/syscalls.list.
42387 (fchmod): Likewise.
42388 (fchown): Likewise.
42389 (ftruncate): Likewise.
42390 (getrusage): Likewise.
42391 (gettimeofday): Likewise.
42392 (setpgid): Likewise.
42393 (setregid): Likewise.
42394 (setreuid): Likewise.
42395 (sigaction): Likewise.
42396 (truncate): Likewise.
42397 (vhangup): Likewise.
42398 * sysdeps/unix/common/syscalls.list: Remove file.
42399 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42400 * sysdeps/unix/sysv/linux/Implies: Likewise.
42401
336270d0
L
424022012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42403
42404 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42406 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42407 Moved to ...
42408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42409 Here.
42410 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42411 to ...
42412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42413 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42414 to ...
42415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42416 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42417 to ...
42418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42419 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42420 to ...
42421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42422 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42423 to ...
42424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42425 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42426 to ...
42427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42428 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42429 to ...
42430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42431 Here.
42432 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42433 to ...
42434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42435 Here.
42436 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42437 to ...
42438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42439 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42440 Moved to ...
42441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42442 Here.
42443 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42444 to ...
42445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42446
d128e450
JM
424472012-05-04 Joseph Myers <joseph@codesourcery.com>
42448
fa8ee516
JM
42449 * sysdeps/unix/common/bits/dirent.h: Remove file.
42450 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42451
d128e450
JM
42452 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42453 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42454 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42455 * sysdeps/unix/bsd/isatty.c: Likewise.
42456 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42457 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42458 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42459
ff8faaf0 424602012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 42461
62881be4 42462 [BZ #13563]
31dc8730
AZ
42463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42464 long double comparison inaccuracies.
42465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42467
6fef930c
AS
424682012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42469
42470 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42472
8f203e6c
JM
424732012-05-04 Joseph Myers <joseph@codesourcery.com>
42474
42475 [BZ #14049]
42476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42477 nonzero digits before rounding a hex value.
42478 * stdlib/tst-strtod.c (tests): Add another test.
42479
5197d9c2
AK
424802012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42481
42482 * sysdeps/s390/fpu/libm-test-ulps: Update.
42483
f0c1dedf
AJ
424842012-05-03 Andreas Jaeger <aj@suse.de>
42485
42486 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42487 does not get optimized out.
42488 (malloc_opt_barrier): New.
42489
a65ef2ae 424902012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 42491 Roland McGrath <roland@hack.frob.com>
a65ef2ae 42492
2b942cb7 42493 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 42494 intermediate file deletion.
2b942cb7 42495 (generated): Add .symlist files.
a65ef2ae 42496
54b71e02
JM
424972012-05-03 Joseph Myers <joseph@codesourcery.com>
42498
42499 [BZ #13775]
42500 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42501 Redirect under this condition.
42502 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42503 [__USE_GNU] (__dprintf_chk): Not under this condition.
42504 [__USE_GNU] (__vdprintf_chk): Likewise.
42505 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42506 under this condition.
42507 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42508 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42509 [__USE_XOPEN2K8] (vdprintf): Likewise.
42510 [__USE_GNU] (__dprintf_chk): Not under this condition.
42511 [__USE_GNU] (__vdprintf_chk): Likewise.
42512 [__USE_GNU] (dprintf): Likewise.
42513 [__USE_GNU] (vdprintf): Likewise.
42514
d3dfcc41
RM
425152012-05-03 Roland McGrath <roland@hack.frob.com>
42516
42517 * elf/Makefile (common-generated): Set this instead of generated for
42518 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42519 $(all-built-dso)-derived lists.
42520
7ac30cc5
AJ
425212012-05-03 Andreas Jaeger <aj@suse.de>
42522
0c51e550
AJ
42523 * sysdeps/i386/fpu/libm-test-ulps: Update.
42524
7ac30cc5
AJ
42525 * FAQ: Removed.
42526 * FAQ.in: Likewise.
42527 * scripts/gen-FAQ.pl: Likewise.
42528 * manual/install.texi (Installation): Point to online location of
42529 FAQ.
42530 * Makefile (files-for-dist): Remove FAQ.
42531 (FAQ): Remove.
42532
d4c2917f
AM
425332012-05-02 Allan McRae <allan@archlinux.org>
42534
42535 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42536 (LDFLAGS-reldepmod5.so): Likewise.
42537 (LDFLAGS-reldep6mod1.so): Likewise.
42538 (LDFLAGS-reldep6mod4.so): Likewise.
42539 (LDFLAGS-reldep8mod3.so): Likewise.
42540 (LDFLAGS-unload4mod1.so): Likewise.
42541 (LDFLAGS-unload4mod2.so): Likewise.
42542 (LDFLAGS-tst-initorder): Likewise.
42543 (LDFLAGS-tst-initordera2.so): Likewise.
42544 (LDFLAGS-tst-initordera3.so): Likewise.
42545 (LDFLAGS-tst-initordera4.so): Likewise.
42546 (LDFLAGS-tst-initorderb2.so): Likewise.
42547 (LDFLAGS-noload): Likewise.
42548 (LDFLAGS-next): Likewise.
42549 (LDFLAGS-order2mod1.so): Likewise.
42550 (LDFLAGS-order2mod2.so): Likewise.
42551 (LDFLAGS-tst-initorder2): Likewise.
42552 (LDFLAGS-tst-initorder2a.so): Likewise.
42553 (LDFLAGS-tst-initorder2b.so): Likewise.
42554 (LDFLAGS-tst-initorder2c.so): Likewise.
42555 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42556
d77f993f
DM
425572012-05-02 David S. Miller <davem@davemloft.net>
42558
42559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42560
171a70b4
PP
425612012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42562
42563 [BZ #14055]
42564 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42565
0be196ad
AJ
425662012-05-02 Andreas Jaeger <aj@suse.de>
42567
42568 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42569 since we manipulate rounding mode.
42570 (CPPFLAGS-test-idouble.c): Likewise.
42571 (CPPFLAGS-test-ifloat.c): Likewise.
42572 (CFLAGS-test-ldouble.c): Likewise.
42573 (CFLAGS-test-double.c): Likewise.
42574 (CFLAGS-test-float.c): Likewise.
42575 (CFLAGS-test-misc.c): Likewise.
42576 (CFLAGS-test-test-fenv.c): Likewise.
42577
4f9d04aa
AZ
425782012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42579
2b942cb7
RM
42580 [BZ #2550]
42581 [BZ #2570]
42582 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42583 comparisons to determine direction to adjust input.
4f9d04aa 42584
82a79e7d
RM
425852012-05-01 Roland McGrath <roland@hack.frob.com>
42586
f5a01ca9
RM
42587 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42588 output to the target.
42589
90fe4186
RM
42590 * scripts/localplt.awk: New file.
42591 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42592 (check-localplt-CFLAGS): Variable removed.
42593 ($(all-built-dso:=.jmprel)): New static pattern rule.
42594 (generated): Add those targets.
42595 (localplt-built-dso): New variable.
42596 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42597
42598 * elf/check-localplt.c: File removed.
42599
82397ed6
RM
42600 * scripts/check-execstack.awk: New file.
42601 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42602 (check-execstack-CFLAGS): Variable removed.
42603 ($(objpfx)check-execstack.h): Target removed.
42604 ($(objpfx)execstack-default): New target.
42605 (generated): Add that instead of check-execstack.h.
42606 ($(all-built-dso:=.phdr)): New static pattern rule.
42607 (generated): Add those targets.
42608 * elf/check-execstack.c: File removed.
42609
82a79e7d
RM
42610 * scripts/check-textrel.awk: New file.
42611 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42612 (check-textrel-CFLAGS): Variable removed.
42613 (all-built-dso): Use := to define.o
42614 ($(all-built-dso:=.dyn)): New static pattern rule.
42615 (generated): Add those targets.
42616 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42617 * config.make.in (READELF): New substituted variable.
42618 * elf/check-textrel.c: File removed.
42619
62fde54f 426202012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 42621
615605c9
JM
42622 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42623 allow.
42624 * conform/data/ctype.h-data [C99-based standards] (isblank):
42625 Expect function.
42626 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42627 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42629 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42630 Specify type. Require positive value.
42631 (EILSEQ): Likewise.
42632 (ERANGE): Likewise.
42633 [ISO || POSIX] (EILSEQ): Do not expect.
42634 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42635 Specify type. Require positive value.
42636 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42637 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42638 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42639 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42640 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42641 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42642 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42643 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42644 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42645 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42646 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42647 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42648 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42649 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42650 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42651 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42652 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42653 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42654 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42655 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42656 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42657 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42658 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42659 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42660 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42661 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42662 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42663 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42667 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42668 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42669 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42670 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42671 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42672 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42673 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42674 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42675 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42676 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42677 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42682 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42683 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42686 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42687 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42688 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42689 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42690 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42691 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42692 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42693 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42694 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42696 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42697 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42698 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42699 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42700 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42701 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42702 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42703 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42704 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42705 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42706 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42707 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42708 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42709 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42710 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42711 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42712 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42713 Require >= 2.
42714 (FLT_ROUNDS): Expect as macro, not constant.
42715 (FLT_MANT_DIG): Use macro-int-constant.
42716 (DBL_MANT_DIG): Likewise.
42717 (LDBL_MANT_DIG): Likewise.
42718 (FLT_DIG): Likewise.
42719 (DBL_DIG): Likewise.
42720 (LDBL_DIG): Likewise.
42721 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42722 (DBL_MIN_EXP): Likewise.
42723 (LDBL_MIN_EXP): Likewise.
42724 (FLT_MAX_EXP): Use macro-int-constant.
42725 (DBL_MAX_EXP): Likewise.
42726 (LDBL_MAX_EXP): Likewise.
42727 (FLT_MAX_10_EXP): Likewise.
42728 (DBL_MAX_10_EXP): Likewise.
42729 (LDBL_MAX_10_EXP): Likewise.
42730 (FLT_MAX): Use macro-constant.
42731 (DBL_MAX): Likewise.
42732 (LDBL_MAX): Likewise.
42733 (FLT_EPSILON): Use macro-constant. Give upper bound.
42734 (DBL_EPSILON): Likewise.
42735 (LDBL_EPSILON): Likewise.
42736 (FLT_MIN): Likewise.
42737 (DBL_MIN): Likewise.
42738 (LDBL_MIN): Likewise.
42739 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42740 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42741 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42742 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42743 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42744 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42745 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42746 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42747 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42748 [ISO11] (FLT_TRUE_MIN): Likewise.
42749 [ISO11] (LDBL_TRUE_MIN): Likewise.
42750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42751 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42752 (SCHAR_MIN): Use macro-int-constant. Specify type.
42753 (SCHAR_MAX): Likewise.
42754 (UCHAR_MAX): Likewise.
42755 (CHAR_MIN): Likewise.
42756 (CHAR_MAX): Likewise.
42757 (MB_LEN_MAX): Use macro-int-constant.
42758 (SHRT_MIN): Use macro-int-constant. Specify type.
42759 (SHRT_MAX): Likewise.
42760 (USHRT_MAX): Likewise.
42761 (INT_MAX): Likewise.
42762 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42763 bound negative.
42764 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42765 bound with "U".
42766 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42767 bound with "L".
42768 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42769 bound negative. Suffix upper bound with "L".
42770 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42771 bound with "UL".
42772 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42773 Specify type.
42774 [C99-based standards] (LLONG_MAX): Likewise.
42775 [C99-based standards] (ULLONG_MAX): Likewise.
42776 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42777 == 0.
42778 [ISO11] (max_align_t): Require type.
42779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42780
c9140a62
JM
42781 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42782 from $CFLAGS, without defining away __attribute__ calls.
42783 (checknamespace): Use $CFLAGS_namespace.
42784
9af0bf29
JM
42785 * conform/conformtest.pl (@keywords): Only include C99 keywords
42786 for standards based on C99 or C11.
42787
343222a2
JM
42788 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42789 Disable tests.
42790 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42791 UNIX98]: Likewise.
42792
661f8cf0
JM
42793 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42794 usability of symbols in #if.
42795
ee74b9cb
JM
42796 * conform/conformtest.pl: If macro or constant types start
42797 "promoted:", expect the symbol to be of the following type
42798 promoted by the integer promotions.
62fde54f 42799
aafc49b3
JM
42800 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42801 in one place. Also handle "macro-constant".
42802
fefdf574
JM
42803 * conform/conformtest.pl: Only accept expected macro values with
42804 "==". Parse all "macro" lines in one place.
42805 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42806
f2d922fe
JM
42807 * conform/conformtest.pl: Handle braced types on "constant" lines
42808 instead of handling "typed-constant".
42809 * conform/data/signal.h-data: Use "constant" instead of
42810 "typed-constant".
42811
d22956c9
JM
42812 * conform/conformtest.pl: Handle "optional-" at start of lines in
42813 one place rather than duplicating several cases. Handle each
42814 format of "macro" line with initial "optional-".
42815
028e2e38
JM
42816 * conform/conformtest.pl: Only accept expected constant or
42817 optional-constant values with "==". Parse all "constant" lines in
42818 one place. Parse all "optional-constant" lines in one place.
42819 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42820 * conform/data/fmtmsg.h-data: Likewise.
42821 * conform/data/netinet/in.h-data: Likewise.
42822 * conform/data/tar.h-data: Likewise.
42823 * conform/data/limits.h-data: Use "==" form on "constant" and
42824 "optional-constant" lines.
42825
1b8f2850
JM
42826 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42827 Use -std=c99 for XOPEN2K.
42828 (@knownproblems): Remove.
42829 (newtoken): Don't check %isknown.
42830
a05a144b
JM
42831 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42832 Do not expect macro.
42833 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42834 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42835 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42836 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42837 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42838 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42839 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42840 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42841 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42842 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42843 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42844 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42845 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42846 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42847 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42848 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42849 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42850 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42851 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42852 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42853 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42854 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42855 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42856 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42857 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42858 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42859 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42862 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42863 [XPG3] (acosh): Likewise.
42864 [XPG3] (asinh): Likewise.
42865 [XPG3] (atanh): Likewise.
42866 [XPG3] (cbrt): Likewise.
42867 [XPG3] (expm1): Likewise.
42868 [XPG3] (ilogb): Likewise.
42869 [XPG3] (log1p): Likewise.
42870 [XPG3] (logb): Likewise.
42871 [XPG3] (nextafter): Likewise.
42872 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42873 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42874 [XPG3] (remainder): Likewise.
42875 [XPG3] (rint): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42883 [UNIX98 || XOPEN2K] (scalb): Expect.
42884 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42885 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42886 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42887 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43021
73c5ebe3
JM
43022 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43023 _XOPEN_SOURCE_EXTENDED for XPG4.
43024
39c33b6c
JM
43025 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43026
62fde54f
JM
43027 * Makeconfig (localtime): Remove variable.
43028 (inst_localtime-file): Likewise.
43029
0741d64c
AS
430302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43031
43032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43033 Update.
43034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43035 Update.
43036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43037 Update.
43038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43039 Update.
43040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43041 Update.
43042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43043 Update.
43044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43045 Update.
43046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43047 Update.
43048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43049 Update.
43050
7cb029ee
JM
430512012-05-01 Joseph Myers <joseph@codesourcery.com>
43052
43053 [BZ #2550]
43054 [BZ #2570]
43055 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43056 comparisons to determine direction to adjust input.
43057 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43058 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43060 Likewise.
43061 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43062 Likewise.
43063 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43064 Likewise.
43065 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43066 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43067 Likewise.
43068 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43069 Likewise.
43070 * math/libm-test.inc (nexttoward_test): Add more tests.
43071
412bd966
AS
430722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43073
43074 [BZ #14040]
43075 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43076 in version GLIBC_2.1, not GLIBC_2.0.
43077 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43078 Likewise.
43079
9568c0c2
JM
430802012-04-30 Joseph Myers <joseph@codesourcery.com>
43081
adfbc8ac
JM
43082 [BZ #13942]
43083 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43084 (1 - x) * (1 + x).
43085 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43086 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43087 * math/libm-test.inc (acos_test): Add more tests.
43088 (asin_test): Likewise.
43089 * sysdeps/i386/fpu/libm-test-ulps: Update.
43090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43091
5ba3cc69
JM
43092 [BZ #14034]
43093 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43094 of square root.
43095 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43096 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43097 * math/libm-test.inc (acos_test_tonearest): New function.
43098 (acos_test_towardzero): Likewise.
43099 (acos_test_downward): Likewise.
43100 (acos_test_upward): Likewise.
43101 (asin_test_tonearest): Likewise.
43102 (asin_test_towardzero): Likewise.
43103 (asin_test_downward): Likewise.
43104 (asin_test_upward): Likewise.
43105 (main): Call the new functions.
43106 * sysdeps/i386/fpu/libm-test-ulps: Update.
43107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43108
9568c0c2
JM
43109 [BZ #13884]
43110 [BZ #13924]
43111 * math/e_exp10.c: Include <float.h>.
43112 (__ieee754_exp10): Handle underflow here rather than multiplying
43113 large negative argument by M_LN10.
43114 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43115 of __ieee754_expf.
43116 * math/e_exp10l.c: Include <float.h>.
43117 (__ieee754_exp10l): Handle underflow here rather than multiplying
43118 large negative argument by M_LN10l.
43119 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43120 spurious overflow exception on underflow.
43121
5ac3ea17
MP
431222012-04-29 Marek Polacek <polacek@redhat.com>
43123
43124 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43125 (__fortify_function): New macro.
43126 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43127 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43128 __extern_always_inline.
43129 * libio/bits/stdio2.h: Likewise.
43130 * libio/bits/stdio.h: Likewise.
43131 * string/string.h: Likewise.
43132 * string/bits/string3.h: Likewise.
43133 * include/stdio.h: Likewise.
43134 * stdlib/bits/stdlib.h: Likewise.
43135 * stdlib/stdlib.h: Likewise.
43136 * rt/bits/mqueue2.h: Likewise.
43137 * rt/mqueue.h: Likewise.
43138 * posix/bits/unistd.h: Likewise.
43139 * posix/unistd.h: Likewise.
43140 * io/bits/poll2.h: Likewise.
43141 * io/bits/fcntl2.h: Likewise.
43142 * io/fcntl.h: Likewise.
43143 * io/sys/poll.h: Likewise.
43144 * misc/bits/syslog.h: Likewise.
43145 * misc/bits/syslog-ldbl.h: Likewise.
43146 * misc/sys/syslog.h: Likewise.
43147 * socket/bits/socket2.h: Likewise.
43148 * socket/sys/socket.h: Likewise.
43149 * debug/tst-chk1.c: Likewise.
43150 * wcsmbs/bits/wchar2.h: Likewise.
43151 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43152 * wcsmbs/wchar.h: Likewise.
43153
ecf0ebfb
AJ
431542012-04-29 Andreas Jaeger <aj@suse.de>
43155
43156 * Makerules (tests): Remove enable-check-abi protection.
43157 (check-abi-warn): Remove.
43158 (check-abi-%): Remove check-abi-warn usage.
43159
43160 * configure.in: Remove check-abi configure option.
43161 * configure: Regenerated.
43162 * config.make.in (enable-check-abi): Remove.
43163
6d5c57fa
AS
431642012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43165
24c5d07e 43166 [BZ #14033]
ded5180a
AS
43167 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43168 double functions to double *_finite functions.
43169
7e0d315d
AS
43170 [BZ #13941]
43171 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43172 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43173 LDBL_MIN_EXP.
43174 * stdio-common/Makefile (tests): Add tst-sprintf3.
43175 * stdio-common/tst-sprintf3.c: New file.
43176
6d5c57fa
AS
43177 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43178 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43179
0749ff8b
JM
431802012-04-28 Joseph Myers <joseph@codesourcery.com>
43181
43182 * conform/conformtest.pl: Remove duplicate typed-constant
43183 handling.
43184
8dbd5d7b
DM
431852012-04-28 David S. Miller <davem@davemloft.net>
43186
43187 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43188 (check-abi-%): Remove AWK script prerequisite and explicit
43189 abilist directory.
43190 (check-abi): Rewrite to just diff the symlist with the abilist.
43191 (config-tls, config-abi-config): Delete, no longer used.
43192 (update-abi-%): Remove AWK script and explicit abilist directory.
43193 (update-abi): Rewrite to simply compare and conditionally copy the
43194 symlist and the sysdep abilist file. Remove update-abi-config
43195 checks.
43196 * abilist/ld.abilist: Remove.
43197 * abilist/libBrokenLocale.abilist: Remove.
43198 * abilist/libanl.abilist: Remove.
43199 * abilist/libcrypt.abilist: Remove.
43200 * abilist/libdl.abilist: Remove.
43201 * abilist/librt.abilist: Remove.
43202 * abilist/libthread_db.abilist: Remove.
43203 * abilist/libutil.abilist: Remove.
43204 * scripts/extract-abilist.awk: Remove.
43205 * scripts/merge-abilist.awk: Remove.
43206 * sysdeps/generic/libcidn.abilist: New file.
43207 * sysdeps/generic/libnss_compat.abilist: New file.
43208 * sysdeps/generic/libnss_db.abilist: New file.
43209 * sysdeps/generic/libnss_dns.abilist: New file.
43210 * sysdeps/generic/libnss_files.abilist: New file.
43211 * sysdeps/generic/libnss_hesiod.abilist: New file.
43212 * sysdeps/generic/libnss_nis.abilist: New file.
43213 * sysdeps/generic/libnss_nisplus.abilist: New file.
43214 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43215 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43216 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43217 file.
43218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43219 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43220 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43221 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43222 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43223 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43224 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43225 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43226 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43227 file.
43228 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43229 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43230 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43231 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43232 file.
43233 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43234 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43235 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43236 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43237 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43238 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43239 file.
43240 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43241 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43242 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43243 file.
43244 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43246 New file.
43247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43248 New file.
43249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43250 New file.
43251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43252 New file.
43253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43254 New file.
43255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43256 New file.
43257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43258 New file.
43259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43260 New file.
43261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43262 New file.
43263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43264 New file.
43265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43266 New file.
43267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43268 New file.
43269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43270 New file.
43271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43272 file.
43273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43274 New file.
43275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43276 New file.
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43278 file.
43279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43280 New file.
43281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43282 New file.
43283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43284 file.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43286 New file.
43287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43288 New file.
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43290 New file.
43291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43292 New file.
43293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43294 New file.
43295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43296 New file.
43297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43299 file.
43300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43301 New file.
43302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43303 file.
43304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43305 file.
43306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43307 file.
43308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43309 file.
43310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43311 file.
43312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43313 New file.
43314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43315 file.
43316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43317 file.
43318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43319 New file.
43320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43321 file.
43322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43324 file.
43325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43326 New file.
43327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43328 file.
43329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43330 file.
43331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43332 file.
43333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43334 file.
43335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43336 file.
43337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43338 New file.
43339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43340 file.
43341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43342 file.
43343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43344 New file.
43345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43346 file.
43347 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43348 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43349 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43350 file.
43351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43352 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43353 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43354 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43355 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43356 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43357 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43358 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43359 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43360 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43363 file.
43364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43365 New file.
43366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43367 file.
43368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43369 file.
43370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43371 file.
43372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43373 file.
43374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43375 file.
43376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43377 New file.
43378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43379 New file.
43380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43381 file.
43382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43383 New file.
43384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43385 file.
43386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43388 file.
43389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43390 New file.
43391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43392 file.
43393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43394 file.
43395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43396 file.
43397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43398 file.
43399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43400 file.
43401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43402 New file.
43403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43404 New file.
43405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43406 file.
43407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43408 New file.
43409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43410 file.
43411
41d73a1b
JM
434122012-04-28 Joseph Myers <joseph@codesourcery.com>
43413
43414 * conform/conformtest.pl: Fix typo in handling typed-constant from
43415 allow-header.
43416
28aeeda4
JM
434172012-04-27 Joseph Myers <joseph@codesourcery.com>
43418
adae8f5e
JM
43419 * README: Cut down references to pre-2.6 Linux kernels and
43420 Linuxthreads. Update lists of configurations in libc and ports
43421 and sort alphabetically. Say "or newer" with Linux kernel version
43422 requirements.
43423
28aeeda4
JM
43424 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43425
a462cb63
RA
434262012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43427
43428 [BZ #887]
43429 * math/libm-test.inc (logb_test_downward): New test to expose
43430 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43431 rounding mode.
43432
6ad3493e
JM
434332012-04-27 Joseph Myers <joseph@codesourcery.com>
43434
43435 [BZ #14027]
43436 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43437 to be done.
43438 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43439 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43440
2ce4f015
JM
434412012-04-26 Joseph Myers <joseph@codesourcery.com>
43442
5aeb141a
JM
43443 * sysdeps/unix/i386/brk.S: Remove file.
43444 * sysdeps/unix/i386/dl-brk.S: Likewise.
43445 * sysdeps/unix/i386/pipe.S: Likewise.
43446 * sysdeps/unix/i386/sigreturn.S: Likewise.
43447 * sysdeps/unix/i386/syscall.S: Likewise.
43448 * sysdeps/unix/i386/vfork.S: Likewise.
43449 * sysdeps/unix/i386/wait.S: Likewise.
43450
7143acae
JM
43451 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43452 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43453
2ce4f015
JM
43454 * configure.in (arm*-none*): Do not allow without
43455 --enable-hacker-mode.
43456 (netbsd*): Remove case setting base_os.
43457 (386bsd*): Likewise.
43458 (freebsd*): Likewise.
43459 (bsdi*): Likewise.
43460 (osf*): Likewise.
43461 (sunos*): Likewise.
43462 (ultrix*): Likewise.
43463 (newsos*): Likewise.
43464 (dynix*): Likewise.
43465 (*bsd*): Likewise.
43466 (sysv*): Likewise.
43467 (isc*): Likewise.
43468 (esix*): Likewise.
43469 (sco*): Likewise.
43470 (minix*): Likewise.
43471 (irix4*): Likewise.
43472 (irix6*): Likewise.
43473 (solaris[2-9]*): Likewise.
43474 (none): Likewise.
43475 * configure: Regenerated.
43476
0ac229c8
AZ
434772012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43478
43479 [BZ #11521]
43480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43481 overflow or cancellation in calculating denominator.
43482 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43483 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43484 down expression to avoid unexpected rounding in newer GCCs.
43485 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43486
33f244f4
DM
434872012-04-26 David S. Miller <davem@davemloft.net>
43488
43489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43490 long-double compat symbols.
43491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43504
cfa1f3e8
DM
435052012-04-25 David S. Miller <davem@davemloft.net>
43506
43507 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43508 HWCAP_* values only after the memory barriers have been defined.
43509 (atomic_full_barrier): Define.
43510 (atomic_read_barrier): Define.
43511 (atomic_write_barrier): Define.
43512
6e236b92
SP
435132012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43514
43515 * shlib-versions: Add libgcc_s version information.
43516 * sysdeps/generic/libgcc_s.h: Remove.
43517 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43518 libgcc_s.h.
43519 * sysdeps/gnu/unwind-resume.c: Likewise.
43520 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43521
aab39a09
DM
435222012-04-25 David S. Miller <davem@davemloft.net>
43523
43524 * sysdeps/unix/sparc/brk.S: Delete.
43525 * sysdeps/unix/sparc/dl-brk.S: Delete.
43526 * sysdeps/unix/sparc/pipe.S: Delete.
43527 * sysdeps/unix/sparc/sysdep.S: Delete.
43528 * sysdeps/unix/sparc/sysdep.h: Delete.
43529 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
43530 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43531 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43533 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
43534 (JUMPTARGET): Remove.
43535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43536 sysdeps/unix/sparc/sysdep.h
43537 (ENTRY, END): Remove.
43538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43539
a3cc4f48
JM
435402012-04-25 Joseph Myers <joseph@codesourcery.com>
43541
2ed8cda2
JM
43542 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43543 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43544 -DIS_IN_build.
43545
35d76d59
JM
43546 * timezone/README: Update upstream location and email address for
43547 tzcode and tzdata.
43548 * timezone/zdump.c: Update from tzcode 2012b.
43549 * timezone/zic.c: Likewise.
43550
a3cc4f48
JM
43551 * configure.in (libc_cv_as_needed): Remove test.
43552 * configure: Regenerated.
43553 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43554 conditional definition.
43555 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43556 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43557 * config.make.in (have-as-needed): Remove variable.
43558
ceab42c3
SP
435592012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43560 Paul Pluzhnikov <ppluzhnikov@google.com>
43561
43562 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43563 strings correctly.
43564
3ce2865f
CLT
435652012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43566
43567 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43568 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43569 * sysdeps/sh/strlen.S: Likewise.
43570
f37e0d68
JM
435712012-04-24 Joseph Myers <joseph@codesourcery.com>
43572
ae186e9a
JM
43573 * sysdeps/unix/fork.S: Remove file.
43574 * sysdeps/unix/i386/fork.S: Likewise.
43575 * sysdeps/unix/sparc/fork.S: Likewise.
43576
b96914af
JM
43577 * sysdeps/unix/system.c: Remove file.
43578 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43579
f37e0d68
JM
43580 * sysdeps/unix/getegid.S: Remove file.
43581 * sysdeps/unix/geteuid.S: Likewise.
43582
87ef29ca
RM
435832012-04-24 Roland McGrath <roland@hack.frob.com>
43584
83bcd236
RM
43585 * scripts/check-localplt.awk: New file.
43586 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43587 of diff.
43588 * scripts/data/localplt-generic.data: Add a comment.
43589
87ef29ca
RM
43590 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43591 NODE when __dir_mkfile failed.
43592 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43593 Reported by Ludovic Courtès <ludo@gnu.org>.
43594
e5a6e567
AJ
435952012-04-24 Andreas Jaeger <aj@suse.de>
43596
43597 * Makerules (common-clean): Also remove gen-as-const-headers
43598 files.
43599
c1820385
JM
436002012-04-24 Joseph Myers <joseph@codesourcery.com>
43601
43602 * Makerules (native-compile): Do not change working directory for
43603 build. Use $(OUTPUT_OPTION) in command.
43604 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43605
94e02fc4
AZ
436062012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43607
43608 [BZ #13886]
43609 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43610 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43611 * math/libm-test.inc (floor_test): Add more tests.
43612 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43613
3a533ca3
JM
436142012-04-24 Joseph Myers <joseph@codesourcery.com>
43615
940ab4b3
JM
43616 * sysdeps/unix/getdents.c: Remove file.
43617 * sysdeps/unix/sysv/getdents.c: Likewise.
43618 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43619
90e037bd
JM
43620 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43621 sysdeps/unix/mman/syscalls.list.
43622 (mmap): Likewise.
43623 (mprotect): Likewise.
43624 (msync): Likewise.
43625 (munmap): Likewise.
43626 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43627 * sysdeps/unix/mman/syscalls.list: Remove.
43628 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43629
3a533ca3
JM
43630 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43631 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43632 * configure: Regenerated.
43633 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43634 $(libgcc_s_suffix).
43635 * config.make.in (libgcc_s_suffix): Remove variable.
43636
1ad743de
JM
436372012-04-23 Joseph Myers <joseph@codesourcery.com>
43638
4ad451e2
JM
43639 * sysdeps/unix/sysv/gethostname.c: Move to ...
43640 * sysdeps/posix/gethostname.c: ... here.
43641
5e37ce39
JM
43642 * sysdeps/unix/execve.S: Remove file.
43643
1ad743de
JM
43644 * sysdeps/unix/_exit.S: Remove file.
43645
4e681b5b
AJ
436462012-04-23 Andreas Jaeger <aj@suse.de>
43647
43648 [BZ #13739]
43649 * manual/Makefile: Remove make dist support, there's no
43650 need for a stand-alone documentation tar ball.
43651 (TEXI2DVI): Define always, it's not in Makeconfig.
43652 (dist): Removed.
43653 (tar-it): Removed.
43654 (edition): Removed.
43655 (glibc-doc-$(edition).tar): Removed
43656 (%.Z): Removed.
43657 (%.gz): Removed.
43658 (%.uu): Removed.
43659 (ETAGS): Remove, it's in Makeconfig.
43660 (move-if-change): Remove, it's in Makeconfig.
43661
38686a03 436622012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
43663
43664 [BZ #13970]
43665 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43666 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43667 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43668 (strtod_l, strtof_l, strtold_l): Remove __wur.
43669 It is not necessarily an error to ignore strtol's return value.
43670 One can reliably look at the stored endptr to decide whether
43671 the number had valid syntax.
43672
7c0616fa
AJ
436732012-04-21 Andreas Jaeger <aj@suse.de>
43674
803cb6b7 43675 [BZ #13739]
7c0616fa
AJ
43676 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43677
b0fe253f
JM
436782012-04-21 Joseph Myers <joseph@codesourcery.com>
43679
43680 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43681 * sysdeps/unix/sysv/Versions: Remove file.
43682
8280f22d
MT
436832012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43684
43685 [BZ #13927]
43686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43687
75ce411f 436882012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
43689
43690 [BZ #7064]
43691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43692 version from __vm86.
43693
097d59fa
JM
436942012-04-20 Joseph Myers <joseph@codesourcery.com>
43695
a90f3bcb
JM
43696 * sysdeps/unix/common/lxstat.c: Remove file.
43697 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43698
edc7ea78
JM
43699 * sysdeps/unix/sysv/Makefile: Remove file.
43700
cb78c221
JM
43701 * sysdeps/unix/sysv/direct.h: Remove file.
43702
efa6a45f
JM
43703 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43704 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43705 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43706 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43707 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43708 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43709 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43710
9c9f2d0c
JM
43711 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43712
4541c83b
JM
43713 * sysdeps/unix/xmknod.c: Remove file.
43714 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43715
f5d153a0
JM
43716 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43717
aa746595
JM
43718 * sysdeps/unix/sysv/i386/time.S: Remove file.
43719
cce5905e
JM
43720 * sysdeps/unix/fxstat.c: Remove file.
43721 * sysdeps/unix/xstat.c: Likewise.
43722 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43723
37fa3841
JM
43724 * sysdeps/unix/sysv/sigaction.c: Remove file.
43725
ff1962a3
JM
43726 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43727 (sysdep_headers): Remove variable.
43728 [termio.h not in sysdep_headers] (generated): Likewise.
43729 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43730 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43731 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43732 * sysdeps/unix/sysv/tcflow.c: Likewise.
43733 * sysdeps/unix/sysv/tcflush.c: Likewise.
43734 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43735 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43736 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43737 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43738 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43739
e7740d31
JM
43740 * sysdeps/unix/siglist.c: Remove file.
43741
ee06f18b
JM
43742 * sysdeps/unix/getppid.S: Remove file.
43743
097d59fa
JM
43744 * sysdeps/unix/mkdir.c: Remove file.
43745 * sysdeps/unix/rmdir.c: Likewise.
43746
ff3d51ec
AS
437472012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43748
43749 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43750 ERR_MAX value.
43751 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43752 errlist-compat value.
43753
50f81fd7
DM
437542012-04-18 David S. Miller <davem@davemloft.net>
43755
43756 * sysdeps/generic/memcopy.h (reg_char): Delete.
43757 * debug/strcat_chk.c: Use char, not reg_char.
43758 * debug/strcpy_chk.c: Likewise.
43759 * debug/strncat_chk.c: Likewise.
43760 * debug/strncpy_chk.c: Likewise.
43761 * string/memchr.c: Likewise.
43762 * string/memrchr.c: Likewise.
43763 * string/rawmemchr.c: Likewise.
43764 * string/strcat.c: Likewise.
43765 * string/strchr.c: Likewise.
43766 * string/strchrnul.c: Likewise.
43767 * string/strcmp.c: Likewise.
43768 * string/strcpy.c: Likewise.
43769 * string/strncat.c: Likewise.
43770 * string/strncmp.c: Likewise.
43771 * string/strncpy.c: Likewise.
43772
8ff41c46
WS
437732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43774
43775 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43776 __builtin_memcopy is called when src and dest ranges are known to not
43777 overlap.
43778
6b652f46
WS
437792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43780
43781 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43782 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43783 fwd_align_merge macro call.
43784 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43785 bwd_align_merge macro call.
43786 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43787
b282631e
WS
437882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43789
43790 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43791 bwd_align_merge macros.
43792 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43793 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43794 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43795
95aa737c
DM
437962012-04-18 David S. Miller <davem@davemloft.net>
43797
43798 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43799
7a99a614
AJ
438002012-04-18 Andreas Jaeger <aj@suse.de>
43801
43802 [BZ# 6794]
43803 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43804 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43805 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43806
43807 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43808 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43809 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43810
43811 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43812 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43813 Adjust for changed ldbl-128 files.
43814
43815 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43816 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43817 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43818
e5270c23
DM
438192012-04-17 David S. Miller <davem@davemloft.net>
43820
43821 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43822
fb5e92c9
AS
438232012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43824
43825 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43826 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43827 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43828 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43829 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43830 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43831
76da7265
AZ
438322012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43833
43834 [BZ #6794]
43835 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43836 * math/libm-test.inc: Add ilogb errno and exception tests.
43837 * math/w_ilogb.c: New file: ilogb wrapper.
43838 * math/w_ilogbf.c: New file: ilogbf wrapper.
43839 * math/w_ilogbl.c: New file: ilogbl wrapper.
43840 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43841 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43842 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43843 exception being thrown with 0.0 as argument.
43844 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43845 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43846 exception being thrown with 0.0 as argument.
43847 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43848 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43849 exception being thrown with 0.0 as argument.
43850 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43851 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43852 exception being thrown with 0.0 as argument.
43853 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43854 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 43855 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
43856 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43857 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43858 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43859 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43860 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43861 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43862
0396e69d
PB
438632012-04-17 Petr Baudis <pasky@ucw.cz>
43864
43865 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43866 with altivec.
43867
750b5926
MP
438682012-04-16 Marek Polacek <polacek@redhat.com>
43869
43870 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43871
751728a1
MP
438722012-04-16 Marek Polacek <polacek@redhat.com>
43873
43874 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43875 operands of fdivp instruction.
43876
34a27407
L
438772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43878
43879 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43880 * elf/tst-auditmod3b.c: Likewise.
43881 * elf/tst-auditmod4b.c: Likewise.
43882 * elf/tst-auditmod5b.c: Likewise.
43883 * elf/tst-auditmod6b.c: Likewise.
43884 * elf/tst-auditmod6c.c: Likewise.
43885 * elf/tst-auditmod7b.c: Likewise.
43886 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43887 * sysdeps/x86_64/preconfigure.in: Likewise.
43888 * sysdeps/x86_64/preconfigure: Regenerated.
43889
7e73e17d
L
438902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43891
43892 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43893 __ILP32__.
43894
c7a6ab72
AB
438952012-04-13 Antoine Balestrat <merkil33@gmail.com>
43896
43897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43898 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43899
a9e8e0e0
CL
439002012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43901
43902 [BZ #13973]
43903 * locale/iso-639.def: Fix gl language name. Spotted by
43904 Yaron Shahrabani.
43905
ec98af7d
RM
439062012-04-12 Roland McGrath <roland@hack.frob.com>
43907
43908 [BZ #2074]
43909 * libio/libio.h (__io_write_fn): Update comment.
43910
247c3ede
PB
439112012-04-12 Petr Baudis <pasky@ucw.cz>
43912
43913 [BZ #2074]
43914 * stdio.texi (Hook Functions): The user provided writer function
43915 is not allowed to return -1.
43916
55939d6d
DM
439172012-04-11 David S. Miller <davem@davemloft.net>
43918
43919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43920
90020f5a
MF
439212012-04-11 Mike Frysinger <vapier@gentoo.org>
43922
43923 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43924 Add a leading slash to rtkaio.
43925
288f9098
JM
439262012-04-11 Jim Meyering <meyering@redhat.com>
43927
90020f5a
MF
43928 [BZ #11959]
43929 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43930 It is not necessarily an error to ignore fwrite's return
43931 value. One can reliably use ferror to test for errors after
43932 the fact.
288f9098 43933
4be2b570
L
439342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43935
43936 * bits/types.h (__snseconds_t): New type.
43937 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43938
43939 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43941 (__SNSECONDS_T_TYPE): Likewise.
43942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43943 (__SNSECONDS_T_TYPE): Likewise.
43944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43945 (__SNSECONDS_T_TYPE): Likewise.
43946
288f9098 439472012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
43948
43949 [BZ #2636]
43950 * manual/time.texi (Processor Time): Return type of times is
43951 elapsed real time since an arbitrary point in the past.
43952 (CPU Time): Move CLK_TCK from here...
43953 (Processor Time): ...to here. Correct description.
43954 * manual/conf.texi (Constants for Sysconf): Correct description of
43955 _SC_CLK_TCK.
43956
d7dd4413
DM
439572012-04-10 David S. Miller <davem@davemloft.net>
43958
43959 [BZ #13967]
43960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43961 where the is a gap between DT_REL(A) and DT_JMPREL.
43962
b46068fc
L
439632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43964
43965 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43966 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43967 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43968
73d65cc3
SP
439692012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43970
43971 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43972 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43973 (dl_main): Handle --inhibit-cache.
43974 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43975 _dl_inhibit_cache.
43976 * elf/dl-load.c (_dl_map_object): Use it.
43977 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43978
bcc8d661
JM
439792012-04-09 Joseph Myers <joseph@codesourcery.com>
43980
8f9a2fae
JM
43981 [BZ #13872]
43982 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43983 (__ieee754_powl): Saturate large exponents rather than testing for
43984 overflow of y*log2(x).
43985 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43986 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43987 exceptions.
43988
bcc8d661
JM
43989 [BZ #11521]
43990 * math/s_ctan.c: Include <float.h>.
43991 (__ctan): Avoid internal overflow or cancellation in calculating
43992 denominator.
43993 * math/s_ctanf.c: Likewise.
43994 * math/s_ctanl.c: Likewise.
43995 * math/s_ctanh.c: Likewise.
43996 * math/s_ctanhf.c: Likewise.
43997 * math/s_ctanhl.c: Likewise.
43998 * math/libm-test.inc (ctan_test): Add more tests.
43999 (ctanh_test): Likewise.
44000 * sysdeps/i386/fpu/libm-test-ulps: Update.
44001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44002
823fbbb4
AJ
440032012-04-09 Andreas Jaeger <aj@suse.de>
44004
03879793
AJ
44005 [BZ #6894]
44006 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44007 is an optional BSD extension.
44008
823fbbb4
AJ
44009 [BZ #10254]
44010 * manual/stdio.texi (Opening Streams): Document additional fopen
44011 parameters.
44012
8de131cb
RM
440132012-04-09 Roland McGrath <roland@hack.frob.com>
44014
44015 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44016 %eax without telling the compiler.
44017
c0ed9d7d
CD
440182012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44019
44020 [BZ # 13963]
44021 * manual/install.texi: Use sourceware.org.
44022
c483f6b4
JM
440232012-04-09 Joseph Myers <joseph@codesourcery.com>
44024
d7dd9453
JM
44025 [BZ #13873]
44026 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44027 (__ieee754_pow): Generate overflow and underflow using huge*huge
44028 and tiny*tiny rather than just returning constant infinity or zero
44029 for large exponents.
44030 * math/libm-test.inc (pow_test): Require overflow exceptions for
44031 applicable cases of large exponents.
44032
c483f6b4
JM
44033 [BZ #706]
44034 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44035 (__ieee754_pow): Use iterative multiplication algorithm only for
44036 integer exponents with absolute value below 1024. Check for odd
44037 integer exponents when using algorithm for real exponents.
44038 * math/libm-test.inc (pow_test): Add more tests.
44039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44040
d2de7579
JM
440412012-04-08 Joseph Myers <joseph@codesourcery.com>
44042
44043 [BZ #13705]
44044 * math/libm-test.inc (exp_test): Do not allow overflow exception
44045 on underflow test.
44046
f77f1232
AJ
440472012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44048
44049 [BZ #13705]
44050 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44051 instead of __kernel_standard_f.
44052
3884932b
MF
440532012-04-08 Mike Frysinger <vapier@gentoo.org>
44054
44055 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44056 * sysdeps/x86_64/memset_chk.S: Likewise.
44057
54472e9c
AJ
440582012-04-08 Andreas Jaeger <aj@suse.de>
44059
6ab0fbfc
AJ
44060 [BZ #10153]
44061 * manual/startup.texi (Environment Access): Describe return value
44062 for putenv and setenv.
44063
61efba8c
AJ
44064 [BZ #6895]
44065 * manual/filesys.texi (Directory Entries): Add description for
44066 DT_LNK.
44067
95c3f29a
AJ
44068 [BZ #6890]
44069 * manual/filesys.texi (Directory Entries): Clarify that it's file
44070 system not operating system in the description of DT_UNKNOWN.
44071
54472e9c
AJ
44072 [BZ #6578]
44073 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44074
624254b1
SC
440752012-04-08 Stephen Compall <s11@member.fsf.org>
44076
44077 [BZ #6649]
44078 * manual/llio.texi (Opening and Closing Files): Add cross
44079 reference to explain mode argument.
44080
1e4920e0
MF
440812012-04-07 Mike Frysinger <vapier@gentoo.org>
44082
44083 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44084 * sysdeps/x86_64/memset_chk.S: Likewise.
44085
5ed848f3
DM
440862012-04-07 David S. Miller <davem@davemloft.net>
44087
44088 * elf/elf.h (R_SPARC_WDISP10): Define.
44089 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44090 R_SPARC_SIZE32.
44091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44092 R_SPARC_SIZE64 and R_SPARC_H34.
44093
96154cd8
CD
440942012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44095
44096 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44097 conditions and remove no longer applicable assertion.
44098
9904dc47
L
440992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44100
44101 * bits/byteswap.h: Include <features.h>.
44102 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44103 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44104
f8887d0a
L
441052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44106
44107 * bits/byteswap.h (__bswap_16): Removed.
44108 Include <bits/byteswap-16.h> to get __bswap_16.
44109 * sysdeps/i386/bits/byteswap.h: Likewise.
44110 * sysdeps/s390/bits/byteswap.h: Likewise.
44111 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44112 * bits/byteswap-16.h: New file.
44113 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44114 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44115 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44116 * string/Makefile (headers): Add bits/byteswap-16.h.
44117
62470f60
PP
441182012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44119
44120 [BZ #13895]
44121 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44122 extra indirection.
44123 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44124 * nss/tst-nss-static.c: New.
44125
4dad7bab
RM
441262012-04-06 Robert Millan <rmh@gnu.org>
44127
44128 [BZ #6486]
44129 * manual/llio.texi (File Position Primitive): lseek
44130 refers to WHENCE when it really means OFFSET.
44131
e9142a17
AJ
441322012-04-06 Andreas Jaeger <aj@suse.de>
44133
2c040eff
AJ
44134 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44135 strncmp declarations.
44136
e9142a17
AJ
44137 * abilist/libc.abilist: Add __poll and __ppoll.
44138
ff9f1c5f
DM
441392012-04-05 David S. Miller <davem@davemloft.net>
44140
dcd2ae90
DM
44141 * scripts/check-local-headers.sh: Accept a host triplet in the
44142 path matched by the exclude regexp.
44143
993eb054
DM
44144 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44145 definition.
44146 * sysdeps/powerpc/powerpc32/dl-machine.h
44147 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44148 * sysdeps/s390/s390-32/dl-machine.h
44149 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44150 * sysdeps/sparc/sparc32/dl-machine.h
44151 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44152 * sysdeps/sparc/sparc64/dl-machine.h
44153 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44154
ff9f1c5f
DM
44155 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44156 lazy binding.
48e2e132 44157 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44158 undefined symbol errors.
44159
48e2e132 44160 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44161 DT_NEEDED entries.
44162
e80d6f94
MM
441632012-04-05 Michael Matz <matz@suse.de>
44164
44165 [BZ #13592]
44166 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44167
349fa79f
AJ
441682012-04-05 Andreas Jaeger <aj@suse.de>
44169
44170 [BZ #13908]
44171 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44172 comment.
44173
f402708f
KK
441742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44175
44176 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44177 which ROUND is no valid rounding mode.
44178
2ecccfc9
KK
441792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44180
44181 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44182 read again.
44183 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44184
8a53f50f
KK
441852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44186
44187 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44188 an exception using FPU order intentionally.
44189
441902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44191
44192 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44193 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44194 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44195 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44196
d653abb7
SJ
441972012-04-05 Simon Josefsson <simon@josefsson.org>
44198
44199 [BZ #12340]
44200 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44201 EINVAL when BUFLEN is too smal.
44202
c3b1bf7d
TS
442032012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44204
44205 [BZ #13553]
44206 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44207 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44208
b1aa60f3
AJ
442092012-04-03 Andreas Jaeger <aj@suse.de>
44210
c3b1bf7d 44211 [BZ #13938]
67f60a26
AJ
44212 * manual/setjmp.texi (System V contexts): Fix sentence.
44213
b1aa60f3
AJ
44214 [BZ #13926]
44215 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44216 New macro for this case.
44217 [!__GNUC__] (__bswap_64): New inline function for this case.
44218 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44219 * bits/byteswap.h: Likewise.
44220 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44221 ull, guard with __GLIBC_HAVE_LONG_LONG.
44222
44223 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44224 __GLIBC_HAVE_LONG_LONG.
44225
44226 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44227 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44228
39c59c35
TMQMF
442292012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44230
44231 [BZ #13691]
44232 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44233 inptr and inend, rather than using last_ch.
44234
135ffda8
DM
442352012-04-02 David S. Miller <davem@davemloft.net>
44236
44237 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44238 * stdio-common/printf-parse.h (read_int): Change return type to
44239 'int', return -1 on INT_MAX overflow.
44240 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44241 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44242 overflows INT_MAX. Check for overflow of in-format-string precision
44243 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44244 SIZE_MAX not INT_MAX for integer overflow test.
44245 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44246 skip the construct in the format string but do not record anything.
44247 * stdio-common/bug22.c: Adjust to test both width/prevision
44248 INT_MAX overflow as well as total length INT_MAX overflow. Check
44249 explicitly for proper errno values.
44250
228c019e
TS
442512012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44252
302cadd3
TS
44253 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44254 CHAR_MAX.
44255 * string/test-strcmp.c [! WIDE]: Likewise.
44256 * time/tst-mktime2.c: Likewise for INT_MAX.
44257 * string/test-string.h: #include <sys/param.h> for MIN.
44258
228c019e
TS
44259 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44260 * sysdeps/i386/init-first.c (init): Likewise.
44261 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44262 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44263 * sysdeps/sh/init-first.c (init): Likewise.
44264
cfa633f5
UD
442652012-04-01 Ulrich Drepper <drepper@gmail.com>
44266
44267 * po/ru.po: Update from translation team.
d1635ef8 44268 * po/vi.po: Likewise.
cfa633f5 44269
6cd0a5ea
SP
442702012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44271
44272 * resolv/nss_dns/dns-host.c: Merge copyright years.
44273
4b43400f
LD
442742012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44275
44276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44277 Optimize memcpy with prefetch if
44278 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44279 src, dst pointers have unequal 16 byte alignments.
44280
48c41d04
SP
442812012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44282
44283 [BZ #13928]
44284 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44285 from a CNAME entry and return the minimum ttl for the query.
44286 (gaih_getanswer_slice): Likewise.
44287
b8dc394d
JL
442882012-03-30 Jeff Law <law@redhat.com>
44289
44290 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44291 due to long keys.
44292 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44293 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44294
2f5a5ed0
JL
44295 * resolv/nss_dns/dns-host.c: Update copyright year.
44296
1d39e359
UD
442972012-03-30 Ulrich Drepper <drepper@gmail.com>
44298
c030f70c 44299 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44300 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44301
1d39e359
UD
44302 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44303 comments for sendmmsg.
44304
443052012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44306
44307 [BZ #13691]
44308 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44309 with only 1 character between 0x0041 and 0x01b0.
44310 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44311 * wcsmbs/tst-mbsnrtowcs.c: New file.
44312
20fde227
DM
443132012-03-29 David S. Miller <davem@davemloft.net>
44314
44315 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44316 small copies by hand.
44317
984a4237
JL
443182012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44319
44320 [BZ #13761]
57f41c40
AS
44321 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44322 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44323 group memberships.
984a4237 44324
18c9d62b
DM
443252012-03-28 David S. Miller <davem@davemloft.net>
44326
88d85d4f
DM
44327 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44328 that branches into memcpy.
44329 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44331 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44332 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44334 bits.
44335 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44336 implementation too.
44337 * sysdeps/sparc/mempcpy.S: New file.
44338
e5aa83e1
DM
44339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44340 the IFUNC routine in the libc case.
44341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44342
88570753
DM
44343 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44344 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44345 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44346 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44347 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44348 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44349 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44350 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44351
249d7567
DM
44352 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44353 loop to 256 bytes instead of 64 bytes and fix test signedness.
44354
18c9d62b
DM
44355 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44356 * sysdeps/sparc/sparc32/Makefile: rather than here...
44357 * sysdeps/sparc/sparc64/Makefile: and here.
44358
05f3d1f6
UD
443592012-03-28 Ulrich Drepper <drepper@gmail.com>
44360
44361 * malloc/mallocbug.c: Avoid warnings about unused variables.
44362
86ae07a8
JL
443632012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44364
44365 [BZ #13760]
44366 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44367 in the right place. Discard and retry query if response is
44368 larger than input buffer size.
44369
41bf21a1
JM
443702012-03-28 Joseph Myers <joseph@codesourcery.com>
44371
d6270972
JM
44372 [BZ #369]
44373 [BZ #2678]
44374 [BZ #3866]
44375 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44376 x for large integer exponent.
44377 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44378 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44379 sign of result as needed afterwards.
44380 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44381 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44382 result for underflowing pow the same as for overflow.
44383 (__kernel_standard_l): Handle powl overflow and underflow here
44384 rather than calling __kernel_standard.
44385 * math/libm-test.inc (pow_test): Add more tests.
44386
414fca03 44387 [BZ #3868]
41bf21a1
JM
44388 [BZ #13879]
44389 [BZ #13910]
44390 [BZ #13911]
44391 [BZ #13912]
44392 [BZ #13913]
44393 [BZ #13915]
44394 [BZ #13916]
44395 [BZ #13917]
44396 [BZ #13918]
44397 [BZ #13919]
44398 [BZ #13920]
44399 [BZ #13921]
44400 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44401 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44402 (__kernel_standard_l): New function.
44403 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44404 __kernel_standard.
44405 * math/w_acosl.c (__acosl): Likewise.
44406 * math/w_asinl.c (__asinl): Likewise.
44407 * math/w_atan2l.c (__atan2l): Likewise.
44408 * math/w_atanhl.c (__atanhl): Likewise.
44409 * math/w_coshl.c (__coshl): Likewise.
44410 * math/w_exp10l.c (__exp10l): Likewise.
44411 * math/w_exp2l.c (__exp2l): Likewise.
44412 * math/w_fmodl.c (__fmodl): Likewise.
44413 * math/w_hypotl.c (__hypotl): Likewise.
44414 * math/w_j0l.c (__j0l, __y0l): Likewise.
44415 * math/w_j1l.c (__j1l, __y1l): Likewise.
44416 * math/w_jnl.c (__jnl, __ynl): Likewise.
44417 * math/w_lgammal.c (__lgammal): Likewise.
44418 * math/w_log10l.c (__log10l): Likewise.
44419 * math/w_log2l.c (__log2l): Likewise.
44420 * math/w_logl.c (__logl): Likewise.
44421 * math/w_powl.c (__powl): Likewise.
44422 * math/w_remainderl.c (__remainderl): Likewise.
44423 * math/w_scalbl.c (sysv_scalbl): Likewise.
44424 * math/w_sinhl.c (__sinhl): Likewise.
44425 * math/w_sqrtl.c (__sqrtl): Likewise.
44426 * math/w_tgammal.c (__tgammal): Likewise.
44427 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44428 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44429 * math/libm-test.inc (acos_test): Add more tests.
44430 (acosh_test): Likewise.
44431 (asin_test): Likewise.
44432 (atanh_test): Likewise.
44433 (exp_test): Likewise.
44434 (exp10_test): Likewise.
44435 (exp2_test): Likewise.
44436 (expm1_test): Likewise.
44437 (lgamma_test): Likewise.
44438 (log_test): Likewise.
44439 (log10_test): Likewise.
44440 (log1p_test): Likewise.
44441 (log2_test): Likewise.
44442 (pow_test): Do not allow some spurious overflow exceptions.
44443 (sqrt_test): Add more tests.
44444 (tgamma_test): Likewise.
44445 (y0_test): Likewise.
44446 (y1_test): Likewise.
44447 (yn_test): Likewise.
44448
dd62fda6
AB
444492012-03-27 Anton Blanchard <anton@samba.org>
44450
44451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44452 MAP_HUGETLB.
44453 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44454 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44455 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44456
1e3cdfda
AJ
444572012-03-27 David S. Miller <davem@davemloft.net>
44458
b855ab85
DM
44459 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44460
1e3cdfda
AJ
44461 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44462 have-as-vis3 check.
44463
444642012-03-27 Andreas Jaeger <aj@suse.de>
44465
44466 * sysdeps/x86_64/elf/configure.in: Moved to ...
44467 * sysdeps/x86_64/configure.in: ... here.
44468 * sysdeps/x86_64/elf/start.S: Moved to ...
44469 * sysdeps/x86_64/start.S: ... here.
44470 * sysdeps/x86_64/elf/configure: Delete.
44471
44472 * sysdeps/x86_64/configure.in: Merge contents from
44473 sysdeps/i386/configure.in (without i686 check).
44474
44475 * sysdeps/i386/elf/Versions: Merge into ...
44476 * sysdeps/i386/Versions: ... this.
44477 * sysdeps/i386/elf/Versions: Delete file.
44478 * sysdeps/i386/elf/start.S: Moved to ...
44479 * sysdeps/i386/start.S: ...here.
44480 * sysdeps/i386/elf/configure.in: Merge into...
44481 * sysdeps/i386/configure.in: ...here.
44482 * sysdeps/i386/elf/configure.in: Delete file.
44483 * sysdeps/i386/elf/configure: Delete file.
44484
44485 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44486 * debug/backtracesyms.c: ... here.
44487 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44488 * debug/backtracesymsfd.c: ... here.
44489 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44490 * sysdeps/generic/ifunc-sel.h: ... here.
44491
44492 * sysdeps/unix/i386/start.c: Delete file.
44493 * sysdeps/unix/sparc/start.c: Delete file.
44494 * sysdeps/unix/start.c: Delete file.
44495
44496 * sysdeps/sh/elf/configure.in: Moved to ...
44497 * sysdeps/sh/configure.in: ... here.
44498 * sysdeps/sh/elf/start.S: Moved to ...
44499 * sysdeps/sh/start.S: ... here.
44500 * sysdeps/sh/elf/configure: Delete file.
44501
44502 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44503 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44504 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44505 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44506 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44507 * sysdeps/powerpc/powerpc64/start.S: here.
44508 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44509 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44510 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44511 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44512 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44513
44514 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44515 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44516 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44517 * sysdeps/powerpc/powerpc32/start.S: ... here.
44518 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44519 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44520 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44521
44522 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44523 * sysdeps/powerpc/ifunc-sel.h: ... here.
44524 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44525 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44526
44527 * sysdeps/sparc/elf/configure.in: Moved to ...
44528 * sysdeps/sparc/configure.in: ... here.
44529 * sysdeps/sparc/elf/configure: Delete file.
44530 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44531 * sysdeps/sparc/sparc32/start.S: ... here.
44532 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44533 * sysdeps/sparc/sparc64/start.S: ... here.
44534 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44535 * sysdeps/sparc/sparc32/Makefile: ... this.
44536 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44537 * sysdeps/sparc/sparc64/Makefile: ... this.
44538
44539 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44540 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44541 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44542 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44543 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44544 * sysdeps/s390/s390-32/setjmp.S: ... here.
44545 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44546 * sysdeps/s390/s390-32/configure.in: ... here.
44547 * sysdeps/s390/s390-32/elf/configure: Delete file.
44548 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44549 * sysdeps/s390/s390-32/start.S: ... here.
44550
44551 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44552 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44553 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44554 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44555 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44556 * sysdeps/s390/s390-64/setjmp.S: ... here.
44557 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44558 * sysdeps/s390/s390-64/configure.in: ... here
44559 * sysdeps/s390/s390-64/elf/configure: Delete file.
44560 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44561 * sysdeps/s390/s390-64/start.S: ... here.
44562 * sysdeps/s390/s390-64/elf/configure: Delete.
44563
44564 * configure.in: Remove support for elf directories in sysdeps.
44565
44566 * configure: Regenerated.
44567 * sysdeps/i386/configure: Regenerated.
44568 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44569 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44570 * sysdeps/s390/s390-32/configure: Regenerated.
44571 * sysdeps/s390/s390-64/configure: Regenerated.
44572 * sysdeps/sh/configure: Regenerated.
44573 * sysdeps/sparc/configure: Regenerated.
44574 * sysdeps/x86_64/configure: Regenerated.
44575
a3f61311
AS
445762012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44577
c876e002
AS
44578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44579
a3f61311
AS
44580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44581 denormal result into account.
44582
ac4c54f0
RM
445832012-03-25 Roland McGrath <roland@hack.frob.com>
44584
44585 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44586 Reported by Allan McRae <allan@archlinux.org>.
44587
6a9b9c02
JL
445882012-03-23 Jeff Law <law@redhat.com>
44589
44590 * nss/getnssent.c (__nss_getent): Fix typo.
44591
4c42a0c1
DM
445922012-03-23 David S. Miller <davem@davemloft.net>
44593
44594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44595
1532c7ac
L
445962012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44597
44598 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44599 to pad to uint64_t for each field.
44600 (dl_tls_index): Replace unsigned long with uint64_t.
44601
3ff42526
PP
446022012-03-23 Daniel Jacobowitz <dmj@google.com>
44603 Paul Pluzhnikov <ppluzhnikov@google.com>
44604
44605 [BZ #6528]
44606 * grp/Makefile (otherlibs): Don't set it.
44607 * inet/Makefile (otherlibs): Likewise.
44608 * login/Makefile (otherlibs): Likewise.
44609 * nscd/Makefile (otherlibs): Likewise.
44610 * posix/Makefile (otherlibs): Likewise.
44611 * pwd/Makefile (otherlibs): Likewise.
44612 * rt/Makefile (otherlibs): Likewise.
44613 * sunrpc/Makefile (otherlibs): Likewise.
44614 * nss/Makefile (otherlibs): Likewise.
44615 Add libnss_files to routines and static-only-routines.
44616 ($(objpfx)getent): Remove rule.
44617 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44618 static-only-routines.
44619
7c69cd14
JM
446202012-03-22 Joseph Myers <joseph@codesourcery.com>
44621
44622 [BZ #13892]
44623 * math/s_cexp.c: Include <float.h>.
44624 (__cexp): Handle exp result overflowing not necessarily
44625 overflowing both real and imaginary parts of result.
44626 * math/s_cexpf.c: Likewise.
44627 * math/s_cexpl.c: Likewise.
44628 * math/libm-test.inc (cexp_test): Add more tests.
44629 * sysdeps/i386/fpu/libm-test-ulps: Update.
44630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44631
81b035fe
L
446322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44633
44634 * include/link.h (ELFW): New macro.
44635 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44636 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44637
1da7940c
L
446382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44639
44640 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44641 with uint64_t.
44642
b749dbb9
L
446432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44644
44645 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44646 declaration.
44647 (struct La_x32_retval): Likewise.
44648
2ff87f3f
L
446492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44650
44651 * sysdeps/x86_64/preconfigure.in: New file.
44652 * sysdeps/x86_64/preconfigure: New generated file.
44653
c0df8e69
JM
446542012-03-22 Joseph Myers <joseph@codesourcery.com>
44655
48e44791
JM
44656 [BZ #13824]
44657 * math/e_exp2l.c: Include <float.h>.
44658 (__ieee754_exp2l): Handle overflow and underflow cases
44659 separately. Only pass fractional part of argument to
44660 __ieee754_expl.
44661 * math/libm-test.inc (exp2_test): Add more tests.
44662
c0df8e69
JM
44663 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44664 negating x to take absolute value.
44665 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44666 Likewise.
44667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44669 Likewise.
44670 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44671 computing low part if x was negated.
44672 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44673
c8e43ba7
L
446742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44675
44676 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44677 la_x32_gnu_pltexit.
44678 (pltexit): Cast int_retval to ptrdiff_t.
44679 * elf/tst-auditmod3b.c: Likewise.
44680 * elf/tst-auditmod4b.c: Likewise.
44681 * elf/tst-auditmod5b.c: Likewise.
44682 * elf/tst-auditmod6b.c: Likewise.
44683 * elf/tst-auditmod6c.c: Likewise.
44684 * elf/tst-auditmod7b.c: Likewise.
44685
44686 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44687 and x32_gnu_pltexit.
44688
44689 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44690 __ELF_NATIVE_CLASS.
44691 (La_x32_regs): New macro.
44692 (La_x32_retval): Likewise.
44693 (la_x32_gnu_pltenter): New function prototype.
44694 (la_x32_gnu_pltexit): Likewise.
44695
7998fa78
AS
446962012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44697
dcb33988
AS
44698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44699 exponent.
44700
233fc563
AS
44701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44702
7998fa78
AS
44703 * configure.in (libc_cv_cc_nofma): Check for option to disable
44704 generation of FMA instructions.
44705 * configure: Regenerate.
44706 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44707 * sysdeps/ieee754/dbl-64/Makefile: New file.
44708 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44709 Remove brandred-fma4.
44710 (CFLAGS-brandred-fma4.c): Remove.
44711 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44712 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44713 define.
44714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44715 define.
44716
8e95c99a
L
447172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44718
44719 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44720 LLONG_MAX != LONG_MAX.
44721 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44722 (_fitoa_word): Likewise.
44723 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44724 LLONG_MAX != LONG_MAX.
44725 * stdio-common/_itowa.h: Include <_itoa.h>.
44726 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44727 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44728 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44729 only if not defined.
44730 (_ITOA_WORD_TYPE): Likewise.
44731 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44732 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44733
6f4db457
DM
447342012-03-21 David S. Miller <davem@davemloft.net>
44735
44736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44737
7785fe5a
L
447382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44739
44740 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44741 of x86_64 when setting libc_cv_slibdir, libdir and
44742 libc_cv_localedir.
44743 * sysdeps/unix/sysv/linux/configure: Regenerated.
44744
4535cd55
JM
447452012-03-21 Joseph Myers <joseph@codesourcery.com>
44746
44747 * manual/lang.texi (Old Varargs): Remove section.
44748 (How Variadic): Update menu.
44749 (va_start): Do not mention varargs.h.
44750
17228132
TS
447512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44752 Joseph Myers <joseph@codesourcery.com>
44753
44754 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44755 link test.
44756 * configure: Regenerated.
44757
8149f976
TS
447582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44759
05f3d1f6
UD
44760 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44761 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44762 conformtest.pl
8149f976 44763
1a4ac776
JM
447642012-03-21 Joseph Myers <joseph@codesourcery.com>
44765
be22ce65
JM
44766 * NOTES: Remove.
44767 * Makefile (files-for-dist): Remove NOTES.
44768 (NOTES): Remove rule.
44769 * README: Don't refer to NOTES.
44770 * manual/creature.texi: Don't include macros.texi.
44771 * manual/intro.texi (creature.texi): Remove comment referring to
44772 NOTES.
44773
40b601fb
JM
44774 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44775 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44776 * configure: Regenerated.
44777 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44778 LIBC_TRY_CC_OPTION.
44779 (libc_cv_as_i686): Likewise.
44780 (libc_cv_cc_avx): Likewise.
44781 (libc_cv_cc_sse2avx): Likewise.
44782 (libc_cv_cc_fma4): Likewise.
44783 (libc_cv_cc_novzeroupper): Likewise.
44784 * sysdeps/i386/configure: Regenerated.
44785
1a4ac776
JM
44786 [BZ #13883]
44787 * sysdeps/i386/fpu/s_cexp.S: Remove.
44788 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44789 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44790 * math/libm-test.inc (cexp_test): Add more tests.
44791 * sysdeps/i386/fpu/libm-test-ulps: Update.
44792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44793
a458e7fe
AM
447942012-03-21 Allan McRae <allan@archlinux.org>
44795
44796 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44797
0cb7efc5
JM
447982012-03-21 Joseph Myers <joseph@codesourcery.com>
44799
44800 [BZ #13871]
44801 * math/w_exp2.c: Do not include <float.h>.
44802 (o_threshold, u_threshold): Remove.
44803 (__exp2): Calculate result before checking finiteness and calling
44804 __kernel_standard.
44805 * math/w_exp2f.c: Likewise.
44806 * math/w_exp2l.c: Likewise.
44807 * math/libm-test.inc (exp2_test): Require overflow exception for
44808 1e6 input.
2460d3aa
JM
44809
44810 [BZ #3866]
44811 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44812 range of signed 64-bit integers before using fistpll. Remove
44813 checks for whether integers fit in mantissa bits.
44814 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44815 the range of signed 32-bit integers before using fistpl. Remove
44816 checks for whether integers fit in mantissa bits.
44817 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44818 (__ieee754_powl): Test for y outside the range of signed 64-bit
44819 integers before using fistpll. Reduce 64-bit values to 63-bit
44820 ones as needed.
44821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44822 divide-by-zero is raised for zero to large negative powers.
44823 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44824 (__ieee754_powl): Test for y outside the range of signed 64-bit
44825 integers before using fistpll. Reduce 64-bit values to 63-bit
44826 ones as needed.
44827 * math/libm-test.inc (pow_test): Add more tests.
44828
eb96ffb0
L
448292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44830
44831 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44832 <stdio-common/_itoa.h>.
44833 * debug/segfault.c: Likewise.
44834 * elf/dl-cache.c: Likewise.
44835 * elf/dl-minimal.c: Likewise.
44836 * elf/dl-misc.c: Likewise.
44837 * elf/dl-sysdep.c: Likewise.
44838 * elf/dl-version.c: Likewise.
44839 * elf/rtld.c: Likewise.
44840 * hurd/hurdsock.c: Likewise.
44841 * hurd/lookup-retry.c: Likewise.
44842 * malloc/malloc.c: Likewise.
44843 * malloc/mtrace.c: Likewise.
44844 * nscd/nscd_getgr_r.c: Likewise.
44845 * nscd/nscd_getpw_r.c: Likewise.
44846 * nscd/nscd_getserv_r.c: Likewise.
44847 * posix/getopt_init.c: Likewise.
44848 * posix/wordexp.c: Likewise.
44849 * stdio-common/_itoa.c: Likewise.
44850 * stdio-common/printf_fphex.c: Likewise.
44851 * stdio-common/vfprintf.c: Likewise.
44852 * string/_strerror.c: Likewise.
44853 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44854 * sysdeps/i386/i686/hp-timing.h: Likewise.
44855 * sysdeps/mach/_strerror.c: Likewise.
44856 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44857 * sysdeps/mach/hurd/sethostid.c: Likewise.
44858 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44859 * sysdeps/mach/xpg-strerror.c: Likewise.
44860 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44861 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44862 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44863 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44864 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44865 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44867 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44868 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44869 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44870 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44871 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44872 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44873 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44874 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44875 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44876 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44877 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44878 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44879 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44880 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44881
44882 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44883
44884 * stdio-common/_itoa.h: Moved to ...
44885 * sysdeps/generic/_itoa.h: Here.
44886
44887 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44888
44889 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44890 instead of "_itoa.h" and "_itowa.h".
44891 * stdio-common/vfprintf.: Likewise.
44892
d1af992d
L
448932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44894
44895 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44896 <bits/wordsize.h>.
44897 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44898 (__signbit): Likwise.
44899 (llrintf): Likwise.
44900 (llrint): Likwise.
44901
114883e0
L
449022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44903
44904 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44905 __WORDSIZE != 64.
44906
c135cc1b
JM
449072012-03-20 Joseph Myers <joseph@codesourcery.com>
44908
44909 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44910 OVERFLOW_EXCEPTION_OK.
44911 * math/libm-test.inc ("Philosophy"): Update comment about
44912 exception testing.
44913 (OVERFLOW_EXCEPTION): Define.
44914 (OVERFLOW_EXCEPTION_OK): Likewise.
44915 (INVALID_EXCEPTION_OK): Renumber.
44916 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44917 (IGNORE_ZERO_INF_SIGN): Likewise.
44918 (test_exceptions): Handle FE_OVERFLOW.
44919 (exp10_test): Expect overflow exceptions.
44920 (exp2_test): Likewise.
44921 (expm1_test): Likewise.
44922 (nextafter_test): Likewise.
44923 (pow_test): Likewise.
44924 (scalbn_test): Likewise.
44925 (scalbln_test): Likewise.
44926
95443d88
L
449272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44928
44929 * sysdeps/x86_64/bits/atomic.h
44930 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44931 64bit integer.
44932 (atomic_exchange_acq): Likewise.
44933 (__arch_exchange_and_add_body): Likewise.
44934 (__arch_add_body): Likewise.
44935 (atomic_add_negative): Likewise.
44936 (atomic_add_zero): Likewise.
44937
490df6c4
L
449382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44939
c2722551 44940 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
44941 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44942
5e52b189
L
449432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44944
44945 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44946 Check __x86_64__ instead of __WORDSIZE.
44947
a9879d4c
L
449482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44949
44950 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44951
5df98260
DM
449522012-03-19 David S. Miller <davem@davemloft.net>
44953
e1497744
DM
44954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44955
5df98260
DM
44956 * sysdeps/sparc/fpu/fenv_private.h: New file.
44957 * sysdeps/sparc/fpu/math_private.h: Use it.
44958 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44959 Remove.
57f41c40 44960 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
44961 (libc_feholdexcept_setroundl): Remove.
44962 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44963 Remove.
44964 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44965 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44966
b4c35121
L
449672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44968
44969 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44970 int64_t instead of long int.
44971 (INSERT_WORDS64): Likwise.
44972
56965fd7
L
449732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44974
44975 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44976 _Unwind_GetCFA return to _Unwind_Ptr first.
44977
83d1aec8
JM
449782012-03-19 Joseph Myers <joseph@codesourcery.com>
44979
1897ad44
JM
44980 [BZ #13629]
44981 * math/s_clog.c: Include <float.h>.
44982 (__clog): Scale large or subnormal inputs.
44983 * math/s_clogf.c: Likewise.
44984 * math/s_clogl.c: Likewise.
44985 * math/s_clog10.c: Include <float.h>.
44986 (M_LOG10_2): Define.
44987 (__clog10): Scale large or subnormal inputs.
44988 * math/s_clog10f.c: Likewise.
44989 * math/s_clog10l.c: Likewise.
44990 * math/libm-test.inc (clog_test): Add more tests.
44991 (clog10_test): Likewise.
44992 * sysdeps/i386/fpu/libm-test-ulps: Update.
44993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44994
7726d6a9
JM
44995 [BZ #11451]
44996 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44997 x and y.
44998 * math/libm-test.inc (atan2_test): Add another test.
44999
83d1aec8
JM
45000 * Makerules (common-objdir-compile): Remove.
45001 * sysdeps/unix/Makefile (config-generated): Do not add
45002 $(unix-generated) to variable.
45003 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45004 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45005 Remove rule.
45006 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45007 Likewise.
45008 [generic bits/local_lim.h] (before-compile): Do not append to
45009 variable.
45010 [generic bits/local_lim.h] (common-generated): Likewise.
45011 [generic sys/param.h] (before-compile): Do not append to variable.
45012 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45013 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45014 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45015 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45016 include.
45017 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45018 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45019 [generic sys/param.h] ($(addprefix
45020 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45021 [generic sys/param.h] (common-generated): Do not append to
45022 variable.
45023 [generic sys/param.h] (sysdep_headers): Likewise.
45024 [generic bits/errno.h] (before-compile): Do not append to
45025 variable.
45026 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45027 rule.
45028 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45029 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45030 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45031 [generic bits/errno.h] (common-generated): Do not append to
45032 variable.
45033 [generic bits/ioctls.h] (before-compile): Do not append to
45034 variable.
45035 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45036 rule.
45037 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45038 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45039 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45040 rule.
45041 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45042 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45043 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45044 [generic bits/ioctls.h] (common-generated): Do not append to
45045 variable.
45046 [generic sys/syscall.h] (syscall.h): Remove variable.
45047 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45048 rule.
45049 [generic sys/syscall.h] (before-compile): Do not append to
45050 variable.
45051 [generic sys/syscall.h] (common-generated): Likewise.
45052 * sysdeps/unix/errnos-tmpl.c: Remove file.
45053 * sysdeps/unix/errnos.awk: Likewise.
45054 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45055 * sysdeps/unix/ioctls.awk: Likewise.
45056 * sysdeps/unix/mk-local_lim.c: Likewise.
45057 * sysdeps/unix/snarf-ioctls: Likewise.
45058
4851a949
RH
450592012-03-19 Richard Henderson <rth@twiddle.net>
45060
bd37f2ee
RH
45061 * sysdeps/i386/fpu/fenv_private.h: New file.
45062 * sysdeps/i386/fpu/math_private.h: Use it.
45063 (math_opt_barrier, math_force_eval): Remove.
45064 (libc_feholdexcept_setround_53bit): Remove.
45065 (libc_feupdateenv_53bit): Remove.
45066 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45067 (math_opt_barrier, math_force_eval): Remove.
45068 (libc_feholdexcept): Remove.
45069 (libc_feholdexcept_setround): Remove.
45070 (libc_fetestexcept, libc_fesetenv): Remove.
45071 (libc_feupdateenv_test): Remove.
45072 (libc_feupdateenv, libc_feholdsetround): Remove.
45073 (libc_feresetround): Remove.
45074
d0adc922
RH
45075 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45076 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45077
0fe0f1f8
RH
45078 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45079 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45080 (libc_feupdateenv_testl): New.
45081 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45082 (libc_feupdateenv_testf): New.
45083 (libc_feupdateenv): Use libc_feupdateenv_test.
45084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45085 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45086
eb92c487
RH
45087 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45088 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45089 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45090 (libc_feresetround_noex): New.
45091 (libc_feresetround_noexf): New.
45092 (libc_feresetround_noexl): New.
45093 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45094 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45095 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45096 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45097 SET_RESTORE_ROUND.
45098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45100 (__cos): Likewise.
45101 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45102 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45103 SET_RESTORE_ROUND_NOEX.
45104 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45105 SET_RESTORE_ROUND_NOEXF.
45106 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45107 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45108 (libc_feholdsetroundf): New.
45109 (libc_feresetround, libc_feresetroundf): New.
45110
7d2e8012
RH
45111 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45112 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45113 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45114
b4dabbb4
RH
45115 * sysdeps/generic/math_private.h: Include <fenv.h>.
45116 (default_libc_feholdexcept): New.
45117 (default_libc_feholdexcept_setround): New.
45118 (default_libc_fesetenv, default_libc_feupdateenv): New.
45119 (libc_feholdexcept): Only define if undefined.
45120 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45121 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45122 (libc_feholdexcept_setroundl): Likewise.
45123 (libc_feholdexcept_setround_53bit): Likewise.
45124 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45125 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45126 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45127 (libc_feupdateenv_53bit): Likewise.
45128 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45129 (libc_feholdexcept): Convert from macro to inline function.
45130 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45131 (libc_fesetenv, libc_feupdateenv): Likewise.
45132
4851a949
RH
45133 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45134 not previously defined.
45135 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45136 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45137 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45138 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45139 * sysdeps/ieee754/flt-32/math_private.h: New file.
45140 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45141 math_private.h below SET_FLOAT_WORD.
45142 (__isnan, __isinf_ns, __finite): Remove.
45143 (__isnanf, __isinf_nsf, __finitef): Remove.
45144
e79d442e
AS
451452012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45146
45147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45148
90b80344
DM
451492012-03-17 David S. Miller <davem@davemloft.net>
45150
45151 [BZ #6471]
45152 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45153 for 2.16.
45154
edc21804
DM
451552012-03-16 David S. Miller <davem@davemloft.net>
45156
77e927af
DM
45157 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45158 warnings.
45159
374976dd
DM
45160 [BZ #6471]
45161 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45162 properly.
45163 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45164 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45165 sysdep_routines when subdir is sysvipc.
45166 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45167 __getshmlba helper.
45168
edc21804
DM
45169 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45170
473c3ef3
L
451712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45172
45173 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45174 [__LP64__].
45175
eb0f39b6
L
451762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45177
45178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45179 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45180 (__lround): Renamed to ...
45181 (__llround): This. Replace long int with long long int.
45182 Define lround functions as aliases of llround functions.
45183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45184
6b6cd74b
L
451852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45186
45187 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45188 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45189 adresses to uintptr_t. Replace "long int" and "unsigned long
45190 int" with "greg_t" on va_arg.
45191
f1a77b01
L
451922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45193
45194 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45195 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45196
45197 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45198 Move e_machine check before EI_CLASS check. Handle x32
45199 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45200 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45201 SKIP_EM_IA_64 and include
45202 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45203
45204 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45205 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45206 (add_system_dir): New macro.
45207
45208 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45209 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45210
11b90b9f
JM
452112012-03-16 Joseph Myers <joseph@codesourcery.com>
45212
c36e1d23
JM
45213 [BZ #2551]
45214 [BZ #2552]
45215 [BZ #2553]
45216 [BZ #2554]
45217 [BZ #2562]
45218 [BZ #2563]
45219 [BZ #2565]
45220 [BZ #2566]
45221 [BZ #2576]
45222 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45223 (y0): Likewise.
45224 * math/w_j0f.c (j0f): Likewise.
45225 (y0f): Likewise.
45226 * math/w_j0l.c (__j0l): Likewise.
45227 (__y0l): Likewise.
45228 * math/w_j1.c (j1): Likewise.
45229 (y1): Likewise.
45230 * math/w_j1f.c (j1f): Likewise.
45231 (y1f): Likewise.
45232 * math/w_j1l.c (__j1l): Likewise.
45233 (__y1l): Likewise.
45234 * math/w_jn.c (jn): Likewise.
45235 (yn): Likewise.
45236 * math/w_jnf.c (jnf): Likewise.
45237 (ynf): Likewise.
45238 * math/w_jnl.c (__jnl): Likewise.
45239 (__ynl): Likewise.
45240 * math/libm-test.inc (j0_test): Add more tests.
45241 (j1_test): Likewise.
45242 (jn_test): Likewise. Add trailing semicolon to existing test.
45243 (y0_test): Likewise.
45244 (y1_test): Likewise.
45245 * sysdeps/i386/fpu/libm-test-ulps: Update.
45246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45247
11b90b9f
JM
45248 [BZ #13851]
45249 [BZ #13854]
45250 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45251 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45252 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45253 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45254 (__tanl): Set errno for infinite argument.
45255 * sysdeps/i386/fpu/mptan.c: Remove.
45256 * sysdeps/i386/fpu/s_tan.S: Likewise.
45257 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45258 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45259 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45260 * math/libm-test.inc (tan_test): Add more tests and enable more
45261 tests for double and long double.
45262 * sysdeps/i386/fpu/libm-test-ulps: Update.
45263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45264
6a1bd2a1
JK
452652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45266
45267 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45268 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45269
10a803e0
RM
452702012-03-16 Roland McGrath <roland@hack.frob.com>
45271
45272 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45273 * configure.in: Use it for both main tree and add-ons.
45274 * configure: Regenerated.
45275
f196c7f7
L
452762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45277
45278 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45279
8848d99d
JM
452802012-03-16 Joseph Myers <joseph@codesourcery.com>
45281
96cbe7f4
JM
45282 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45283 in comment.
45284
8848d99d
JM
45285 [BZ #13851]
45286 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45287 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45288 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45290 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45291 infinite argument.
45292 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45293 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45294 != 0 for prec == 2.
45295 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45296 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45297 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45298 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45299 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45300 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45301 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45302 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45303 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45304 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45305 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45306 * math/libm-test.inc (cos_test): Add more tests and enable more
45307 tests for long double.
45308 (sin_test): Likewise.
45309 (sincos_test): Likewise.
45310 * sysdeps/i386/fpu/libm-test-ulps: Update.
45311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45312
dd7f4703
DM
453132012-03-16 David S. Miller <davem@davemloft.net>
45314
45315 * sysdeps/sparc/fpu/math_private.h: New file.
45316
006f1daa
DM
453172012-03-15 David S. Miller <davem@davemloft.net>
45318
c0c83bc8
DM
45319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45320 file.
e6a62e18 45321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45323 file.
e6a62e18
DM
45324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45330 sysdep routines.
45331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45332
88cb87d9
DM
45333 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45334 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45335
006f1daa 45336 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45338 sparc-ifunc.h
006f1daa 45339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45341 Likewise.
45342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45343 Likewise.
006f1daa
DM
45344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45348 Likewise.
006f1daa
DM
45349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45354 Likewise.
45355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45356 Likewise.
006f1daa
DM
45357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45381
11e0098e
AS
453822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45383
45384 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45385 scaling.
45386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45387
e85b09d0
AJ
453882012-03-15 Andreas Jaeger <aj@suse.de>
45389
45390 [BZ #13852]
45391 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45392 ieee754/flt-32 implementation for sin, cos and sincos.
45393 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45394 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45395 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45396 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45397 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45398 ieee754/flt-32 implementation for tan.
45399
45400 * math/libm-test.inc (cos_test): Enable some large input tests for
45401 float as well
45402 (sin_test): Likewise.
45403 (sincos_test): Likewise.
45404 (tan_test): Add tests for large input.
45405
45406 * sysdeps/i386/fpu/libm-test-ulps: Update.
45407
81c64153
AJ
454082012-03-15 Andreas Jaeger <aj@suse.de>
45409
45410 [BZ #13658]
45411 * math/libm-test.inc (cos_test): Add more test cases.
45412 (sin_test): Likewise.
45413 (sincos_test): Likewise.
45414
7bbfa5c6
AJ
454152012-03-15 Andreas Jaeger <aj@suse.de>
45416
45417 [BZ #13837]
45418 * math/libm-test.inc (cos_test): Add a test case for large input
45419 value.
45420 (sin_test): Likewise.
45421 (sincos_test): Likewise.
45422
57f41c40
AS
454232012-03-15 Andreas Jaeger <aj@suse.de>
45424 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
45425
45426 [BZ #13658]
0671f479 45427 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
45428 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45429 * sysdeps/i386/fpu/branred.c: Likewise.
45430 * sysdeps/i386/fpu/dosincos.c: Likewise.
45431 * sysdeps/i386/fpu/mpa.c: Likewise.
45432 * sysdeps/i386/fpu/s_cos.S: Likewise.
45433 * sysdeps/i386/fpu/s_sin.S: Likewise.
45434 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45435 * sysdeps/i386/fpu/sincos32.c: Likewise.
45436
45437 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45438 Define.
45439 (libc_feupdateenv_53bit): Define.
45440 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45441 Define.
45442 (libc_feupdateenv_53bit): Define.
45443
45444 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45445 53 bit (without extend i386 double precision).
45446
45447 * math/libm-test.inc (sincos_test): Add tests for large input.
45448 (sin): Likewise.
45449 (cos): Likewise.
45450
45451 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45452
9cad04ea
AS
454532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45454
45455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45456
f7062b9a
DM
454572012-03-15 David S. Miller <davem@davemloft.net>
45458
45459 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45460 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45461 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45462 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
45474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45475 file.
f7062b9a 45476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
45477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45478 file.
f7062b9a 45479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
45480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45481 file.
f7062b9a 45482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
45483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45484 file.
f7062b9a
DM
45485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45487 fmin/fmax sysdep routines.
45488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45489
7bd951ff
DM
454902012-03-14 David S. Miller <davem@davemloft.net>
45491
559398ab
DM
45492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45497 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45521 routines.
45522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45523 file.
559398ab 45524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
45525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45526 file.
559398ab 45527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
45528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45529 file.
559398ab 45530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
45531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45532 file.
559398ab 45533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
45534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45535 file.
559398ab 45536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
45537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45538 file.
45539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45540 file.
45541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45542 file.
45543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45544 file.
45545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45546 New file.
45547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45548 file.
45549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45550 file.
559398ab 45551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
45552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45553 file.
559398ab 45554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45556 file.
559398ab 45557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
45558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45559 file.
559398ab 45560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
45561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45562 VIS3 routines.
559398ab
DM
45563
45564 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45565 New file.
45566
5a1c1e32
DM
45567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45568
eae47a36
DM
45569 * sysdeps/sparc/configure.in: New file.
45570 * sysdeps/sparc/configure: Generate.
45571 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45572 * configure: Regenerate.
45573 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45574 * config.make.in (have-as-vis3): New.
45575 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45576 available use -Av9d instead of -Av9a.
45577 * sysdeps/sparc/sparc64/Makefile: Likewise.
45578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
45579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45580 New file.
45581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45582 file.
45583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45584 New file.
45585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45586 file.
eae47a36
DM
45587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45588 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45592
c0c83bc8
DM
45593 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45594 fzeros/fnegs to load 0x80000000 into a float register instead of
45595 using the stack.
7bd951ff
DM
45596 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45597
bd951ccb
JM
455982012-03-14 Joseph Myers <joseph@codesourcery.com>
45599
45600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45601 bits/syscall.h.
45602 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45603 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45604 ($(inst_includedir)/bits/syscall.h): Remove rule.
45605 ($(objpfx)bits/syscall.d): Include instead of
45606 $(objpfx)syscall-list.d.
45607 (generated): Change syscall-list.h and syscall-list.d to
45608 bits/syscall.h and bits/syscall.d.
45609
bb4e6db2
RM
456102012-03-14 Roland McGrath <roland@hack.frob.com>
45611
45612 [BZ #13846]
45613 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45614
aa4a2ae1
JM
456152012-03-14 Joseph Myers <joseph@codesourcery.com>
45616
e456826d
JM
45617 [BZ #13841]
45618 * math/s_csqrt.c: Include <float.h>.
45619 (__csqrt): Scale large or subnormal inputs.
45620 * math/s_csqrtf.c: Likewise.
45621 * math/s_csqrtl.c: Likewise.
45622 * math/libm-test.inc (csqrt_test): Add more tests.
45623 * sysdeps/i386/fpu/libm-test-ulps: Update.
45624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45625
aa4a2ae1
JM
45626 [BZ #13840]
45627 * math/libm-test.inc (hypot_test): Add more tests.
45628
7c10fd35
DM
456292012-03-13 David S. Miller <davem@davemloft.net>
45630
45631 [BZ #13840]
45632 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45633 double-precision for the calculation instead of scaling.
45634
f453b98b
JM
456352012-03-13 Joseph Myers <joseph@codesourcery.com>
45636
45637 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45638 manipulate bits before adding and subtracting TWO52[sx].
45639 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45641 Likewise.
45642 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45643
09a3453f
DM
456442012-03-13 David S. Miller <davem@davemloft.net>
45645
8e59da90
DM
45646 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45647 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45649 rtld-global-offsets.h
45650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45651
2a8ab7f2
DM
45652 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45653 large parameters.
45654
10f62770
DM
45655 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45656
5f0bdb18
DM
45657 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45658 'err' in the ifdef scope in which it is actually used.
45659
09a3453f
DM
45660 * nss/nss_db/db-init.c: Include string.h
45661
b4b2eb5e
DM
456622012-03-12 David S. Miller <davem@davemloft.net>
45663
98bb2f1c
DM
45664 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45665 masking out of the most significant byte of random value used.
45666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45667 Fix coding style in previous change.
45668
b4b2eb5e
DM
45669 * sysdeps/unix/sysv/linux/kernel-features.h
45670 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45671 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45672 expression.
45673 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45674 later.
45675
6e226b09
DM
456762012-03-11 David S. Miller <davem@davemloft.net>
45677
a1bcbd40
DM
45678 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45679 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45680 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45681 for 'resultvar' otherwise things get truncated on 64-bit.
45682
cb9d6174
DM
45683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45684 Fix masking out of the most significant byte of random value used.
45685
6e226b09
DM
45686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45687
058c132d
AS
456882012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45689
45690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45691
2d2cd515
DM
456922012-03-09 David S. Miller <davem@davemloft.net>
45693
45694 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45695 variables with appropriate CPP guards.
57f41c40
AS
45696 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45697 from the frame pointer, not the stack pointer. Correct layout
45698 comments. Fix test on resulting framesize and the management of
45699 the outregs buffer for pltexit. Preserve floating point return
45700 values across _dl_call_pltexit call.
2d2cd515
DM
45701 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45702 framesize and the management of the outregs buffer for pltexit.
45703 Preserve floating point return values across _dl_call_pltexit
45704 call.
57f41c40
AS
45705 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45706 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45707 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
45708 (print_exit): Fix format string for return register value.
45709
9a07f9d0
JM
457102012-03-10 Joseph Myers <joseph@codesourcery.com>
45711
45712 * sunrpc/Makefile (others): Add rpcgen.
45713 ($(objpfx)rpcgen): Remove special build rule and dependency on
45714 libc.
45715 * sunrpc/rpcgen.c: New file.
45716
547b5e30
PE
457172012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45718
c524201a
PE
45719 [BZ #13673]
45720 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45721 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45722 * sysdeps/i386/crti.S: Likewise.
45723 * sysdeps/i386/crtn.S: Likewise.
45724 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45725 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45726 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45727 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45728 * sysdeps/sh/crti.S: Likewise.
45729 * sysdeps/sh/crtn.S: Likewise.
45730 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45731
7b6235f2
PE
45732 [BZ #13673]
45733 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45734 with URL.
45735 * locale/programs/locfile-kw.gperf: Likewise.
45736 * locale/programs/charmap-kw.h: Regenerated.
45737 * locale/programs/locfile-kw.h: Likewise.
45738
547b5e30
PE
45739 [BZ #13673]
45740 * intl/plural.y: Replace FSF snail mail address with URL.
45741 * intl/plural.c: Regenerated.
45742
5f0a5dae
RH
457432012-03-09 Richard Henderson <rth@twiddle.net>
45744
45745 * include/math_private.h: Remove file.
45746 * math/math_private.h: Move file ...
45747 * sysdeps/generic/math_private.h: ... here.
45748
b8c03620
RH
45749 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45750 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45751 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45752
4e234f5d 45753 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45754 and <math_private.h>.
45755 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45756 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45757 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45758 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45759 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45760 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45770 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45785 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45788 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45789 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45791 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45795 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45797 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45798 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45799 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45801 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45802 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45803 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45804 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45805 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45806 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45814 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45815 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45818 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45819 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45825 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45826 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45829 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45830 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45835 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45836 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45838 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45839 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45843 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45844 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45845 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45846 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45848 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45849 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45850 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45851 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45852 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45853 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45855 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45856 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45857 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45858 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45859 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45860 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45861 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45862 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45863 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45864 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45865 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45866 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45867 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45868 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45869 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45870 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45871 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45872 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45873 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45874 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45875 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45876 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45878 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45881 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45882 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45883 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45884 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45885 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45886 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45887 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45888 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45889 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45890 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45891 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45892 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45893 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45894 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45896 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45897 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45898 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45899 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45900 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45901 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45902 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45903 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45904 * sysdeps/ieee754/k_standard.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46024 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46025 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46027 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46032 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46035 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46037 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46051 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46053 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46054 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46055 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46065 * sysdeps/ieee754/s_lib_version.c: Likewise.
46066 * sysdeps/ieee754/s_matherr.c: Likewise.
46067 * sysdeps/ieee754/s_signgam.c: Likewise.
46068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46070 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46071 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46073 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46074 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46075 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46076 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46077 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46078 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46079 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46080 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46081 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46082 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46083 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46084 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46085 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46086 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46089
1991fa03
JM
460902012-03-09 Joseph Myers <joseph@codesourcery.com>
46091
46092 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46093 * sunrpc/rpc_main.c: Likewise.
46094 * sunrpc/rpc_svcout.c: Likewise.
46095
60d6f5a6
DM
460962012-03-09 David S. Miller <davem@davemloft.net>
46097
46098 * include/math_private.h: New file.
46099
4962050e
JM
461002012-03-09 Joseph Myers <joseph@codesourcery.com>
46101
02a6f887
JM
46102 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46103 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46104 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46105 from <bits/socket_type.h>.
46106 (enum __socket_type): Don't define here.
46107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46109 bits/socket_type.h.
46110
c6e013c1
JM
46111 [BZ #13566]
46112 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46113 checking __USE_GNU.
46114
4962050e
JM
46115 * Makerules ($(inst_includedir)/%.h): New rule.
46116 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46117 (install-others): Remove variable setting.
46118 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46119
38842f45
RH
461202012-03-08 Richard Henderson <rth@twiddle.net>
46121
67bb6da6
RH
46122 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46123 from macro to inline function; merge with the
46124 !__LIBC_INTERNAL_MATH_INLINES version.
46125 (__ieee754_sqrtf): Likewise.
46126
15194b4b
RH
46127 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46128 to inline function.
46129 (__rintf, __floor, __floorf): Likewise.
46130
64e21ede
RH
46131 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46132 macro to inline function.
46133 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46134
38842f45
RH
46135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46136 not <math/math_private.h>.
46137
c64bf5fe
DM
461382012-03-08 David S. Miller <davem@davemloft.net>
46139
46140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46141 copyright year.
46142 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46143
82d86f28
TS
461442012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46145
46146 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46147 normalization.
46148 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46149 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46150
aea5d727
UD
461512012-03-08 Ulrich Drepper <drepper@gmail.com>
46152
46153 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46154 be defined individually, they must be defined as a block. Define
46155 S for printing a string instead of hidint the different by using a
46156 macro for adding the 'l'.
46157 * stdio-common/tst-fphex-wide.c: Adjust.
46158
70bca0a3
MP
461592012-03-07 Marek Polacek <polacek@redhat.com>
46160
46161 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46162
65b81130
MP
461632012-03-08 Marek Polacek <polacek@redhat.com>
46164
46165 [BZ #13806]
46166 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46167 * stdio-common/tst-fphex.c: Define a few macros to make the
46168 test reusable. Use them.
46169 * stdio-common/tst-fphex-wide.c: New file.
46170
07037eeb
JM
461712012-03-08 Joseph Myers <joseph@codesourcery.com>
46172
a7a93d50
JM
46173 [BZ #6911]
46174 * manual/macros.texi (gnusystems): New macro.
46175 (nongnusystems): Likewise.
46176 (gnulinuxhurdsystems): Likewise.
46177 (gnuhurdsystems): Likewise..
46178 (gnulinuxsystems): Likewise.
46179 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46180 variants of the GNU system, not "GNU system".
46181 * manual/conf.texi: Likewise.
46182 * manual/errno.texi: Likewise. Update example of errno macro
46183 expansion.
46184 * manual/filesys.texi: Likewise.
46185 (getumask): Document as specific to GNU/Hurd.
46186 * manual/install.texi: Likewise. Reword some references to
46187 GNU/Linux.
46188 * manual/intro.texi: Likewise.
46189 * manual/io.texi: Likewise.
46190 (File Name Portability): Detail which constraints are inapplicable
46191 to all GNU systems and which are only inapplicable to GNU/Hurd.
46192 * manual/job.texi: Likewise.
46193 * manual/llio.texi: Likewise.
46194 (O_NOCTTY): Document as present on GNU/Linux.
46195 * manual/maint.texi: Likewise.
46196 * manual/memory.texi: Likewise.
46197 * manual/pattern.texi: Likewise.
46198 * manual/pipe.texi: Likewise.
46199 * manual/process.texi: Likewise.
46200 * manual/resource.texi: Likewise.
46201 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46202 child on GNU/Hurd.
46203 * manual/setjmp.texi: Likewise.
46204 * manual/signal.texi: Likewise.
46205 * manual/startup.texi: Likewise.
46206 * manual/stdio.texi: Likewise.
46207 * manual/terminal.texi: Likewise.
46208 (ONLCR): Document as POSIX.
46209 (OXTABS): Document availability on GNU/Linux as XTABS.
46210 (ONOEOT): Document availability separately from other bits.
46211 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46212 * manual/time.texi: Likewise.
46213 * manual/users.texi: Likewise.
46214 * INSTALL: Regenerated.
46215 * sysdeps/gnu/errlist.c: Regenerated.
46216
07037eeb
JM
46217 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46218 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46219 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46220 puts.
46221 * configure: Regenerated.
46222
d1d3431a
JM
462232012-03-07 Joseph Myers <joseph@codesourcery.com>
46224
af6a1e37
JM
46225 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46226 default includes instead of AC_HEADER_CHECK.
46227 * sysdeps/i386/configure: Regenerated.
46228
d1d3431a
JM
46229 [BZ #10716]
46230 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46231 * math/s_cacoshf.c (__cacoshf): Likewise.
46232 * math/s_cacoshl.c (__cacoshl): Likewise.
46233 * math/s_casinh.c (__casinh): Set signs of result from argument.
46234 * math/s_casinhf.c (__casinhf): Likewise.
46235 * math/s_casinhl.c (__casinhl): Likewise.
46236 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46237 (casinh_test): Add more tests.
46238 * sysdeps/i386/fpu/libm-test-ulps: Update.
46239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46240
482ff4da
UD
462412012-03-07 Ulrich Drepper <drepper@gmail.com>
46242
872fda05
UD
46243 * po/zh_TW.po: Update from translation team.
46244
a4300c7a
UD
46245 * login/Makefile (distribute): Remove variable.
46246 * catgets/Makefile: Likewise.
46247 * mach/Makefile: Likewise.
46248 * malloc/Makefile: Likewise.
46249 * misc/Makefile: Likewise.
46250 * iconv/Makefile: Likewise.
46251 * nscd/Makefile: Likewise.
46252 * hurd/Makefile: Likewise.
46253 * manual/Makefile: Likewise.
46254 * locale/Makefile: Likewise.
46255 * intl/Makefile: Likewise.
46256 * conform/Makefile: Likewise.
46257 * nss/Makefile: Likewise.
46258 * time/Makefile: Likewise.
46259 * soft-fp/Makefile: Likewise.
46260 * dirent/Makefile: Likewise.
46261 * gmon/Makefile: Likewise.
46262 * po/Makefile: Likewise.
46263 * rt/Makefile: Likewise.
46264 * socket/Makefile: Likewise.
46265 * math/Makefile: Likewise.
46266 * signal/Makefile: Likewise.
46267 * debug/Makefile: Likewise.
46268 * elf/Makefile: Likewise.
46269 * timezone/Makefile: Likewise.
46270 * stdlib/Makefile: Likewise.
46271 * iconvdata/Makefile: Likewise.
46272 * sunrpc/Makefile: Likewise.
46273 * io/Makefile: Likewise.
46274 * argp/Makefile: Likewise.
46275 * inet/Makefile: Likewise.
46276 * hesiod/Makefile: Likewise.
46277 * grp/Makefile: Likewise.
46278 * csu/Makefile: Likewise.
46279 * wctype/Makefile: Likewise.
46280 * crypt/Makefile: Likewise.
46281 * libio/Makefile: Likewise.
46282 * string/Makefile: Likewise.
46283 * nis/Makefile: Likewise.
46284 * resolv/Makefile: Likewise.
46285 * stdio-common/Makefile: Likewise.
46286 * wcsmbs/Makefile: Likewise.
46287 * dlfcn/Makefile: Likewise.
46288 * posix/Makefile: Likewise.
46289
3b7c4e74 46290 [BZ #6959]
482ff4da
UD
46291 * timezone/Makefile: Don't install timezone files, just the programs
46292 and scripts.
46293
f72ed77d
UD
462942012-03-06 Ulrich Drepper <drepper@gmail.com>
46295
a000466f
UD
46296 * nss/databases.def: Add missing gshadow entry.
46297
f72ed77d
UD
46298 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46299
a53b7a4e
MP
463002012-03-06 Marek Polacek <polacek@redhat.com>
46301
46302 [BZ #13726]
46303 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46304 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46305 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46306 * stdio-common/tst-long-dbl-fphex.c: New file.
46307
e9258400
DM
463082012-03-06 David S. Miller <davem@davemloft.net>
46309
46310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46311 (set_obp_int): New function.
46312 (get_obp_int): New function.
46313 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46315 Avoid unused variable warnings on 'val' and use builtin_expect.
46316 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46317 __builtin_expect.
e9258400
DM
46318 (INLINE_CLONE_SYSCALL): Likewise.
46319
3bd2c723
DM
463202012-03-05 David S. Miller <davem@davemloft.net>
46321
46322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46323
bbb78d03
AS
463242012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46325
884c5db4
AS
46326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46327
bbb78d03
AS
46328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46329 only for |x| >= 40.
46330 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46331
1c9f702a 463322012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46333
46334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46335 Replace gettimeofday with __vdso_gettimeofday.
46336
7be16f82
RM
46337 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46338 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46339 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46340
46341 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46342 time with __vdso_time.
46343
ed58a00f
JM
463442012-03-05 Joseph Myers <joseph@codesourcery.com>
46345
46346 * manual/lang.texi (size_t): Note types to which size_t may be
46347 equivalent with the GNU C Library, but do not describe when
46348 differences between them are significant.
46349
30ee4ced
AJ
463502012-03-05 Andreas Jaeger <aj@suse.de>
46351
46352 * sysdeps/i386/fpu/libm-test-ulps: Update.
46353
b7cd39e8
JM
463542012-03-05 Joseph Myers <joseph@codesourcery.com>
46355
46356 [BZ #3976]
46357 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46358 (__ieee754_pow): Save and restore rounding mode and use
46359 round-to-nearest for main computations.
46360 * math/libm-test.inc (pow_test_tonearest): New function.
46361 (pow_test_towardzero): Likewise.
46362 (pow_test_downward): Likewise.
46363 (pow_test_upward): Likewise.
46364 (main): Call the new functions.
46365 * sysdeps/i386/fpu/libm-test-ulps: Update.
46366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46367
46368 [BZ #3976]
46369 * math/libm-test.inc (cosh_test_tonearest): New function.
46370 (cosh_test_towardzero): Likewise.
46371 (cosh_test_downward): Likewise.
46372 (cosh_test_upward): Likewise.
46373 (sinh_test_tonearest): Likewise.
46374 (sinh_test_towardzero): Likewise.
46375 (sinh_test_downward): Likewise.
46376 (sinh_test_upward): Likewise.
46377 (main): Call the new functions.
46378 * sysdeps/i386/fpu/libm-test-ulps: Update.
46379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46380
6c6a98c9
TV
463812012-03-05 Tom de Vries <tom@codesourcery.com>
46382
46383 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46384 default stack guard is set in last bytes.
46385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46386
21bb2d2e 463872012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 46388
21bb2d2e 46389 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 46390
21bb2d2e
AJ
46391 [BZ #13656]
46392 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46393 possibly allocate from heap instead of stack.
46394 * stdio-common/bug-vfprintf-nargs.c: New file.
46395 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 46396
c6922934
AS
463972012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46398
46399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46400
bc957d53
MP
464012012-03-03 Marek Polacek <polacek@redhat.com>
46402
46403 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46404 * math/math_private.h: Likewise.
46405 * stdlib/tst-strtod.c: Likewise.
46406 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46407 * sysdeps/x86_64/bits/atomic.h: Likewise.
46408
6358490d
DM
464092012-03-02 David S. Miller <davem@davemloft.net>
46410
46411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46415 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46416 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46417 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46418 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46419
01ae168d
RM
464202012-03-02 Roland McGrath <roland@hack.frob.com>
46421
d9a17c07
RM
46422 [BZ #13792]
46423 * manual/examples/README: New file, says the example source files
46424 can be used under GPL>=2.
46425 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46426 line containing just "*/".
46427 * manual/examples/add.c: Add copyright header (GPL>=2).
46428 * manual/examples/argp-ex1.c: Likewise.
46429 * manual/examples/argp-ex2.c: Likewise.
46430 * manual/examples/argp-ex3.c: Likewise.
46431 * manual/examples/argp-ex4.c: Likewise.
46432 * manual/examples/atexit.c: Likewise.
46433 * manual/examples/db.c: Likewise.
46434 * manual/examples/dir.c: Likewise.
46435 * manual/examples/dir2.c: Likewise.
46436 * manual/examples/execinfo.c: Likewise.
46437 * manual/examples/filecli.c: Likewise.
46438 * manual/examples/filesrv.c: Likewise.
46439 * manual/examples/fmtmsgexpl.c: Likewise.
46440 * manual/examples/genpass.c: Likewise.
46441 * manual/examples/inetcli.c: Likewise.
46442 * manual/examples/inetsrv.c: Likewise.
46443 * manual/examples/isockad.c: Likewise.
46444 * manual/examples/longopt.c: Likewise.
46445 * manual/examples/memopen.c: Likewise.
46446 * manual/examples/memstrm.c: Likewise.
46447 * manual/examples/mkfsock.c: Likewise.
46448 * manual/examples/mkisock.c: Likewise.
46449 * manual/examples/mygetpass.c: Likewise.
46450 * manual/examples/pipe.c: Likewise.
46451 * manual/examples/popen.c: Likewise.
46452 * manual/examples/rprintf.c: Likewise.
46453 * manual/examples/search.c: Likewise.
46454 * manual/examples/select.c: Likewise.
46455 * manual/examples/setjmp.c: Likewise.
46456 * manual/examples/sigh1.c: Likewise.
46457 * manual/examples/sigusr.c: Likewise.
46458 * manual/examples/stpcpy.c: Likewise.
46459 * manual/examples/strdupa.c: Likewise.
46460 * manual/examples/strftim.c: Likewise.
46461 * manual/examples/strncat.c: Likewise.
46462 * manual/examples/subopt.c: Likewise.
46463 * manual/examples/swapcontext.c: Likewise.
46464 * manual/examples/termios.c: Likewise.
46465 * manual/examples/testopt.c: Likewise.
46466 * manual/examples/testpass.c: Likewise.
46467 * manual/examples/timeval_subtract.c: Likewise.
46468
01ae168d
RM
46469 [BZ #13792]
46470 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46471 function to ...
46472 * manual/timeval_subtract.c.texi: ... here, new file.
46473
49efa33d
DM
464742012-03-02 David S. Miller <davem@davemloft.net>
46475
46476 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46477
28afd92d
JM
464782012-03-02 Joseph Myers <joseph@codesourcery.com>
46479
804360ed
JM
46480 [BZ #3976]
46481 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46482 (__sin): Save and restore rounding mode and use round-to-nearest
46483 for all computations.
46484 (__cos): Save and restore rounding mode and use round-to-nearest
46485 for all computations.
46486 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46487 <fenv.h>.
46488 (tan): Save and restore rounding mode and use round-to-nearest for
46489 all computations.
46490 * math/libm-test.inc (cos_test_tonearest): New function.
46491 (cos_test_towardzero): Likewise.
46492 (cos_test_downward): Likewise.
46493 (cos_test_upward): Likewise.
46494 (sin_test_tonearest): Likewise.
46495 (sin_test_towardzero): Likewise.
46496 (sin_test_downward): Likewise.
46497 (sin_test_upward): Likewise.
46498 (tan_test_tonearest): Likewise.
46499 (tan_test_towardzero): Likewise.
46500 (tan_test_downward): Likewise.
46501 (tan_test_upward): Likewise.
46502 (main): Call the new functions.
46503 * sysdeps/i386/fpu/libm-test-ulps: Update.
46504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46505
a6d06d7b
JM
46506 [BZ #10135]
46507 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46508 small n, then large n, before computing and testing k+n.
46509 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46511 Likewise.
46512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46513 Likewise.
46514 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46515 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46522 * math/libm-test.inc (scalbn_test): Add more tests.
46523 (scalbln_test): Likewise.
46524
07e12bb3
JM
46525 * manual/filesys.texi (mode_t): Describe constraints on size and
46526 signedness, not exact equivalence to a particular type.
46527 (ino_t): Likewise.
46528 (ino64_t): Likewise.
46529 (dev_t): Likewise.
46530 (nlink_t): Likewise.
46531 (blkcnt_t): Likewise.
46532 (blkcnt64_t): Likewise.
46533 * manual/llio.texi (off_t): Likewise.
46534
28afd92d
JM
46535 [BZ #3976]
46536 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46537 (__ieee754_exp): Save and restore rounding mode and use
46538 round-to-nearest for all computations.
46539 * math/libm-test.inc (exp_test_tonearest): New function.
46540 (exp_test_towardzero): Likewise.
46541 (exp_test_downward): Likewise.
46542 (exp_test_upward): Likewise.
46543 (main): Call the new functions.
46544 * sysdeps/i386/fpu/libm-test-ulps: Update.
46545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46546
b1eeb65d
CD
465472012-03-01 Chris Demetriou <cgd@google.com>
46548
46549 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46550 have predictable order.
46551
53362a4b
DM
465522012-03-01 David S. Miller <davem@davemloft.net>
46553
3c969083
DM
46554 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46555
759707de
DM
46556 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46557 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46558 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46559 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46560
dfdb8ff2
DM
46561 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46562 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46563 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46565 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46566 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46567 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46568 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46569 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46570
ead89f96
DM
46571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46572
7f66bd07
DM
46573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46574 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46575 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46576
53362a4b
DM
46577 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46578 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46579 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46580 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46581 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46582 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46585 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46586 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46587 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46590 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46591 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46593 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46594 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46595 * sysdeps/sparc/elf/configure: Regenerated.
46596
7b1902cb
JM
465972012-03-01 Joseph Myers <joseph@codesourcery.com>
46598
bec039bc
JM
46599 * configure.in (AS, LD): Require binutils 2.20 or later.
46600 * configure: Regenerated.
46601 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46602 as required minimum version.
46603 * INSTALL: Regenerated.
46604
7b1902cb
JM
46605 [BZ #2541]
46606 [BZ #4108]
46607 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46608 before squaring exponent.
46609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46610 bottom long double and 27 bits of top long double before squaring
46611 exponent.
46612 * math/libm-test.inc (erfc_test): Add more tests.
46613 * sysdeps/i386/fpu/libm-test-ulps: Update.
46614 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46616
f775c276
KT
466172012-03-01 Kai Tietz <ktietz@redhat.com>
46618
46619 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46620 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46621 containing bit-fields.
46622 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46623 * soft-fp/single.h (_FP_UNION_S): Likewise.
46624 * soft-fp/double.h (_FP_UNION_D): Likewise.
46625
5b8a4d4a
JM
466262012-02-29 Joseph Myers <joseph@codesourcery.com>
46627
0bab47b6
JM
46628 [BZ #13786]
46629 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46630 not include ../strcmp.S.
46631 [USE_AS_STRNCASECMP_L]: Likewise.
46632 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46633 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46634 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46635 (__strncasecmp_l_ia32): Define as alias to
46636 __strncasecmp_l_nonascii.
46637
0fcad3e2
JM
46638 [BZ #5794]
46639 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46640 * sysdeps/i386/fpu/libm-test-ulps: Update.
46641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46642
5b8a4d4a
JM
46643 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46645
8fdceb2e
JL
466462012-02-29 Jeff Law <law@redhat.com>
46647
46648 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46649 out of bounds read.
46650
1f393a11
MP
466512012-02-29 Marek Polacek <polacek@redhat.com>
46652
46653 [BZ #13706]
46654 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46655 * elf/Makefile: Add rules to run tst-unused-dep.out.
46656
8847f037
DM
466572012-02-28 David S. Miller <davem@davemloft.net>
46658
46659 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46660 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46661 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46663 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46664 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46665
169d7f11
JM
466662012-02-29 Joseph Myers <joseph@codesourcery.com>
46667
46668 * math/libm-test.inc (llround_test): Move one test from
46669 lround_test. Use TEST_f_L in moved test.
46670 (lround_test): Move misplaced test to llround_test. Add testcase
46671 from bug 2561.
46672
39adf059
UD
466732012-02-28 Ulrich Drepper <drepper@gmail.com>
46674
46675 * sysdeps/x86_64/fpu/e_expf.S: New file.
46676 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46677
71b5d1c5
SB
466782012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46679
46680 [BZ #13637]
46681 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46682 of remain_len that may cause incomplete multi-byte character and
46683 false match.
46684 * posix/bug-regex33.c: New file.
46685 * posix/Makefile (tests): Add bug-regex33.
46686
1f77f049
JM
466872012-02-28 Joseph Myers <joseph@codesourcery.com>
46688
46689 * manual/macros.texi: New file.
46690 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46691 * manual/libc.texinfo: Include macros.texi.
46692 * manual/creatute.texi: Likewise.
46693 * manual/install.texi: Likewise.
46694 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46695 @glibcadj{} in references to the GNU C Library.
46696 * manual/charset.texi: Likewise.
46697 * manual/conf.texi: Likewise.
46698 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46699 when not using those macros.
46700 * manual/creature.texi: Likewise.
46701 * manual/crypt.texi: Likewise.
46702 * manual/errno.texi: Likewise.
46703 * manual/filesys.texi: Likewise.
46704 * manual/header.texi: Likewise.
46705 * manual/install.texi: Likewise.
46706 * manual/intro.texi: Likewise.
46707 * manual/io.texi: Likewise.
46708 * manual/job.texi: Likewise.
46709 * manual/lang.texi: Likewise.
46710 * manual/libc.texiinfo: Likewise.
46711 * manual/llio.texi: Likewise.
46712 * manual/locale.texi: Likewise.
46713 * manual/maint.texi: Likewise.
46714 * manual/math.texi: Likewise.
46715 * manual/memory.texi: Likewise.
46716 * manual/message.texi: Likewise.
46717 * manual/nss.texi: Likewise.
46718 * manual/pattern.texi: Likewise.
46719 * manual/process.texi: Likewise.
46720 * manual/resource.texi: Likewise.
46721 * manual/search.texi: Likewise.
46722 * manual/setjmp.texi: Likewise.
46723 * manual/signal.texi: Likewise.
46724 * manual/socket.texi: Likewise.
46725 * manual/startup.texi: Likewise.
46726 * manual/stdio.texi: Likewise.
46727 * manual/string.texi: Likewise.
46728 * manual/sysinfo.texi: Likewise.
46729 * manual/syslog.texi: Likewise.
46730 * manual/terminal.texi: Likewise.
46731 * manual/time.texi: Likewise.
46732 * manual/users.texi: Likewise.
46733 * INSTALL: Regenerated.
46734 * NOTES: Regenerated.
d40c5d54 46735 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 46736
450bf206
AS
467372012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46738
46739 * include/dirent.h: Include <dirstream.h> before
46740 <dirent/dirent.h>.
46741
741a235b
DM
467422012-02-28 David S. Miller <davem@davemloft.net>
46743
46744 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46745 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46746 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46747 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46748
d6b5aa58
DM
467492012-02-27 David S. Miller <davem@davemloft.net>
46750
1aff59a3
DM
46751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46755
d6b5aa58
DM
46756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46757 frame pointer instead of stack pointer relative arg slot.
46758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46759 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46760 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46761
433f48bf
CD
467622012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46763
46764 [BZ #3992]
46765 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46766
d674b76d
DM
467672012-02-27 David S. Miller <davem@davemloft.net>
46768
46769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46775 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46777
0e7727f7
JM
467782012-02-27 Joseph Myers <joseph@codesourcery.com>
46779
46780 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46781 later. Allow versions 5-9.
43be4ca2 46782 * configure: Regenerated.
0e7727f7
JM
46783 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46784 required minimum version and 4.6 as recommended version. Do not
46785 mention bugs in GCC 2.7 and 2.8.
43be4ca2 46786 * INSTALL: Regenerated.
0e7727f7 46787
a78bc654
DM
467882012-02-27 David S. Miller <davem@davemloft.net>
46789
428d5830
DM
46790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46794 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46795 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46796 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46797 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46798
a78bc654
DM
46799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46800 manipulate bits before adding and subtracting TWO112[sx].
46801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46802
4579f81c
RM
468032012-02-27 Roland McGrath <roland@hack.frob.com>
46804
36c8acb4
RM
46805 [BZ #13775]
46806 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46807 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46808 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46809 being in POSIX, because they are in 1003.1-2008.
46810
84ad622b
RM
46811 * rt/tst-aio.c: Include <fcntl.h>.
46812 * rt/tst-aio7.c: Likewise.
46813 * rt/tst-aio64.c: Likewise.
46814
4579f81c
RM
46815 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46816
abd923db
JM
468172012-02-27 Joseph Myers <joseph@codesourcery.com>
46818
46819 * manual/install.texi (--with-headers): Describe headers as
46820 interface headers, not private headers.
46821 (Specific advice for GNU/Linux systems): Describe use of headers
46822 from "make headers_install", not private headers from older
46823 kernels.
43be4ca2 46824 * INSTALL: Regenerated.
abd923db
JM
46825 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46826 Change to 2.6.19.
46827 * sysdeps/unix/sysv/linux/configure: Regenerated.
46828
6664049b
JM
46829 * manual/llio.texi (fclean): Remove documentation.
46830
bb8b6697
JM
46831 * manual/Makefile (libc-texi-generated): New variable. Include
46832 version.texi.
46833 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46834 $(libc-texi-generated), not duplicated list of files.
46835 (version.texi, stamp-version): New rules.
46836 (realclean): Remove $(libc-texi-generated), not individual files
46837 from that list. Do not remove dir-add.texinfo.
46838 * manual/libc.texinfo: Comment out uses of edition numbers and
46839 references to printed manual. Remove last-updated dates.
46840 (EDITION): Comment out.
46841 (ISBN): Likewise.
46842 (VERSION, UPDATED): Remove.
46843 (version.texi): Include.
46844
12e5c3b9
AS
468452012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46846
46847 * sysdeps/posix/spawni.c: Include <signal.h>.
46848 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46849 * sysdeps/pthread/aio_fsync.c: Likewise.
46850
4efeffc1 468512012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 46852
ba63ba08
UD
46853 * conform/Makefile (tests): Run only when not cross-compiling and
46854 when fast-check is not defined.
46855
d94a4670
UD
46856 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46857 * conform/data/limits.h-data: Fixes for POSIX2008.
46858 * conform/run-conformtest.sh: Run all tests.
46859 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46860 headers.
46861 * include/bits/dlfcn.h: Likewise.
46862 * include/langinfo.h: Likewise.
46863 * include/monetary.h: Likewise.
46864 * include/sys/poll.h: Likewise.
46865
46866 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46867 for __USE_GNU.
46868 * posix/spawn.h: Define __need_sigset_t.
46869 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46870 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46871 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46872 to get sigevent_t only.
46873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46874 only for __USE_GNU.
46875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46876 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46877 process_vm_writev only for __USE_GNU.
46878 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
46879
46880 * conform/Makefile: For now ignore errors from run-conformtest.
46881 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46882 POSIX to avoid namespace pollution. Don't prepend headers.
46883 * conform/data/aio.h-data: Fixes for POSIX testing.
46884 * conform/data/fcntl.h-data: Likewise.
46885 * conform/data/glob.h-data: Likewise.
46886 * conform/data/grp.h-data: Likewise.
46887 * conform/data/pthread.h-data: Likewise.
46888 * conform/data/pwd.h-data: Likewise.
46889 * conform/data/signal.h-data: Likewise.
46890 * conform/data/spawn.h-data: Likewise.
46891 * conform/data/stdio.h-data: Likewise.
46892 * conform/data/stdlib.h-data: Likewise.
46893 * conform/data/stropts.h-data: Likewise.
46894 * conform/data/sys/mman.h-data: Likewise.
46895 * conform/data/sys/stat.h-data: Likewise.
46896 * conform/data/sys/types.h-data: Likewise.
46897 * conform/data/sys/wait.h-data: Likewise.
46898 * conform/data/time.h-data: Likewise.
46899 * conform/data/unistd.h-data: Likewise.
46900 * conform/data/utime.h-data: Likewise.
46901
46902 * io/sys/stat.h: fchmod was always in POSIX.
46903 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46904 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46905 * rt/aio.h: Define __need_timespec before including <time.h>.
46906 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46907 struct. Add forward declaration of pthread_attr_t and use it in
46908 sigevent.
46909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46911 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46912 always remove CLK_TCK definition.
46913
c20105c3
AS
469142012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46915
46916 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46917
7a270350
UD
469182012-02-25 Ulrich Drepper <drepper@gmail.com>
46919
31341567
UD
46920 * conform/run-conformtest.sh: New file.
46921 * conform/Makefile: Run run-conformtest for tests.
46922 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46923 support.
46924
46925 * conform/data/uchar.h-data: New file.
46926 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46927 * conform/data/arpa/inet.h-data: Likewise.
46928 * conform/data/assert.h-data: Likewise.
46929 * conform/data/complex.h-data: Likewise.
46930 * conform/data/cpio.h-data: Likewise.
46931 * conform/data/ctype.h-data: Likewise.
46932 * conform/data/dirent.h-data: Likewise.
46933 * conform/data/dlfcn.h-data: Likewise.
46934 * conform/data/errno.h-data: Likewise.
46935 * conform/data/fcntl.h-data: Likewise.
46936 * conform/data/float.h-data: Likewise.
46937 * conform/data/fmtmsg.h-data: Likewise.
46938 * conform/data/fnmatch.h-data: Likewise.
46939 * conform/data/ftw.h-data: Likewise.
46940 * conform/data/glob.h-data: Likewise.
46941 * conform/data/grp.h-data: Likewise.
46942 * conform/data/iconv.h-data: Likewise.
46943 * conform/data/inttypes.h-data: Likewise.
46944 * conform/data/langinfo.h-data: Likewise.
46945 * conform/data/libgen.h-data: Likewise.
46946 * conform/data/limits.h-data: Likewise.
46947 * conform/data/locale.h-data: Likewise.
46948 * conform/data/math.h-data: Likewise.
46949 * conform/data/monetary.h-data: Likewise.
46950 * conform/data/mqueue.h-data: Likewise.
46951 * conform/data/ndbm.h-data: Likewise.
46952 * conform/data/net/if.h-data: Likewise.
46953 * conform/data/netdb.h-data: Likewise.
46954 * conform/data/netinet/in.h-data: Likewise.
46955 * conform/data/nl_types.h-data: Likewise.
46956 * conform/data/poll.h-data: Likewise.
46957 * conform/data/pthread.h-data: Likewise.
46958 * conform/data/pwd.h-data: Likewise.
46959 * conform/data/regex.h-data: Likewise.
46960 * conform/data/sched.h-data: Likewise.
46961 * conform/data/search.h-data: Likewise.
46962 * conform/data/semaphore.h-data: Likewise.
46963 * conform/data/setjmp.h-data: Likewise.
46964 * conform/data/signal.h-data: Likewise.
46965 * conform/data/spawn.h-data: Likewise.
46966 * conform/data/stdarg.h-data: Likewise.
46967 * conform/data/stdio.h-data: Likewise.
46968 * conform/data/stdlib.h-data: Likewise.
46969 * conform/data/string.h-data: Likewise.
46970 * conform/data/strings.h-data: Likewise.
46971 * conform/data/stropts.h-data: Likewise.
46972 * conform/data/sys/ipc.h-data: Likewise.
46973 * conform/data/sys/mman.h-data: Likewise.
46974 * conform/data/sys/msg.h-data: Likewise.
46975 * conform/data/sys/resource.h-data: Likewise.
46976 * conform/data/sys/select.h-data: Likewise.
46977 * conform/data/sys/sem.h-data: Likewise.
46978 * conform/data/sys/shm.h-data: Likewise.
46979 * conform/data/sys/socket.h-data: Likewise.
46980 * conform/data/sys/stat.h-data: Likewise.
46981 * conform/data/sys/statvfs.h-data: Likewise.
46982 * conform/data/sys/time.h-data: Likewise.
46983 * conform/data/sys/timeb.h-data: Likewise.
46984 * conform/data/sys/times.h-data: Likewise.
46985 * conform/data/sys/types.h-data: Likewise.
46986 * conform/data/sys/uio.h-data: Likewise.
46987 * conform/data/sys/un.h-data: Likewise.
46988 * conform/data/sys/utsname.h-data: Likewise.
46989 * conform/data/sys/wait.h-data: Likewise.
46990 * conform/data/syslog.h-data: Likewise.
46991 * conform/data/tar.h-data: Likewise.
46992 * conform/data/termios.h-data: Likewise.
46993 * conform/data/utime.h-data: Likewise.
46994 * conform/data/utmpx.h-data: Likewise.
46995 * conform/data/varargs.h-data: Likewise.
46996 * conform/data/wchar.h-data: Likewise.
46997 * conform/data/wctype.h-data: Likewise.
46998 * conform/data/wordexp.h-data: Likewise.
46999
47000 * include/stropts.h: New file.
47001 * include/uchar.h: New file.
47002 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47003 * include/assert.h: Likewise.
47004 * include/ctype.h: Likewise.
47005 * include/dirent.h: Likewise.
47006 * include/dlfcn.h: Likewise.
47007 * include/fcntl.h: Likewise.
47008 * include/fnmatch.h: Likewise.
47009 * include/glob.h: Likewise.
47010 * include/grp.h: Likewise.
47011 * include/libio.h: Likewise.
47012 * include/locale.h: Likewise.
47013 * include/math.h: Likewise.
47014 * include/net/if.h: Likewise.
47015 * include/netdb.h: Likewise.
47016 * include/netinet/in.h: Likewise.
47017 * include/pthread.h: Likewise.
47018 * include/pwd.h: Likewise.
47019 * include/regex.h: Likewise.
47020 * include/sched.h: Likewise.
47021 * include/search.h: Likewise.
47022 * include/setjmp.h: Likewise.
47023 * include/signal.h: Likewise.
47024 * include/stdio.h: Likewise.
47025 * include/stdlib.h: Likewise.
47026 * include/string.h: Likewise.
47027 * include/sys/cdefs.h: Likewise.
47028 * include/sys/mman.h: Likewise.
47029 * include/sys/msg.h: Likewise.
47030 * include/sys/resource.h: Likewise.
47031 * include/sys/select.h: Likewise.
47032 * include/sys/socket.h: Likewise.
47033 * include/sys/stat.h: Likewise.
47034 * include/sys/statvfs.h: Likewise.
47035 * include/sys/time.h: Likewise.
47036 * include/sys/times.h: Likewise.
47037 * include/sys/uio.h: Likewise.
47038 * include/sys/utsname.h: Likewise.
47039 * include/sys/wait.h: Likewise.
47040 * include/termios.h: Likewise.
47041 * include/time.h: Likewise.
47042 * include/ulimit.h: Likewise.
47043 * include/unistd.h: Likewise.
47044 * include/utime.h: Likewise.
47045 * include/wchar.h: Likewise.
47046 * include/wctype.h: Likewise.
47047 * include/wordexp.h: Likewise.
47048
47049 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47050
7a270350
UD
47051 * time/time.h: TIME_UTC must be a macro.
47052 Make timespec_get available for ISO C11 only as well.
47053
7724defc
UD
470542012-02-24 Ulrich Drepper <drepper@gmail.com>
47055
47056 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47057 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47058
6b1d1d46
JM
470592012-02-24 Joseph Myers <joseph@codesourcery.com>
47060
47061 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47062
0f8bbd69
JM
470632012-02-24 Joseph Myers <joseph@codesourcery.com>
47064
47065 * manual/texinfo.tex: Update to version 2012-01-19.16.
47066
66ab80bc
JM
470672012-02-24 Joseph Myers <joseph@codesourcery.com>
47068
47069 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47070
74981cc5
RM
470712012-02-24 Roland McGrath <roland@hack.frob.com>
47072
ee968201
RM
47073 [BZ #13738]
47074 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47075 * manual/fdl-1.3.texi: New file.
47076 * manual/fdl-1.1.texi: File removed.
47077
74981cc5
RM
47078 [BZ #13738]
47079 * manual/libc.texinfo (FDL_VERSION): New @set.
47080 Use it for mention of FDL in cover text.
47081 (Documentation License): Use it in @include file name.
47082
7bb764bc
JM
470832012-02-22 Joseph Myers <joseph@codesourcery.com>
47084 Roland McGrath <roland@hack.frob.com>
47085
47086 [BZ #5461]
57f41c40
AS
47087 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47088 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47089 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47090 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47091 name.
47092 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47093
6cbeae47
JM
470942012-02-22 Joseph Myers <joseph@codesourcery.com>
47095
47096 [BZ #2547]
47097 [BZ #11365]
47098 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47099 manipulate bits before adding and subtracting TWO23[sx].
47100 * math/libm-test.inc (nearbyint_test): Add more tests.
47101
fe45ce09
JM
471022012-02-22 Joseph Myers <joseph@codesourcery.com>
47103
47104 [BZ #2548]
47105 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47106 bits before adding and subtracting TWO23[sx].
47107 * math/libm-test.inc (rint_test): Add more tests.
47108 (rint_test_tonearest): Likewise.
47109 (rint_test_towardzero): Likewise.
47110 (rint_test_downward): Likewise.
47111 (rint_test_upward: Likewise.
47112
ff3b3d82
JM
471132012-02-22 Joseph Myers <joseph@codesourcery.com>
47114
47115 [BZ #10110]
47116 * include/stdc-predef.h: New file. Extracted from features.h.
47117 * include/features.h: Include stdc-predef.h.
47118 * Makefile (headers): Add stdc-predef.h.
47119 * CONFORMANCE (Compiler limitations): Update.
47120
ef0aab35
JM
471212012-02-22 Joseph Myers <joseph@codesourcery.com>
47122
47123 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47124
58639409
DM
471252012-02-21 David S. Miller <davem@davemloft.net>
47126
47127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47128 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47129
c0e70b25
DM
471302012-02-20 David S. Miller <davem@davemloft.net>
47131
47132 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47133 using a normal save/restore sequence, rather than allocating a
47134 dummy stack frame just to store a frame pointer and restore.
47135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47136
fb06851d
JM
471372012-02-21 Joseph Myers <joseph@codesourcery.com>
47138
47139 * manual/install.texi: Fix stray word in line-wrapped comment.
47140
7a8b71c3
DM
471412012-02-20 David S. Miller <davem@davemloft.net>
47142
d510c123
DM
47143 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47144 both binutils and gcc support GOTDATA.
47145
0722d7c2
DM
47146 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47147 "rd %pc" in the PIC register setup sequences.
47148
3d2b3019
DM
47149 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47150 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47151 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47152 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47153 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47155 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47158 (SYSCALL_ERROR_HANDLER): Likewise.
47159 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47160 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47162 (SYSCALL_ERROR_HANDLER): Likewise.
47163
c80098a9
DM
47164 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47165 (HAVE_GCC_GOTDATA): New.
47166 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47167 relocation support in both binutils and gcc.
47168 * sysdeps/sparc/elf/configure: Regenerate.
47169
3a2545a0
DM
47170 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47171 * sysdeps/sparc/sparc32/elf/configure: Delete.
47172 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47173 * sysdeps/sparc/sparc64/elf/configure: Delete.
47174 * sysdeps/sparc/elf/configure.in: New file.
47175 * sysdeps/sparc/elf/configure: Generate.
47176
7a8b71c3
DM
47177 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47178 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47180 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47181 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47182
f1e86fca
JM
471832012-02-21 Joseph Myers <joseph@codesourcery.com>
47184
47185 * manual/install.texi: Do not mention specific glibc version
47186 numbers.
47187 * manual/libc.texinfo (VERSION, UPDATED): Update.
47188 (@copying): Use @copyright{} and range of years.
47189
0e7dfaef
JM
471902012-02-21 Joseph Myers <joseph@codesourcery.com>
47191
47192 [BZ #13695]
47193 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47194 [crti.S not in sysdirs] (generated): Do not append.
47195 [crti.S not in sysdirs] (omit-deps): Likewise.
47196 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47197 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47198 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47199 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47200 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47201 Likewise.
47202 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47203 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47204 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47205 * csu/defs.awk: Remove file.
47206 * sysdeps/generic/initfini.c: Likewise.
47207 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47208 variable.
47209 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47210 Likewise.
47211
599af3ca
JM
472122012-02-20 Joseph Myers <joseph@codesourcery.com>
47213
47214 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47215 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47216 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47219 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47220 <bits/epoll.h>.
47221 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47222 (__EPOLL_PACKED): Define to empty if not defined by
47223 <bits/epoll.h>.
47224 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47226 bits/epoll.h.
47227
0e499750
JM
472282012-02-20 Joseph Myers <joseph@codesourcery.com>
47229
47230 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47231 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47232 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47233 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47234 <bits/timerfd.h>.
47235 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47237 bits/timerfd.h.
47238
5ad91f6e
JM
472392012-02-20 Joseph Myers <joseph@codesourcery.com>
47240
47241 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47242 in C locale.
47243 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47244 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47245 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47247
06b99b02
AJ
472482012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47249
47250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47252
7638c0fd
AS
472532012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47254
47255 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47256 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47257 defined.
47258 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47259 Likewise.
47260 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47261 entry for 2.16.
47262
92221550
AJ
472632012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47264
47265 * math/w_acos.c: Use non-signaling floating-point comparisons.
47266 * math/w_acosf.c: Likewise.
47267 * math/w_acosh.c: Likewise.
47268 * math/w_acoshf.c: Likewise.
47269 * math/w_acoshl.c: Likewise.
47270 * math/w_acosl.c: Likewise.
47271 * math/w_asin.c: Likewise.
47272 * math/w_asinf.c: Likewise.
47273 * math/w_asinl.c: Likewise.
47274 * math/w_atanh.c: Likewise.
47275 * math/w_atanhf.c: Likewise.
47276 * math/w_atanhl.c: Likewise.
47277 * math/w_exp2.c: Likewise.
47278 * math/w_exp2f.c: Likewise.
47279 * math/w_exp2l.c: Likewise.
47280 * math/w_j0.c: Likewise.
47281 * math/w_j0f.c: Likewise.
47282 * math/w_j0l.c: Likewise.
47283 * math/w_j1.c: Likewise.
47284 * math/w_j1f.c: Likewise.
47285 * math/w_j1l.c: Likewise.
47286 * math/w_jn.c: Likewise.
47287 * math/w_jnf.c: Likewise.
47288 * math/w_log.c: Likewise.
47289 * math/w_log10.c: Likewise.
47290 * math/w_log10f.c: Likewise.
47291 * math/w_log10l.c: Likewise.
47292 * math/w_log2.c: Likewise.
47293 * math/w_log2f.c: Likewise.
47294 * math/w_log2l.c: Likewise.
47295 * math/w_logf.c: Likewise.
47296 * math/w_logl.c: Likewise.
47297 * math/w_sqrt.c: Likewise.
47298 * math/w_sqrtf.c: Likewise.
47299 * math/w_sqrtl.c: Likewise.
47300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47301 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47303 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47304 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47305
ebaf36eb
JM
473062012-02-19 Joseph Myers <joseph@codesourcery.com>
47307
47308 [BZ #9739]
47309 * manual/string.texi (strnlen): Use correct parameter name in
47310 equivalent expression.
47311
71c254a6
JM
473122012-02-19 Joseph Myers <joseph@codesourcery.com>
47313
47314 [BZ #11174]
47315 * manual/users.texi (seteuid): Consistently use neweuid for
47316 argument name.
47317
16d2c631
JM
473182012-02-19 Joseph Myers <joseph@codesourcery.com>
47319
47320 [BZ #13704]
47321 * manual/nss.texi (Services in the NSS configuration): Correct
47322 list of services in example configuration file.
47323
cd837b09
NB
473242012-02-19 Nick Bowler <nbowler@draconx.ca>
47325
47326 [BZ #11322]
47327 * manual/arith.texi: Remove statements about negative zero
47328 behaving identically to zero.
47329
02c4bbad
JM
473302012-02-18 Joseph Myers <joseph@codesourcery.com>
47331
47332 [BZ #5993]
47333 * manual/install.texi: Do not document upgrading from libc5.
47334
366842e7
JM
473352012-02-18 Joseph Myers <joseph@codesourcery.com>
47336
47337 [BZ #4596]
47338 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47339
dd54084d
DM
473402012-02-18 David S. Miller <davem@davemloft.net>
47341
47342 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47343 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47344 %o7 across the call.
47345 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47346 instead.
47347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47348 SETUP_PIC_REG_LEAF.
47349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47350 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47351 * sysdeps/sparc/crtn.S: Likewise.
47352
2bcc53a3
UD
473532012-02-17 Ulrich Drepper <drepper@gmail.com>
47354
47355 * aout/Makefile: Remove.
47356
09c093b5
RK
473572012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47358
47359 [BZ #13058]
47360 * manual/examples/argp-ex1.c (main): Format definition in GNU
47361 style.
47362 * manual/examples/argp-ex2.c (main): Likewise.
47363 * manual/examples/argp-ex3.c (main): Likewise.
47364 * manual/examples/argp-ex4.c (main): Likewise.
47365 * manual/examples/longopt.c (main): Use new-style prototype
47366 definition.
47367 * manual/examples/strncat.c (main): Specify return type and use
47368 (void) for arguments.
47369 * manual/examples/subopt.c (main): Use char **argv argument.
47370
2ee633a2
JM
473712012-02-17 Joseph Myers <joseph@codesourcery.com>
47372
47373 [BZ #5077]
47374 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47375 rounding modes.
47376
0520adde
FB
473772012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47378
47379 [BZ #6907]
47380 * manual/string.texi (strchr): Change when strchrnul is
47381 recommended.
47382
3f4081cd
DGM
473832012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47384
47385 [BZ #174]
47386 * manual/locale.texi (setlocale): Document LOCPATH.
47387
d1b10e78
JM
473882012-02-17 Joseph Myers <joseph@codesourcery.com>
47389
47390 [BZ #10210]
47391 * manual/process.texi (execle): Move @dots{} before last argument.
47392
79c6869c
PB
473932012-02-17 Paul Bolle <pebolle@tiscali.nl>
47394
47395 [BZ #12047]
47396 * manual/charset.texi (Generic Charset Conversion): Fix typo
47397 (LC_TYPE -> LC_CTYPE).
47398
cc6e48bc
NB
473992012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47400
47401 [BZ #5805]
47402 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47403 (scalbnf): Likewise.
47404 (scalbnl): Likewise.
47405 (scalbln): Likewise.
47406 (scalblnf): Likewise.
47407 (scalblnl): Likewise.
47408 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47409 (vwarnx): Likewise.
47410 (verr): Likewise.
47411 (verrx): Likewise.
47412 * manual/filesys.texi (telldir): Use braces around return type.
47413 * manual/llio.texi (mmap): Add space after comma.
47414 (mmap64): Likewise.
47415 * manual/math.texi (jn): Use @var{} on parameter names.
47416 (jnf): Likewise.
47417 (jnl): Likewise.
47418 (yn): Likewise.
47419 (ynf): Likewise.
47420 (ynl): Likewise.
47421 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47422 line.
47423 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47424 "...".
47425 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47426 (sched_get_priority_max): Likewise.
47427 * manual/signal.texi (sigvec): Add space after comma.
47428 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47429 names.
47430 (if_indextoname): Likewise.
47431 (if_freenameindex): Likewise.
47432 (sendto): Use ',' instead of '.' in prototype.
47433 * manual/startup.texi (syscall): Use @dots{} instead of literal
47434 "...".
47435 * manual/stdio.texi (__fpending): Separate initial words of
47436 paragraph from @deftypefun line.
47437 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47438 "...".
47439 (vsyslog): Use @var{} on parameter names.
47440 * manual/terminal.texi (stty): Use @var{} on parameter names.
47441 * manual/users.texi (getutmp): Use @var{} on parameter names.
47442 (getutmpx): Likewise.
47443
5b23062f
JM
474442012-02-17 Joseph Myers <joseph@codesourcery.com>
47445
47446 [BZ #6884]
47447 * manual/stdio.texi (fopen): Fix typos in description of
47448 ",ccs=STRING".
47449
8dee4833
AJ
474502012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47451
47452 [BZ #4026]
47453 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47454 get clock_id definition.
47455
9078ce93
TS
474562012-02-17 Thomas Schwinge <thomas@schwinge.name>
47457
47458 [BZ #4822]
47459 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47460 (madvise): Cast every argument to void on its own.
47461
3835c55f
JM
474622012-02-17 Joseph Myers <joseph@codesourcery.com>
47463
47464 [BZ #9902]
47465 * manual/startup.texi (Exit Status): Fix typo.
47466
35c47e37
JM
474672012-02-17 Joseph Myers <joseph@codesourcery.com>
47468
47469 [BZ #10140]
47470 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47471 * manual/examples/argp-ex2.c: Likewise.
47472 * manual/examples/argp-ex3.c: Likewise.
47473
e3b69ca7
RH
474742012-02-16 Richard Henderson <rth@redhat.com>
47475
47476 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47477 * sysdeps/s390/s390-32/initfini.c: Remove.
47478 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47479 * sysdeps/s390/s390-64/initfini.c: Remove.
47480
df83af67
KK
474812012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47482
47483 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47484 compiler output for sysdeps/generic/initfini.c.
47485 * sysdeps/sh/elf/initfini.c: Remove file.
47486
f63f3380
DM
474872012-02-16 David S. Miller <davem@davemloft.net>
47488
fb59b3a4
DM
47489 [BZ #11494]
47490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47491
f63f3380
DM
47492 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47493 * sysdeps/sparc/crti.S: New file.
47494 * sysdeps/sparc/crtn.S: New file.
47495 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47496 * sysdeps/sparc/sparc64/Makefile: Likewise.
47497
df6a4a4a
MF
474982012-02-15 Mike Frysinger <vapier@gentoo.org>
47499
6dd8f3dc 47500 [BZ #3335]
df6a4a4a
MF
47501 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47502
1cac7236
RM
475032012-02-15 Roland McGrath <roland@hack.frob.com>
47504
d2c736f8
RM
47505 [BZ #4822]
47506 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47507
1cac7236
RM
47508 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47509 (write, read, close): Likewise.
47510 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47511
8e475601
JM
475122012-02-15 Joseph Myers <joseph@codesourcery.com>
47513
47514 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47515 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47516 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47517 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47518 <bits/signalfd.h>.
47519 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47521 bits/signalfd.h.
47522
ed656b40
MP
475232012-02-14 Marek Polacek <polacek@redhat.com>
47524
47525 * sysdeps/x86_64/crti.S: New file.
47526 * sysdeps/x86_64/crtn.S: New file.
47527 * sysdeps/x86_64/elf/initfini.c: Remove file.
47528
2a979d3a
JM
475292012-02-13 Joseph Myers <joseph@codesourcery.com>
47530
47531 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47532 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47533 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47534 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47535 <bits/inotify.h>.
47536 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47538 bits/inotify.h.
47539
2a418ac3
JM
475402012-02-13 Joseph Myers <joseph@codesourcery.com>
47541
47542 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47543 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47544 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47545 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47546 <bits/eventfd.h>.
47547 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47549 bits/eventfd.h.
47550
fb779be7
TS
475512012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47552
e19e83c5
RM
47553 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47554 __feraiseexcept instead of feraiseexcept.
7c35ffed 47555
fb779be7
TS
47556 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47557 nanosleep invocations.
47558 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47559 strings, and add error checking for a nanosleep invocations.
47560
59ba27a6
PE
475612012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47562
47563 Replace FSF snail mail address with URLs, as per GNU coding standards.
47564 Most of the snail mail addresses were wrong anyway, and omitting
47565 them makes the source code easier to maintain. Almost all of the
47566 changes are to license notices and to locale LC_IDENTIFICATION
47567 addresses, except for this one:
47568 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47569 not its snail mail address.
47570
57b957eb
RH
475712012-02-09 Richard Henderson <rth@twiddle.net>
47572
af850b1c
RH
47573 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47574 of kernel-features.h.
47575
57b957eb
RH
47576 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47577
6b73181a
MP
475782012-02-08 Marek Polacek <polacek@redhat.com>
47579
47580 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47581 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47582 * sysdeps/gnu/_G_config.h: Likewise.
47583 * sysdeps/generic/_G_config.h: Likewise.
47584
26ecc33a
AS
475852012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47586
6c6dbc63
AS
47587 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47588 tests.
47589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47590
e216c012
AS
47591 * sysdeps/powerpc/powerpc32/crti.S: New file.
47592 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47593 * sysdeps/powerpc/powerpc64/crti.S: New file.
47594 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47595
26ecc33a
AS
47596 * Makeconfig (have-initfini): Don't set.
47597 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47598 * configure.in (nopic_initfini): Don't substitute.
47599 * config.h.in (HAVE_INITFINI): Don't #undef.
47600 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47601 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47602
3add8e13
JM
476032012-02-08 Joseph Myers <joseph@codesourcery.com>
47604
47605 Support crti.S and crtn.S provided directly by architectures.
47606 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47607 [crti.S in sysdirs] (omit-deps): Likewise.
47608 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47609 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47610 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47611 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47612 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47613 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47614 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47615 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47616 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47617 compiler output for sysdeps/generic/initfini.c.
47618 * sysdeps/i386/elf/Makefile: Remove file.
47619 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47620
a22f12b4
MP
476212012-02-07 Marek Polacek <polacek@redhat.com>
47622
47623 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47624 * sysdeps/gnu/_G_config.h: Likewise.
47625 * sysdeps/mach/hurd/_G_config.h: Likewise.
47626
148cf100
MP
476272012-02-07 Marek Polacek <polacek@redhat.com>
47628
47629 * math/Makefile (tests): Add tst-CMPLX2.
47630 * math/tst-CMPLX2.c: New file.
47631
cfdc0dd7
AS
476322012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47633
84ba42c4
AS
47634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47635
cfdc0dd7
AS
47636 * math/libm-test.inc (jn_test): Add missing L suffix.
47637
622c86f4
MP
476382012-02-06 Marek Polacek <polacek@redhat.com>
47639
47640 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47641 * sysdeps/i386/fpu/e_powf.S: Likewise.
47642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47643 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47645 * sysdeps/i386/fpu/e_pow.S: Likewise.
47646 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47647 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47648 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47649 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47650 * sysdeps/i386/fpu/e_log2.S: Likewise.
47651 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47652 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47653 * sysdeps/i386/fpu/e_powl.S: Likewise.
47654 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47655 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47656 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47657 * sysdeps/i386/fpu/e_logl.S: Likewise.
47658 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47659 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47660 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47661 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47662 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47664 * sysdeps/i386/fpu/e_log.S: Likewise.
47665 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47667 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47668 * sysdeps/i386/fpu/e_logf.S: Likewise.
47669 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47670 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47671 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47672 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47673 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47674 * sysdeps/i386/fpu/e_log10.S: Likewise.
47675 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47676 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47677 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47678 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47679 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47680 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47681 * sysdeps/i386/asm-syntax.h: Likewise.
47682 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47684 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47685 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47686 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47691 * sysdeps/powerpc/sysdep.h: Likewise.
47692 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47693 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47694
d4a54ac6
JM
476952012-02-06 Joseph Myers <joseph@codesourcery.com>
47696
47697 [BZ #411]
47698 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47699
314054ea
JM
477002012-02-06 Joseph Myers <joseph@codesourcery.com>
47701
47702 * sysdeps/i386/sysdep.h: Include <features.h>.
47703 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47704 version.
47705
d8e0ca50
JM
477062012-02-05 Joseph Myers <joseph@codesourcery.com>
47707
47708 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47709 Define.
47710 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47711 LOAD_PIC_REG_STR.
47712
b1da7dd9
JM
477132012-02-03 Joseph Myers <joseph@codesourcery.com>
47714
47715 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47716 (SETUP_PIC_REG): Use GET_PC_THUNK.
47717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47718 macro.
47719
9a1d9254
JM
477202012-02-03 Joseph Myers <joseph@codesourcery.com>
47721
47722 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47723 for non-PIC compilation.
47724 (SETUP_PIC_REG): Add .p2align directive.
47725 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47726 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47727 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47728 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47729 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47730 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47731 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47733 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47734 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47735 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47736 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47737 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47738 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47739 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47740 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47741 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47742 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47743 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47744 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47747 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47748 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47753 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47754 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47755 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47756 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47757 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47758 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47759 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47760 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47761 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47762 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47763 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47764 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47765 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47766
65dc3b75
JM
477672012-02-03 Joseph Myers <joseph@codesourcery.com>
47768
47769 * math/tst-CMPLX.c: Include <stdio.h>.
47770
d55bf177
JM
477712012-01-31 Joseph Myers <joseph@codesourcery.com>
47772
47773 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47774 float.
47775 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47776 * sysdeps/sparc/bits/mathdef.h: Likewise.
47777
69db4f8f
MP
477782012-01-31 Marek Polacek <polacek@redhat.com>
47779
47780 * libio/libio.h: Don't define _PARAMS.
47781 * locale/programs/config.h: Don't define PARAMS.
47782 * stdlib/strtol_l.c: Likewise.
47783 (__strtol_l): Remove PARAMS from the prototype.
47784
41b81892
UD
477852012-01-31 Ulrich Drepper <drepper@gmail.com>
47786
3b49edc0
UD
47787 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47788 names. Just use the correct names. Remove unnecessary wrapper
47789 functions.
47790 * malloc/arena.c: Likewise.
47791 * malloc/hooks.c: Likewise.
47792
41b81892
UD
47793 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47794 ARENA_TEST says not to. Simplify test for creation of a new arena.
47795 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47796
27a25b6e
UD
477972012-01-30 Ulrich Drepper <drepper@gmail.com>
47798
47799 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47800 into tail calls.
47801 (update_get_addr): New function.
47802 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47803 GET_ADDR_MODULE parameter.
47804
c8a89e7d
JM
478052012-01-30 Joseph Myers <joseph@codesourcery.com>
47806
47807 * crypt/cert.c: Remove __STDC__ conditionals.
47808 * crypt/crypt-entry.c: Likewise.
47809 * crypt/crypt_util.c: Likewise.
47810 * libio/filedoalloc.c: Likewise.
47811 * libio/fileops.c: Likewise.
47812 * libio/genops.c: Likewise.
47813 * libio/iofclose.c: Likewise.
47814 * libio/iofdopen.c: Likewise.
47815 * libio/iofopen.c: Likewise.
47816 * libio/iofopen64.c: Likewise.
47817 * libio/iogetdelim.c: Likewise.
47818 * libio/iopopen.c: Likewise.
47819 * libio/obprintf.c: Likewise.
47820 * libio/oldfileops.c: Likewise.
47821 * libio/oldiofclose.c: Likewise.
47822 * libio/oldiofdopen.c: Likewise.
47823 * libio/oldiofopen.c: Likewise.
47824 * libio/oldiopopen.c: Likewise.
47825 * libio/wfiledoalloc.c: Likewise.
47826 * libio/wgenops.c: Likewise.
47827 * locale/programs/xmalloc.c: Likewise.
47828 * misc/syslog.c: Likewise.
47829 * stdio-common/xbug.c: Likewise.
47830 * string/memchr.c: Likewise.
47831 * string/memcmp.c: Likewise.
47832 * string/memrchr.c: Likewise.
47833 * string/rawmemchr.c: Likewise.
47834 * sysdeps/posix/getcwd.c: Likewise.
47835 * time/strftime_l.c: Likewise.
47836
3b100462
JM
478372012-01-30 Joseph Myers <joseph@codesourcery.com>
47838
47839 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
47840 * config.make.in (config-cflags-sse2avx): Define.
47841 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47842 Fix typo.
47843
607998af
CM
478442012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47845
47846 * scripts/config.guess: Update from upstream config git repository.
47847 * scripts/config.sub: Likewise.
47848
3601428f
CM
478492012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47850
3ac8b282
CM
47851 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47852 (EM_NUM): Update.
47853 (R_TILEPRO_*, R_TILEGX_*): New macros.
47854
e034841e
CM
47855 * scripts/firstversions.awk: Fix bug in version range handling.
47856
540d7568
CM
47857 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47858
3601428f
CM
47859 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47860
463de862
CM
47861 * include/sys/epoll.h: New file.
47862 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47863 libc_hidden_def.
47864
73139a76
UD
478652012-01-28 Ulrich Drepper <drepper@gmail.com>
47866
96bc5b45
UD
47867 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47868 Avoid unnecessary __WORDSIZE == 64 test.
47869 (fmaxf): Use VEX format if possible.
47870 (fmax): Likewise.
47871 (fminf): Likewise.
47872 (fmin): Likewise.
47873
56f6f6a2
UD
47874 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47875 * math/math_private.h: Remove libc_fegetround* and
47876 libc_fesetround*.
47877 * sysdeps/i386/configure.in: Check for -msse2avx.
47878 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47879 also if SSE2AVX is defined.
47880 Remove libc_fegetround* and libc_fesetround*.
47881 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47882 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47883 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47884 of HAS_YMM_USABLE.
47885 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47886 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47888 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47890
73139a76
UD
47891 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47892
d73f93a4
AZ
478932012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47894
47895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47896 size is not set.
47897 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47898
6ee65ed6
UD
478992012-01-27 Ulrich Drepper <drepper@gmail.com>
47900
47901 [BZ #13618]
47902 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47903 relocation.
47904 * Makeconfig (libm): Define.
47905 * elf/Makefile: Add rules to build and run tst-relsort1.
47906 * elf/tst-relsort1.c: New file.
47907 * elf/tst-relsort1mod1.c: New file.
47908 * elf/tst-relsort1mod2.c: New file.
47909
8db21882
JM
479102012-01-27 Joseph Myers <joseph@codesourcery.com>
47911
47912 * math/s_ldexp.c: Remove __STDC__ conditionals.
47913 * math/s_ldexpf.c: Likewise.
47914 * math/s_ldexpl.c: Likewise.
47915 * math/s_nextafter.c: Likewise.
47916 * math/s_nexttowardf.c: Likewise.
47917 * math/s_significand.c: Likewise.
47918 * math/s_significandf.c: Likewise.
47919 * math/s_significandl.c: Likewise.
47920 * math/w_jnl.c: Likewise.
47921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47927 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47928 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47929 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47930 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47931 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47932 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47933 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47934 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47935 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47936 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47937 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47940 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47941 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47942 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47943 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47945 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47946 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47947 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47948 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47949 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47950 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47952 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47953 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47954 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47956 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47957 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47958 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47959 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47960 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47961 * sysdeps/ieee754/k_standard.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48023 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48028 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48029 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48030 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48031 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48032 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48033 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48035 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48036 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48037 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48038 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48039 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48040 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48041 * sysdeps/ieee754/s_matherr.c: Likewise.
48042 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48043 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48044 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48046
965a54a4
JM
480472012-01-26 Joseph Myers <joseph@codesourcery.com>
48048
48049 * crypt/md5.h: Remove __STDC__ conditionals.
48050 * libio/libioP.h: Likewise.
48051 * locale/programs/config.h: Likewise.
48052 * sysdeps/generic/sysdep.h: Likewise.
48053 * sysdeps/i386/asm-syntax.h: Likewise.
48054 * sysdeps/s390/asm-syntax.h: Likewise.
48055 * sysdeps/unix/sysdep.h: Likewise.
48056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48058
7071ad79
JM
480592012-01-26 Joseph Myers <joseph@codesourcery.com>
48060
48061 * libio/libio.h: Remove __STDC__ conditionals.
48062 * malloc/obstack.h: Likewise.
48063 * math/complex.h: Likewise.
48064 * math/math.h: Likewise.
48065 * sysdeps/generic/_G_config.h: Likewise.
48066 * sysdeps/gnu/_G_config.h: Likewise.
48067 * sysdeps/mach/hurd/_G_config.h: Likewise.
48068 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48070 * sysdeps/sparc/bits/mathdef.h: Likewise.
48071
afc5ed09
UD
480722012-01-26 Ulrich Drepper <drepper@gmail.com>
48073
48074 [BZ #13583]
48075 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48076 Clean up HAS_* macros.
afc5ed09 48077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48078 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48079 possible.
48080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48081 HAS_AVX.
48082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48087
bdb6de1d
JM
480882012-01-25 Joseph Myers <joseph@codesourcery.com>
48089
48090 * elf/tst-unique3.cc (gets): Remove declaration.
48091 * elf/tst-unique3lib.cc (gets): Likewise.
48092 * elf/tst-unique3lib2.cc (gets): Likewise.
48093 * elf/tst-unique4.cc (gets): Likewise.
48094
b15549e6
UD
480952012-01-24 Ulrich Drepper <drepper@gmail.com>
48096
48097 * include/stdio.h: Add C++ protection. Add gets declarations and
48098 definitions.
48099 * debug/tst-chk1.c: Don't declare gets here.
48100 * stdio-common/tst-gets.c: Likewise.
48101
a037381f
JM
481022012-01-24 Joseph Myers <joseph@codesourcery.com>
48103
48104 * posix/glob: Remove directory.
48105
f1d4aa75
JM
481062012-01-24 Joseph Myers <joseph@codesourcery.com>
48107
48108 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48109
81c0c964
PT
481102012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48111
48112 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48113 of the non-standard EPFNOSUPPORT.
48114
0ea698ae
ST
481152011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48116
48117 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48118 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48119 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48120
d220b117
UD
481212012-01-21 Ulrich Drepper <drepper@gmail.com>
48122
48123 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48124
3e1aa84e
UD
481252012-01-20 Ulrich Drepper <drepper@gmail.com>
48126
48127 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48128 transient errors.
48129 * nscd/grpcache.c (cache_addgr): Likewise.
48130 * nscd/hstcache.c (cache_addhst): Likewise.
48131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48132 * nscd/pwdcache.c (cache_addpw): Likewise.
48133 * nscd/servicescache.c (cache_addserv): Likewise.
48134
400aa020
UD
481352012-01-16 Ulrich Drepper <drepper@gmail.com>
48136
d77e7869
UD
48137 * malloc/malloc.c: Various cleanups.
48138 * malloc/hooks.c: Likewise.
48139
400aa020
UD
48140 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48141 * stdlib/bug-fmtmsg1.c: New file.
48142
48143 * stdlib/fmtmsg.c (init): Add missing unlock.
48144 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48145
e0a309cf
MP
481462012-01-12 Marek Polacek <polacek@redhat.com>
48147
48148 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48149 and _GNU_SOURCE.
48150
929d11c7
WS
481512012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48152
48153 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48154 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48155 macro to ensure uniqueness of label name.
48156 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48157 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48158
41d0e869
UD
481592012-01-11 Ulrich Drepper <drepper@gmail.com>
48160
0cc5ed3b
UD
48161 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48162
41d0e869
UD
48163 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48164 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48165 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48167
a47a831a
UD
481682012-01-10 Ulrich Drepper <drepper@gmail.com>
48169
daa891c0
UD
48170 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48171
48172 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48173 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48174 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48175
e58ef0f2
UD
48176 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48177
a47a831a 48178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48179 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48182
48183 * math/bits/math-finite.h: Add ldexp support.
48184
a0bfc9c7
MP
481852012-01-10 Marek Polacek <polacek@redhat.com>
48186
48187 * locale/programs/localedef.h (show_archive_content): Add noreturn
48188 attribute.
48189
d6e97a1d
UD
481902012-01-09 Ulrich Drepper <drepper@gmail.com>
48191
48192 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48193
d5835c26
UD
481942012-01-08 Ulrich Drepper <drepper@gmail.com>
48195
e5f484c6
UD
48196 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48197
d5835c26
UD
48198 * io/Makefile (headers): Add bits/poll2.h.
48199
d1f741e9
WS
482002011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48201
48202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48203 typo #include statement.
48204
ec09c1c4
UD
482052012-01-08 Ulrich Drepper <drepper@gmail.com>
48206
48207 * include/sys/cdefs.h: Define __attribute_alloc_size.
48208 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48209 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48210 * elf/pldd.c: Likewise.
48211 * iconv/iconv_charmap.c: Likewise.
48212 * iconv/iconvconfig.c: Likewise.
48213 * iconv/strtab.c: Likewise.
48214 * locale/programs/locale.c: Likewise.
48215 * locale/programs/localedef.h: Likewise.
48216 * locale/programs/simple-hash.c: Likewise.
48217 * nscd/nscd.h: Likewise.
48218 * nss/makedb.c: Likewise.
48219 * sysdeps/generic/ldconfig.h: Likewise.
48220 * locale/programs/localedef.c: Remove xmalloc prototype.
48221 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48222
20b38e03
PP
482232012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48224
48225 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48226 appropriate.
48227
a0da5fe1
UD
482282012-01-08 Ulrich Drepper <drepper@gmail.com>
48229
1d5a644a 48230 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48231 * math/tst-CMPLX.c: New file.
1d5a644a 48232
8784a6db
UD
48233 * math/complex.h (CMPLXL): Fix typo.
48234
d9a216c0
UD
48235 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48236 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48237 GLIBC_2.16.
48238 * debug/tst-chk1.c: Add poll and ppoll tests.
48239 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48240 * include/sys/poll.h: Add hidden proto for ppoll.
48241 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48242 * sysdeps/mach/hurd/ppoll.c: Likewise.
48243 * io/ppoll.c: Likewise.
48244 * debug/poll_chk.c: New file.
48245 * debug/ppoll_chk.c: New file.
48246 * include/bits/poll2.h: New file.
48247 * io/bits/poll2.h: New file.
48248
ac097f5c
UD
48249 [BZ #1350]
48250 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48251
2119dcfa
UD
48252 * configure.in: static is always set to yes. Remove.
48253 * config.make.in: Don't set build-static.
48254 * Makeconfig: Remove use of build-static.
48255 * dlfcn/Makefile: Likewise.
48256 * elf/Makefile: Likewise.
48257 * math/Makefile: Likewise.
48258 * misc/Makefile: Likewise.
48259 * nptl/Makefile: Likewise.
48260 * sysdeps/mach/hurd/Makefile: Likewise.
48261
121766a9
UD
48262 * configure.in: PWD_P is not used anymore.
48263 * config.make.in: Remove PWD_P entry.
48264
51a1d39c 48265 * configure.in: Remove last remnants of RANLIB.
8720d066 48266 No need to check for signed size_t anymore.
215f4bdc
UD
48267 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48268 and IA-64.
3857022a 48269 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48270 * aclocal.m4: Likewise.
48271
d3ed7225
UD
48272 * wcsmbs/mbrtoc16.c: Implement using towc function.
48273 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48274 * wcsmbs/wcsmbsload.c: Likewise.
48275 * iconv/gconv_simple.c: Likewise.
48276 * iconv/gconv_int.h: Likewise.
48277 * iconv/gconv_builtin.h: Likewise.
48278 * iconv/iconv_prog.c: Remove CHAR16 handling.
48279
48280 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48281
48282 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48283
a0da5fe1
UD
48284 * configure.in: Remove --with-elf and --enable-bounded options.
48285 Dont set base_machine for ia64. More non-ELF conditions removed.
48286 Remove testing and setting of leading underscore information.
48287 * config.make.in (build-bounded): Set to no.
48288 * config.h.in: Remove NO_UNDERSCORES entry.
48289 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48290 them.
48291 * csu/start.c: Remove !NO_UNDERSCORE code.
48292 * locale/localeinfo.h: Likewise.
48293 * sysdeps/generic/machine-gmon.h: Likewise.
48294 * sysdeps/generic/sysdep.h: Likewise.
48295 * sysdeps/i386/sysdep.h: Likewise.
48296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48297 * sysdeps/mach/sysdep.h: Likewise.
48298 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48300 * sysdeps/sh/sysdep.h: Likewise.
48301 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48302 * sysdeps/unix/i386/sysdep.S: Likewise.
48303 * sysdeps/unix/sparc/start.c: Likewise.
48304 * sysdeps/unix/sparc/sysdep.S: Likewise.
48305 * sysdeps/unix/sparc/sysdep.h: Likewise.
48306 * sysdeps/unix/start.c: Likewise.
48307 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48308 * sysdeps/x86_64/sysdep.h: Likewise.
48309
df78418a
UD
483102012-01-07 Ulrich Drepper <drepper@gmail.com>
48311
a784e502
UD
48312 [BZ #13553]
48313 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48314 for non-gcc.
48315 * argp/argp-fmtstream.h: Use const instead __const.
48316 * argp/argp.h: Likewise.
48317 * assert/assert.h: Likewise.
48318 * bits/fenv.h: Likewise.
48319 * bits/sched.h: Likewise.
48320 * bits/sigset.h: Likewise.
48321 * bits/sigthread.h: Likewise.
48322 * catgets/nl_types.h: Likewise.
48323 * conform/data/pthread.h-data: Likewise.
48324 * crypt/crypt-private.h: Likewise.
48325 * crypt/crypt.h: Likewise.
48326 * crypt/crypt_util.c: Likewise.
48327 * ctype/ctype.h: Likewise.
48328 * debug/execinfo.h: Likewise.
48329 * debug/mbsnrtowcs_chk.c: Likewise.
48330 * debug/mbsrtowcs_chk.c: Likewise.
48331 * debug/wcsnrtombs_chk.c: Likewise.
48332 * debug/wcsrtombs_chk.c: Likewise.
48333 * debug/wcstombs_chk.c: Likewise.
48334 * dirent/dirent.h: Likewise.
48335 * dlfcn/dlfcn.h: Likewise.
48336 * elf/neededtest4.c: Likewise.
48337 * grp/grp.h: Likewise.
48338 * gshadow/gshadow.h: Likewise.
48339 * iconv/gconv.h: Likewise.
48340 * iconv/gconv_int.h: Likewise.
48341 * iconv/gconv_simple.c: Likewise.
48342 * iconv/iconv.h: Likewise.
48343 * iconv/loop.c: Likewise.
48344 * iconv/skeleton.c: Likewise.
48345 * include/aio.h: Likewise.
48346 * include/aliases.h: Likewise.
48347 * include/argz.h: Likewise.
48348 * include/arpa/inet.h: Likewise.
48349 * include/assert.h: Likewise.
48350 * include/dirent.h: Likewise.
48351 * include/dlfcn.h: Likewise.
48352 * include/execinfo.h: Likewise.
48353 * include/fcntl.h: Likewise.
48354 * include/fenv.h: Likewise.
48355 * include/glob.h: Likewise.
48356 * include/grp.h: Likewise.
48357 * include/libintl.h: Likewise.
48358 * include/mntent.h: Likewise.
48359 * include/netdb.h: Likewise.
48360 * include/pwd.h: Likewise.
48361 * include/rpc/netdb.h: Likewise.
48362 * include/sched.h: Likewise.
48363 * include/search.h: Likewise.
48364 * include/shadow.h: Likewise.
48365 * include/signal.h: Likewise.
48366 * include/stdio.h: Likewise.
48367 * include/stdlib.h: Likewise.
48368 * include/string.h: Likewise.
48369 * include/sys/socket.h: Likewise.
48370 * include/sys/stat.h: Likewise.
48371 * include/sys/statfs.h: Likewise.
48372 * include/sys/statvfs.h: Likewise.
48373 * include/sys/syslog.h: Likewise.
48374 * include/sys/time.h: Likewise.
48375 * include/sys/uio.h: Likewise.
48376 * include/time.h: Likewise.
48377 * include/unistd.h: Likewise.
48378 * include/utmp.h: Likewise.
48379 * include/wchar.h: Likewise.
48380 * include/wctype.h: Likewise.
48381 * inet/aliases.h: Likewise.
48382 * inet/arpa/inet.h: Likewise.
48383 * inet/netinet/ether.h: Likewise.
48384 * inet/netinet/in.h: Likewise.
48385 * intl/libintl.h: Likewise.
48386 * io/bits/fcntl2.h: Likewise.
48387 * io/fcntl.h: Likewise.
48388 * io/ftw.h: Likewise.
48389 * io/sys/poll.h: Likewise.
48390 * io/sys/stat.h: Likewise.
48391 * io/sys/statfs.h: Likewise.
48392 * io/sys/statvfs.h: Likewise.
48393 * io/utime.h: Likewise.
48394 * libio/bits/stdio.h: Likewise.
48395 * libio/bits/stdio2.h: Likewise.
48396 * libio/libio.h: Likewise.
48397 * libio/libioP.h: Likewise.
48398 * libio/stdio.h: Likewise.
48399 * locale/lc-ctype.c: Likewise.
48400 * locale/locale.h: Likewise.
48401 * login/utmp.h: Likewise.
48402 * malloc/arena.c: Likewise.
48403 * malloc/malloc.c: Likewise.
48404 * malloc/malloc.h: Likewise.
48405 * malloc/mcheck.c: Likewise.
48406 * malloc/mtrace.c: Likewise.
48407 * math/bits/mathcalls.h: Likewise.
48408 * math/fenv.h: Likewise.
48409 * math/math_private.h: Likewise.
48410 * misc/bits/error.h: Likewise.
48411 * misc/bits/syslog.h: Likewise.
48412 * misc/err.h: Likewise.
48413 * misc/error.h: Likewise.
48414 * misc/fstab.h: Likewise.
48415 * misc/mntent.h: Likewise.
48416 * misc/regexp.h: Likewise.
48417 * misc/search.h: Likewise.
48418 * misc/sgtty.h: Likewise.
48419 * misc/sys/mman.h: Likewise.
48420 * misc/sys/syslog.h: Likewise.
48421 * misc/sys/uio.h: Likewise.
48422 * misc/sys/xattr.h: Likewise.
48423 * misc/ttyent.h: Likewise.
48424 * nis/rpcsvc/ypclnt.h: Likewise.
48425 * nss/nss.h: Likewise.
48426 * posix/bits/unistd.h: Likewise.
48427 * posix/fnmatch.h: Likewise.
48428 * posix/glob.h: Likewise.
48429 * posix/sched.h: Likewise.
48430 * posix/spawn.h: Likewise.
48431 * posix/sys/wait.h: Likewise.
48432 * posix/unistd.h: Likewise.
48433 * posix/wordexp.h: Likewise.
48434 * pwd/pwd.h: Likewise.
48435 * resolv/netdb.h: Likewise.
48436 * resource/sys/resource.h: Likewise.
48437 * rt/aio.h: Likewise.
48438 * rt/bits/mqueue2.h: Likewise.
48439 * rt/mqueue.h: Likewise.
48440 * shadow/shadow.h: Likewise.
48441 * signal/signal.h: Likewise.
48442 * socket/send.c: Likewise.
48443 * socket/sendto.c: Likewise.
48444 * socket/sys/socket.h: Likewise.
48445 * stdio-common/printf.h: Likewise.
48446 * stdlib/bits/stdlib.h: Likewise.
48447 * stdlib/fmtmsg.h: Likewise.
48448 * stdlib/monetary.h: Likewise.
48449 * stdlib/stdlib.h: Likewise.
48450 * stdlib/ucontext.h: Likewise.
48451 * streams/stropts.h: Likewise.
48452 * string/argz.h: Likewise.
48453 * string/bits/string2.h: Likewise.
48454 * string/string.h: Likewise.
48455 * string/strings.h: Likewise.
48456 * sunrpc/rpc/auth.h: Likewise.
48457 * sunrpc/rpc/auth_des.h: Likewise.
48458 * sunrpc/rpc/clnt.h: Likewise.
48459 * sunrpc/rpc/netdb.h: Likewise.
48460 * sunrpc/rpc/pmap_clnt.h: Likewise.
48461 * sunrpc/rpc/xdr.h: Likewise.
48462 * sysdeps/generic/inttypes.h: Likewise.
48463 * sysdeps/generic/net/if.h: Likewise.
48464 * sysdeps/generic/sys/swap.h: Likewise.
48465 * sysdeps/gnu/net/if.h: Likewise.
48466 * sysdeps/gnu/utmpx.h: Likewise.
48467 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48468 * sysdeps/i386/i486/bits/string.h: Likewise.
48469 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48470 * sysdeps/s390/bits/string.h: Likewise.
48471 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48472 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48473 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48474 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48475 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48476 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48477 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48478 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48479 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48480 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48481 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48482 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48483 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48484 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48485 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48486 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48487 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48491 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48493 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48494 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48495 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48496 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48497 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48499 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48501 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48502 * sysvipc/sys/ipc.h: Likewise.
48503 * sysvipc/sys/msg.h: Likewise.
48504 * sysvipc/sys/sem.h: Likewise.
48505 * sysvipc/sys/shm.h: Likewise.
48506 * termios/termios.h: Likewise.
48507 * time/sys/time.h: Likewise.
48508 * time/time.h: Likewise.
48509 * wcsmbs/bits/wchar2.h: Likewise.
48510 * wcsmbs/uchar.h: Likewise.
48511 * wcsmbs/wchar.h: Likewise.
48512 * wctype/wctype.h: Likewise.
48513
0269750c
UD
48514 [BZ #13551]
48515 * Makeconfig: Remove all but ELF support including AIX support.
48516 * Makerules: Likewise.
48517 * config.h.in: Likewise.
48518 * config.make.in: Likewise.
48519 * configure: Likewise.
48520 * configure.in: Likewise.
48521 * csu/Makefile: Likewise.
48522 * csu/version.c: Likewise.
48523 * debug/Makefile: Likewise.
48524 * dlfcn/Makefile: Likewise.
48525 * elf/Makefile: Likewise.
48526 * extra-lib.mk: Likewise.
48527 * iconv/Makefile: Likewise.
48528 * include/libc-symbols.h: Likewise.
48529 * include/shlib-compat.h: Likewise.
48530 * resolv/Makefile: Likewise.
48531 * resolv/res_libc.c: Likewise.
48532 * rt/Makefile: Likewise.
48533 * sysdeps/i386/asm-syntax.h: Likewise.
48534 * sysdeps/i386/sysdep.h: Likewise.
48535 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48536 * sysdeps/mach/sysdep.h: Likewise.
48537 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48538 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48539 * sysdeps/s390/asm-syntax.h: Likewise.
48540 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48542 * sysdeps/sh/sysdep.h: Likewise.
48543 * sysdeps/unix/sparc/sysdep.h: Likewise.
48544 * sysdeps/wordsize-32/divdi3.c: Likewise.
48545 * sysdeps/x86_64/sysdep.h: Likewise.
48546
00bbd29b
UD
48547 * argp/Versions: Remove _argp_unlock_xxx.
48548
48549 [BZ #13559]
48550 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48551 * abilist/libBrokenLocale.abilist: Likewise.
48552 * abilist/libanl.abilist: Likewise.
48553 * abilist/libc.abilist: Likewise.
48554 * abilist/libcrypt.abilist: Likewise.
48555 * abilist/libdl.abilist: Likewise.
48556 * abilist/libm.abilist: Likewise.
48557 * abilist/libnsl.abilist: Likewise.
48558 * abilist/libpthread.abilist: Likewise.
48559 * abilist/libresolv.abilist: Likewise.
48560 * abilist/librt.abilist: Likewise.
48561 * abilist/libthread_db.abilist: Likewise.
48562 * abilist/libutil.abilist: Likewise.
48563 * abilist/libnss_db.abilist: New file.
48564
48565 * scripts/abilist.awk: Add support for indirect functions.
48566
a2693a0e
UD
48567 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48568
3f05895f
UD
48569 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48570
ecb6fb48
UD
48571 * shlib-versions: Remove entries for ports architectures.
48572
664f8cb9
UD
48573 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48574 files in ports.
48575 * elf/stackguard-macros.h: Remove support for IA-64.
48576 * elf/tst-auditmod1.c: Likewise.
48577 * sysdeps/generic/ldsodefs.h: Likewise.
48578
7ae81d88
UD
48579 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48580 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48581 configure files.
48582
bdeba135
UD
48583 [BZ #13552]
48584 * configure.in: Remove --enable-omitfp support.
48585 * FAQ.in: Adjust.
48586 * config.make.in: Likewise.
48587 * Makeconfig: Likewise.
48588 * manual/install.texi: Likewise.
48589
d75a0a62
UD
48590 In case anyone cares, the IA-64 architecture could move to ports.
48591 * sysdeps/ia64/*: Removed.
48592 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 48593 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 48594
dcc9756b
UD
48595 [BZ #13555]
48596 * configure.in: Remove entries for unsupported architectures.
48597
d3761ebc 48598 [BZ #13533]
9954432e
UD
48599 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48600 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48601 routines.
48602 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48603 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48604 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48605 fall back to using wcrtomb.
48606 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48607 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48608 renaming.
48609 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48610 * wcsmbs/tst-c16c32-1.c: New file.
48611
48612 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48613 local variable.
48614
c3a87236
UD
48615 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48616
28926a1b
UD
48617 * elf/tst-unique3.cc: Add explicit declaration of gets.
48618 * elf/tst-unique3lib.cc: Likewise.
48619 * elf/tst-unique3lib2.cc: Likewise.
48620 * elf/tst-unique4.cc: Likewise.
48621
df78418a
UD
48622 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48623
8ecd6b2a
JM
486242012-01-06 Joseph Myers <joseph@codesourcery.com>
48625
48626 [BZ #13566]
48627 * assert/assert.h (static_assert): Don't define for C++.
48628 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48629 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48630
9f115170
UD
486312012-01-03 Ulrich Drepper <drepper@gmail.com>
48632
5e0d0300
UD
48633 * iconv/loop.c (single loop): Fix assertion in storing of
48634 remaining bytes.
48635
9f115170
UD
48636 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48637
81fb02b0
UD
486382012-01-01 Ulrich Drepper <drepper@gmail.com>
48639
48640 * posix/getconf.c: Update copyright year.
48641 * nss/getent.c: Likewise.
a316c1f6 48642 * nss/makedb.c: Likewise.
81fb02b0
UD
48643 * iconv/iconvconfig.c: Likewise.
48644 * iconv/iconv_prog.c: Likewise.
48645 * elf/ldconfig.c: Likewise.
a316c1f6
UD
48646 * elf/pldd.c: Likewise.
48647 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
48648 * catgets/gencat.c: Likewise.
48649 * csu/version.c: Likewise.
48650 * elf/ldd.bash.in: Likewise.
48651 * elf/sprof.c (print_version): Likewise.
48652 * locale/programs/locale.c: Likewise.
48653 * locale/programs/localedef.c: Likewise.
a316c1f6 48654 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
48655 * nscd/nscd.c (print_version): Likewise.
48656 * debug/xtrace.sh: Likewise.
48657 * malloc/memusage.sh: Likewise.
48658 * malloc/mtrace.pl: Likewise.
48659 * debug/catchsegv.sh: Likewise.
48660
2ba92745
JJ
486612011-12-30 Jakub Jelinek <jakub@redhat.com>
48662
48663 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48664 pure attribute.
48665
dadebdae
UD
486662011-12-24 Ulrich Drepper <drepper@gmail.com>
48667
d3761ebc 48668 [BZ #13533]
db6af3eb
UD
48669 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48670 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48671 transformations.
48672 * iconv/gconv_int.h: Likewise.
48673 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48674 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48675 from libc for GLIBC_2.16.
48676 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48677 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48678 * wcsmbs/uchar.h: Really define mbstate_t.
48679 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48680 * wcsmbs/c16rtomb.c: New file.
48681 * wcsmbs/mbrtoc16.c: New file.
48682 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48683 for C/POSIX locale.
48684 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48685 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48686
dadebdae
UD
48687 * wcsmbs/wchar.h: Add missing __restrict.
48688
67371b56
UD
486892011-12-23 Ulrich Drepper <drepper@gmail.com>
48690
74033a25
UD
48691 [BZ #13532]
48692 * time/Makefile (routines): Add timespec_get.
48693 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48694 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48695 timespec for ISO C11.
48696 * time/timespec_get.c: New file.
48697 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48698 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48699
380d7e87
UD
48700 [BZ #13531]
48701 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48702 * stdlib/stdlib.h: Declare aligned_alloc.
48703 * Versions.def: Add GLIBC_2.16 for libc.
48704 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48705
4e9e7a35
UD
48706 [BZ 13527]
48707 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48708 ISO C11.
48709
380d7e87 48710 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
48711 code.
48712
03a71829
UD
48713 [BZ #13528]
48714 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48715
839e283e
UD
48716 [BZ #13529]
48717 * assert/assert.h (static_assert): Define.
48718
ce5294e2 48719 * version.h: Update for 2.16 development version.
90fa7312 48720
8d44e150 48721 [BZ #13526]
d7809905
UD
48722 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48723 _ISOC11_SOURCE.
48724
c0da14cd
UD
48725 * version.h (RELEASE): Bump for 2.15 release.
48726 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48727
530a3249
MP
48728 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48729 Patch by Marek Polacek <mpolacek@redhat.com>.
48730
67371b56
UD
48731 * bits/byteswap.h: Protect long long constants with __extension__.
48732 * sysdeps/i386/bits/byteswap.h: Likewise.
48733 * sysdeps/ia64/bits/byteswap.h: Likewise.
48734 * sysdeps/s390/bits/byteswap.h: Likewise.
48735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48736
15db4de1
LD
487372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48738
48739 [BZ #13540]
bbe315ea
LD
48740 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48741 destination buffer.
15db4de1
LD
48742 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48743
2b2596b1
MP
487442011-12-23 Marek Polacek <polacek@redhat.com>
48745
48746 * elf/dl-addr.c (determine_info): Add inline keyword.
48747 * elf/tst-auditmod4b.c (check_avx): Likewise.
48748 * elf/tst-auditmod6b.c (check_avx): Likewise.
48749 * elf/tst-auditmod6c.c (check_avx): Likewise.
48750 * elf/tst-auditmod7b.c (check_avx): Likewise.
48751
70c6c246
UD
487522011-12-23 Ulrich Drepper <drepper@gmail.com>
48753
48754 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48755 !__SSE_MATH__.
48756
c044cf14
LD
487572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48758
15db4de1 48759 [BZ #13540]
c044cf14
LD
48760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48761 processing for last bytes.
48762
6b13d9d9
BH
487632011-08-06 Bruno Haible <bruno@clisp.org>
48764
d455f537
BH
48765 [BZ #13061]
48766 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48767 U+0385, not to U+1FEE.
48768
6b13d9d9
BH
48769 [BZ #13062]
48770 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48771 entry for U+00A5 U+0301.
48772
db910efd
UD
487732011-12-22 Ulrich Drepper <drepper@gmail.com>
48774
27deeafc
UD
48775 [BZ #13166]
48776 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48777 buffer for the output is too small.
48778
aed9d171
UD
48779 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48780 optimization.
48781
db910efd
UD
48782 [BZ #13185]
48783 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48784 SSE flags if possible.
48785
2bd779ae
LD
487862011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48787
e7f9dac3 48788 [BZ #13540]
2bd779ae
LD
48789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48790 processing for last bytes.
48791
154bfc16
JM
487922011-12-22 Joseph Myers <joseph@codesourcery.com>
48793
48794 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48795 (syscall-list-default-options, syscall-list-default-condition)
48796 (syscall-list-includes): Define.
48797 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48798 list of ABIs and options and #if conditions for each ABI. Do not
48799 handle common syscalls between ABIs specially.
48800 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48801 Remove.
48802 (syscall-list-variants, syscall-list-32bit-options)
48803 (syscall-list-32bit-condition, syscall-list-64bit-options)
48804 (syscall-list-64bit-condition): Define.
48805 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48806 (syscall-list-variants, syscall-list-32bit-options)
48807 (syscall-list-32bit-condition, syscall-list-64bit-options)
48808 (syscall-list-64bit-condition): Define.
48809 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48810 Remove.
48811 (syscall-list-variants, syscall-list-32bit-options)
48812 (syscall-list-32bit-condition, syscall-list-64bit-options)
48813 (syscall-list-64bit-condition): Define.
48814 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48815 Remove.
48816 (syscall-list-variants, syscall-list-32bit-options)
48817 (syscall-list-32bit-condition, syscall-list-64bit-options)
48818 (syscall-list-64bit-condition): Define.
48819
21eaf3a5
UD
488202011-12-22 Ulrich Drepper <drepper@gmail.com>
48821
16c6f992
UD
48822 * locale/iso-639.def: Add brx entry.
48823
41043168
UD
48824 [BZ #13328]
48825 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48826 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48827
21eaf3a5
UD
48828 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48829 __feraiseexcept_renamed.
48830
e3a851a2
UD
488312011-12-21 Ulrich Drepper <drepper@gmail.com>
48832
4920765e
UD
48833 [BZ #13538]
48834 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48835 EPOLLET with unsigned values.
48836 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48838
e3a851a2
UD
48839 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48840 to large cancellation.
48841 * math/s_cacoshf.c: Likewise.
48842 * math/s_cacoshl.c: Likewise.
48843
b27e24b8
RK
488442011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48845
48846 [BZ #13305]
aebefeee 48847 [BZ #12786]
b27e24b8
RK
48848 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48849 * math/s_cacoshf.c: Likewise.
48850 * math/s_cacoshl.c: Likewise.
48851
ee190f67
UD
488522011-12-21 Ulrich Drepper <drepper@gmail.com>
48853
48854 [BZ #13439]
48855 * iconv/gconv.h: Define __GCONV_SWAP.
48856 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48857 * iconvdata/utf-16.c: Likewise.
48858 * iconvdata/utf-32.c: Likewise.
48859
707f25df
AS
488602011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48861
48862 [BZ #13524]
48863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48864 numerator after shifting it by one limb.
48865
d2daaa1e
RÁE
488662011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48867
48868 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48869 under [__USE_EXTERN_INLINES].
48870
a4647e72
UD
488712011-12-17 Ulrich Drepper <drepper@gmail.com>
48872
48873 [BZ #13446]
48874 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48875
f0b264f1
AZ
488762011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48877
48878 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48879 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48880 optimized code.
48881 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48882 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48883 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48884 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48885 for strncasecmp/strncasecmp_l compilation.
48886 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48887 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48888
8ef4f244
MP
488892011-12-08 Marek Polacek <mpolacek@redhat.com>
48890
48891 [BZ #13484]
48892 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48893 of __asm__.
48894
97ac2654
UD
488952011-12-17 Ulrich Drepper <drepper@gmail.com>
48896
48897 [BZ #13506]
48898 * time/tzfile.c (__tzfile_read): Check values from file header.
48899
91d2a845
WS
489002011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48901
48902 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48903 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48904 * powerpc/powerpc32/dl-start.S: Likewise.
48905 * powerpc/powerpc32/elf/start.S: Likewise.
48906 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48907 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48908 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48909 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48910 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48911 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48912 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48913 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48914 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48915 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48916 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48917 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48918 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48919 * powerpc/powerpc32/memset.S: Likewise.
48920 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48921 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48922 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48923 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48924 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48925 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48926 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48927 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48928 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48929 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48930 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48931 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48932 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48933
a1267ba1
AZ
489342011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48935
48936 * math/libm-test.inc: Added more nearbyint tests.
48937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48938 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48941
ad8ac1bd
RL
489422011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48943
48944 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48945 FD_CLOEXEC.
48946
1d3e4b61
UD
489472011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48948
48949 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48950 Add wcscpy-ssse3 wcscpy-c.
48951 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48952 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48953 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48954 * sysdeps/x86_64/wcschr.S: New file.
48955 * sysdeps/x86_64/wcsrchr.S: New file.
48956 * string/test-strcmp.c: Remove checking of wcscmp function for
48957 wrong alignments.
48958 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48959 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48960 wcsrchr-sse2 wcsrchr-c.
48961 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48962 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48963 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48964 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48965 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48966 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48967 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48968 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48969 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48970 * wcsmbc/wcschr.c (WCSCHR): New macro.
48971
5b330a2d
UD
489722011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48973
48974 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48975 * wcsmbs/test-wcsrchr.c: New file.
48976 * string/test-strrchr.c: Add wcsrchr support.
48977 (WIDE): New macro.
48978 * wcsmbs/test-wcscpy.c: New file.
48979 * string/test-strcpy.c: Add wcscpy support.
48980 (WIDE): New macro.
26428b7c 48981
f039c043
UD
489822011-12-10 Ulrich Drepper <drepper@gmail.com>
48983
48984 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48985 the inner loop.
48986
850fb039
AS
489872011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48988
48989 [BZ #13472]
48990 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48991
4efbd5cb
UD
489922011-12-04 Ulrich Drepper <drepper@gmail.com>
48993
52ff5dd0 48994 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 48995 Minor optimizations.
52ff5dd0 48996
4efbd5cb
UD
48997 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48998 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48999 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49000
8a426e12
UD
490012011-12-03 Ulrich Drepper <drepper@gmail.com>
49002
aff2453d
UD
49003 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49004 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49005 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49006 for gcc to avoid warnings.
49007 * inet/Makefile (tests): Add tst-checks.
49008 * inet/tst-checks.c: New file.
49009
49010 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49011 warning.
49012
49013 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49014 __wmemcmp_sse2.
49015
49016 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49017 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49018
8a426e12
UD
49019 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49020
9bea3473
UD
490212011-12-02 Ulrich Drepper <drepper@gmail.com>
49022
3a965496
UD
49023 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49024 problem.
49025
9bea3473
UD
49026 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49027
f101631b
UD
490282011-11-29 Joseph Myers <joseph@codesourcery.com>
49029
49030 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49031 conditional on GCC version.
49032 (__arch_compare_and_exchange_val_8_acq)
49033 (__arch_compare_and_exchange_val_16_acq)
49034 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49035 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49036 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49037
a98275aa
UD
490382011-12-02 Joseph Myers <joseph@codesourcery.com>
49039
49040 * sysdeps/sh/backtrace.c: New file.
49041
d4cc29a2
AS
490422011-12-02 Andreas Schwab <schwab@redhat.com>
49043
49044 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49045 parenthesis.
49046
6257af2d
AS
490472011-12-01 Andreas Schwab <schwab@redhat.com>
49048
49049 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49050 falling back to utime.
49051
b5f44c1a
AS
490522011-11-30 Andreas Schwab <schwab@redhat.com>
49053
49054 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49055 expectations for float.
49056
f3a6cc0a
AS
490572011-11-29 Andreas Schwab <schwab@redhat.com>
49058
49059 * locale/weight.h (findidx): Add parameter len.
49060 * locale/weightwc.h (findidx): Likewise.
49061 * posix/fnmatch_loop.c (FCT): Adjust caller.
49062 * posix/regcomp.c (build_equiv_class): Likewise.
49063 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49064 * posix/regexec.c (check_node_accept_bytes): Likewise.
49065 * string/strcoll_l.c (STRCOLL): Likewise.
49066 * string/strxfrm_l.c (STRXFRM): Likewise.
49067
9d65ea3a
UD
490682011-11-17 Ulrich Drepper <drepper@gmail.com>
49069
49070 * Makefile.in: Remove CVSOPT handling.
49071 * configure.in: Remove use of AC_REVISION.
49072 * iconvdata/Makefile (distribute): No need to filter out CVS.
49073 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49074 handling.
49075
5583a086
AS
490762011-11-16 Andreas Schwab <schwab@redhat.com>
49077
49078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49079 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49080 [USE_AS_STRNCASECMP_L]: Likewise.
49081 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49082 NO_TLS_DIRECT_SEG_REFS.
49083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49084 Fix argument offsets for non-PIC.
49085 [USE_AS_STRNCASECMP_L]: Likewise.
49086 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49087 NO_TLS_DIRECT_SEG_REFS.
49088
d62a8200
UD
490892011-11-15 Ulrich Drepper <drepper@gmail.com>
49090
9d65ea3a 49091 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49092 O_CLOEXEC.
49093 * locale/loadlocale.c (_nl_load_locale): Likewise.
49094
09f93bd3
AS
490952011-11-15 Andreas Schwab <schwab@redhat.com>
49096
446514f9
AS
49097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49098 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49099 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49100 (SYSCALL_GETTIME): Set errno on error.
49101
09f93bd3
AS
49102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49103 count references to noai6ai_cached.
49104
312be3f9
UD
491052011-11-15 Ulrich Drepper <drepper@gmail.com>
49106
49107 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49108
49109 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49110 FD_CLOEXEC for /proc/self/maps.
49111
49112 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49113 FD_CLOEXEC for /proc/meminfo.
49114
49115 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49116 gai.conf.
49117
49118 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49119 FD_CLOEXEC for given file.
49120
49121 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49122
49123 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49124 FD_CLOEXEC for /etc/hosts.
49125 (_gethtent): Likewise.
49126
49127 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49128
49129 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49130 cancellation and set FD_CLOEXEC for /etc/netgroup.
49131
49132 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49133 reading /etc/publickey.
49134
49135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49136 allow cancellation when reading /etc/group.
49137
49138 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49139 cancellation.
49140 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49141
49142 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49143 when using data file.
49144
49145 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49146
49147 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49148 (write_nis_obj): Use "c" and "e" in fopen.
49149
49150 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49151
49152 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49153
49154 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49155
49156 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49157
49158 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49159 locale.alias.
49160
49161 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49162
49163 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49164
49165 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49166
49167 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49168 file parsing and set FD_CLOEXEC.
49169
82af0fa8
UD
491702011-11-14 Ulrich Drepper <drepper@gmail.com>
49171
49172 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49173
a5fb313c
AS
491742011-11-14 Andreas Schwab <schwab@redhat.com>
49175
49176 * malloc/arena.c (arena_get2): Don't call reused_arena when
49177 _int_new_arena failed.
49178
6abf3465
UD
491792011-11-14 Ulrich Drepper <drepper@gmail.com>
49180
49181 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49182 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49184 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49185 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49187 to compile strcasecmp and strncasecmp.
49188 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49189 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49190
49191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49192
76e3966e
UD
491932011-11-13 Ulrich Drepper <drepper@gmail.com>
49194
49195 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49196 locale-defines.sym to gen-as-const-headers.
49197 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49198 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49200 to compile strcasecmp and strncasecmp.
49201 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49202 strcasecmp_l and strncasecmp_l.
49203 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49204 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49205 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49206 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49207 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49208 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49209 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49210 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49211 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49212 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49213 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49214
ab26144e
UD
492152011-11-12 Ulrich Drepper <drepper@gmail.com>
49216
7edb22ef
UD
49217 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49218 result of SYSDEP_GETTIME_CPU to retval.
49219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49220 parameter list to macro. Remove trailing semicolon. Adjust users.
49221
9694fc44
UD
49222 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49223 variable.
49224
8ad89ef8
UD
49225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49226 mantissa words.
49227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49228
0c822ef9
UD
49229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49230 from unused variable.
49231
874e0564
UD
49232 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49233 DWARF definitions.
49234 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49235 for assembling.
49236
3a2edc79
UD
49237 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49238 over namespaces.
49239
f3c2577f
UD
49240 * sunrpc/rpc_prot.c (rejected): Fix case value.
49241
294ce126
UD
49242 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49243 unsigned long long int to avoid warnings in shift.
49244
5e2b63c6
UD
49245 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49246 of use of trans.
49247 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49248 variable tmp.
49249
e7f4b08e
UD
49250 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49251 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49252 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49253
ab26144e
UD
49254 * nis/nis_table.c (nis_list): Use variable of correct type for
49255 result of __follow_path call.
49256
8a6d5255
AZ
492572011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49258
49259 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49260 of math functions ceil, trunc, floor, round, and sqrt, when
49261 avaliable on the platform.
49262 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49263 name clash.
49264 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49265 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49266 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49267
aaddc98c
MP
492682011-10-30 Marek Polacek <mpolacek@redhat.com>
49269
49270 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49272
95b7042b
RM
492732011-11-11 Roland McGrath <roland@hack.frob.com>
49274
49275 * include/unistd.h: Fix __readlink return type.
49276 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49277
57769839
UD
492782011-11-11 Ulrich Drepper <drepper@gmail.com>
49279
49280 * stdlib/ucontext.h: Undo last change for makecontext.
49281
edc5984d
AS
492822011-11-11 Andreas Schwab <schwab@redhat.com>
49283
98591e58
AS
49284 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49285
edc5984d
AS
49286 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49287 * setjmp/setjmp.h: Mark functions as non-leaf.
49288 * setjmp/bits/setjmp2.h: Likewise.
49289 * stdlib/ucontext.h: Likewise.
49290
77cdc054
AS
492912011-11-10 Andreas Schwab <schwab@redhat.com>
49292
49293 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49294 (reused_arena): Don't check arena limit.
49295 (arena_get2): Atomically check arena limit.
49296
fe72eebd
UD
492972011-11-08 Ulrich Drepper <drepper@gmail.com>
49298
5f078c32
UD
49299 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49300 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49301
fe72eebd
UD
49302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49303 instructions.
49304
ae1bc2fa
AS
493052011-11-07 Andreas Schwab <schwab@redhat.com>
49306
7583a88d
AS
49307 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49308 handler when locking.
49309
ae1bc2fa
AS
49310 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49311 Fix size of allocated buffer.
49312
10fb0bfa
AS
493132011-11-04 Andreas Schwab <schwab@redhat.com>
49314
998832a4
AS
49315 [BZ #10103]
49316 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49317 declarations for long double functions.
49318 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49319
10fb0bfa
AS
49320 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49321
3d7ba52b
AS
493222011-11-03 Andreas Schwab <schwab@redhat.com>
49323
a9ae54a1
AS
49324 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49325 installed.
49326
3d7ba52b
AS
49327 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49328 is disabled.
49329
bc8db248
ST
493302011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49331
49332 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49333
45b96dd6
AS
493342011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49335
647776f6
AS
49336 * include/alloca.h (stackinfo_alloca_round): Define.
49337 (extend_alloca): Use it.
49338 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49339 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49340 here.
49341
d91a8b93
AS
49342 * scripts/check-local-headers.sh: Ignore libaudit.h.
49343
45b96dd6
AS
49344 * nscd/Makefile (extra-objs): Make recursively expanded.
49345
432d41ce
UD
493462011-11-01 Ulrich Drepper <drepper@gmail.com>
49347
34372fc6
UD
49348 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49350
fadb59f8
UD
49351 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49352 * posix/tst-rfc3484-2.c: Likewise.
49353 * posix/tst-rfc3484-3.c: Likewise.
49354
78239589
UD
49355 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49356 process_vm_writev.
49357 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49358 process_vm_writev.
49359 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49360 process_vm_writev from libc using GLIBC_2.15 version.
49361
432d41ce
UD
49362 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49363
02f9c6cf
PP
493642011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49365
49366 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49367 stack usage.
49368
3a2c0242
UD
493692011-10-31 Ulrich Drepper <drepper@gmail.com>
49370
f4ec4833
UD
49371 [BZ #13367]
49372 * nss/getent.c (initgroups_keys): Show error message in case no group
49373 names are given.
49374
3a2c0242
UD
49375 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49376 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49377 __bump_nl_timestamp.
49378 * nscd/connections (nscd_init): When host database is served open
49379 netlink socket and request notification about configuration changes.
49380 (main_loop_poll): Track netlink file descriptor and bump timestamp
49381 in case data becomes available.
49382 (main_loop_epoll): Likewise.
49383 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49384 (database_pers_head): Add extra_data fileds.
49385 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49386 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49387 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49388 Adjust caller.
49389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49390 in6ai data, call __free_in6ai.
49391 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49392 Add -DHAVE_NETLINK.
49393 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49394 interface information. Reuse previous data if netlink timestamp
49395 is not changed.
49396 (__bump_nl_timestamp): New function.
49397 (__free_in6ai): New function.
49398
636064eb
UD
493992011-10-30 Ulrich Drepper <drepper@gmail.com>
49400
49401 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49402 close_not_cancel_no_status here.
49403 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49404
9beb2334
UD
494052011-10-29 Ulrich Drepper <drepper@gmail.com>
49406
6ef76f3b
UD
49407 [BZ #13276]
49408 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49409 return value.
49410
0ffc4f3e 49411 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
49412 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49413 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49414
cb95113e
UD
494152011-07-03 Andreas Jaeger <aj@suse.de>
49416
49417 [BZ #10709]
49418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49419 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49420 * math/libm-test.inc (sin_test): Add test case.
49421
a1b560ff
UD
494222011-10-29 Ulrich Drepper <drepper@gmail.com>
49423
c9aaface
UD
49424 [BZ #13337]
49425 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49426 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49427
d272e7f1
UD
49428 * elf/chroot_canon.c (chroot_canon): Cleanups.
49429
1bc33071
UD
49430 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49431
1760874d
TJ
49432 [BZ #13335]
49433 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49434 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49435
51d91b18
UD
49436 * string/test-strchr.c: Make usable for strchrnul testing.
49437 * string/test-strchrnul.c: New file.
49438 * string/Makefile (strop-tests): Add strchrnul.
49439
a1b560ff 49440 * po/it.po: Update from translation team.
b611fb81 49441 * po/es.po: Likewise.
a1b560ff 49442
a5b81e1f
UD
494432011-10-28 Ulrich Drepper <drepper@gmail.com>
49444
fd52bc6d
UD
49445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49446 the three constants needed as parameters. Drop the others.
49447 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49448 __m128i_strloadu_tolower.
52e4b9eb
UD
49449 Create and initialize variable zero and use it in all the places
49450 where _mm_setzero_si128 was used.
fd52bc6d 49451
a5b81e1f
UD
49452 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49453 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49454 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49456 anymore.
49457 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49458 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49459 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49460 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49461 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49462 __mpranred, __mptan.
49463 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49464 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49465 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49466 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49467 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49468 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49470 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49471 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49472
b4343346
AS
494732011-10-28 Andreas Schwab <schwab@redhat.com>
49474
0c92d8a8
AS
49475 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49476 redefine if SHARED.
49477 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49478
b4343346
AS
49479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49480 wide char related routines to wcsmbs subdir.
49481
3871f58f
AS
494822011-10-27 Andreas Schwab <schwab@redhat.com>
49483
49484 [BZ #13344]
49485 * misc/sys/cdefs.h (__THROWNL): Define.
49486 * posix/unistd.h: Use __THREADNL instead of __THREAD
49487 for memory synchronization functions.
49488
94d44d9f
RM
494892011-10-26 Roland McGrath <roland@hack.frob.com>
49490
21b64b15 49491 [BZ #13349]
94d44d9f
RM
49492 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49493 doesn't exist.
49494 * manual/stdio.texi (Obstack Streams): Node removed.
49495
f6ce9294
AS
494962011-10-26 Andreas Schwab <schwab@redhat.com>
49497
80479147
AS
49498 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49499 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49500 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49501
f6ce9294
AS
49502 * math/math_private.h (math_force_eval): Allow non-addressable
49503 arguments.
49504 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49505
618280a1
UD
495062011-10-25 Ulrich Drepper <drepper@gmail.com>
49507
e0016b11
UD
49508 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49509 file is not needed.
49510
49511 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49513 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49514 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49518 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49519 Add AVX variants.
49520 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49521 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49522 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49523 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49525 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49526 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49527 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49528 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49529 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49530 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49531 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49532 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49533 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49534 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49535 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49536 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49537 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49538 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49539
49540 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49541 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49542
618280a1
UD
49543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49544 place. Use VEX encoding when compiling for AVX.
49545
37822576
AS
495462011-10-25 Andreas Schwab <schwab@redhat.com>
49547
1f1e1947
AS
49548 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49549 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49550
37822576
AS
49551 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49552
31ea014d
UD
495532011-10-25 Ulrich Drepper <drepper@gmail.com>
49554
d7826aa1 49555 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 49556 useless if() expression.
d7826aa1
UD
49557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49558 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49560 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49563 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49564 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49565 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49566 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49567 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49569 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49570 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49571 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49574 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49575 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49576
31ea014d
UD
49577 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49578
16437fec
AS
495792011-10-25 Andreas Schwab <schwab@redhat.com>
49580
49581 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49582 condition.
49583 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49584
31d3cc00
UD
495852011-10-25 Ulrich Drepper <drepper@gmail.com>
49586
49587 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49588 .text section. Avoid duplicate constants.
49589 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49597 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49598 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49599 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49600 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49601 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49602 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49603 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49605 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49606 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49613 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49614 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49615 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49616 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49617 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49618 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49619 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49620 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49621 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49622 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49623 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49624 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49625 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49627 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49628 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49630 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49631 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49633 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49634
58985aa9
UD
496352011-10-24 Ulrich Drepper <drepper@gmail.com>
49636
202c9deb
UD
49637 * sysdeps/x86_64/dla.h: Move to ...
49638 * sysdeps/x86_64/fpu/dla.h: ...here.
49639 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49640 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 49641
af968f62
UD
49642 * config.make.in: Add have-mfma4 entry.
49643 * configure.in: Substitute libc_cv_cc_fma4.
49644 * math/Makefile (dbl-only-routines): Add sincostab.
49645 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49646 Use __sincostab not sincos.
49647 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49648 name is a macro.
49649 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49653 using __copysign.
49654 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49655 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49656 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49657 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49658 and __inv.
49659 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49660 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49661 __copysign.
49662 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49663 define aliases when function name is a macro.
49664 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49665 sysdeps/ieee754/dbl-64/sincos.tbl.
49666 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49667 fma4-enabled routines.
49668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49669 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49670 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49671 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49673 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49675 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49676 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49677 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49678 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49680 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49681 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49682 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49683 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49684 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49685 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49686 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49687 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49688 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49689 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49694 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49698
58985aa9
UD
49699 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49700 rename.
49701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49707 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49709
a201fbcf
AS
497102011-10-24 Andreas Schwab <schwab@redhat.com>
49711
49712 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49713
fc2ee42a
LD
497142011-10-23 Ulrich Drepper <drepper@gmail.com>
49715
bb3129bd
UD
49716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49717
0275fff8
UD
49718 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49719 prediction.
49720 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49721
2fa2ae85
UD
49722 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49723 Remove unused variable magic_bits.
49724 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49725
fc2ee42a
LD
49726 * string/strnlen.c: Define and use STRNLEN macro.
49727 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49728 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49730 * wcsmbs/wcslen.c: Define and use WCSLEN.
49731 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49732 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49733 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49734 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49735 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49736 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49737 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49738
ce7dd29f
LD
497392011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49740
49741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49742 strnlen-sse2-no-bsf.
49743 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49744 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49745 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49746 Add strnlen support.
49747 (USE_AS_STRNLEN): New macro.
49748 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49749 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49750 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49751 * sysdeps/x86_64/wcslen.S: New file.
49752
979c70a3
MZ
497532011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49754
49755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49756 XMM-moves are used for copying on small sizes.
49757
2d09f82f
LD
497582011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49759
49760 * wcsmbs/Makefile (strop-tests): Add wcschr.
49761 * wcsmbs/test-wcschr.c: New file.
49762 * string/test-strchr.c: Update.
49763 Add wcschr support.
49764 (WIDE): New macro.
49765
619fccca
LD
497662011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49767
2d09f82f 49768 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
49769 * wcsmbs/test-wcslen.c: New file.
49770 * string/test-strlen.c: Update.
49771 Add wcslen support.
49772 (WIDE): New macro.
49773
09f699ea
UD
497742011-10-23 Ulrich Drepper <drepper@gmail.com>
49775
49776 * po/it.po: Update from translation team.
49777
95584d3b
LD
497782011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49779
49780 * sysdeps/x86_64/wcscmp.S: Update.
49781 Fix wrong comparison semantics.
49782 wcscmp shall use signed comparison not unsigned.
49783 Don't use substraction to avoid overflow bug.
49784 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49785 * wcsmbc/wcscmp.c: Likewise.
49786 * string/test-strcmp.c: Likewise.
49787 Add new tests to check cases with negative values.
49788
c8b3296b
UD
497892011-10-23 Ulrich Drepper <drepper@gmail.com>
49790
49791 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49792 * sysdeps/x86_64/dla.h: ...here. New file.
49793 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49802
246ad57a
AS
498032011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49804
49805 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49806 __ynl_finite aliases.
49807
a1a87169
UD
498082011-10-22 Ulrich Drepper <drepper@gmail.com>
49809
0d355eb7
UD
49810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49811
a1a87169
UD
49812 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49813 define DLA_FMA.
49814 [DLA_FMA] (EMULV): Use DLA_FMA.
49815 [DLA_FMA] (MUL12): Use EMULV.
49816 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49817 that are not needed.
49818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49825
ee2aafe0
AS
498262011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49827
49828 * math/s_nan.c: Undef __nan.
49829 * math/s_nanf.c: Undef __nanf.
49830 * math/s_nanl.c: Undef __nanl.
49831 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49832 "math_private.h".
49833
bc62c2fb
UD
498342011-10-22 Ulrich Drepper <drepper@gmail.com>
49835
77425c63
UD
49836 * math/s_catan.c: Add branch predictions.
49837 * math/s_catanf.c: Likewise.
49838 * math/s_catanh.c: Likewise.
49839 * math/s_catanhf.c: Likewise.
49840 * math/s_catanhl.c: Likewise.
49841 * math/s_catanl.c: Likewise.
49842 * math/s_cexp.c: Likewise.
49843 * math/s_cexpf.c: Likewise.
49844 * math/s_cexpl.c: Likewise.
49845 * math/s_clog.c: Likewise.
49846 * math/s_clog10.c: Likewise.
49847 * math/s_clog10f.c: Likewise.
49848 * math/s_clog10l.c: Likewise.
49849 * math/s_clogf.c: Likewise.
49850 * math/s_clogl.c: Likewise.
49851 * math/s_csqrt.c: Likewise.
49852 * math/s_csqrtf.c: Likewise.
49853 * math/s_csqrtl.c: Likewise.
49854 * math/s_ctanf.c: Likewise.
49855 * math/s_ctanh.c: Likewise.
49856 * math/s_ctanhf.c: Likewise.
49857 * math/s_ctanhl.c: Likewise.
49858 * math/s_ctanl.c: Likewise.
49859
bc62c2fb
UD
49860 * math/math_private.h: Define __nan, __nanf, __nanl.
49861 * math/s_cacosh.c: Include <math_private.h>.
49862 * math/s_cacoshl.c: Likewise.
49863 * math/s_casinh.c: Likewise.
49864 * math/s_casinhf.c: Likewise.
49865 * math/s_casinhl.c: Likewise.
49866 * math/s_ccos.c: Rely entire on ccosh.
49867 * math/s_ccosf.c: Rely entire on ccoshf.
49868 * math/s_ccosl.c: Rely entirely on ccoshl.
49869 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49870 Remove tests for FE_INVALID.
49871 * math/s_ccoshf.c: Likewise.
49872 * math/s_ccoshl.c: Likewise.
49873 * math/s_csin.c: Likewise.
49874 * math/s_csinf.c: Likewise.
49875 * math/s_csinh.c Likewise.
49876 * math/s_csinhf.c: Likewise.
49877 * math/s_csinhl.c: Likewise.
49878 * math/s_csinl.c: Likewise.
49879 * math/s_ctan.c: Likewise.
49880 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49881 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49882 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49883
8ec250a4
UD
498842011-10-21 Ulrich Drepper <drepper@gmail.com>
49885
c196fed8
UD
49886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49887 compilation problems.
49888
8ec250a4
UD
49889 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49890 __builtin_expect.
49891
8d4f46c6
UD
498922011-10-20 Ulrich Drepper <drepper@gmail.com>
49893
ed72b654
UD
49894 * sysdeps/i386/configure.in: Test for -mfma4 option.
49895 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49896 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49897 COMMON_CPUID_INDEX_80000001.
49898 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49899 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49900 use it if FMA3 is not supported.
49901 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49902
8d4f46c6
UD
49903 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49904 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49905
d45c60c2
AS
499062011-10-20 Andreas Schwab <schwab@redhat.com>
49907
49908 [BZ #12892]
49909 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49910 it would create a cycle with a link time dependency.
49911
d9a4d2ab
UD
499122011-10-19 Ulrich Drepper <drepper@gmail.com>
49913
855d1560
UD
49914 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49915 instruction.
49916 * string/Makefile (strop-tests): Add rawmemchr.
49917 * string/test-rawmemchr.c: New file.
49918
d9a4d2ab
UD
49919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49921 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49922 when compiling str{,n}casecmp and when AVX is available. Hook up
49923 new optimized code in initializers.
49924
8f3b1ffe
AS
499252011-10-19 Andreas Schwab <schwab@redhat.com>
49926
49927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49928 __feraiseexcept instead of feraiseexcept.
49929
d38f1dba
UD
499302011-10-18 Ulrich Drepper <drepper@gmail.com>
49931
d9a8d0ab
UD
49932 * math/math_private.h: Define defaults for libc_fetestexcept and
49933 libc_feupdateenv.
49934 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49935 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49936 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49937 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49938 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49939 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49940 libc_fetestexcept and libc_feupdateenv.
49941
4855e3dd
UD
49942 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49943 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49944 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49945 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49946 libc_feholdexcept_setround.
49947
581d30e3
UD
49948 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49949 Add s_nearbyint-c and s_nearbyintf-c.
49950 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49951 nearbyintf inlines.
49952 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49953 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49954 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49955 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49956
d38f1dba
UD
49957 * math/math_private.h: Define defaults for libc_fegetround,
49958 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49959 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49960 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49962 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49963 standard functions.
49964 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49965 Remove comments and hacks for old compiler versions.
49966 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49967 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49968 libc_feholdexceptl.
49969
caa6c9d8
AS
499702011-10-18 Andreas Schwab <schwab@redhat.com>
49971
49972 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
49973 (__feraiseexcept_renamed): Add __NTH.
49974 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
49975 namespace violations.
49976
97c066e6
UD
499772011-10-17 Ulrich Drepper <drepper@gmail.com>
49978
99ce7b04
UD
49979 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49980
1004d182
UD
49981 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49982
228a984d
UD
49983 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49984 recently added interfaces.
49985 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49986
c8553a6a
UD
49987 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49988 about macro parameter expansion.
49989
ed22dcf6
UD
49990 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49991 __NO_MATH_INLINES is defined. Cleanups.
49992
49993 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49994 and __floorf is target has SSE4.1.
49995 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49996 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49997 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49998 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49999
b171c137
UD
50000 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50001 name.
50002 (floorf): Likewise.
50003
97c066e6
UD
50004 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50005
629f62ef
AS
500062011-10-17 Andreas Schwab <schwab@redhat.com>
50007
49a43d80
AS
50008 * misc/sys/cdefs.h: Fix last change.
50009
629f62ef
AS
50010 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50011 database lookup.
50012
e453f6cd
UD
500132011-10-16 Ulrich Drepper <drepper@gmail.com>
50014
aa78043a
UD
50015 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50016
ad0f5cad
UD
50017 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50018 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50019 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50021 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50022 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50023 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50024 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50025 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50026 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50027 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50028 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50029 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50030 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50031 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50032 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50033 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50034 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50035 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50036 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50038 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50039
50040 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50041 ceil, ceilf, floor, floorf.
50042
50043 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50044 Perform IRELATIVE relocations last.
50045
e453f6cd
UD
50046 * elf/do-rel.h: Add another parameter nrelative, replacing the
50047 local variable with the same name. Change name of the function
50048 to end in Rel or Rela (uppercase).
50049 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50050 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50051 elf_dynamic_do_##reloc function.
50052
fd5bdc09
UD
500532011-10-15 Ulrich Drepper <drepper@gmail.com>
50054
79b195b5
UD
50055 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50056 is sufficient, at least on modern CPUs.
50057
d4a28569
UD
50058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50059
b61099b5
UD
50060 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50061 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50062
bcf01e6d
UD
50063 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50064 __expl_finite.
50065 * math/bits/math-finite.h: Add entries for exp.
50066 * math/e_expl.c: Add __*_finite alias.
50067 * sysdeps/i386/fpu/e_exp.S: Likewise.
50068 * sysdeps/i386/fpu/e_expf.S: Likewise.
50069 * sysdeps/i386/fpu/e_expl.c: Likewise.
50070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50071 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50072 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50073 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50074 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50075 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50076 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50077
ba1a0d59
UD
50078 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50079 is sufficient, at least on modern CPUs.
50080
fd5bdc09
UD
50081 * ctype/ctype-info.c (__ctype_init): Define.
50082 * include/ctype.h (__ctype_init): Declare.
50083 (__ctype_b_loc): The variable is always initialized.
50084 (__ctype_toupper_loc): Likewise.
50085 (__ctype_tolower_loc): Likewise.
50086 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50087 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50088
7872cfb0
AS
500892011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50090
b468825a
AS
50091 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50092
7872cfb0
AS
50093 * configure.in: Also look in $cxxmachine/include for C++ system
50094 headers.
50095
be13f7bf
LD
500962011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50097
50098 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50099 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50100 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50101 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50102 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50103 (USE_AS_WMEMCMP): New macro.
50104 Fixing indents.
50105 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50106 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50107 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50108 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50110 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50111 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50112 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50113 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50114 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50116 (USE_AS_WMEMCMP): New macro.
50117 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50118 * sysdeps/string/test-memcmp.c: Update.
50119 Fix simple_wmemcmp.
50120 Add new tests.
50121 * wcsmbs/wmemcmp.c: Update.
50122 (WMEMCMP): New macro.
50123 Fix overflow bug.
50124
556a2007
AJ
501252011-10-12 Andreas Jaeger <aj@suse.de>
50126
50127 [BZ #13268]
50128 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50129
538faaa7
UD
501302011-10-15 Ulrich Drepper <drepper@gmail.com>
50131
ab6737ff
UD
50132 * libio/iofwide.c (do_length): Avoid warning.
50133
538faaa7
UD
50134 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50135
396a21b1
UD
501362011-10-14 Ulrich Drepper <drepper@gmail.com>
50137
cdf2901f
UD
50138 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50139
38ad40ce
UD
50140 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50141 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50142 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50143 * sysdeps/i386/i686/fpu/e_log.S: New file.
50144 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50145 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50146
396a21b1
UD
50147 * ctype/ctype.h: Add support for inlined isXXX functions when
50148 compiling C++ code.
50149
6b1f68c9
AS
501502011-10-14 Andreas Schwab <schwab@redhat.com>
50151
349290c0
AS
50152 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50153
6b1f68c9
AS
50154 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50155
f2282d42
RM
501562011-10-13 Roland McGrath <roland@hack.frob.com>
50157
50158 [BZ #13291]
50159 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50160
5298ffa8
AS
501612011-10-13 Andreas Schwab <schwab@redhat.com>
50162
714fad23
AS
50163 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50164 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50165 feraiseexcept.
50166
81dcc7fb
AS
50167 * sysdeps/x86_64/memrchr.S: Check for zero size.
50168
5298ffa8
AS
50169 * string/stratcliff.c: Add memrchr tests.
50170
951fbcec
LD
501712011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50172
50173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50174 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50175 rawmemchr-sse2 rawmemchr-sse2-bsf.
50176 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50177 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50178 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50179 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50180 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50181 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50182 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50183 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50184 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50185 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50186 * string/memrchr.c (MEMRCHR): New macro.
50187
0ac5ae23
UD
501882011-10-12 Ulrich Drepper <drepper@gmail.com>
50189
50190 Add integration with gcc's -ffinite-math-only and optimize wrapper
50191 functions in libm.
50192 * Versions.def: Define GLIBC_2.15 version for libm.
50193 * math/Makefile (headers): Add bits/math-finite.h.
50194 * math/bits/math-finite.h: New file.
50195 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50196 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50197 * math/e_acoshl.c: Add __*_finite alias.
50198 * math/e_acosl.c: Likewise.
50199 * math/e_asinl.c: Likewise.
50200 * math/e_atan2l.c: Likewise.
50201 * math/e_atanhl.c: Likewise.
50202 * math/e_coshl.c: Likewise.
50203 * math/e_exp10.c: Likewise.
50204 * math/e_exp10f.c: Likewise.
50205 * math/e_exp10l.c: Likewise.
50206 * math/e_exp2l.c: Likewise.
50207 * math/e_fmodl.c: Likewise.
50208 * math/e_gammal_r.c: Likewise.
50209 * math/e_hypotl.c: Likewise.
50210 * math/e_j0l.c: Likewise.
50211 * math/e_j1l.c: Likewise.
50212 * math/e_jnl.c: Likewise.
50213 * math/e_lgammal_r.c: Likewise.
50214 * math/e_log10l.c: Likewise.
50215 * math/e_log2l.c: Likewise.
50216 * math/e_logl.c: Likewise.
50217 * math/e_powl.c: Likewise.
50218 * math/e_sinhl.c: Likewise.
50219 * math/e_sqrtl.c: Likewise.
50220 * math/e_scalb.c: Completely rewritten and optimized.
50221 * math/e_scalbf.c: Likewise.
50222 * math/e_scalbl.c: Likewise.
50223 * math/w_acos.c: Likewise.
50224 * math/w_acosf.c: Likewise.
50225 * math/w_acosl.c: Likewise.
50226 * math/w_acosh.c: Likewise.
50227 * math/w_acoshf.c: Likewise.
50228 * math/w_acoshl.c: Likewise.
50229 * math/w_asin.c: Likewise.
50230 * math/w_asinf.c: Likewise.
50231 * math/w_asinl.c: Likewise.
50232 * math/w_atan2.c: Likewise.
50233 * math/w_atan2f.c: Likewise.
50234 * math/w_atan2l.c: Likewise.
50235 * math/w_atanh.c: Likewise.
50236 * math/w_atanhf.c: Likewise.
50237 * math/w_atanhl.c: Likewise.
50238 * math/w_exp10.c: Likewise.
50239 * math/w_exp10f.c: Likewise.
50240 * math/w_exp10l.c: Likewise.
50241 * math/w_fmod.c: Likewise.
50242 * math/w_fmodf.c: Likewise.
50243 * math/w_fmodl.c: Likewise.
50244 * math/w_j0.c: Likewise.
50245 * math/w_j0f.c: Likewise.
50246 * math/w_j0l.c: Likewise.
50247 * math/w_j1.c: Likewise.
50248 * math/w_j1f.c: Likewise.
50249 * math/w_j1l.c: Likewise.
50250 * math/w_jn.c: Likewise.
50251 * math/w_jnf.c: Likewise.
50252 * math/w_log.c: Likewise.
50253 * math/w_logf.c: Likewise.
50254 * math/w_logl.c: Likewise.
50255 * math/w_log10.c: Likewise.
50256 * math/w_log10f.c: Likewise.
50257 * math/w_log10l.c: Likewise.
50258 * math/w_log2.c: Likewise.
50259 * math/w_log2f.c: Likewise.
50260 * math/w_log2l.c: Likewise.
50261 * math/w_pow.c: Likewise.
50262 * math/w_powf.c: Likewise.
50263 * math/w_powl.c: Likewise.
50264 * math/w_remainder.c: Likewise.
50265 * math/w_remainderf.c: Likewise.
50266 * math/w_remainderl.c: Likewise.
50267 * math/w_scalb.c: Likewise.
50268 * math/w_scalbf.c: Likewise.
50269 * math/w_scalbl.c: Likewise.
50270 * math/w_sqrt.c: Likewise.
50271 * math/w_sqrtf.c: Likewise.
50272 * math/w_sqrtl.c: Likewise.
50273 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50274 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50275 used.
50276 * math/math_private.h: Declare __kernel_standard_f.
50277 * math/w_cosh.c: Remove cruft and optimize a bit.
50278 * math/w_coshf.c: Likewise.
50279 * math/w_coshl.c: Likewise.
50280 * math/w_exp2.c: Likewise.
50281 * math/w_exp2f.c: Likewise.
50282 * math/w_exp2l.c: Likewise.
50283 * math/w_hypot.c: Likewise.
50284 * math/w_hypotf.c: Likewise.
50285 * math/w_hypotl.c: Likewise.
50286 * math/w_lgamma.c: Likewise.
50287 * math/w_lgamma_r.c: Likewise.
50288 * math/w_lgammaf.c: Likewise.
50289 * math/w_lgammaf_r.c: Likewise.
50290 * math/w_lgammal.c: Likewise.
50291 * math/w_lgammal_r.c: Likewise.
50292 * math/w_sinh.c: Likewise.
50293 * math/w_sinhf.c: Likewise.
50294 * math/w_sinhl.c: Likewise.
50295 * math/w_tgamma.c: Likewise.
50296 * math/w_tgammaf.c: Likewise.
50297 * math/w_tgammal.c: Likewise.
50298 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50300 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50301 Minor optimizations. Pretty printing. Remove cruft.
50302 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50303 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50304 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50305 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50306 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50307 * sysdeps/i386/fpu/e_asin.S: Likewise.
50308 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50309 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50310 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50311 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50312 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50313 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50315 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50316 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50317 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50318 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50319 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50320 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50321 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50322 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50323 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50324 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50325 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50326 * sysdeps/i386/fpu/e_log.S: Likewise.
50327 * sysdeps/i386/fpu/e_log10.S: Likewise.
50328 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50329 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50330 * sysdeps/i386/fpu/e_log2.S: Likewise.
50331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50332 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50333 * sysdeps/i386/fpu/e_logf.S: Likewise.
50334 * sysdeps/i386/fpu/e_logl.S: Likewise.
50335 * sysdeps/i386/fpu/e_pow.S: Likewise.
50336 * sysdeps/i386/fpu/e_powf.S: Likewise.
50337 * sysdeps/i386/fpu/e_powl.S: Likewise.
50338 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50339 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50340 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50341 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50343 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50344 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50345 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50346 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50347 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50350 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50351 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50352 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50353 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50354 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50356 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50368 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50369 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50370 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50371 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50372 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50373 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50374 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50375 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50376 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50378 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50379 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50380 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50381 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50382 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50383 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50384 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50385 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50386 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50387 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50388 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50389 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50390 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50392 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50393 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50396 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50397 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50399 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50400 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50401 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50402 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50403 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50404 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50405 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50406 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50407 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50415 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50421 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50423 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50431 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50432 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50434 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50435 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50436 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50437 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50438 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50439 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50440 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50441 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50442 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50443 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50444 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50445 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50446 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50447 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50448 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50449 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50450 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50452 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50454 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50455 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50456 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50457 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50458 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50459 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50460 (__isnanf): Likewise.
50461 (__isinf_ns): Likewise.
50462 (__isinf_nsf): Likewise.
50463 (__finite): Likewise.
50464 (__finitef): Likewise.
50465 (__ieee754_sqrt): Define as macro.
50466 (__ieee754_sqrtf): Define as macro.
50467 (__ieee754_sqrtl): Define as macro.
50468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50469 inlined copy.
50470 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50471 __FINITE_MATH_ONLY__ consistent.
50472 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50473
12cc2fcd
AS
504742011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50475
a843a204
AS
50476 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50477 of rawmemchr.
50478
12cc2fcd
AS
50479 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50480
c853acd5
UD
504812011-10-09 Ulrich Drepper <drepper@gmail.com>
50482
50483 * po/ja.po: Update from translation team.
50484
c658d255
RM
504852011-10-08 Roland McGrath <roland@hack.frob.com>
50486
110946e4
RM
50487 * locale/programs/locarchive.c (prepare_address_space): New function.
50488 (create_archive, enlarge_archive, open_archive): Use it.
50489
50604220
RM
50490 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50491 inside [SHARED], where it is used.
50492
c658d255
RM
50493 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50494
50495 * nss/getent.c (netgroup_keys): Remove unused variable.
50496 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50497
6a621eb7
UD
504982011-10-08 Ulrich Drepper <drepper@gmail.com>
50499
7edb55ce
UD
50500 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50503 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50505 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50506 * math/Makefile (libm-calls): Add s_isinf_ns.
50507 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50508 * math/multc3.c: Likewise.
50509 * math/s_casin.c: Likewise.
50510 * math/s_casinf.c: Likewise.
50511 * math/s_casinl.c: Likewise.
50512 * math/s_ccos.c: Likewise.
50513 * math/s_ccosf.c: Likewise.
50514 * math/s_ccosl.c: Likewise.
50515 * math/s_ctan.c: Likewise.
50516 * math/s_ctanf.c: Likewise.
50517 * math/s_ctanh.c: Likewise.
50518 * math/s_ctanhf.c: Likewise.
50519 * math/s_ctanhl.c: Likewise.
50520 * math/s_ctanl.c: Likewise.
50521 * math/w_fmod.c: Likewise.
50522 * math/w_fmodf.c: Likewise.
50523 * math/w_fmodl.c: Likewise.
50524 * math/w_remainder.c: Likewise.
50525 * math/w_remainderf.c: Likewise.
50526 * math/w_remainderl.c: Likewise.
50527 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50528 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50531 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50532 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50533 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50534 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50535
187da0ae
UD
50536 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50537 of the number.
50538 * stdio-common/printf_fphex.c: Likewise.
50539 * stdio-common/printf_size.c: Likewise.
50540
9277c064
UD
50541 * math/e_exp10.c: Include math_private.h using <...> not "...".
50542 * math/e_exp10f.c: Likewise.
50543 * math/e_exp10l.c: Likewise.
50544 * math/e_exp2l.c: Likewise.
50545 * math/e_j0l.c: Likewise.
50546 * math/e_j1l.c: Likewise.
50547 * math/e_jnl.c: Likewise.
50548 * math/e_lgammal_r.c: Likewise.
50549 * math/e_rem_pio2l.c: Likewise.
50550 * math/e_scalb.c: Likewise.
50551 * math/e_scalbf.c: Likewise.
50552 * math/e_scalbl.c: Likewise.
50553 * math/k_cosl.c: Likewise.
50554 * math/k_sinl.c: Likewise.
50555 * math/k_tanl.c: Likewise.
50556 * math/s_cacoshf.c: Likewise.
50557 * math/s_catan.c: Likewise.
50558 * math/s_catanf.c: Likewise.
50559 * math/s_catanh.c: Likewise.
50560 * math/s_catanhf.c: Likewise.
50561 * math/s_catanhl.c: Likewise.
50562 * math/s_catanl.c: Likewise.
50563 * math/s_ccosh.c: Likewise.
50564 * math/s_ccoshf.c: Likewise.
50565 * math/s_ccoshl.c: Likewise.
50566 * math/s_cexp.c: Likewise.
50567 * math/s_cexpf.c: Likewise.
50568 * math/s_cexpl.c: Likewise.
50569 * math/s_clog.c: Likewise.
50570 * math/s_clog10.c: Likewise.
50571 * math/s_clog10f.c: Likewise.
50572 * math/s_clog10l.c: Likewise.
50573 * math/s_clogf.c: Likewise.
50574 * math/s_clogl.c: Likewise.
50575 * math/s_csin.c: Likewise.
50576 * math/s_csinf.c: Likewise.
50577 * math/s_csinh.c: Likewise.
50578 * math/s_csinhf.c: Likewise.
50579 * math/s_csinhl.c: Likewise.
50580 * math/s_csinl.c: Likewise.
50581 * math/s_csqrt.c: Likewise.
50582 * math/s_csqrtf.c: Likewise.
50583 * math/s_csqrtl.c: Likewise.
50584 * math/s_ctan.c: Likewise.
50585 * math/s_ctanf.c: Likewise.
50586 * math/s_ctanh.c: Likewise.
50587 * math/s_ctanhf.c: Likewise.
50588 * math/s_ctanhl.c: Likewise.
50589 * math/s_ctanl.c: Likewise.
50590 * math/s_ldexp.c: Likewise.
50591 * math/s_ldexpf.c: Likewise.
50592 * math/s_ldexpl.c: Likewise.
50593 * math/s_significand.c: Likewise.
50594 * math/s_significandf.c: Likewise.
50595 * math/s_significandl.c: Likewise.
50596 * math/w_acos.c: Likewise.
50597 * math/w_acosf.c: Likewise.
50598 * math/w_acosh.c: Likewise.
50599 * math/w_acoshf.c: Likewise.
50600 * math/w_acoshl.c: Likewise.
50601 * math/w_acosl.c: Likewise.
50602 * math/w_asin.c: Likewise.
50603 * math/w_asinf.c: Likewise.
50604 * math/w_asinl.c: Likewise.
50605 * math/w_atan2.c: Likewise.
50606 * math/w_atan2f.c: Likewise.
50607 * math/w_atan2l.c: Likewise.
50608 * math/w_atanh.c: Likewise.
50609 * math/w_atanhf.c: Likewise.
50610 * math/w_atanhl.c: Likewise.
50611 * math/w_cosh.c: Likewise.
50612 * math/w_coshf.c: Likewise.
50613 * math/w_coshl.c: Likewise.
50614 * math/w_dremf.c: Likewise.
50615 * math/w_exp10.c: Likewise.
50616 * math/w_exp10f.c: Likewise.
50617 * math/w_exp10l.c: Likewise.
50618 * math/w_exp2.c: Likewise.
50619 * math/w_exp2f.c: Likewise.
50620 * math/w_fmod.c: Likewise.
50621 * math/w_fmodf.c: Likewise.
50622 * math/w_fmodl.c: Likewise.
50623 * math/w_hypot.c: Likewise.
50624 * math/w_hypotf.c: Likewise.
50625 * math/w_hypotl.c: Likewise.
50626 * math/w_j0.c: Likewise.
50627 * math/w_j0f.c: Likewise.
50628 * math/w_j0l.c: Likewise.
50629 * math/w_j1.c: Likewise.
50630 * math/w_j1f.c: Likewise.
50631 * math/w_j1l.c: Likewise.
50632 * math/w_jn.c: Likewise.
50633 * math/w_jnf.c: Likewise.
50634 * math/w_jnl.c: Likewise.
50635 * math/w_lgamma.c: Likewise.
50636 * math/w_lgamma_r.c: Likewise.
50637 * math/w_lgammaf.c: Likewise.
50638 * math/w_lgammaf_r.c: Likewise.
50639 * math/w_lgammal.c: Likewise.
50640 * math/w_lgammal_r.c: Likewise.
50641 * math/w_log.c: Likewise.
50642 * math/w_log10.c: Likewise.
50643 * math/w_log10f.c: Likewise.
50644 * math/w_log10l.c: Likewise.
50645 * math/w_log2.c: Likewise.
50646 * math/w_log2f.c: Likewise.
50647 * math/w_log2l.c: Likewise.
50648 * math/w_logf.c: Likewise.
50649 * math/w_logl.c: Likewise.
50650 * math/w_pow.c: Likewise.
50651 * math/w_powf.c: Likewise.
50652 * math/w_powl.c: Likewise.
50653 * math/w_remainder.c: Likewise.
50654 * math/w_remainderf.c: Likewise.
50655 * math/w_remainderl.c: Likewise.
50656 * math/w_scalb.c: Likewise.
50657 * math/w_scalbf.c: Likewise.
50658 * math/w_scalbl.c: Likewise.
50659 * math/w_sinh.c: Likewise.
50660 * math/w_sinhf.c: Likewise.
50661 * math/w_sinhl.c: Likewise.
50662 * math/w_sqrt.c: Likewise.
50663 * math/w_sqrtf.c: Likewise.
50664 * math/w_sqrtl.c: Likewise.
50665 * math/w_tgamma.c: Likewise.
50666 * math/w_tgammaf.c: Likewise.
50667 * math/w_tgammal.c: Likewise.
50668
6a621eb7
UD
50669 * po/ja.po: Update from translation team.
50670
bf582445
AJ
506712011-09-29 Andreas Jaeger <aj@suse.de>
50672
f9efbf3a
AJ
50673 [BZ #13179]
50674 * sunrpc/netname.c (netname2host): Fix logic.
50675
bf582445
AJ
50676 [BZ #6779]
50677 [BZ #6783]
50678 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50679 correctly.
50680 * math/w_remainder.c (__remainder): Likewise.
50681 * math/w_remainderf.c (__remainderf): Likewise.
50682 * math/libm-test.inc (remainder_test): Add test cases.
50683
48693bea
AK
506842011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50685
50686 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50687 sdiv_qrnnd.
50688
42622229
LD
506892011-10-07 Ulrich Drepper <drepper@gmail.com>
50690
50691 * string/test-memcmp.c: Avoid unncessary #defines.
50692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50693
093ecf92
LD
506942011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50695
50696 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50697 Use new sse2 version for core i3 - i7 as it's faster
50698 than sse42 version.
50699 (bit_Prefer_PMINUB_for_stringop): New.
50700 * sysdeps/x86_64/rawmemchr.S: Update.
50701 Replace with faster SSE2 version.
50702 * sysdeps/x86_64/memrchr.S: New file.
50703 * sysdeps/x86_64/memchr.S: Update.
50704 Replace with faster SSE2 version.
50705
fde56e5c
MP
507062011-09-12 Marek Polacek <mpolacek@redhat.com>
50707
50708 * elf/dl-load.c (lose): Add cast to avoid warning.
50709
21fd49a9
UD
507102011-10-07 Ulrich Drepper <drepper@gmail.com>
50711
5a06e643
UD
50712 * po/ca.po: Update from translation team.
50713
684ae515
UD
50714 * inet/getnetgrent_r.c: Hook up nscd.
50715 * nscd/Makefile (routines): Add nscd_netgroup.
50716 (nscd-modules): Add netgroupcache.
50717 (CFLAGS-netgroupcache.c): Define.
50718 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50719 (cache_search): Add const to second parameter.
50720 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50721 INNETGR.
50722 (dbs): Add netgrdb entry.
50723 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50724 (verify_persistent_db): Handle netgrdb.
50725 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50726 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50727 GETFDNETGR.
50728 (netgroup_response_header): Define.
50729 (innetgroup_response_header): Define.
50730 (datahead): Add netgroup_response_header and innetgroup_response_header
50731 elements.
50732 * nscd/nscd.conf: Add entries for netgroup cache.
50733 * nscd/nscd.h (dbtype): Add netgrdb.
50734 (_PATH_NSCD_NETGROUP_DB): Define.
50735 (netgroup_iov_disabled): Declare.
50736 (xmalloc, xcalloc, xrealloc): Move declarations here.
50737 (cache_search): Adjust prototype.
50738 Add netgroup-related prototypes.
50739 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50740 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50741 (__nscd_innetgr): Declare.
50742 * nscd/selinux.c (perms): Use access_vector_t as element type and
50743 add netgroup-related initializers.
50744 * nscd/netgroupcache.c: New file.
50745 * nscd/nscd_netgroup.c: New file.
50746 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50747 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50748 For four parameters use innetgr.
50749 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50750 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50751 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50752 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50753
21fd49a9
UD
50754 * nscd/connections.c (register_traced_file): Don't register file
50755 for disabled databases.
50756
054c0457
UD
507572011-10-06 Ulrich Drepper <drepper@gmail.com>
50758
32b63198
UD
50759 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50760
054c0457
UD
50761 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50762 from tree and freeing node.
50763
64031225
JO
507642011-09-25 Jiri Olsa <jolsa@redhat.com>
50765
50766 * nss/nsswitch.c (__nss_database_lookup): Handle
50767 nss_parse_service_list out of memory case.
50768
0490345c
JO
507692011-09-15 Jiri Olsa <jolsa@redhat.com>
50770
50771 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50772 out of memory case.
50773
3a62d00d
AS
507742011-10-04 Andreas Schwab <schwab@redhat.com>
50775
50776 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50777 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50778 pass it down.
50779 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50780 elf_machine_rela, elf_machine_lazy_rel.
50781 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50782 (ELF_DYNAMIC_DO_REL): Likewise.
50783 (ELF_DYNAMIC_DO_RELA): Likewise.
50784 (ELF_DYNAMIC_RELOCATE): Likewise.
50785 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50786 to ELF_DYNAMIC_DO_REL.
50787 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50788 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50789 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50790 elf_machine_rela.
50791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50792 skip_ifunc, don't call ifunc function if non-zero.
50793 (elf_machine_rela): Likewise.
50794 (elf_machine_lazy_rel): Likewise.
50795 (elf_machine_lazy_rela): Likewise.
50796 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50797 (elf_machine_lazy_rel): Likewise.
50798 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50799 Likewise.
50800 (elf_machine_lazy_rel): Likewise.
50801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50802 Likewise.
50803 (elf_machine_lazy_rel): Likewise.
50804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50805 (elf_machine_lazy_rel): Likewise.
50806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50807 (elf_machine_lazy_rel): Likewise.
50808 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50809 (elf_machine_lazy_rel): Likewise.
50810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50811 (elf_machine_lazy_rel): Likewise.
50812 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50813 (elf_machine_lazy_rel): Likewise.
50814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50815 (elf_machine_lazy_rel): Likewise.
50816
68577918
UD
508172011-09-28 Ulrich Drepper <drepper@gmail.com>
50818
50819 * nss/nss_files/files-init.c (_nss_files_init): Use static
50820 initialization for all the *_traced_file variables.
50821
68822d74
AS
508222011-09-28 Andreas Schwab <schwab@redhat.com>
50823
50824 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50825
2056100b
RM
508262011-09-27 Roland McGrath <roland@hack.frob.com>
50827
50828 [BZ #13226]
50829 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50830
32c76b63
AS
508312011-09-27 Andreas Schwab <schwab@redhat.com>
50832
50833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50834 Reread the line before reparsing it.
50835
bf972c9d
AS
508362011-09-26 Andreas Schwab <schwab@redhat.com>
50837
50838 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50839
e057a1b5
JM
508402011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50841 Maxim Kuvyrkov <maxim@codesourcery.com>
50842 Joseph Myers <joseph@codesourcery.com>
50843
50844 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50845 if needed for __stack_chk_guard.
50846
bc7e1c36
RM
508472011-09-19 Roland McGrath <roland@hack.frob.com>
50848
ecb1482f
RM
50849 * sysdeps/posix/spawni.c (script_execute): Always define it.
50850 It will be optimized away if unused.
50851 (maybe_script_execute): New function.
50852 (__spawni): Call it.
50853
bc7e1c36
RM
50854 * Makerules: Don't include tls.make.
50855 (config-tls): Always set to thread.
50856 * tls.make.c: File removed.
50857
1c3b002b
MF
508582011-09-19 Mike Frysinger <vapier@gentoo.org>
50859
50860 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50861 * config.make.in (CPPFLAGS-config): New substituted variable.
50862
2840865d
UD
508632011-09-15 Ulrich Drepper <drepper@gmail.com>
50864
88738eb6
UD
50865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50866
cbf645a6 50867 [BZ #13192]
2840865d
UD
50868 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50869 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50870
b402e91a
RM
508712011-09-15 Roland McGrath <roland@hack.frob.com>
50872
50873 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50874 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50876 (CALL_FAIL): Likewise.
50877 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50878 (CALL_FAIL): Macro removed.
50879 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50880
4c1a1f71
UD
508812011-09-15 Ulrich Drepper <drepper@gmail.com>
50882
50883 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50884 for __FINITE_MATH_ONLY__ == 1.
50885
edc121be
AS
508862011-09-15 Andreas Schwab <schwab@redhat.com>
50887
50888 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50889 __ieee754_sqrt instead of sqrt.
50890 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50891 __ieee754_sqrtf instead of sqrtf.
50892 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50893 __floorf instead of floorf.
50894 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50895 __floorf, __truncf instead of floorf, truncf.
50896
cd205654
UD
508972011-09-14 Ulrich Drepper <drepper@gmail.com>
50898
ee4d0315
UD
50899 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50900
cd205654
UD
50901 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50902 __extern_always_inline.
50903 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50904 32-bit.
50905
48b67d71
AS
509062011-09-14 Andreas Schwab <schwab@redhat.com>
50907
50908 * elf/rtld.c (dl_main): Also relocate in dependency order when
50909 doing symbol dependency testing.
50910
1ae12c75
AS
509112011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50912
50913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50914 Always define `refsym'.
50915
995a80df
AS
509162011-09-13 Andreas Schwab <schwab@redhat.com>
50917
e529793b
AS
50918 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50919 (__FD_ELT): Renamed from __FDELT.
50920 * misc/bits/select2.h (__FD_ELT): Likewise.
50921 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50922 __FD_MASK instead of __FDELT, __FDMASK.
50923 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50924 Likewise.
50925 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50926 Likewise.
50927
52d4fef8
AS
50928 * elf/Makefile (gen-ldd): Fix pattern.
50929
995a80df
AS
50930 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50931 (init_tls): Likewise.
50932
8682f8b0
UD
509332011-09-12 Ulrich Drepper <drepper@gmail.com>
50934
50935 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50936
de82006d
AS
509372011-09-12 Andreas Schwab <schwab@redhat.com>
50938
a7c8e6a1
AS
50939 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50940 `struct cmsghdr *' instead of `void *'.
50941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50942 Likewise.
50943
0f31fe77
AS
509442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50945
50946 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50947 if non-absolute.
50948 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50949 ldd_rewrite_script.
0f31fe77 50950
32b4c839
UD
509512011-09-11 Ulrich Drepper <drepper@gmail.com>
50952
83cd1420
UD
50953 * configure.in: Remove --with-tls option.
50954 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50955 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50956 out in case it is missing.
50957 * sysdeps/ia64/elf/configure.in: Likewise.
50958 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50959 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50960 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50961 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50962 * sysdeps/sh/elf/configure.in: Likewise.
50963 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50964 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50965 * sysdeps/x86_64/elf/configure.in: Likewise.
50966 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50967 * sysdeps/mach/hurd/tls.h: Likewise.
50968
633f745d
UD
50969 [BZ #13067]
50970 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50971
f318beb8
UD
50972 [BZ #13090]
50973 * configure.in: Fix use of AC_INIT.
50974
32b4c839
UD
50975 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50976
3ce1f295
UD
509772011-09-10 Ulrich Drepper <drepper@gmail.com>
50978
bb016596
UD
50979 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50980 __set_errno.
8e58439c
UD
50981 * malloc/hooks.c: Likewise.
50982
aebae053 50983 [BZ #11929]
02d46fc4
UD
50984 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50985 variables statically.
50986 (narenas): Initialize.
50987 (list_lock): Initialize.
bb016596
UD
50988 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50989 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
50990 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50991 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50992 Add initializers to main_arena and mp_.
50993 (malloc_state): Remove pagesize member. Change all users to use
50994 GLRO(dl_pagesize).
50995
50996 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50997 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50998 is always initialized.
50999
22a89187
UD
51000 * malloc/malloc.c: Removed unused configurations and dead code.
51001 * malloc/arena.c: Likewise.
51002 * malloc/hooks.c: Likewise.
02d46fc4 51003 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51004
d063d164
UD
51005 * include/tls.h: Removed. USE___THREAD must always be defined.
51006 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51007 * elf/dl-libc.c: Likewise.
51008 * elf/dl-tsd.c: Likewise.
51009 * include/errno.h: Likewise.
51010 * include/netdb.h: Likewise.
51011 * include/resolv.h: Likewise.
51012 * inet/herrno-loc.c: Likewise.
51013 * inet/herrno.c: Likewise.
51014 * malloc/arena.c: Likewise.
51015 * malloc/hooks.c: Likewise.
51016 * malloc/malloc.c: Likewise.
51017 * resolv/res-state.c: Likewise.
51018 * resolv/res_libc.c: Likewise.
51019 * sysdeps/i386/dl-machine.h: Likewise.
51020 * sysdeps/ia64/dl-machine.h: Likewise.
51021 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51022 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51023 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51024 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51025 * sysdeps/sh/dl-machine.h: Likewise.
51026 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51027 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51028 * sysdeps/unix/i386/sysdep.S: Likewise.
51029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51030 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51033 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51035 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51039 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51040 * sysdeps/x86_64/dl-machine.h: Likewise.
51041 * tls.make.c: Likewise.
51042
3ce1f295
UD
51043 * configure.in: Remove --with-__thread option. Make tests for
51044 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51045 tls_model attribute fail if no support is available. Remove
51046 USE_IN_LIBIO.
51047 * Makeconfig: Adjust for dropped configure option. All features are
51048 now mandatory.
51049 * Makerules: Likewise.
51050 * Versions.def: Likewise.
51051 * argp/argp-fmtstream.c: Likewise.
51052 * argp/argp-fmtstream.h: Likewise.
51053 * argp/argp-help.c: Likewise.
51054 * assert/assert.c: Likewise.
51055 * config.h.in: Likewise.
51056 * config.make.in: Likewise.
51057 * configure: Likewise.
51058 * configure.in: Likewise.
51059 * csu/Versions: Likewise.
51060 * csu/init.c: Likewise.
51061 * elf/tst-audit2.c: Likewise.
51062 * elf/tst-tls10.c: Likewise.
51063 * elf/tst-tls10.h: Likewise.
51064 * elf/tst-tls11.c: Likewise.
51065 * elf/tst-tls12.c: Likewise.
51066 * elf/tst-tls14.c: Likewise.
51067 * elf/tst-tlsmod11.c: Likewise.
51068 * elf/tst-tlsmod12.c: Likewise.
51069 * elf/tst-tlsmod13.c: Likewise.
51070 * elf/tst-tlsmod13a.c: Likewise.
51071 * elf/tst-tlsmod14a.c: Likewise.
51072 * elf/tst-tlsmod15b.c: Likewise.
51073 * elf/tst-tlsmod16a.c: Likewise.
51074 * elf/tst-tlsmod16b.c: Likewise.
51075 * elf/tst-tlsmod7.c: Likewise.
51076 * elf/tst-tlsmod8.c: Likewise.
51077 * elf/tst-tlsmod9.c: Likewise.
51078 * gmon/gmon.c: Likewise.
51079 * grp/fgetgrent_r.c: Likewise.
51080 * grp/putgrent.c: Likewise.
51081 * hurd/fopenport.c: Likewise.
51082 * include/libc-symbols.h: Likewise.
51083 * include/tls.h: Likewise.
51084 * intl/gettextP.h: Likewise.
51085 * intl/loadinfo.h: Likewise.
51086 * locale/global-locale.c: Likewise.
51087 * locale/localeinfo.h: Likewise.
51088 * mach/devstream.c: Likewise.
51089 * malloc/arena.c: Likewise.
51090 * malloc/set-freeres.c: Likewise.
51091 * misc/err.c: Likewise.
51092 * misc/getttyent.c: Likewise.
51093 * misc/mntent_r.c: Likewise.
51094 * posix/getopt.c: Likewise.
51095 * posix/wordexp.c: Likewise.
51096 * pwd/fgetpwent_r.c: Likewise.
51097 * resolv/Versions: Likewise.
51098 * resolv/res_hconf.c: Likewise.
51099 * shadow/fgetspent_r.c: Likewise.
51100 * shadow/putspent.c: Likewise.
51101 * stdio-common/printf_fphex.c: Likewise.
51102 * stdio-common/tmpfile.c: Likewise.
51103 * stdlib/abort.c: Likewise.
51104 * stdlib/fmtmsg.c: Likewise.
51105 * sunrpc/auth_unix.c: Likewise.
51106 * sunrpc/clnt_perr.c: Likewise.
51107 * sunrpc/clnt_tcp.c: Likewise.
51108 * sunrpc/clnt_udp.c: Likewise.
51109 * sunrpc/clnt_unix.c: Likewise.
51110 * sunrpc/openchild.c: Likewise.
51111 * sunrpc/svc_simple.c: Likewise.
51112 * sunrpc/svc_tcp.c: Likewise.
51113 * sunrpc/svc_udp.c: Likewise.
51114 * sunrpc/svc_unix.c: Likewise.
51115 * sunrpc/xdr.c: Likewise.
51116 * sunrpc/xdr_array.c: Likewise.
51117 * sunrpc/xdr_rec.c: Likewise.
51118 * sunrpc/xdr_ref.c: Likewise.
51119 * sunrpc/xdr_stdio.c: Likewise.
51120
1248c1c4
PB
511212011-09-09 Ulrich Drepper <drepper@gmail.com>
51122
51123 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51124
511252011-07-03 Andreas Jaeger <aj@suse.de>
51126
51127 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51128 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51129 regenerate with gen-libm-tests.pl.
51130
511312010-05-12 Petr Baudis <pasky@suse.cz>
51132
51133 [BZ #11589]
51134 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51135 around j0() zero points by switching to j1().
51136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51137 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51139 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51140
f22e1074
UD
511412011-09-09 Ulrich Drepper <drepper@gmail.com>
51142
f19009c1
UD
51143 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51144 instead of 0.
51145 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51146 instead of 0.
f19009c1
UD
51147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51148 Patch in part by Pavel Roskin <proski@gnu.org>.
51149
3f8cc204
UD
51150 [BZ #13138]
51151 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51152 realloc.
51153 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51154 Free memory block if necessary.
51155
f22e1074
UD
51156 [BZ #12847]
51157 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51158 be NULL. Don't lock in this case.
51159
0a2349f9
RM
511602011-09-09 Roland McGrath <roland@hack.frob.com>
51161
51162 * elf/elf.h (ELFOSABI_GNU): New macro.
51163 (ELFOSABI_LINUX): Define to that.
51164
f3cdd467
DZ
511652011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51166
51167 * string/strncat.c (strncat): Undef the symbol in case it has been
51168 defined in bits/string.h.
51169
74718d13
UD
511702011-09-09 Ulrich Drepper <drepper@gmail.com>
51171
633e9e0f
UD
51172 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51173
0a2349f9 51174 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51175 link map.
51176
f9924780
AJ
511772011-08-17 Andreas Jaeger <aj@suse.de>
51178
51179 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51180
7f5517aa
PP
511812011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51182 Ian Lance Taylor <iant@google.com>
51183
51184 * math/libm-test.inc (lround_test): New testcase.
51185 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51186
762011fe
UD
511872011-09-08 Ulrich Drepper <drepper@gmail.com>
51188
92963737
UD
51189 * Makefile: Remove support for automatic cvs check-ins.
51190 * Makerules: Likewise.
51191 * config.make.in: Likewise.
51192 * configure.in: Likewise.
51193 * intl/Makefile: Likewise.
51194 * locale/Makefile: Likewise.
51195 * po/Makefile: Likewise.
51196 * posix/Makefile: Likewise.
51197 * sysdeps/gnu/Makefile: Likewise.
51198 * sysdeps/mach/hurd/Makefile: Likewise.
51199 * sysdeps/sparc/sparc32/Makefile: Likewise.
51200
b0727fd8
JS
51201 [BZ #13118]
51202 * posix/Makefile (bug-regex32-ENV): Define.
51203 Patch by John Stanley <jpsinthemix@verizon.net>.
51204
a0f33f99
UD
51205 * misc/Makefile (headers): Add bits/select2.h.
51206 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51207 * misc/bits/select2.h: New file.
51208 * include/bits/select2.h: New file.
51209 * debug/Makefile (routines): Add fdelt_chk.
51210 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51211 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51212 FD_ISSET.
51213 * debug/fdelt_chk.c: New file.
51214
762011fe
UD
51215 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51216 * wcsmbs/test-wmemcmp.c: Likewise.
51217 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51218 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51219
512202011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51221
51222 * string/Makefile (strop-tests): Add memcmp.
51223 * string/test-wmemcmp.c: New file.
51224 * string/test-memcmp.c: Add wmemcmp support.
51225
7f513ec8
RM
512262011-09-08 Roland McGrath <roland@hack.frob.com>
51227
0442afb4
RM
51228 [BZ #13153]
51229 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51230 2011-07-19 change.
51231
7f513ec8
RM
51232 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51233 garbage value in a __mach_port_mod_refs call in the cases of the
51234 task-self and thread-self ports.
51235
a12b2239
ST
512362011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51237
51238 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51239
610f9ab4
AS
512402011-09-08 Andreas Schwab <schwab@redhat.com>
51241
7f513ec8 51242 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51243
48882a1a
LD
512442011-09-07 Ulrich Drepper <drepper@gmail.com>
51245
b49865be
UD
51246 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51247
fdc86bc9
UD
51248 * elf/dl-libc.c (dlerror_run): Pass back error code from
51249 dl_catch_error.
51250
c966526a
UD
51251 [BZ #13123]
51252 * elf/dl-load.c (lose): Free l_origin if it is valid.
51253
48882a1a
LD
51254 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51255 names.
51256 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51257 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51258 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51259 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51261 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51262
77a2a8b4
AZ
512632011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51264
51265 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51266 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51268 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51269 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51270 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51271 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51272 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51273 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51274 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51275
24f579d8
AM
512762011-08-15 Alan Modra <amodra@gmail.com>
51277
51278 [BZ #13092]
51279 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51280 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51281 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51282 ppc_mcount to static-only-routines.
51283 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51284 __mcount_internal.
51285 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51286 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51287
3d4837df
UD
512882011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51289
51290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51291 for finite and infinity parameters.
51292
22700377
WS
512932011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51294
51295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51296 and add nop instructions for throughput optimization.
51297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51298
5025581e
WS
512992011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51300
51301 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51302 aligned copy for power7 with vector-scalar instructions.
51303 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51304
08a300c9
L
513052011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51306
51307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51308 AVX check.
51309
59178ef9
AS
513102011-09-07 Andreas Schwab <schwab@redhat.com>
51311
51312 [BZ #13144]
51313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51314 last change.
51315
e38ba7ab
UD
513162011-09-07 Ulrich Drepper <drepper@gmail.com>
51317
51318 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51319 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51320 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51321 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51322 clock_gettime.
51323
d53a73ac
UD
513242011-09-06 Ulrich Drepper <drepper@gmail.com>
51325
fc8bffcc
UD
51326 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51327 Forgot to demangle the pointer.
51328
ceaa0c5d
UD
51329 * sysdeps/i386/sysdep.h: Define atom_text_section.
51330 * sysdeps/x86_64/sysdep.h: Likewise.
51331 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51332 section with atom_text_section.
51333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51334 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51335 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51338
a77d3c17
UD
51339 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51341 already be defined. Change to take two parameters and don't assign
51342 result to variable. Adjust all users.
51343 Define INTERNAL_GETTIME if not already defined.
51344 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51345 call.
51346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51347 HAVE_CLOCK_GETTIME_VSYSCALL.
51348 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51349
d53a73ac
UD
51350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51351 gettimeofday vsyscall, just use time.
51352
a8f84144
AS
513532011-09-06 Andreas Schwab <schwab@redhat.com>
51354
51355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51356 <errno.h>.
51357
ef606249
UD
513582011-09-06 Ulrich Drepper <drepper@gmail.com>
51359
51360 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51361 syscall on x86-64.
51362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51363 syscall.
51364 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51366 syscall if possible.
51367
6585cb60
UD
513682011-09-05 Ulrich Drepper <drepper@gmail.com>
51369
51370 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51371 e_ident. Don't pass to find_mapsXX.
51372 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51373
a5f524e4
LD
513742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51375
51376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51377 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51378 * sysdeps/x86_64/multiarch/strchr.S: Update.
51379 Check bit_slow_BSF bit.
51380 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51381 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51382 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51383
554881ef
UD
513842011-09-05 Ulrich Drepper <drepper@gmail.com>
51385
d96de963
UD
51386 [BZ #13134]
51387 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51388 before glibc 2.15.
51389 (tryshell): Define.
51390 (__spawni): Change last parameter to be flag. Test
51391 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51392 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51393 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51394 * posix/spawni.c: Likewise.
51395 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51396 * posix/spawnp.c: Likewise. Change normal version to use
51397 SPAWN_XFLAGS_USE_PATH.
51398 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51399 SPAWN_XFLAGS_TRY_SHELL.
51400
d48e5868
UD
51401 [BZ #13150]
51402 * posix/glob.h: Remove gcc 1.x support.
51403
554881ef
UD
51404 [BZ #13068]
51405 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51406
693fb948
LD
514072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51408
51409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51410 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51411 strrchr-sse2-bsf
51412 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51413 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51414 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51416 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51417 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51418
1b48c537
UD
514192011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51420
49d42c37
UD
51421 * sysdeps/x86_64/wcscmp.S: New file.
51422
1b48c537
UD
51423 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51424 wcscmp-c wcscmp-sse2
51425 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51426 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51427 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51428 * wcsmbs/wcscmp.c: Allow renaming.
51429
15c95c5d
DM
514302011-09-05 David S. Miller <davem@davemloft.net>
51431
51432 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51433 stack slot, rather than the struct return pointer slot.
51434 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51435 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51437 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51438
2f0ad8f3
UD
514392011-09-05 Ulrich Drepper <drepper@gmail.com>
51440
d88ae418
UD
51441 * po/ja.po: Update from translation team.
51442
2f0ad8f3
UD
51443 [BZ #13144]
51444 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51445 kernel in 64-bit binaries.
51446
5f4318d1
DM
514472011-09-01 David S. Miller <davem@davemloft.net>
51448
51449 * elf/elf.h (HWCAP_SPARC_*): Move to..
51450 * sysdeps/sparc/sysdep.h: this new file and add new values.
51451 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51452 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51453 _DL_HWCAP_COUNT to 24.
51454 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51455 entries.
51456 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51457 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51458 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51460 instead of magic constants.
51461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51462
3ba57516
DM
514632011-08-31 David S. Miller <davem@davemloft.net>
51464
51465 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51467 Reimplement to do errno handling inline.
51468 (SYSCALL_ERROR_HANDLER): New macro.
51469 (__SYSCALL_STRING): Do not do errno handling in asm.
51470 (__CLONE_SYSCALL_STRING): Delete.
51471 (__INTERNAL_SYSCALL_STRING): Delete.
51472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51473 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51474 (PSEUDO): Reimplement to do errno handling inline.
51475 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51476 (SYSCALL_ERROR_HANDLER): New macro.
51477 (__SYSCALL_STRING): Do not do errno handling in asm.
51478 (__CLONE_SYSCALL_STRING): Delete.
51479 (__INTERNAL_SYSCALL_STRING): Delete.
51480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51481 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51482 i386.
51483 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51484 (inline_syscall*): Add 'err' argument.
51485 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51486 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51487 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51488 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51489
51490 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51491 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51492
2bc17433
AS
514932011-08-30 Andreas Schwab <schwab@redhat.com>
51494
51495 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51496
fbeb5f4d
JO
514972011-08-29 Jiri Olsa <jolsa@redhat.com>
51498
51499 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51500 directive.
51501
ad69cc26
DM
515022011-08-24 David S. Miller <davem@davemloft.net>
51503
51504 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51505
39dd69df
AS
515062011-08-24 Andreas Schwab <schwab@redhat.com>
51507
51508 * elf/Makefile: Add rules to build and run unload8 test.
51509 * elf/unload8.c: New file.
51510 * elf/unload8mod1.c: New file.
51511 * elf/unload8mod1x.c: New file.
51512 * elf/unload8mod2.c: New file.
51513 * elf/unload8mod3.c: New file.
51514
51515 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51516 it wasn't used.
51517
2c0b250a
DM
515182011-08-23 David S. Miller <davem@davemloft.net>
51519
51520 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51521 subtract stack bias.
51522 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51523 %sp not %fp in calculations.
51524 (_JMPBUF_UNWINDS_ADJ): Likewise.
51525
22044b48
DM
51526 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51527 (aio_suspend): Call it to force an exception region around the
51528 AIO_MISC_WAIT() invocation.
51529
2cae4995
AS
515302011-08-23 Andreas Schwab <schwab@redhat.com>
51531
51532 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51533 backslash.
51534
873a772e
AJ
515352011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51536
51537 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51538 protection macro.
51539 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51540 and <dl-machine.h>.
51541 (Elf64_FuncDesc): Remove.
51542
25ad0df1
DM
515432011-08-22 David S. Miller <davem@davemloft.net>
51544
51545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51546 sigaltstack check, add missing cfi directives.
51547 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51548 missing cfi directives, and sigaltstack handling.
51549
e888bcbe
AS
515502011-08-16 Andreas Schwab <schwab@redhat.com>
51551
51552 [BZ #11724]
51553 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51554 object is seen twice.
51555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51556
51557 * elf/Makefile (distribute): Add tst-initorder2.c.
51558 (tests): Add tst-initorder2.
51559 (modules-names): Add tst-initorder2a tst-initorder2b
51560 tst-initorder2c tst-initorder2d. Add rules to build them.
51561 ($(objpfx)tst-initorder2.out): New rule.
51562 * elf/tst-initorder2.c: New file.
51563 * elf/tst-initorder2.exp: New file.
51564
87162f46
AS
515652011-08-22 Andreas Schwab <schwab@redhat.com>
51566
70538b7f
AS
51567 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51568
f55ffe58
AS
51569 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51570 dependencies back to end of function.
51571
87162f46
AS
51572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51573 $(elfobjdir)/ld.so.
51574
91b392a4
UD
515752011-08-21 Ulrich Drepper <drepper@gmail.com>
51576
51577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51578 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51580 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51581 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51582 of __vdso_gettimeofday.
51583 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51584 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51585 attribute_hidden.
51586 (_libc_vdso_platform_setup): Remove initialization of
51587 __vdso_gettimeofday and __vdso_time.
51588
5c43483f
UD
515892011-08-20 Ulrich Drepper <drepper@gmail.com>
51590
775a77e7
UD
51591 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51592 and fgetc_unlocked.
51593 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51594 getc_unlocked.
89f447ed 51595
49c74ba9
UD
51596 * elf/dl-open.c (add_to_global): Report additions to the global scope
51597 for LD_DEBUG=scopes.
51598 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 51599 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 51600
5c43483f
UD
51601 [BZ #13114]
51602 * stdio-common/Makefile (tests): Add bug24.
51603 * stdio-common/bug24.c: New file.
51604
a101b025
AJ
516052011-08-19 Andreas Jaeger <aj@suse.de>
51606
51607 [BZ #13114]
51608 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51609 non-existant file when using close-on-exec mode.
51610
c88f1766
UD
516112011-08-20 Ulrich Drepper <drepper@gmail.com>
51612
0276a718
UD
51613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51614 the very first instruction.
51615
c88f1766
UD
51616 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51617 the CFI state in the end.
51618 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51619 inclusion of dl-trampoline.h.
51620 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51621
51ccffa0
AS
516222011-08-19 Andreas Schwab <schwab@redhat.com>
51623
94d7165f
AS
51624 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51625 expectations for long double.
51626
51ccffa0
AS
51627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51628 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51629
fd708658 516302011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
51631
51632 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51633 artificual limit depends upon the system page size.
51634
44f0a71e
UD
516352011-08-17 Ulrich Drepper <drepper@gmail.com>
51636
51637 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51638 * resolv/Makefile: Define CFLAGS-libresolv.
51639
8de79a24
AS
516402011-08-17 Andreas Schwab <schwab@redhat.com>
51641
51642 * nss/makedb.c (compute_tables): Make variables used in nested
51643 function static.
51644
27724598
UD
516452011-08-17 Ulrich Drepper <drepper@gmail.com>
51646
c5305d88
UD
51647 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51648 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51649 if buffer was too small.
51650
27724598
UD
51651 * elf/pldd.c (main): Attach to all threads in the process.
51652 Rewrite /proc handling to use *at functions.
51653
076fe015
UD
516542011-08-16 Ulrich Drepper <drepper@gmail.com>
51655
174baab3
UD
51656 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51657 specifies first scope to show.
51658 (dl_open_worker): Update callers. Move printing scope of new
51659 object to before the relocation.
44f0a71e 51660 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
51661 * sysdeps/generic/ldsodefs.h: Update declaration.
51662
076fe015
UD
51663 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51664 string for the scope number.
51665
a60df2c3
UD
516662011-08-14 Ulrich Drepper <drepper@gmail.com>
51667
51668 * nscd/servicescache.c (cache_addserv): Make sure written is always
51669 initialized.
51670
5e4287d1
RM
516712011-08-14 Roland McGrath <roland@hack.frob.com>
51672
85ae0589
RM
51673 * sysdeps/i386/i486/bits/atomic.h
51674 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51675 statement expression, so as to suppress "set but not used" warning.
51676 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51677
69f63097
RM
51678 * string/strncat.c (STRNCAT): Use prototype definition.
51679
675456ef
RM
51680 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51681 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51682 -Iprograms here.
51683 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51684 (localedef-modules): Add localedef.
51685 (locale-modules): Add locale.
51686
5e4287d1
RM
51687 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51688 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51689 to avoid a warning.
51690
9c96ff23
DM
516912011-08-14 David S. Miller <davem@davemloft.net>
51692
51693 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51694 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51695
f9ddf089
UD
516962011-08-13 Ulrich Drepper <drepper@gmail.com>
51697
44f0a71e 51698 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
51699 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51700 * elf/rtld.c (dl_main): Set l_name of vDSO.
51701 Call _dl_show_scope when DL_DEBUG_SCOPES.
51702 (process_dl_debug): Recognize scopes flag and also set it for all.
51703 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51704 Declare _dl_show_scope.
51705
1dc27704
UD
51706 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51707 (do_dlopen): Pass caller_dlopen to dl_open.
51708 (__libc_dlopen_mode): Initialize caller_dlopen.
51709
f9ddf089
UD
51710 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51711 of libc. Make tolower call locale-independent. Optimize a bit by
51712 using isdigit instead of isalnum.
51713 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51714
9ac533d3
UD
517152011-08-12 Ulrich Drepper <drepper@gmail.com>
51716
51717 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51718 was a dependency or dynamically loaded.
51719
89edf2e9
UD
517202011-08-11 Ulrich Drepper <drepper@gmail.com>
51721
8e999d29
UD
51722 * intl/l10nflist.c: Allow architecture-specific pop function.
51723 * sysdeps/x86_64/l10nflist.c: New file.
51724
89edf2e9
UD
51725 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51726 classification.
51727
14d96785
AS
517282011-08-10 Andreas Schwab <schwab@redhat.com>
51729
51730 * include/dirent.h: Add libc_hidden_proto for scandirat and
51731 scandirat64. Don't declare __scandirat64.
51732 * dirent/scandirat.c: Add libc_hidden_def.
51733 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51734 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51735
6761ac04
DM
517362011-08-10 David S. Miller <davem@davemloft.net>
51737
51738 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51739 enum.
51740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51743
c55fbd1e
UD
517442011-08-09 Ulrich Drepper <drepper@gmail.com>
51745
51746 * Versions.def [libc]: Add GLIBC_2.15.
51747 * dirent/Makefile (routines): Add scandirat and scandirat64.
51748 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51749 GLIBC_2.15.
51750 * dirent/dirent.h: Declare scandirat and scandirat64.
51751 * dirent/scandirat.c: New file.
51752 * dirent/scandirat64.c: New file.
51753 * sysdeps/wordsize-64/scandirat.c: New file.
51754 * sysdeps/wordsize-64/scandirat64.c: New file.
51755 * dirent/opendir.c: Define opendirat.
51756 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51757 using scandirat.
51758 * dirent/scandir64.c: Adjust for scandir.c change.
51759 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51760 __scandirat64, and __scandir_cancel_handler.
51761 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51762 additional parameter and use openat instead of open (outside of ld.so).
51763 Add new __opendir as wrapper around __opendirat.
51764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51765 here without requiring old scandirat implementation.
51766
879165f2
UD
517672011-08-08 Ulrich Drepper <drepper@gmail.com>
51768
51769 * dirent/scandir.c (cancel_handler): Renamed to
51770 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51771 defined. Adjust users.
51772 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51773 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51774
cb7e923b
UD
517752011-08-04 Ulrich Drepper <drepper@gmail.com>
51776
16292edd
UD
51777 * string/test-string.h (IMPL): Use __STRING to expand name and then
51778 stringify it.
51779
cb7e923b
UD
51780 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51781 of cleanups.
51782
cff82933
LD
517832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51784
51785 * string/Makefile: Update.
51786 (strop-tests): Append strncat.
51787 * string/test-wcscmp.c: New file.
51788 New comprehensive test for wcscmp.
51789 * string/test-strcmp.c: Update.
51790 (WIDE): New define.
51791
9be9bfcc
AS
517922011-07-22 Andreas Schwab <schwab@redhat.com>
51793
51794 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51795 line.
51796
2e96f1c7
AS
517972011-07-26 Andreas Schwab <schwab@redhat.com>
51798
51799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51800 encoding to ACE if AI_IDN.
51801
85188888
JJ
518022011-08-01 Jakub Jelinek <jakub@redhat.com>
51803
51804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51805 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51806
5fa16e9b
LD
518072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51808
51809 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51810 Fix overflow bug in strncat.
51811 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51812
51813 * string/test-strncat.c: Update.
51814 Add new tests for checking overflow bugs.
51815
518162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51817
51818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51819 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51820 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51821 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51823 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51824 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51825 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51826 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51827
51828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51829 (USE_AS_STRCAT): Define.
51830 Add strcat and strncat support.
51831 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51832
8c1a459f
AS
518332011-07-25 Andreas Schwab <schwab@redhat.com>
51834
51835 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51836 __n bigger than INT_MAX+1.
51837 (__strncmp_g): Likewise.
51838
bba33c28
UD
518392011-07-23 Ulrich Drepper <drepper@gmail.com>
51840
798be72d
UD
51841 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51842 * libio/stido.h: Likewise.
51843
8accd4dc
UD
51844 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51845 (AF_NFC): Define.
51846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51847 (AF_NFC): Define.
51848
cbff0d96
UD
51849 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51852 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51854
9191c04a
UD
51855 [BZ #13021]
51856 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51857 installed.
51858
bba33c28
UD
51859 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51860 typo.
51861 (_dl_x86_64_save_sse): Likewise.
51862
90f139dd
UD
518632011-07-22 Ulrich Drepper <drepper@gmail.com>
51864
1aae088a
UD
51865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51866 OSXSAVE.
51867 (_dl_x86_64_save_sse): Likewise.
51868
8e2045f5
UD
51869 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51870
90f139dd
UD
51871 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51872
1d002f25
AS
518732011-07-21 Andreas Schwab <schwab@redhat.com>
51874
51875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51876 change.
51877 (_dl_x86_64_save_sse): Use correct AVX check.
51878
21137f89
UD
518792011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51880
51881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51882 bug in strncpy/strncat.
51883 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51884
a65c0b7a
UD
518852011-07-21 Ulrich Drepper <drepper@gmail.com>
51886
51887 * string/tester.c (test_strcat): Add tests for different alignments
51888 of source and destination.
51889 (test_strncat): Likewise.
51890
6986b98a
UD
518912011-07-20 Ulrich Drepper <drepper@gmail.com>
51892
90bb2039
UD
51893 [BZ #12852]
51894 * posix/glob.c (glob): Check passed in values before using them in
51895 expressions to avoid some overflows.
51896 (glob_in_dir): Likewise.
51897
5644ef54
UD
51898 [BZ #13007]
51899 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51900 check for AVX enablement so that we don't crash with old kernels and
51901 new hardware.
51902 * elf/tst-audit4.c: Add same checks here.
51903 * elf/tst-audit6.c: Likewise.
51904
51905 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 51906
bfc9dc9b
AS
519072011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51908
51909 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51910
702e64bb
UD
519112011-07-20 Ulrich Drepper <drepper@gmail.com>
51912
51913 * po/cs.po: Update from translation team.
51914 * po/bg.po: Likewise.
51915
295e904f
MP
519162011-07-12 Marek Polacek <mpolacek@redhat.com>
51917
51918 * misc/sys/cdefs.h: Add support for const attribute.
51919 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51920 to gnu_dev_{major,minor,makedev} functions.
51921
3ff94596
MP
519222011-07-20 Marek Polacek <mpolacek@redhat.com>
51923
51924 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51925
28b59fca
AS
519262011-07-20 Andreas Schwab <schwab@redhat.com>
51927
51928 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51929 strlen results.
51930
19df733e
AK
519312011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51932
51933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51934 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51935 register in order to avoid conflicts with the soft frame pointer
51936 being held in r11 when necessary.
51937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51938 (INTERNAL_VSYSCALL_NCS): Likewise.
51939
c8835729
MP
519402011-07-14 Marek Polacek <mpolacek@redhat.com>
51941
51942 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51943 * elf/dl-fini.c (_dl_fini): Adjust caller.
51944 * elf/dl-close.c (_dl_close_worker): Likewise.
51945 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51946
b902330c
MP
519472011-07-15 Marek Polacek <mpolacek@redhat.com>
51948
8991e135
MP
51949 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51950 "aux_cache->nlibs < 0".
51951
b902330c
MP
51952 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51953 in the reload-count case.
51954
99710781
LD
519552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51956
51957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51958 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51959 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51960 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51961 * sysdeps/x86_64/multiarch/strcat.S: New file.
51962 * sysdeps/x86_64/multiarch/strncat.S: New file.
51963 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51965 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51966 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51968 (USE_AS_STRCAT): Define.
51969 Add strcat and strncat support.
51970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51971 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51972 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51973 * string/strncat.c: Update.
51974 (USE_AS_STRNCAT): Define.
51975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51976 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51977 and i7.
51978 * sysdeps/x86_64/multiarch/init-arch.h
51979 (bit_Prefer_PMINUB_for_stringop): New.
51980 (index_Prefer_PMINUB_for_stringop): Likewise.
51981 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51982 bit_Prefer_PMINUB_for_stringop.
51983
7dc6bd90
UD
519842011-07-19 Ulrich Drepper <drepper@gmail.com>
51985
51986 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51987 buffer64.
51988 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51989 of casting of buffer.
51990 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51991 buffer32 and buffer64.
51992 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51993 writes instead of casting of buffer.
51994 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51995 buffer32.
51996 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51997 casting of buffer.
51998
e0e72284
AS
519992011-07-19 Andreas Schwab <schwab@redhat.com>
52000
52001 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52002
feb1eb0b
UD
520032011-07-19 Ulrich Drepper <drepper@gmail.com>
52004
52005 * nscd/nscd.c (termination_handler): Don't do anything for a database
52006 if it has not yet been initialized.
52007
298711ff
UD
520082011-07-18 Ulrich Drepper <drepper@gmail.com>
52009
52010 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52011
520122011-07-15 Marek Polacek <mpolacek@redhat.com>
52013
52014 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52015
f9d68389
UD
520162011-07-18 Ulrich Drepper <drepper@gmail.com>
52017
52018 * po/nl.po: Update from translation team.
52019 * po/sv.po: Likewise.
52020
db290cf5
RM
520212011-07-16 Roland McGrath <roland@hack.frob.com>
52022
52023 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52024 now disallowed by GCC.
5c550700 52025
fd5e21c7
RM
52026 * configure.in (use-default-link): Default to yes if a test -shared
52027 link meets our qualifications.
52028 * configure: Regenerated.
52029
5c550700
RM
52030 * config.make.in (output-format): New variable.
52031 * configure.in: Check for ld --print-output-format support.
52032 * configure: Regenerated.
52033 * Makerules ($(common-objpfx)format.lds)
52034 [$(output-format) != unknown]: Just use $(output-format),
52035 instead of the linker-script munging.
52036
9fa2c032
RM
520372011-07-14 Roland McGrath <roland@hack.frob.com>
52038
a6928d51
RM
52039 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52040 of $(common-objpfx)shlib.lds.
52041 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52042
661607b3
RM
52043 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52044 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52045
9fa2c032
RM
52046 * configure.in (-z relro check): Adjust test code to add a large
52047 writable data section after it.
52048 * configure: Regenerated.
52049
defe9061
RM
520502011-07-11 Roland McGrath <roland@hack.frob.com>
52051
52052 * configure.in (-z relro check): Fix test code to make the variable
52053 truly const.
52054 * configure: Regenerated.
52055
319b9ad4
UD
520562011-07-11 Ulrich Drepper <drepper@gmail.com>
52057
52058 * nscd/nscd.h (struct traced_file): Define.
52059 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52060 elements. Add traced_files.
52061 (inotify_fd): Declare.
52062 (register_traced_file): Declare.
52063 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52064 (inotify_fd): Export.
52065 (resolv_conf_descr): Remove.
52066 (nscd_init): Move inotify descriptor creation to main.
52067 Don't register files for notification here.
52068 (register_traced_file): New function.
52069 (invalidate_cache): Don't use reset_res to determine whether to call
52070 res_init, go through the list of registered files.
52071 (main_loop_poll): The inotify descriptors are now stored in the
52072 structures for the traced files.
52073 (main_loop_epoll): Likewise
52074 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52075 to __nss_disable_nscd.
52076 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52077 for a database anymore. Check the records for all the registered
52078 files instead.
52079 * nss/Makefile (libnss_files-routines): Add files-init.
52080 (libnss_db-routines): Add db-init.
52081 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52082 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52083 * nss/nss_db/db-init.c: New file.
52084 * nss/nss_files/files-init.c: New file.
52085 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52086 __nss_lookup_function.
52087 (__nss_lookup_function): Call nss_load_library.
52088 (nss_load_all_libraries): New function.
52089 (__nss_disable_nscd): Take parameter with callback function for files
52090 to register. Set is_nscd. Load all the DSOs for the NSS modules
52091 used for the cached services.
52092 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52093 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52094 options for features to all the files in nscd.
52095
52096 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52097
23bee3e8
RM
520982011-07-10 Roland McGrath <roland@hack.frob.com>
52099
52100 * csu/elf-init.c (__libc_csu_init): Comment typo.
52101
46a5b7f0
UD
521022011-07-09 Ulrich Drepper <drepper@gmail.com>
52103
52104 * po/pl.po: Update from translation team.
52105 * po/ja.po: Likewise.
52106 * po/ru.po: Likewise.
52107 * po/ko.po: Likewise.
52108 * po/fr.po: Likewise.
52109
d30cf5bb
RM
521102011-07-09 Roland McGrath <roland@hack.frob.com>
52111
113ddea4
RM
52112 * configure.in (.ctors/.dtors header and trailer check):
52113 Use an empirical test on a built program.
52114 * configure: Regenerated.
52115
574920b4
RM
52116 * configure.in (-z relro check): Use an empirical test on a built DSO.
52117 Detect, but do not require, on ia64.
52118 * configure: Regenerated.
52119
d30cf5bb
RM
52120 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52121 Update tests that use readelf to use $READELF instead.
52122 * configure: Regenerated.
52123
8538fdb3
UD
521242011-07-08 Ulrich Drepper <drepper@gmail.com>
52125
52126 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52127 if the result is not used.
52128
04d08991
AJ
521292011-07-05 Andreas Jaeger <aj@suse.de>
52130
52131 [BZ#9696]
52132 * stdlib/tst-strtod.c: Add testcase.
52133
de283087
AD
521342011-07-07 Ulrich Drepper <drepper@gmail.com>
52135
4e5f31c8 52136 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52137 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52138 The latter has a higher limit. Take additional parameter to pass to
52139 the new function.
52140 (__pathconf): Pass file to __statfs_link_max.
52141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52142 __statfs_link_max.
52143 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52144 __statfs_link_max.
52145
de283087
AD
52146 [BZ #12868]
52147 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52149 Handle Lustre.
52150 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52151 (__statfs_filesize_max): Likewise.
52152 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52153
c75fa153
AJ
521542011-07-05 Andreas Jaeger <aj@suse.de>
52155
52156 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52157
1a544854
UD
521582011-07-06 Marek Polacek <mpolacek@redhat.com>
52159
52160 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52161 `status' variable.
52162 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52163 Likewise.
52164
6f0eec67
UD
521652011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52166
52167 * Makefile (strop-tests): Add strncat.
52168 * string/test-strncat.c: New file.
52169
aae30307
UD
521702011-06-30 Marek Polacek <mpolacek@redhat.com>
52171
52172 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52173
c0cfb5eb
UD
521742011-06-21 Andreas Jaeger <aj@suse.de>
52175
52176 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52177 Copy rule from iconvdata/Makefile.
52178
01636b21
UD
521792011-07-06 Ulrich Drepper <drepper@gmail.com>
52180
52181 [BZ #12922]
52182 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52183 but no long options are defined, just return 'W'.
52184
9895c8bc
UD
521852011-06-22 Marek Polacek <mpolacek@redhat.com>
52186
52187 [BZ #9696]
52188 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52189
5d4cf042
UD
521902011-07-06 Ulrich Drepper <drepper@gmail.com>
52191
52192 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52193 netgroups to read.
960e5535 52194 (innetgr): Likewise.
5d4cf042 52195
751eb97e
RM
521962011-07-05 Roland McGrath <roland@hack.frob.com>
52197
52198 * config.make.in (install_root): Default to $(DESTDIR).
52199
f15f1e45
UD
522002011-07-05 Ulrich Drepper <drepper@gmail.com>
52201
52202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52203
4e34ac6a
RM
522042011-07-02 Roland McGrath <roland@hack.frob.com>
52205
5e9b6af4
RM
52206 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52207
84f9ea0f
RM
52208 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52209 containing directory rather than embedding absolute directory names.
52210
ea5ee9f7
RM
52211 * scripts/check-local-headers.sh: Rewritten using awk.
52212 Match by word, not by line. Print error messages for matches.
52213 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52214
1b74661a
RM
52215 * Makerules [shlib-lds-flags empty]:
52216 ($(common-objpfx)libc_pic.opts): New target.
52217 ($(common-objpfx)libc_pic.os.clean): New target.
52218 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52219
52220 * config.make.in (OBJCOPY): New variable.
52221 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52222 * configure: Regenerated.
52223
f781ef40
RM
52224 * config.make.in (use-default-link): New variable.
52225 * configure.in (use_default_link): Grok --with-default-link to set it.
52226 * configure: Regenerated.
52227 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52228 (shlib-lds, shlib-lds-flags): Define to empty.
52229
2d4fa81e
RM
52230 * Makerules (shlib-lds): New variable.
52231 (shlib-lds-flags): New variable.
52232 (build-shlib, build-moduile, build-module-asneeded): Use it.
52233 ($(common-objpfx)libc.so): Use $(shlib-lds).
52234 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52235 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52236
31fffa6b
RM
52237 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52238 DT_FLAGS/DT_FLAGS_1 with zero flags.
52239
4e34ac6a
RM
52240 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52241 linker script munging.
52242
fcfc776b
UD
522432011-07-02 Ulrich Drepper <drepper@gmail.com>
52244
52245 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52246 as 128-bit value.
52247 * crypt/sha512.c (sha512_process_block): Perform total addition using
52248 128-bit if possible.
52249 (__sha512_finish_ctx): Likewise.
52250 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52251 as 64-bit value.
52252 * crypt/sha256.c (SWAP64): Define.
52253 (sha256_process_block): Perform total addition using 64-bit if
52254 possible.
52255 (__sha256_finish_ctx): Likewise.
52256
99231d9a
UD
522572011-07-01 Ulrich Drepper <drepper@gmail.com>
52258
52259 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52260 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52261 * nscd/hstcache.c (cache_addhst): Likewise.
52262 * nscd/grpcache.c (cache_addgr): Likewise.
52263 * nscd/aicache.c (addhstaiX): Likewise
52264 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52265
445b4a53
TK
522662011-07-01 Thorsten Kukuk <kukuk@suse.de>
52267
52268 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52270 * nscd/hstcache.c (cache_addhst): Likewise.
52271 * nscd/grpcache.c (cache_addgr): Likewise.
52272 * nscd/aicache.c (addhstaiX): Likewise
52273
6d4d8e8e
AS
522742011-07-01 Andreas Schwab <schwab@redhat.com>
52275
52276 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52277 domain only when needed.
52278
89f654c5
AS
522792011-06-30 Andreas Schwab <schwab@redhat.com>
52280
52281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52282 is always restored.
52283
cf3b23ff
UD
522842011-06-29 Ulrich Drepper <drepper@gmail.com>
52285
52286 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52287 are re-adding the entry.
52288 * nscd/servicescache.c (cache_addserv): Likewise.
52289
751626f9
AJ
522902011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52291
52292 * sysdeps/generic/dl-irel.h: fix protection against multiple
52293 inclusions.
52294 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52295
9113ea1f
UD
522962011-06-28 Ulrich Drepper <drepper@gmail.com>
52297
5c0b8d90
UD
52298 [BZ #12935]
52299 * malloc/memusage.sh: Fix quoting in message.
52300 * debug/xtrace.sh: Likewise.
52301
9113ea1f
UD
52302 * configure.in: Remove support for --experimental-malloc option, make
52303 it the default.
52304 * config.make.in: Likewise.
52305 * malloc/Makefile: Likewise.
52306
a4172181
AS
523072011-06-27 Andreas Schwab <schwab@redhat.com>
52308
52309 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52310 two-byte characters.
52311
78a7eee7
RM
523122011-06-27 Roland McGrath <roland@hack.frob.com>
52313
62bede13
RM
52314 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52315 AC_CACHE_CHECK invocation.
52316 * configure: Regenerated.
52317
78a7eee7
RM
52318 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52319
5ce33a62
UD
523202011-06-27 Ulrich Drepper <drepper@gmail.com>
52321
034807a9
UD
52322 [BZ #12350]
52323 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52324 bit from old_res_options.
52325
4902da17
UD
52326 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52327
5ce33a62
UD
52328 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52329 value type for setfct.
52330
c2344f56
L
523312011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52332
52333 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52334 __gettimeofday instead of gettimeofday.
52335
68468076
UD
523362011-06-26 Ulrich Drepper <drepper@gmail.com>
52337
52338 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52339
acb0d739
L
523402011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52341
52342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52343
52344 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52345 info.
52346
8912479f
L
523472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52348
52349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52350 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52351 strcpy-sse2-unaligned strncpy-sse2-unaligned
52352 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52353 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52354 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52355 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52356 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52358 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52359 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52360 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52361 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52362 (STRCPY): Support SSE2 and SSSE3 versions.
52363
d5495a11
UD
523642011-06-24 Ulrich Drepper <drepper@gmail.com>
52365
52366 [BZ #12874]
52367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52368 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52369 kernels which artificially limit size of requests.
52370
0b1cbaae
L
523712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52372
52373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52374 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52375 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52376 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52377 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52378 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52379 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52380 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52383 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52384 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52385 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52386 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52387 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52389 Enable unaligned load optimization for Intel Core i3, i5 and i7
52390 processors.
52391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52392 Define.
52393 (index_Fast_Unaligned_Load): Define.
52394 (HAS_FAST_UNALIGNED_LOAD): Define.
52395
07f494a0
MP
523962011-06-23 Marek Polacek <mpolacek@redhat.com>
52397
52398 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52399
fa3fc0fe
UD
524002011-06-22 Ulrich Drepper <drepper@gmail.com>
52401
52402 [BZ #12907]
52403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52404 until it is clear that the information is realy needed.
52405 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52406
e12df166
AS
524072011-06-22 Andreas Schwab <schwab@redhat.com>
52408
52409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52410
852eb34d
UD
524112011-06-22 Ulrich Drepper <drepper@gmail.com>
52412
84e2a551
UD
52413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52414 /sys/devices/system/cpu/online if it is usable.
52415
852eb34d
UD
52416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52417 reading the information from the /proc filesystem to once a second.
52418
6e502e19
UD
524192011-06-21 Andreas Jaeger <aj@suse.de>
52420
52421 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52422 NULL after inclusion of kernel headers.
52423
75d39ff2
UD
524242011-06-21 Ulrich Drepper <drepper@gmail.com>
52425
51f9aa6a
UD
52426 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52427 calls to internal_setent.
52428
c0244a9d
UD
52429 [BZ #12885]
52430 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52431 addresses using gethostbyname4_r ignore IPv4 addresses.
52432
c5e3c2ae
UD
52433 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52434 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52435
75d39ff2
UD
52436 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52437
42675c6f
DM
524382011-06-20 David S. Miller <davem@davemloft.net>
52439
52440 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52441 inclusions.
52442 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52443
52444 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52445 (elf_irel): Use it.
52446 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52447 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52448 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52449 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52450 * sysdeps/x86_64/dl-irel.h: Likewise.
52451
52452 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52453 * elf/dl-sym.c: Likewise.
52454
57912a71
UD
524552011-06-15 Ulrich Drepper <drepper@gmail.com>
52456
52457 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52458 need to dereference resplen2.
52459
ee22793d
AS
524602011-06-14 Andreas Schwab <schwab@redhat.com>
52461
52462 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52463
a9e836b0
UD
524642011-06-15 Ulrich Drepper <drepper@gmail.com>
52465
77fb9117
UD
52466 * Makeconfig: Define vardbdir and inst_vardbdir.
52467 * nss/Makefile: Add rules to install db-Makefile.
52468
40c1b22c
UD
52469 * nss/nss_db/db-XXX.c: Cleanup.
52470
9f2da732
UD
52471 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52472 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52473 GLIBC_PRIVATE.
52474 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52475 * nss/makedb.c: Implement -g option to specify that value strings
52476 are generated and should not be added to table iterated over for
52477 get*ent calls.
52478 * nss/nss_db/db-initgroups.c: New file.
52479
82e9a1f7
UD
52480 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52481 interface.
52482
c41af17e
UD
52483 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52484 (internal_getgrouplist): Adjust to name change.
52485 Update use_initgroups_entry if this is not the first call.
52486 * nss/databases.def: Add initgroups entry.
52487
a9e836b0
UD
52488 * nss/makedb.c (compute_tables): Check result of multiple hash table
52489 sizes to minimize maximum chain length.
52490
2666d441
UD
524912011-06-14 Ulrich Drepper <drepper@gmail.com>
52492
52493 * Versions.def: Add entry for libnss_db.
52494 * shlib-versions: Likewise.
52495 * nss/Makefile: Add rules to build libnss_db.
52496 * nss/Versions: Add libnss_db information. Organize libnss_files
52497 entries better.
52498 * nss/db-Makefile: Add gshadow support. Change rules for the new
52499 makedb progra. Some minor improvements to generate smaller files.
52500 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52501 here from...
52502 * nss/makedb.c: ...here.
52503 Improve database format to be smaller and require less memory at
52504 runtime.
52505 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52506 db anymore.
52507 * nss/nss_db/db-netgrp.c: Likewise.
52508 * nss/nss_db/db-open.c: Likewise.
52509 * nss/nss_files/flies-XXX.x: Adjust comments.
52510 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52511 * nss/nss_files/files-grp.c: Likewise.
52512 * nss/nss_files/files-hosts.c: Likewise.
52513 * nss/nss_files/files-network.c: Likewise.
52514 * nss/nss_files/files-proto.c: Likewise.
52515 * nss/nss_files/files-pwd.c: Likewise.
52516 * nss/nss_files/files-rpc.c: Likewise.
52517 * nss/nss_files/files-service.c: Likewise.
52518 * nss/nss_files/files-sgrp.c: Likewise.
52519 * nss/nss_files/files-spwd.c: Likewise.
52520 * nss/nss_db/db-alias.c: Removed.
52521 * nss/nss_db/dummy-db.h: Removed.
52522
9ee76b5a
UD
525232011-06-02 Ulrich Drepper <drepper@gmail.com>
52524
52525 * nss/makedb.c: Rewritten to not use database library.
52526 * nss/Makefile: Update to build new makedb program.
52527
c71ca1f8
AJ
525282011-06-14 Andreas Jaeger <aj@suse.de>
52529
52530 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52531 memset declaration.
52532
3154bfb8
UD
525332011-06-10 Andreas Schwab <schwab@redhat.com>
52534
52535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52536 tmpbuf.
52537
b350afab
RM
525382011-06-10 Roland McGrath <roland@hack.frob.com>
52539
decd4e50
RM
52540 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52541 * elf/Makefile ($(objpfx)ld.so): Likewise.
52542
5615eaf2
RM
52543 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52544 Don't list ld.so twice in dependencies.
52545
52546 * posix/bug-regex31.c: Include <stdlib.h>.
52547
52548 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52549
52550 * nis/nss_compat/compat-spwd.c
52551 (getspent_next_nss_netgr): Remove unused variable.
52552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52553
52554 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52555 nonmembers" output to use the right array.
52556
52557 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52558
52559 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52560
52561 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52562 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52563 * catgets/gencat.c (read_input_file): Likewise.
52564 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52565
52566 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52567 variable definition inside #if's controlling its use.
52568
52569 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52570
52571 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52572
52573 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52574
52575 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52576 unreachable code.
52577
52578 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52579
b68e08db
RM
52580 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52581 * configure: Regenerated.
52582
b350afab
RM
52583 * Makerules: Revert last change.
52584 * elf/Makefile: Likewise.
52585
28368601
RM
525862011-06-09 Roland McGrath <roland@hack.frob.com>
52587
52588 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52589 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52590 (reloc-link): Likewise.
52591
11988f8f
UD
525922011-06-09 Ulrich Drepper <drepper@gmail.com>
52593
52594 * elf/Makefile: Add rules to build pldd.
52595 * elf/pldd.c: New file.
52596 * elf/pldd-xx.c: New file.
52597
e80fab37
UD
525982011-06-07 Ulrich Drepper <drepper@gmail.com>
52599
52600 * version.h: Update for 2.15 development version.
52601
9b849836
DM
526022011-06-07 David S. Miller <davem@davemloft.net>
52603
52604 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52605 ifuncs.
52606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52607 elf_machine_lazy_rel): Likewise.
52608 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52610 elf_machine_lazy_rel): Likewise.
52611 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52612 dl_hwcap via passed in argument.
52613 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52614 Likewise.
52615
5a31b283
AK
526162011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52617
52618 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52619
069e52f8
RM
526202011-06-06 Roland McGrath <roland@hack.frob.com>
52621
52622 [BZ #12849]
52623 * manual/fdl-1.1.texi: New file, verbatim from:
52624 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52625 * manual/lgpl-2.1.texi: New file, verbatim from:
52626 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52627 * manual/Makefile (licenses): New variable, list those new file names.
52628 (texis): Use it.
52629 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52630
52631 * manual/fdl.texi: File removed.
52632 * manual/lesser.texi: File removed.
52633 * manual/libc.texinfo (Copying, Documentation License):
52634 Use new @include file names, put @appendix directive before @include.
52635
f16846a5
JJ
526362011-06-04 Jakub Jelinek <jakub@redhat.com>
52637
52638 [BZ #12841]
52639 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52640 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52641 (mq_open): Add __NTH.
52642
3d29045b
L
526432011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52644
52645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52646 Assume Intel Core i3/i5/i7 processor if AVX is available.
52647
8c297311
UD
526482011-05-31 Ulrich Drepper <drepper@gmail.com>
52649
52650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52651 typo.
52652
c8fc0c91
UD
526532011-05-31 Andreas Schwab <schwab@redhat.com>
52654
52655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52656 memory. Use alloca_account. Fix memory leak when retrying.
52657
5b27a807
UD
526582011-05-31 Ulrich Drepper <drepper@gmail.com>
52659
356f8bc6
UD
52660 * version.h (RELEASE): Bump for 2.14 release.
52661 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52662
5b27a807
UD
52663 * config.make.in (RANLIB): Remove entry.
52664
01f16ab0
UD
526652011-05-30 Ulrich Drepper <drepper@gmail.com>
52666
41fce8bd
UD
52667 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52668 (libc.pot): Work around missing support for .ksh extension in xgettext.
52669
4769ae77
UD
52670 [BZ #12684]
52671 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52672 if both request failed.
52673 (send_dg): In case of server errors clear resplen or *resplen2.
52674
6b1e7d19
UD
52675 [BZ #12454]
52676 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52677 when there are multiple maps.
52678 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52679 (_dl_fini): Remove test here.
52680
01f16ab0
UD
52681 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52682
b1ebd700
UD
526832011-05-29 Ulrich Drepper <drepper@gmail.com>
52684
7ae22829
UD
52685 [BZ #12350]
52686 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52687 bit from old_res_options.
52688 (gaih_inet): Likewise.
52689
553149f6 52690 [BZ #11099]
18a84741 52691 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
52692 as signed.
52693
652ffab1
UD
52694 * resolv/res_init.c (res_setoptions): Make the code more compact.
52695
16985fd0
UD
52696 [BZ #11558]
52697 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52698 set RES_USEVC.
52699
0464f746
UD
52700 [BZ #11634]
52701 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52702
7d17596c
UD
52703 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52704
cf6bbbd7
UD
52705 [BZ #11781]
52706 * malloc/malloc.h: Declare malloc hook variables as volatile.
52707
13f1ab36
UD
52708 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52709 in last patch.
52710
b1ebd700
UD
52711 [BZ #11799]
52712 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 52713 raise in the comment.
80e2212d
UD
52714 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52716 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 52717
ce67228d
UD
527182011-05-28 Ulrich Drepper <drepper@gmail.com>
52719
8887a920
UD
52720 [BZ #12811]
52721 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52722 grow the buffers more if it already has to be sufficient.
52723 (build_wcs_upper_buffer): Likewise.
52724 * posix/regexec.c (check_matching): Likewise.
52725 (clean_state_log_if_needed): Likewise.
52726 (extend_buffers): Don't enlarge buffers beyond size of the input
52727 buffer.
52728 Patches mostly by Emil Wojak <emil@wojak.eu>.
52729 * posix/bug-regex32.c: New file.
52730 * posix/Makefile (tests): Add bug-regex32.
52731
4f031072
UD
52732 * locale/findlocale.c (_nl_find_locale): Return right away if
52733 _nl_explode_name failed.
52734 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52735
d0478f0c
UD
52736 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52737
de81b246
UD
52738 * debug/xtrace.sh: Unify messages.
52739 * malloc/memusage.sh: Likewise.
52740
c738465a
UD
52741 [BZ #12813]
52742 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52743 time symbol from vDSO. Substitute with vsyscall if not available.
52744 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52745 __vdso_time.
52746
f1f929d7
UD
52747 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52748 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52749 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52750 Add sendmmsg and internal_sendmmsg.
52751 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52752 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52753 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52754
ce67228d
UD
52755 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52756 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52758
e57420c6
UD
527592011-05-27 Ulrich Drepper <drepper@gmail.com>
52760
a8509ca5
UD
52761 [BZ #12813]
52762 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52763 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52764 available.
52765 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52766 __vdso_getcpu.
52767
e57420c6
UD
52768 [BZ #12814]
52769 * iconvdata/Makefile (tests): Add bug-iconv9.
52770 * iconvdata/bug-iconv9.c: New file.
52771
4d07db15
AS
527722011-05-27 Andreas Schwab <schwab@redhat.com>
52773
52774 [BZ #12814]
52775 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52776
ea486f69
JJ
527772011-05-25 Jakub Jelinek <jakub@redhat.com>
52778
52779 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52780 (struct user_regs_struct): Change intcs field back to cs.
52781
6f038433
UD
527822011-05-25 Ulrich Drepper <drepper@gmail.com>
52783
52784 * po/ja.po: Update from translation team.
52785
67f86a25
UD
527862011-05-23 Ulrich Drepper <drepper@gmail.com>
52787
52788 [BZ #12795]
52789 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52791
def7fbd6
AS
527922011-05-20 Andreas Schwab <schwab@redhat.com>
52793
52794 * stdlib/longlong.h: Update from GCC.
52795
f50ef8f1
AS
527962011-05-23 Andreas Schwab <schwab@redhat.com>
52797
52798 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52799 parameter name.
52800 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52801 Add parameter name.
52802 (__sysconf): Pass it down.
52803
de7ce8f1
UD
528042011-05-22 Ulrich Drepper <drepper@gmail.com>
52805
f2962a71
UD
52806 [BZ #12671]
52807 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52808 some situations.
52809 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52810 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52811 add in in __libc_use_alloca calls. Adjust callers.
52812 (glob): Use malloc in some situations.
52813
de7ce8f1
UD
52814 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52815 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52816 pltexit.
52817
aec84f53
UD
528182011-05-21 Ulrich Drepper <drepper@gmail.com>
52819
05bb4a68
UD
52820 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52821 and CLOCK_BOOTTIME_ALARM.
52822
7ea72f99
UD
52823 [BZ #12782]
52824 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52825 is returned.
52826
7e4afad5
UD
52827 * string/_strerror.c (__strerror_r): Print negative errors as signed
52828 numbers.
52829
8e211fec
UD
52830 [BZ #12777]
52831 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52832 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52833 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52834
f7d82dc9
UD
52835 * configure.in: Fix typo in redirection and correct removal of test
52836 files in two cases.
52837
cc9e536d
UD
52838 [BZ #12788]
52839 * locale/setlocale.c (new_composite_name): Fix test to check for
52840 identical name of all categories.
52841
aec84f53
UD
52842 [BZ #12792]
52843 * libio/filedoalloc.c (local_isatty): New function.
52844 (_IO_file_doallocate): Use local_isatty.
52845 * stdio-common/perror.c (perror): In case a new stream is used
52846 forward the stream error.
52847 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52848 error flag.
52849
78e64fdc
RT
528502011-05-20 Ulrich Drepper <drepper@gmail.com>
52851
34a9094f
UD
52852 [BZ #11869]
52853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52854 alloca.
52855 * include/alloca.h (extend_alloca_account): Define.
52856
78e64fdc
RT
52857 [BZ #11857]
52858 * posix/regex.h: Fix comments with documentation of user-accessible
52859 fields after compilation and describe correct free'ing of pattern
52860 after re_compile_pattern.
52861 Patch by Reuben Thomas <rrt@sc3d.org>.
52862
457bddfc
RA
528632011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52864
52865 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52866 and -mno-altivec to prevent the compiler from using Altivec and/or
52867 VSX instructions when the corresponding registers are not available.
52868
a4527b51
AS
528692011-05-19 Andreas Schwab <schwab@redhat.com>
52870
52871 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52872
ed690b2f
UD
528732011-05-19 Ulrich Drepper <drepper@gmail.com>
52874
52875 * libio/freopen.c (freopen): Use __dup2, not dup2.
52876 * libio/freopen64.c (freopen64): Likewise.
52877
8db73634
L
528782011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52879
52880 [BZ #12775]
52881 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52882 * math/Makefile (tests): Add test-powl.
52883 (CFLAGS-test-powl.c): Define.
52884 * math/test-powl.c: New file.
52885
0a197a9d
L
528862011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52887
52888 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52889
ee30c380
UD
528902011-05-17 Ulrich Drepper <drepper@gmail.com>
52891
52892 [BZ #11837]
52893 * iconvdata/gb18030.c: Update to GB18020-2005.
52894
6ce75379
UD
528952011-05-16 Ulrich Drepper <drepper@gmail.com>
52896
a4b89fd8
AR
52897 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52898 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52899 Patch by Aharon Robbins <arnold@skeeve.com>.
52900
ea389b12
UD
52901 [BZ #11892]
52902 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52903 on the stack.
52904
68a3f91f
UD
52905 [BZ #11895]
52906 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52907 through underflows.
52908
15cc7dd1
UD
52909 [BZ #12766]
52910 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52911 point to strings before performing equality test for error_one_per_line
52912 mode.
52913
f3799213
UD
52914 [BZ #11697]
52915 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52916
d79a9c94
UD
52917 [BZ #11820]
52918 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52919 (struct user_fpregs_struct): Avoid __uint*_t types.
52920
56e5eb46
UD
52921 [BZ #6420]
52922 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52923 symbol info. Use it instead of calling _dl_addr locally.
52924 (lock_and_info): New function.
52925 (tr_freehook): Call lock_and_info and pass symbol info as additional
52926 parameter to tr_where.
52927 (tr_mallochook): Likewise.
52928 (tr_reallochook): Likewise.
52929 (tr_memalignhook): Likewise.
52930
6ce75379
UD
52931 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52932 used and couldn't be at all thread-safe.
52933
f8a3b5bf
UD
529342011-05-15 Ulrich Drepper <drepper@gmail.com>
52935
94b7cc37
UD
52936 * libio/freopen.c (freopen): Don't close old file descriptor
52937 before the new one is opened. Instead dup the new file descriptor
52938 to the old one after the new stream is created.
52939 * libio/freopen64.c (freopen64): Likewise.
52940 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52941 * libio/fileops.c (_IO_new_file_close_it): Handle new
52942 _IO_FLAGS2_NOCLOSE flag.
52943 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52944 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52945 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52946 _IO_FLAGS2_NOCLOSE flag.
52947 * include/unistd.h: Add hidden_proto for dup3.
52948 Define __have_dup3.
52949 * io/dup3.c: Define hidden symbol.
52950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52951
bd25564e
UD
52952 [BZ #7101]
52953 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52954 when an incomplete long option is used.
52955 * posix/tst-getopt_long1.c: New file.
52956 * posix/Makefile (tests): Add tst-getopt_long1.
52957
c84cfef4
UD
52958 [BZ #10138]
52959 * scripts/config.guess: Update from autoconf-2.68.
52960 * scripts/config.sub: Likewise.
52961
3b85df27
UD
52962 [BZ #10157]
52963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52964 tests into ...
52965 (has_cpuclock): ...this. New function.
52966 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52967 macro here based on has_cpuclock code.
52968
15a856b1
UD
52969 [BZ #10149]
52970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52971 First byte (not low byte) is now always NUL.
52972 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52973
05f399e6
UD
52974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52975 Use non-cancelable interfaces.
52976
10a52685 52977 [BZ #9809]
94ecc67d
UD
52978 * locale/iso-639.def: Add entry for Sorani.
52979
f8a3b5bf
UD
52980 [BZ #11901]
52981 * include/stdlib.h: Move include protection to the right place.
52982 Define abort_msg_s. Declare __abort_msg with it.
52983 * stdlib/abort.c (__abort_msg): Adjust type.
52984 * assert/assert.c (__assert_fail_base): New function. Majority
52985 of code from __assert_fail. Allocate memory for __abort_msg with
52986 mmap.
52987 (__assert_fail): Now call __assert_fail_base.
52988 * assert/assert-perr.c: Remove bulk of implementation. Use
52989 __assert_fail_base.
52990 * include/assert.hL Declare __assert_fail_base.
52991 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52992 mmap.
52993 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52994
1af4e298
UD
529952011-05-14 Ulrich Drepper <drepper@gmail.com>
52996
f8a3b5bf 52997 [BZ #11952]
d26dfc60
MG
52998 [BZ #12453]
52999 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53000 until all modules are registered in the DTV.
53001 * elf/Makefile: Add rules to build and run tst-tls19.
53002 * elf/tst-tls19.c: New file.
53003 * elf/tst-tls19mod1.c: New file.
53004 * elf/tst-tls19mod2.c: New file.
53005 * elf/tst-tls19mod3.c: New file.
53006 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53007
2fc54d6f
UD
53008 [BZ #12083]
53009 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53010 correctly.
53011
98d76b46
UD
53012 [BZ #12601]
53013 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53014 two-byte sequence errors.
53015 * iconvdata/Makefile (tests): Add bug-iconv8.
53016 * iconvdata/bug-iconv8.c: New file.
53017
da3c19ef
UD
53018 [BZ #12626]
53019 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53020 buf2 definition.
53021
ca408c15
UD
53022 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53023
d6f67f7d
UD
53024 [BZ #12432]
53025 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53026 (dummy_getcfa): New function.
53027 (init): Get _Unwind_GetCFA address, use dummy if not found.
53028 (backtrace_helper): In recursion check, also check whether CFA changes.
53029 (__backtrace): Completely initialize arg.
53030
1af4e298 53031 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53032 storing incomplete byte sequence in state object. Avoid testing for
53033 guaranteed too small input if we know there is enough data available.
1af4e298 53034
da62f81b
AS
530352011-05-11 Andreas Schwab <schwab@redhat.com>
53036
53037 * Makeconfig (+link-pie): Indent.
53038 * Rules (binaries-pie): Define if $(have-fpie) and
53039 $(build-shared).
53040 (binaries-shared): Also filter out $(binaries-pie).
53041 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53042 * nscd/Makefile (others-pie): Add nscd.
53043 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53044 ($(objpfx)nscd): Remove command override.
53045 * login/Makefile (others-pie): Add pt_chown.
53046 ($(objpfx)pt_chown): Remove command override.
53047 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53048 remove command overrides.
53049
fcabc0f8
UD
530502011-05-13 Ulrich Drepper <drepper@gmail.com>
53051
20030ae6
UD
53052 * libio/tst_putwc.c: Fix error messages.
53053
fcabc0f8
UD
53054 [BZ #12724]
53055 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53056 currently writing and seek to current position when not.
53057 * libio/Makefile (tests): Add bug-fclose1.
53058 * libio/bug-fclose1.c: New file.
53059
320a5dc0
PB
530602011-05-12 Ulrich Drepper <drepper@gmail.com>
53061
53062 [BZ #12511]
53063 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53064 don't set DF_1_NODELETE here.
53065 (do_lookup_x): When entering new entry test for copy relocation
53066 and if necessary set DF_1_NODELETE flag.
53067 * elf/tst-unique4.cc: New file.
53068 * elf/tst-unique4.h: New file.
53069 * elf/tst-unique4lib.cc: New file.
53070 * elf/Makefile: Add rules to build and run tst-unique4.
53071 Patch by Piotr Bury <pbury@goahead.com>.
53072
22836f52
UD
530732011-05-11 Ulrich Drepper <drepper@gmail.com>
53074
f574184a
UD
53075 [BZ #12052]
53076 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53077
e1fb097f
UD
53078 [BZ #12625]
53079 * misc/mntent_r.c (addmntent): Flush the stream after the output
53080
22836f52
UD
53081 [BZ #12393]
53082 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53083 (is_trusted_path_normalize): Skip initial colon. Append slash
53084 to empty buffer. Duplicate is_trusted_path code but allow
53085 constructed patch to be prefix.
53086 (is_dst): Allow $ORIGIN followed by /.
53087 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53088 Correct testing of result of is_trusted_path_normalize
53089 (decompose_rpath): Fix warning.
53090
7b3b0b2a
UD
530912011-05-10 Ulrich Drepper <drepper@gmail.com>
53092
53093 [BZ #11257]
53094 * grp/initgroups.c (internal_getgrouplist): When we found the service
53095 list through the initgroups entry in nsswitch.conf do not always
53096 continue on a successful lookup. Don't always use the
eac80ce2 53097 __nss_group_database value if it is set.
7b3b0b2a
UD
53098 * nss/nsswitch.conf (initgroups): Change action for successful db
53099 lookup to continue for compatibility.
53100
2a81eaa5
UD
531012011-05-09 Ulrich Drepper <drepper@gmail.com>
53102
be97a69e
UD
53103 [BZ #11532]
53104 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53105 and CP774 modules.
53106 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53107 and CP774 modules.
53108 * iconvdata/tst-tables.sh: Likewise.
53109 * iconvdata/cp770.c: New file.
53110 * iconvdata/cp771.c: New file.
53111 * iconvdata/cp772.c: New file.
53112 * iconvdata/cp773.c: New file.
53113 * iconvdata/cp774.c: New file.
53114 * iconvdata/testdata/CP770: New file.
53115 * iconvdata/testdata/CP770..UTF8: New file.
53116 * iconvdata/testdata/CP771: New file.
53117 * iconvdata/testdata/CP771..UTF8: New file.
53118 * iconvdata/testdata/CP772: New file.
53119 * iconvdata/testdata/CP772..UTF8: New file.
53120 * iconvdata/testdata/CP773: New file.
53121 * iconvdata/testdata/CP773..UTF8: New file.
53122 * iconvdata/testdata/CP774: New file.
53123 * iconvdata/testdata/CP774..UTF8: New file.
53124
53125 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53126 END CHARMAP line.
53127 * iconvdata/gen-8bit-gap.sh: Likewise.
53128 * iconvdata/gen-8bit.sh: Likewise.
53129
c1e9e399
UD
53130 * locale/iso-639.def: Add ary entry.
53131
24c55fb3 53132 [BZ #11258]
96b4b1b0
UD
53133 * locale/C-translit.h.in: Add U20A1 transliteration.
53134
bdc2f971
KB
53135 [BZ #12178]
53136 * locale/iso-639.def: Add wae entry.
53137 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53138
2952b117
UD
53139 [BZ #12545]
53140 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53141 for n.
53142
2a81eaa5
UD
53143 [BZ #12711]
53144 * locale/C-translit.h.in: Add entry for U20B9.
53145 Patch by pravin.d.s@gmail.com.
53146
28377d1b
UD
531472011-05-08 Ulrich Drepper <drepper@gmail.com>
53148
7fb90fb8
UD
53149 [BZ #12713]
53150 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53151 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53152 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53153 in rtld. Use *stat64.
7fb90fb8 53154 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53155 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53156 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53157 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53158 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53159 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53160 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53161 __fstatat64 macros.
7fb90fb8
UD
53162 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53163 * dirent/rewinddir.c: Add libc_hidden_def.
53164 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53165 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53166
28377d1b
UD
53167 * include/dirent.h (__alloc_dir): Add flags parameter.
53168 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53169 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53170 __alloc_dir.
53171 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53172 from fdopendir if O_CLOEXEC is already set.
53173
66bdbaa4
AM
531742011-03-15 Alan Modra <amodra@gmail.com>
53175
53176 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53177 l_tls_firstbyte_offset non-zero. Save padding offset in
53178 l_tls_firstbyte_offset for later use.
53179 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53180 freeing static tls block.
53181
95721191
JN
531822011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53183
53184 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53185 where #ifdef was intended. The intent is to prevent ARG_MAX from
53186 being defined by the kernel headers.
53187
f87dfb1f
UD
531882011-05-07 Ulrich Drepper <drepper@gmail.com>
53189
53190 [BZ #12734]
53191 * resolv/resolv.h: Define RES_NOTLDQUERY.
53192 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53193 no-tld-query and set RES_NOTLDQUERY.
53194 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53195 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53196 modern BIND to search name as TLD unless forbidden.
53197
47c3cd7a
UD
531982011-05-07 Petr Baudis <pasky@suse.cz>
53199 Ulrich Drepper <drepper@gmail.com>
53200
53201 [BZ #12393]
53202 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53203 (is_trusted_path): ...to here.
c1e9ea35 53204 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53205 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53206 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53207
8a35c912
PP
532082011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53209
53210 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53211 __BEGIN/__END_DECLS.
53212
acd41f47
UD
532132011-05-06 Ulrich Drepper <drepper@gmail.com>
53214
53215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53216 NSS_STATUS_NOTFOUND if no record was found.
53217
597df647
AS
532182011-05-05 Andreas Schwab <schwab@redhat.com>
53219
53220 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53221 (headers-not-in-tirpc): Remove rpc/netdb.h
53222 * resolv/netdb.h: Revert last change.
53223
b9af1301
PP
532242011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53225
53226 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53227 circular dependency between libgcc.a and libc.a.
53228
4e34d5f5
AS
532292011-05-05 Andreas Schwab <schwab@redhat.com>
53230
53231 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53232 * nis/Makefile: Don't install rpcsvc/*.
53233 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53234 instead of <rpc/types.h>.
53235 (MAXHOSTNAMELEN): Define.
53236
00ee369c
AS
532372011-05-03 Andreas Schwab <schwab@redhat.com>
53238
53239 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53240
0b592a30
MB
532412011-04-28 Maciej Babinski <mbabinski@google.com>
53242
53243 [BZ #12714]
53244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53245 gethostbyname4_r when IPv6 results are possible.
53246
6e04cbbe
UD
532472011-05-02 Ulrich Drepper <drepper@gmail.com>
53248
53249 [BZ #12723]
53250 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53251 _PC_PIPE_BUF handling.
53252
e4ecafe0
BH
532532011-04-30 Bruno Haible <bruno@clisp.org>
53254
53255 [BZ #12717]
53256 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53257 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53258 to 'int'.
53259 * inet/getnameinfo.c (getnameinfo): Likewise.
53260
125ee683
UD
532612011-04-29 Ulrich Drepper <drepper@gmail.com>
53262
53263 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53264 to groups setting in database lookup.
53265 * nss/nsswitch.conf: Add initgroups entry.
53266
b722481a
EB
532672011-04-22 Ulrich Drepper <drepper@gmail.com>
53268
53269 [BZ #12685]
53270 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53271 mode string.
53272 Patch by Eric Blake <eblake@redhat.com>.
53273
4df46dbd
L
532742011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53275
53276 * sunrpc/Makefile (need-export-routines): Add svc_run.
53277 (routines): Remove svc_run.
53278 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53279 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53280 * sunrpc/svc_run.c (svc_run): Likewise.
53281 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53282
e84142d2
UD
532832011-04-21 Ulrich Drepper <drepper@gmail.com>
53284
53285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53286 problem in reallocation in last patch.
53287
877175d8
UD
532882011-04-20 Ulrich Drepper <drepper@gmail.com>
53289
53290 * sunrpc/Makefile: Move inclusion of Rules.
53291
ab8eed78
UD
532922011-04-19 Ulrich Drepper <drepper@gmail.com>
53293
53294 * nss/nss_files/files-initgroups.c: New file.
53295 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53296 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53297 _nss_files_initgroups_dyn.
53298
e3d8f584
RS
532992011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53300
53301 * elf/elf.h (R_ARM_IRELATIVE): Define.
53302
af190f45
UD
533032011-04-19 Ulrich Drepper <drepper@gmail.com>
53304
53305 * po/ru.po: Update from translation team.
53306
53cf59ef
UD
533072011-04-17 Ulrich Drepper <drepper@gmail.com>
53308
53309 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53310 dependencies.
53311
4c559bcd
MF
533122011-02-06 Mike Frysinger <vapier@gentoo.org>
53313
53314 [BZ #12653]
53315 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53316 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53320
4420675c
AS
533212011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53322
53323 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53324 differing bytes.
53325 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53328
75ea32ab
UD
533292011-04-17 Ulrich Drepper <drepper@gmail.com>
53330
53331 [BZ #12420]
53332 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53333 storing it.
53334 * stdlib/bug-getcontext.c: New file.
53335 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53336
27390476
AK
533372011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53338
53339 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53340 instructions into .machine "z9-109".
53341 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53342 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53343
10442705
AK
533442011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53345
53346 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53347 between environment variables and auxiliary vector.
53348
7b57bfe5
UD
533492011-04-16 Ulrich Drepper <drepper@gmail.com>
53350
53351 * Makefile: Add rules to build linkobj/libc.so.
53352 * include/libc-symbols.h: Define libc_hidden_nolink.
53353 * include/rpc/auth.h: Mark functions which are to be hidden.
53354 * include/rpc/auth_des.h: Likewise.
53355 * include/rpc/auth_unix.h: Likewise.
53356 * include/rpc/clnt.h: Likewise.
53357 * include/rpc/des_crypt.h: Likewise.
53358 * include/rpc/key_prot.h: Likewise.
53359 * include/rpc/pmap_clnt.h: Likewise.
53360 * include/rpc/pmap_prot.h: Likewise.
53361 * include/rpc/pmap_rmt.h: Likewise.
53362 * include/rpc/rpc_msg.h: Likewise.
53363 * include/rpc/svc.h: Likewise.
53364 * include/rpc/svc_auth.h: Likewise.
53365 * include/rpc/xdr.h: Likewise.
53366 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53367 * nss/Makefile: Likewise.
53368 * sunrpc/Makefile: Don't install headers. Build library with normal
53369 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53370 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53371 for the compat linking library. Remove use of INTDEF/INTUSE.
53372 * sunrpc/auth_none.c: Likewise.
53373 * sunrpc/auth_unix.c: Likewise.
53374 * sunrpc/authdes_prot.c: Likewise.
53375 * sunrpc/authuxprot.c: Likewise.
53376 * sunrpc/clnt_gen.c: Likewise.
53377 * sunrpc/clnt_perr.c: Likewise.
53378 * sunrpc/clnt_raw.c: Likewise.
53379 * sunrpc/clnt_simp.c: Likewise.
53380 * sunrpc/clnt_tcp.c: Likewise.
53381 * sunrpc/clnt_udp.c: Likewise.
53382 * sunrpc/clnt_unix.c: Likewise.
53383 * sunrpc/des_crypt.c: Likewise.
53384 * sunrpc/des_soft.c: Likewise.
53385 * sunrpc/get_myaddr.c: Likewise.
53386 * sunrpc/key_call.c: Likewise.
53387 * sunrpc/key_prot.c: Likewise.
53388 * sunrpc/netname.c: Likewise.
53389 * sunrpc/pm_getmaps.c: Likewise.
53390 * sunrpc/pm_getport.c: Likewise.
53391 * sunrpc/pmap_clnt.c: Likewise.
53392 * sunrpc/pmap_prot.c: Likewise.
53393 * sunrpc/pmap_prot2.c: Likewise.
53394 * sunrpc/pmap_rmt.c: Likewise.
53395 * sunrpc/publickey.c: Likewise.
53396 * sunrpc/rpc_cmsg.c: Likewise.
53397 * sunrpc/rpc_common.c: Likewise.
53398 * sunrpc/rpc_dtable.c: Likewise.
53399 * sunrpc/rpc_prot.c: Likewise.
53400 * sunrpc/rpc_thread.c: Likewise.
53401 * sunrpc/rtime.c: Likewise.
53402 * sunrpc/svc.c: Likewise.
53403 * sunrpc/svc_auth.c: Likewise.
53404 * sunrpc/svc_authux.c: Likewise.
53405 * sunrpc/svc_raw.c: Likewise.
53406 * sunrpc/svc_run.c: Likewise.
53407 * sunrpc/svc_simple.c: Likewise.
53408 * sunrpc/svc_tcp.c: Likewise.
53409 * sunrpc/svc_udp.c: Likewise.
53410 * sunrpc/svc_unix.c: Likewise.
53411 * sunrpc/svcauth_des.c: Likewise.
53412 * sunrpc/xcrypt.c: Likewise.
53413 * sunrpc/xdr.c: Likewise.
53414 * sunrpc/xdr_array.c: Likewise.
53415 * sunrpc/xdr_float.c: Likewise.
53416 * sunrpc/xdr_intXX_t.c: Likewise.
53417 * sunrpc/xdr_mem.c: Likewise.
53418 * sunrpc/xdr_rec.c: Likewise.
53419 * sunrpc/xdr_ref.c: Likewise.
53420 * sunrpc/xdr_sizeof.c: Likewise.
53421 * sunrpc/xdr_stdio.c: Likewise.
53422
e6c61494
UD
534232011-04-10 Ulrich Drepper <drepper@gmail.com>
53424
53425 [BZ #12650]
53426 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53427 * sysdeps/ia64/dl-tls.h: Likewise.
53428 * sysdeps/powerpc/dl-tls.h: Likewise.
53429 * sysdeps/s390/dl-tls.h: Likewise.
53430 * sysdeps/sh/dl-tls.h: Likewise.
53431 * sysdeps/sparc/dl-tls.h: Likewise.
53432 * sysdeps/x86_64/dl-tls.h: Likewise.
53433 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53434
34fe483e
AS
534352011-03-14 Andreas Schwab <schwab@redhat.com>
53436
53437 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53438 rpath element also skip the following colon.
53439 (expand_dynamic_string_token): Add is_path parameter and pass
53440 down to DL_DST_REQUIRED and _dl_dst_substitute.
53441 (decompose_rpath): Call expand_dynamic_string_token with
53442 non-zero is_path. Ignore empty rpaths.
53443 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53444 with zero is_path.
53445
f12a32e6
AS
534462011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53447
53448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53449 Make cancelable.
53450
38a7d692
UD
534512011-04-09 Ulrich Drepper <drepper@gmail.com>
53452
53453 [BZ #12655]
53454 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53455 Patch by Filipe David Manana <fdmanana@apache.org>.
53456
e451d22b
AS
534572011-04-07 Andreas Schwab <schwab@redhat.com>
53458
53459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53460 Maintain aligned stack.
53461 (CHECK_RSP): Remove unused macro.
53462
dedc7c7b
UD
534632011-04-03 Ulrich Drepper <drepper@gmail.com>
53464
53465 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53466 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53467
94521213
UD
534682011-04-02 Ulrich Drepper <drepper@gmail.com>
53469
53470 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53471
8cb700c0 53472 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 53473
0354e355
L
534742011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53475
53476 [BZ #12518]
53477 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53478 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53479 * sysdeps/x86_64/memmove.c: New file.
53480 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53481 (memcpy): Renamed to ...
53482 (__new_memcpy): This.
53483 (memcpy): Provide GLIBC_2_14 memcpy.
53484 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53485 (memcpy): Provide GLIBC_2_2_5 memcpy.
53486
8593482f
UD
534872011-04-01 Ulrich Drepper <drepper@gmail.com>
53488
53489 [BZ #12631]
53490 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53491
81a5726b
AS
534922011-03-30 Andreas Schwab <schwab@redhat.com>
53493
53494 * misc/syncfs.c: New file.
53495 * misc/Makefile (routines): Add syncfs.
53496 * posix/unistd.h: Declare syncfs.
53497 * sysdeps/unix/syscalls.list: Add syncfs.
53498
00e5419f
AS
534992011-04-01 Andreas Schwab <schwab@redhat.com>
53500
53501 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53502 open_by_handle_at.
53503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53508 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53510
748876bf
UD
535112011-04-01 Ulrich Drepper <drepper@gmail.com>
53512
658e451d
UD
53513 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53514 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53515 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53520
748876bf
UD
53521 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53522 sync_file_range.c with -fexceptions.
53523 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53524 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53525 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53526 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53527 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53528 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
53530 sync_file_range as cancellation point
53531 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53532 now a wrapper around __call_sync_file_range with cancellation handling.
53533 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53534 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53535 function name to __call_sync_file_range.
53536 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53537 Add call_sync_file_range.
748876bf 53538
6e63d5e1
AS
535392011-04-01 Andreas Schwab <schwab@redhat.com>
53540
53541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 53542 bits/timex.h.
6e63d5e1 53543
46998f74
UD
535442011-04-01 Ulrich Drepper <drepper@gmail.com>
53545
4c1423ed
UD
53546 * iconv/iconv.h: Fix typo in comment.
53547 * io/fcntl.h: Likewise.
53548 * libio/stdio.h: Likewise.
53549 * posix/spawn.h: Likewise.
53550 * posix/unistd.h: Likewise.
53551 * stdlib/stdlib.h: Likewise.
53552 * time/time.h: Likewise.
53553 * wcsmbs/wchar.h: Likewise.
53554
158648c0
UD
53555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53556 open_by_handle): Add.
53557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53558 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53559 Augment a few comments.
53560 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53565 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53566 open_by_handle.
53567
46998f74
UD
53568 * io/fcntl.h (AT_EMPTY_PATH): Define.
53569
83fe108b
UD
535702011-03-30 Ulrich Drepper <drepper@gmail.com>
53571
53572 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53573 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53574 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53575 to...
53576 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
53577 * Versions.def: Add GLIBC_2.14.
53578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53579 Export.
83fe108b 53580
bb242059
UD
535812011-03-22 Ulrich Drepper <drepper@gmail.com>
53582
53583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53584 round counter.
53585 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53586
c97a1282
L
535872011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53588
53589 [BZ #12597]
53590 * string/test-strncmp.c (do_page_test): New function.
53591 (check2): Likewise.
53592 (test_main): Call check2.
53593 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53594
2a115601
UD
535952011-03-20 Ulrich Drepper <drepper@gmail.com>
53596
53597 [BZ #12587]
53598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53599 Handle cache information in CPU leaf 4.
53600 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53601
8126d904
UD
536022011-03-18 Ulrich Drepper <drepper@gmail.com>
53603
042c49c6 53604 [BZ #12583]
8126d904
UD
53605 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53606 character representation.
53607 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53608
ccfe366e
RA
536092011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53610
53611 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53612 END(__isnan) to END(__isnanf) to match function entry point/label
53613 EALIGN(__isnanf,...).
53614
c6e13027
JJ
536152011-03-10 Jakub Jelinek <jakub@redhat.com>
53616
53617 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53618
33f85a3f
UD
536192011-03-10 Ulrich Drepper <drepper@gmail.com>
53620
028478fa
UD
53621 [BZ #12510]
53622 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53623 copy from the symbol referenced in the relocation to initialize the
53624 used variable.
53625 Patch by Piotr Bury <pbury@goahead.com>.
53626 * elf/Makefile: Add rules to build and tst-unique3.
53627 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53628 * elf/tst-unique3.cc: New file.
53629 * elf/tst-unique3.h: New file.
53630 * elf/tst-unique3lib.cc: New file.
53631 * elf/tst-unique3lib2.cc: New file.
53632
33f85a3f
UD
53633 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53634
03592fc7
MF
536352011-03-10 Mike Frysinger <vapier@gentoo.org>
53636
53637 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53638 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53639 to _start.
03592fc7 53640
6a5ee102
UD
536412011-03-06 Ulrich Drepper <drepper@gmail.com>
53642
53643 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53644 to-be-loaded object along a path to loader is ld.so.
53645
7e4ba49c
HJ
536462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53647 Ulrich Drepper <drepper@gmail.com>
53648
53649 * sysdeps/x86_64/memset.S: After aligning destination, code
53650 branches to different locations depending on the value of
53651 misalignment, when multiarch is enabled. Fix this.
53652
536532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53654
53655 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53656 Set _x86_64_preferred_memory_instruction for AMD processsors.
53657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53658 Set bit_Prefer_SSE_for_memop for AMD processors.
53659
13a804de
UD
536602011-03-04 Ulrich Drepper <drepper@gmail.com>
53661
53662 * libio/fmemopen.c (fmemopen): Optimize a bit.
53663
9d25c392
AS
536642011-03-03 Andreas Schwab <schwab@redhat.com>
53665
53666 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53667
a5543c6a
RM
536682011-03-03 Roland McGrath <roland@redhat.com>
53669
53670 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53671
012d35f7
DM
536722011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53673
7e4ba49c 53674 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
53675 __bzero_ultra1 instead of __memset_ultra1.
53676
4bff6e01
AS
536772011-02-23 Andreas Schwab <schwab@redhat.com>
53678 Ulrich Drepper <drepper@gmail.com>
53679
53680 [BZ #12509]
53681 * include/link.h (struct link_map): Add l_orig_initfini.
53682 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53683 returning unsuccessfully.
53684 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53685 close of a file loaded at startup, restore the original l_initfini
53686 list.
53687 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53688 list, store the pointer.
53689 * elf/Makefile ($(objpfx)noload-mem): New rule.
53690 (noload-ENV): Define.
53691 (tests): Add $(objpfx)noload-mem.
53692 * elf/noload.c: Include <memcheck.h>.
53693 (main): Call mtrace. Close all opened handles.
53694
f2092faf
AS
536952011-02-17 Andreas Schwab <schwab@redhat.com>
53696
53697 [BZ #12454]
53698 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53699 dependencies are missing.
53700
6c8a2e88
ST
537012011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53702
f2092faf 53703 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
53704 Hurd needs munmap.
53705 * sysdeps/mach/hurd/ifreq.h: New file.
53706
84a42118
PB
537072011-01-27 Petr Baudis <pasky@suse.cz>
53708 Ulrich Drepper <drepper@gmail.com>
53709
071f805e 53710 [BZ 12445]#
84a42118
PB
53711 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53712 to extend_alloca().
53713 * stdio-common/bug23.c: New file.
53714 * stdio-common/Makefile (tests): Add bug23.
53715
e23fe25b
AS
537162010-09-28 Andreas Schwab <schwab@redhat.com>
53717 Ulrich Drepper <drepper@gmail.com>
53718
53719 [BZ #12489]
53720 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53721 before performing relro protection. At old place add assertion
53722 to make sure nothing changed.
53723
d3f02e10
NS
537242011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53725 Glauber de Oliveira Costa <glommer@gmail.com>
53726
53727 * elf/elf.h: Add new ARM TLS relocs.
53728
d55fd7a5
RA
537292011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53730
53731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53732 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53733 cast from r3.
53734 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53735 'tests' variable.
53736 * sysdeps/wordsize-64/tst-writev.c: New file.
53737
2206397e
RA
537382011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53739
53740 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53741 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53742 insns in _dl_start to prevent a TOC reference before relocs are
53743 resolved.
53744
e9433893
UD
537452011-02-15 Ulrich Drepper <drepper@gmail.com>
53746
53747 [BZ #12469]
53748 * Makeconfig: Remove RANLIB definition.
53749 * Makerules: Don't use RANLIB.
53750 * aclocal.m4: Remove ranlib test.
53751 * configure.in: No need to check for ranlib.
53752 * elf/rtld-Rules: Don't use RANLIB.
53753
f75286c6
ST
537542011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53755
8e31c82d
ST
53756 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53757 protection macro.
53758 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53759 inclusion protection macro.
53760
f75286c6
ST
53761 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53762 SIGRTMIN and SIGRTMAX and print information in that case only when
53763 SIGRTMIN is defined.
53764
c1d0e639
JJ
537652011-02-11 Jakub Jelinek <jakub@redhat.com>
53766
53767 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53768 arginfo fn returning -1.
53769
53770 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53771 and thousands string is zero terminated.
53772
edf9294e
AS
537732011-02-03 Andreas Schwab <schwab@redhat.com>
53774
53775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53776 sysdeps/unix/sysv/linux/bits/socket.h.
53777
2b7e92df
ST
537782011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53779
edf9294e
AS
53780 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53781 (__CPU_COUNT): Remove old macros.
53782 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53783 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53784 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
53785 (__sched_cpualloc, __sched_cpufree): Add declarations.
53786
a4c7ea7b
UD
537872011-02-05 Ulrich Drepper <drepper@gmail.com>
53788
53789 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53790 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53791 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53792 (readdhstai): Return value of addhstaiX call.
53793 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53794 (addgrbyX): Return value returned by cache_addgr.
53795 (readdgrbyname): Return value returned by addgrbyX.
53796 (readdgrbygid): Likewise.
53797 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53798 (addpwbyX): Return value returned by cache_addpw.
53799 (readdpwbyname): Return value returned by addhstbyX.
53800 (readdpwbyuid): Likewise.
53801 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53802 (addservbyX): Return value returned by cache_addserv.
53803 (readdservbyname): Return value returned by addservbyX:
53804 (readdservbyport): Likewise.
53805 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53806 (addhstbyX): Return value returned by cache_addhst.
53807 (readdhstbyname): Return value returned by addhstbyX.
53808 (readdhstbyaddr): Likewise.
53809 (readdhstbynamev6): Likewise.
53810 (readdhstbyaddrv6): Likewise.
53811 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53812 (readdinitgroups): Return value returned by addinitgroupsX.
53813 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53814 (prune_cache): Keep track of timeout value of re-added entries.
53815 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53816 * nscd/nscd.h: Adjust prototypes of readd* functions.
53817
a0bf67cc
RM
538182011-02-04 Roland McGrath <roland@redhat.com>
53819
53820 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53821 (nis_stats): Likewise.
53822 * nis/nis_modify.c (nis_modify): Likewise.
53823 * nis/nis_remove.c (nis_remove): Likewise.
53824 * nis/nis_add.c (nis_add): Likewise.
53825
53826 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53827
53828 * posix/fnmatch_loop.c: Add some consts.
53829
53830 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53831
435b95eb
L
538322011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53833
53834 [BZ #12460]
53835 * config.make.in (config-cflags-novzeroupper): Define.
53836 * configure.in: Substitute libc_cv_cc_novzeroupper.
53837 * elf/Makefile (AVX-CFLAGS): Define.
53838 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53839 (CFLAGS-tst-auditmod4a.c): Likewise.
53840 (CFLAGS-tst-auditmod4b.c): Likewise.
53841 (CFLAGS-tst-auditmod6b.c): Likewise.
53842 (CFLAGS-tst-auditmod6c.c): Likewise.
53843 (CFLAGS-tst-auditmod7b.c): Likewise.
53844 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53845
8517b15e
UD
538462011-02-02 Ulrich Drepper <drepper@gmail.com>
53847
53848 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53849 function to the callback.
53850 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53851
10a656fe
AS
538522011-02-02 Andreas Schwab <schwab@redhat.com>
53853
53854 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53855 of errno.
53856
968dad0a
UD
538572011-01-19 Ulrich Drepper <drepper@gmail.com>
53858
9f94d2ea 53859 [BZ #11724]
968dad0a
UD
53860 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53861 of constructors.
53862 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53863 of destructors.
53864 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53865
53866 [BZ #11724]
53867 * elf/Makefile: Add rules to build and run new test.
53868 * elf/tst-initorder.c: New file.
53869 * elf/tst-initorder.exp: New file.
53870 * elf/tst-initordera1.c: New file.
53871 * elf/tst-initordera2.c: New file.
53872 * elf/tst-initordera3.c: New file.
53873 * elf/tst-initordera4.c: New file.
53874 * elf/tst-initorderb1.c: New file.
53875 * elf/tst-initorderb2.c: New file.
53876 * elf/tst-order-a1.c: New file.
53877 * elf/tst-order-a2.c: New file.
53878 * elf/tst-order-a3.c: New file.
53879 * elf/tst-order-a4.c: New file.
53880 * elf/tst-order-b1.c: New file.
53881 * elf/tst-order-b2.c: New file.
53882 * elf/tst-order-main.c: New file.
53883 New test case by George Gensure <werkt0@gmail.com>.
53884
86e92359
UD
538852010-10-01 Andreas Schwab <schwab@redhat.com>
53886
53887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53888 decoding ACE if AI_CANONIDN.
53889
5d5732b0
UD
538902011-01-18 Ulrich Drepper <drepper@gmail.com>
53891
53892 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53893
a77e8cbc
UD
538942011-01-17 Ulrich Drepper <drepper@gmail.com>
53895
6392473f
UD
53896 * version.h (RELEASE): Bump for 2.13 release.
53897 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53898
620a0529
UD
53899 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53900
18ba70a5
UD
53901 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53902 MADV_NOHUGEPAGE.
32465c3e
UD
53903 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53909
c0dafcf1
UD
53910 * posix/getconf.c: Update copyright year.
53911 * catgets/gencat.c: Likewise.
53912 * csu/version.c: Likewise.
53913 * debug/catchsegv.sh: Likewise.
53914 * debug/xtrace.sh: Likewise.
53915 * elf/ldconfig.c: Likewise.
53916 * elf/ldd.bash.in: Likewise.
53917 * elf/sprof.c (print_version): Likewise.
53918 * iconv/iconv_prog.c: Likewise.
53919 * iconv/iconvconfig.c: Likewise.
53920 * locale/programs/locale.c: Likewise.
53921 * locale/programs/localedef.c: Likewise.
53922 * malloc/memusage.sh: Likewise.
53923 * malloc/mtrace.pl: Likewise.
53924 * nscd/nscd.c (print_version): Likewise.
53925 * nss/getent.c: Likewise.
53926
a77e8cbc
UD
53927 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53928 PF_CAIF, and PF_ALG.
53929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53930
77e8bddf
AS
539312011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53932
1f20b93a
AS
53933 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53934 (modules-names): Use them.
53935 (ifunc-test-modules, ifunc-pie-tests): Define.
53936 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53937 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53938 (test-extras): Likewise.
53939 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53940 $(compile-command.c).
53941 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53942 (all-built-dso): Define.
53943 (check-textrel.out, check-execstack.out): Depend on it.
53944
77e8bddf
AS
53945 * configure.in: Don't override --enable-multi-arch.
53946
bc425b33
UD
539472011-01-15 Ulrich Drepper <drepper@gmail.com>
53948
53949 [BZ #6812]
53950 * nscd/hstcache.c (tryagain): Define.
53951 (cache_addhst): Return tryagain not notfound for temporary errors.
53952 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53953 failed.
53954
794c3ad3
UD
539552011-01-14 Ulrich Drepper <drepper@gmail.com>
53956
70181fdd
UD
53957 [BZ #10563]
53958 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53959 to make the syscall.
53960 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53961
794c3ad3
UD
53962 [BZ #12378]
53963 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53964 and fall back to matching as normal character if the string ends before
53965 the matching ']' is found. This is what POSIX requires.
53966 * posix/testfnm.c: Adjust test result.
53967 * posix/globtest.sh: Adjust test result. Add new test.
53968 * posix/tst-fnmatch.input: Likewise.
53969 * posix/tst-fnmatch2.c: Add new test.
53970
68dc9497
AS
539712010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53972
53973 * elf/Makefile (check-execstack): Revert last change. Depend on
53974 check-execstack.h.
53975 (check-execstack.h): New target.
53976 (generated): Add check-execstack.h.
53977 * elf/check-execstack.c: Include "check-execstack.h".
53978 (main): Revert last change.
53979 (handle_file): Return zero if GNU_STACK is absent and
53980 DEFAULT_STACK_PERMS doesn't include PF_X.
53981
451f001b
UD
539822011-01-13 Ulrich Drepper <drepper@gmail.com>
53983
cfa28e56
UD
53984 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53985 in child fails because the descriptor is already closed.
8cf8ce17
UD
53986 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53987 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53988 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 53989
1086d70d
UD
53990 [BZ #12397]
53991 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53992 syscall.
53993
451f001b
UD
53994 [BZ #10484]
53995 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53996 temporary buffer used to handle multi lookups locally.
a85b5cb4 53997 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 53998
08769175
UD
539992011-01-12 Ulrich Drepper <drepper@gmail.com>
54000
54001 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54002 loader is ld.so.
54003
5e49c52e
UD
540042011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54005
54006 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54007 alignment for SSE2.
54008
60522a5f
UD
540092011-01-12 Ulrich Drepper <drepper@gmail.com>
54010
54011 [BZ #12394]
54012 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54013 characters. When rounding increased number of integer digits recompute
54014 number of groups.
54015 * stdio-common/tst-grouping.c: New file.
54016 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54017
f257bbd7
UD
540182011-01-09 Ulrich Drepper <drepper@gmail.com>
54019
54020 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54021 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54022
54023 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54024 void.
54025 * bits/select.h: Likewise.
54026
fa9c15cb
UD
540272011-01-08 Ulrich Drepper <drepper@gmail.com>
54028
54029 * po/ja.po: Update from translation team.
54030
16c2895f
DM
540312011-01-04 David S. Miller <davem@sunset.davemloft.net>
54032
54033 [BZ #11155]
54034 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54035 implementation just like for lxstat, fxstatat, et al.
54036
2543fef2
JM
540372010-12-27 Jim Meyering <meyering@redhat.com>
54038
54039 [BZ #12348]
54040 * posix/regexec.c (build_trtable): Return failure indication upon
54041 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54042
98727dbe
UD
540432010-12-25 Ulrich Drepper <drepper@gmail.com>
54044
5bd6dc5c
UD
54045 [BZ #12201]
54046 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54047 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54050
97983464
UD
54051 [BZ #12207]
54052 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54053
98727dbe
UD
54054 [BZ #12204]
54055 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54056 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54057
4a531bb0
L
540582010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54059
54060 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54061 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54062 script has SORT_BY_INIT_PRIORITY.
54063 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54064 NO_CTORS_DTORS_SECTIONS is defined.
54065 * elf/soinit.c: Likewise.
54066 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54067 NO_CTORS_DTORS_SECTIONS is defined.
54068 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54069 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54070 * sysdeps/sh/init-first.c: Likewise.
54071 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54072
07eb4b71
UD
540732010-12-24 Ulrich Drepper <drepper@gmail.com>
54074
54075 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54076 always use the slow path.
54077
30950a5f
RA
540782010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54079
54080 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54081 similar rule which adds the sysdep directories to the header search in
54082 order to pick up the correct platform stackinfo.h.
54083 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54084 perform test if it is, otherwise return successfully without testing.
54085 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54086 DEFAULT_STACK_PERMS define in stackinfo.h.
54087 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54088 defined in stackinfo.h.
54089 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54090 DEFAULT_STACK_PERMS defined in stackinfo.h.
54091 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54092 * sysdeps/ia64/stackinfo.h: Likewise.
54093 * sysdeps/s390/stackinfo.h: Likewise.
54094 * sysdeps/sh/stackinfo.h: Likewise.
54095 * sysdeps/sparc/stackinfo.h: Likewise.
54096 * sysdeps/x86_64/stackinfo.h: Likewise.
54097 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54098 PF_X for powerpc64. Retain PF_X for powerpc32.
54099
db753e2c
UD
541002010-12-19 Ulrich Drepper <drepper@gmail.com>
54101
14b697f7
UD
54102 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54103 accurately.
db753e2c
UD
54104 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54105 GETDENTS_64BIT_ALIGNED.
54106
28300719
UD
541072010-12-14 Ulrich Drepper <dreper@gmail.com>
54108
14b697f7 54109 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54110
4f197237
AS
541112010-12-10 Andreas Schwab <schwab@redhat.com>
54112
dbb0472f
AS
54113 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54114 _GNU_SOURCE.
54115
4f197237
AS
54116 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54117 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54118 Remove __restrict.
54119 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54120 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54121
fb88ac72
UD
541222010-12-09 Ulrich Drepper <drepper@gmail.com>
54123
54124 [BZ #11655]
54125 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54126 are initialized.
54127
42acbb92
JJ
541282010-12-09 Jakub Jelinek <jakub@redhat.com>
54129
54130 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54131
c038d98d
UD
541322010-12-03 Ulrich Drepper <drepper@gmail.com>
54133
54134 * po/it.po: Update from translation team.
54135
3a4a2499
L
541362010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54137
54138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54139 unused codes.
54140
1e24cf6e
UD
541412010-11-30 Ulrich Drepper <drepper@gmail.com>
54142
54143 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54144
a7690819
AS
541452010-11-24 Andreas Schwab <schwab@redhat.com>
54146
54147 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54148 specially.
54149 (gaih_getanswer_slice): Likewise.
54150
3bf8d1b1
JJ
541512010-10-20 Jakub Jelinek <jakub@redhat.com>
54152
54153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54154
6db52fbb
PB
541552010-05-31 Petr Baudis <pasky@suse.cz>
54156
54157 [BZ #11149]
54158 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54159 silently even in the chroot mode.
54160
eaca7569
UD
541612010-11-22 Ulrich Drepper <drepper@gmail.com>
54162
54163 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54164 last patch a bit. Pretty printing
54165
3056dcdb
UD
541662010-05-31 Petr Baudis <pasky@suse.cz>
54167
54168 [BZ #10085]
54169 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54170 initialization of skip_initgroups_dyn.
54171
cf7c9078
UD
541722010-11-19 Ulrich Drepper <drepper@gmail.com>
54173
54174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54175 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54176
a1fb5e3e
UD
541772010-11-16 Ulrich Drepper <drepper@gmail.com>
54178
54179 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54180
3540d66b
AS
541812010-11-11 Andreas Schwab <schwab@redhat.com>
54182
54183 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54184 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54185 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54186 ($(objpfx)tst-fnmatch-mem): New rule.
54187 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54188 * posix/tst-fnmatch.c (main): Call mtrace.
54189
13b69574
L
541902010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54191
54192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54193 Support Intel processor model 6 and model 0x2c.
54194
da93d214
LM
541952010-11-10 Luis Machado <luisgpm@br.ibm.com>
54196
54197 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54198 signed comparison.
54199
8ca52c6e
L
542002010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54201
54202 [BZ #12205]
54203 * string/test-strncasecmp.c (check_result): New function.
54204 (do_one_test): Use it.
54205 (check1): New function.
54206 (test_main): Use it.
54207 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54208 Support strcasecmp and strncasecmp.
54209
69da074d
UD
542102010-11-08 Ulrich Drepper <drepper@gmail.com>
54211
54212 [BZ #12194]
54213 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54215
ff02d528
L
542162010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54217
54218 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54219 IFUNC support.
54220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54221 memset-x86-64.
54222 * sysdeps/x86_64/multiarch/bzero.S: New file.
54223 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54224 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54225 * sysdeps/x86_64/multiarch/memset.S: New file.
54226 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54228 Set bit_Prefer_SSE_for_memop for Intel processors.
54229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54230 Define.
54231 (index_Prefer_SSE_for_memop): Define.
54232 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54233
344d0b54
LM
542342010-11-04 Luis Machado <luisgpm@br.ibm.com>
54235
54236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54237 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54238
c0dde15b
UD
542392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54240
54241 [BZ #12191]
54242 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54243 (__x86_64_raw_data_cache_size_half): Likewise.
54244 (__x86_64_raw_shared_cache_size): Likewise.
54245 (__x86_64_raw_shared_cache_size_half): Likewise.
54246
54247 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54248 (__x86_64_raw_data_cache_size_half): Likewise.
54249 (__x86_64_raw_shared_cache_size): Likewise.
54250 (__x86_64_raw_shared_cache_size_half): Likewise.
54251 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54252 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54253 and __x86_64_raw_shared_cache_size_half. Round
54254 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54255 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54256 to multiple of 256 bytes.
54257
0e516e0e
MS
542582010-11-03 Ulrich Drepper <drepper@gmail.com>
54259
54260 [BZ #12167]
54261 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54262 of inacessible symlinks. Verify result of symlink before returning it.
54263 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54264 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54265
0e012e87
ER
542662010-10-28 Erich Ritz <erichritz@gmail.com>
54267
54268 * math/math.h (isinf): Fix typo in comment.
54269
de0ff7bc
UD
542702010-11-01 Ulrich Drepper <drepper@gmail.com>
54271
54272 * po/da.po: Update from translation team.
54273
fa41c84d
UD
542742010-10-26 Ulrich Drepper <drepper@gmail.com>
54275
54276 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54277 is added to the list.
54278
f0967738
AK
542792010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54280 Ulrich Drepper <drepper@gmail.com>
54281
54282 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54283 the global list here. Move code to...
54284 (_dl_add_to_namespace_list): ...here. New function.
54285 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54286 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54287 * elf/dl-load.c (lose): Don't remove the element from the list.
54288 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54289 (_dl_map_object): Likewise.
54290
542912010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54292
54293 [BZ #12159]
54294 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54295 into all bytes of SSE register.
54296 Patch by Richard Li <richardpku@gmail.com>.
54297
f0967738 542982010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54299
54300 [BZ #12140]
54301 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54302 perturbing.
54303
d0b9e94f
MB
543042010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54305
54306 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54307 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54308 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54309 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54311 submachine.
54312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54313
8e9f92e9
AS
543142010-10-22 Andreas Schwab <schwab@redhat.com>
54315
54316 * include/dlfcn.h (__RTLD_SECURE): Define.
54317 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54318 mode & __RTLD_SECURE instead.
54319 (open_path): Rename preloaded parameter to secure.
54320 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54321 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54322 * elf/dl-deps.c (openaux): Likewise.
54323 * elf/rtld.c (struct map_args): Remove is_preloaded.
54324 (map_doit): Don't use it.
54325 (dl_main): Likewise.
54326 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54327 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54328
bc96fbda
AS
543292010-09-09 Andreas Schwab <schwab@redhat.com>
54330
54331 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54332 (sysd-rules-targets): Remove duplicates.
54333 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54334 rtld-%.$o dependency.
54335
22cd1c9b
AS
543362010-10-18 Andreas Schwab <schwab@redhat.com>
54337
54338 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54339 _dl_map_object do it.
54340
18edac48
UD
543412010-10-19 Ulrich Drepper <drepper@gmail.com>
54342
54343 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54344 fast fma builtins, define the macros in the C99 standard.
54345 (FP_FAST_FMAF): Likewise.
54346 (FP_FAST_FMAL): Likewise.
54347 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54348
54349 * bits/mathdef.h: Update copyright year.
54350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54351
d2050124
MM
543522010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54353
54354 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54355 builtins, define the macros in the C99 standard.
54356 (FP_FAST_FMAF): Likewise.
54357 (FP_FAST_FMAL): Likewise.
54358 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54359 multiply/add.
54360 (FP_FAST_FMAF): Likewise.
54361
475facd1
JJ
543622010-10-15 Jakub Jelinek <jakub@redhat.com>
54363
54364 [BZ #3268]
54365 * math/libm-test.inc (fma_test): Some new testcases.
54366 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54368 y and infinite z. Do multiplication by C already in long double.
54369 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54371 y and infinite z. Do bitwise or of inexact bit into u.d.
54372 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54373 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54374 * sysdeps/i386/fpu/s_fma.S: Removed.
54375 * sysdeps/i386/fpu/s_fmal.S: Removed.
54376
7c08a05c
JJ
543772010-10-16 Jakub Jelinek <jakub@redhat.com>
54378
54379 [BZ #3268]
54380 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54382 computation is not scheduled after fetestexcept. Fix value
54383 of minimum denormal long double.
54384
f3f7372d
JJ
543852010-10-14 Jakub Jelinek <jakub@redhat.com>
54386
54387 [BZ #3268]
54388 * math/libm-test.inc (fma_test): Add some more tests.
54389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54390 correctly.
54391
14d43591
AS
543922010-10-15 Andreas Schwab <schwab@redhat.com>
54393
54394 * scripts/data/localplt-s390-linux-gnu.data: New file.
54395 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54396
5e908464
JJ
543972010-10-13 Jakub Jelinek <jakub@redhat.com>
54398
54399 [BZ #3268]
54400 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54401 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54402 instead of dbl-64.
54403 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54404 inlines.
54405 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54407 if one of x and y is very large and the other is subnormal.
54408 * sysdeps/s390/fpu/s_fmaf.c: New file.
54409 * sysdeps/s390/fpu/s_fma.c: New file.
54410 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54411 * sysdeps/powerpc/fpu/s_fma.S: New file.
54412 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54413 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54414 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54415
544162010-10-12 Jakub Jelinek <jakub@redhat.com>
54417
54418 [BZ #3268]
54419 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54420 fma tests.
54421 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54422 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54423 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54424 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54425 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54426 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54427 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54428
b833d51f
UD
544292010-10-12 Ulrich Drepper <drepper@redhat.com>
54430
54431 [BZ #12078]
54432 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54433 * posix/bug-regex31.input: Add test case.
54434
1751705d
UD
544352010-10-11 Ulrich Drepper <drepper@gmail.com>
54436
e9b9cbf5
UD
54437 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54438 * posix/bug-regex31.input: New file.
54439
54440 [BZ #12078]
54441 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54442 (parse_sub_exp): Fix last change, use postorder.
54443
ef06edbe
UD
54444 * posix/bug-regex31.c: New file.
54445 * posix/Makefile: Add rules to build and run bug-regex31.
54446
a129c80d
UD
54447 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54448
54449 [BZ #12078]
54450 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54451
b76b818e
UD
54452 [BZ #12108]
54453 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54454 to have entries in sys_siglist.
54455
1751705d
UD
54456 [BZ #12093]
54457 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54458 be NULL.
54459
9ff8d36f
JJ
544602010-10-07 Jakub Jelinek <jakub@redhat.com>
54461
54462 [BZ #3268]
54463 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54464 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54465 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54466 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54467 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54468 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54469 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54470 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54471 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54472 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54473 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54474 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54475 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54476 * math/ftestexcept.c (fetestexcept): Likewise.
54477 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54478 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54479 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54480 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54481 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54482 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54483 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54484
af325969
UD
544852010-10-11 Ulrich Drepper <drepper@gmail.com>
54486
c579b202 54487 [BZ #12107]
af325969
UD
54488 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54489 newline.
54490
67a67b95
UD
544912010-10-06 Ulrich Drepper <drepper@gmail.com>
54492
54493 * string/bug-strstr1.c: New file.
54494 * string/Makefile: Add rules to build and run bug-strstr1.
54495
5fb308bc
EB
544962010-10-05 Eric Blake <eblake@redhat.com>
54497
54498 [BZ #12092]
54499 * string/str-two-way.h (two_way_long_needle): Always clear memory
54500 when skipping input due to the shift table.
54501
45db99c7
UD
545022010-10-03 Ulrich Drepper <drepper@gmail.com>
54503
3b111893
UD
54504 [BZ #12005]
54505 * malloc/mcheck.c: Handle large requests.
54506
45db99c7
UD
54507 [BZ #12077]
54508 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54509 for strncmp and strncasecmp.
54510 * string/stratcliff.c: Add tests for strcmp and strncmp.
54511 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54512
cf7a1eb8
NI
545132010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54514
54515 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54516 __set_fpscr.
54517
6484ba5e
AJ
545182010-09-30 Andreas Jaeger <aj@suse.de>
54519
54520 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54521 (CGROUP_SUPER_MAGIC): Define.
54522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54523 Handle btrfs and cgroup file systems.
54524 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54525 Likewise.
54526
91c42559
LM
545272010-09-27 Luis Machado <luisgpm@br.ibm.com>
54528
54529 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54530 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54531
87a97932
AK
545322010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54533
54534 [BZ #12067]
54535 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54536 trying to locate the ELF header.
54537
c21cc9bc
AS
545382010-09-27 Andreas Schwab <schwab@redhat.com>
54539
54540 [BZ #11611]
54541 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54542 Mask out sign-bit copies when constructing f_fsid.
54543
315970f6
PB
545442010-09-24 Petr Baudis <pasky@suse.cz>
54545
54546 * debug/stack_chk_fail_local.c: Add missing licence exception.
54547 * debug/warning-nop.c: Likewise.
54548
1ac7a2c7
JM
545492010-09-15 Joseph Myers <joseph@codesourcery.com>
54550
54551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54552 implementing getdents64 using getdents syscall, set d_type if
54553 __ASSUME_GETDENTS32_D_TYPE.
54554
56801c50
AS
545552010-09-16 Andreas Schwab <schwab@redhat.com>
54556
54557 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54558 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54559
dda51327
UD
545602010-09-21 Ulrich Drepper <drepper@redhat.com>
54561
54562 [BZ #12037]
54563 * posix/unistd.h: Undo change of feature selection for ftruncate from
54564 2010-01-11.
54565
8ffcee4a
UD
545662010-09-20 Ulrich Drepper <drepper@redhat.com>
54567
a545ecd9 54568 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
54569 detection.
54570
e24f0a8b
AS
545712010-09-20 Andreas Schwab <schwab@redhat.com>
54572
54573 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54574 fanotify_mark.
54575 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54576
7291c56f
AS
545772010-09-14 Andreas Schwab <schwab@redhat.com>
54578
54579 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54580 variables after CHECK_SP call.
54581 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54582
bc5fb037
AS
545832010-09-13 Andreas Schwab <schwab@redhat.com>
54584 Ulrich Drepper <drepper@redhat.com>
54585
54586 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54587 re-relocationg ld.so.
54588 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54589 _dl_init_paths call.
54590 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54591 here anymore.
54592
e66e7419
UD
545932010-09-14 Ulrich Drepper <drepper@redhat.com>
54594
54595 * resolv/res_init.c (__res_vinit): Count the default server we added.
54596
c044aa75
CLT
545972010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54598 Ulrich Drepper <drepper@redhat.com>
54599
54600 [BZ #11968]
54601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54602 (____longjmp_chk): Use %ebx for saving value across system call.
54603 Add unwind info.
54604
32cf4069
AS
546052010-09-06 Andreas Schwab <schwab@redhat.com>
54606
54607 * manual/Makefile: Don't mix pattern rules with normal rules.
54608
817328ee
AS
546092010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54610
54611 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54612 operation.
54613 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54614 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54615 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54616 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54618 Likewise.
54619
29fddf61
UD
546202010-09-04 Ulrich Drepper <drepper@redhat.com>
54621
54622 [BZ #11979]
54623 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54624 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54625
0959ffc9
UD
546262010-09-02 Ulrich Drepper <drepper@redhat.com>
54627
54628 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54629 * sysdeps/x86_64/addmul_1.S: Likewise.
54630 * sysdeps/x86_64/lshift.S: Likewise.
54631 * sysdeps/x86_64/mul_1.S: Likewise.
54632 * sysdeps/x86_64/rshift.S: Likewise.
54633 * sysdeps/x86_64/sub_n.S: Likewise.
54634 * sysdeps/x86_64/submul_1.S: Likewise.
54635
ece29840
ST
546362010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54637
0959ffc9
UD
54638 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54639 Define __sched_param instead of SCHED_* and sched_param when
ece29840 54640 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 54641 * bits/sched.h [__need_schedparam]
ece29840 54642 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
54643 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54644 (__defined_schedparam): Define to 1.
ece29840
ST
54645 (__sched_param): New structure, identical to sched_param.
54646 (__need_schedparam): Undefine.
54647
e53a31fe
MF
546482010-08-31 Mike Frysinger <vapier@gentoo.org>
54649
fdc0c10d
MF
54650 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54651 (epoll_create1): Declare.
54652
e53a31fe
MF
54653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54654
a726d796
AS
546552010-08-31 Andreas Schwab <schwab@redhat.com>
54656
54657 [BZ #7066]
54658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54659 shifting retval into place.
54660
2f3e3dc7
UD
546612010-09-01 Ulrich Drepper <drepper@redhat.com>
54662
f2933da9
UD
54663 * nis/rpcsvc/nis.h: Update copyright notice.
54664 * nis/rpcsvc/nis.x: Likewise.
54665 * nis/rpcsvc/nis_callback.h: Likewise.
54666 * nis/rpcsvc/nis_callback.x: Likewise.
54667 * nis/rpcsvc/nis_object.x: Likewise.
54668 * nis/rpcsvc/nis_tags.h: Likewise.
54669 * nis/rpcsvc/yp.h: Likewise.
54670 * nis/rpcsvc/yp.x: Likewise.
54671 * nis/rpcsvc/ypupd.h: Likewise.
54672 * nis/yp_xdr.c: Likewise.
54673 * nis/ypupdate_xdr.c: Likewise.
54674
2f3e3dc7
UD
54675 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54676 mainly the body of pmap_getport. Add parameters to specify timeouts.
54677 (pmap_getport): Use __libc_rpc_getport.
54678 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54679 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54680 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54681
f3dcc2f9
AS
546822010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54683
54684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54685 fanotify_mark.
54686
6d34eb5b
RM
546872010-08-27 Roland McGrath <roland@redhat.com>
54688
54689 * sysdeps/i386/i686/multiarch/Makefile
54690 (CFLAGS-varshift.c): New variable.
54691
9ea3de11
UD
546922010-08-27 Ulrich Drepper <drepper@redhat.com>
54693
c96d23fc
UD
54694 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54695 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54696
9ea3de11
UD
54697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54698
54699 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54700
623aac7f
L
547012010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54702
54703 * sysdeps/x86_64/strlen.S: Unroll the loop.
54704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54705 strlen-sse2 strlen-sse2-bsf.
54706 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54707 __strlen_no_bsf if bit_Slow_BSF is set.
54708 (__strlen_sse42): Removed.
54709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54710 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54711
8b2b7715
RM
547122010-08-25 Roland McGrath <roland@redhat.com>
54713
54714 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54715 * sysdeps/x86_64/multiarch/varshift.c: New file.
54716 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54717 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54718 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54719 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54720
e73015f2
L
547212010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54722
54723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54724 strlen-sse2 strlen-sse2-bsf.
54725 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54726 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54727 (__strlen_sse2): Removed.
54728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54731 bit_Slow_BSF for Atom.
54732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54733 (index_Slow_BSF): Define.
54734 (HAS_SLOW_BSF): Define.
54735
df24a73e
UD
547362010-08-25 Ulrich Drepper <drepper@redhat.com>
54737
54738 [BZ #10851]
54739 * resolv/res_init.c (__res_vinit): When no server address at all
54740 is given default to loopback.
54741
f2ac4868
RM
547422010-08-24 Roland McGrath <roland@redhat.com>
54743
09055553
RM
54744 * configure.in: Remove config-name.h generation.
54745 * configure: Regenerated.
54746 * config-name.in: File removed.
54747 * scripts/config-uname.sh: New file.
54748 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54749 ($(objdir)config-name.h): New target.
54750
f2ac4868
RM
54751 * sunrpc/rpc_parse.h: Avoid nested comment.
54752
73f27d5e
RH
547532010-08-24 Richard Henderson <rth@redhat.com>
54754 Ulrich Drepper <drepper@redhat.com>
54755 H.J. Lu <hongjiu.lu@intel.com>
54756
54757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54759 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54760 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54761 _mm_alignr_epi8 with _mm_loadu_si128.
54762 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54763 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54764 (__m128i_shift_right): Removed.
54765 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54766 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54767 * sysdeps/x86_64/multiarch/varshift.h: New file.
54768 * sysdeps/x86_64/multiarch/varshift.S: New file.
54769
84b9230c
MF
547702010-08-21 Mike Frysinger <vapier@gentoo.org>
54771
54772 * configure.in: Move assembler checks to before sysdep dir checking.
54773
9bbd0ddc
PB
547742010-08-20 Petr Baudis <pasky@suse.cz>
54775
54776 * LICENSES: Sync the sunrpc license.
54777
9da4bb31
UD
547782010-08-19 Ulrich Drepper <drepper@redhat.com>
54779
a7ab6ec8
UD
54780 * sunrpc/auth_des.c: Update copyright notice once again.
54781 * sunrpc/auth_none.c: Likewise.
54782 * sunrpc/auth_unix.c: Likewise.
54783 * sunrpc/authdes_prot.c: Likewise.
54784 * sunrpc/authuxprot.c: Likewise.
54785 * sunrpc/bindrsvprt.c: Likewise.
54786 * sunrpc/clnt_gen.c: Likewise.
54787 * sunrpc/clnt_perr.c: Likewise.
54788 * sunrpc/clnt_raw.c: Likewise.
54789 * sunrpc/clnt_simp.c: Likewise.
54790 * sunrpc/clnt_tcp.c: Likewise.
54791 * sunrpc/clnt_udp.c: Likewise.
54792 * sunrpc/clnt_unix.c: Likewise.
54793 * sunrpc/des_crypt.c: Likewise.
54794 * sunrpc/des_soft.c: Likewise.
54795 * sunrpc/get_myaddr.c: Likewise.
54796 * sunrpc/getrpcport.c: Likewise.
54797 * sunrpc/key_call.c: Likewise.
54798 * sunrpc/key_prot.c: Likewise.
54799 * sunrpc/openchild.c: Likewise.
54800 * sunrpc/pm_getmaps.c: Likewise.
54801 * sunrpc/pm_getport.c: Likewise.
54802 * sunrpc/pmap_clnt.c: Likewise.
54803 * sunrpc/pmap_prot.c: Likewise.
54804 * sunrpc/pmap_prot2.c: Likewise.
54805 * sunrpc/pmap_rmt.c: Likewise.
54806 * sunrpc/rpc/auth.h: Likewise.
54807 * sunrpc/rpc/auth_unix.h: Likewise.
54808 * sunrpc/rpc/clnt.h: Likewise.
54809 * sunrpc/rpc/des_crypt.h: Likewise.
54810 * sunrpc/rpc/key_prot.h: Likewise.
54811 * sunrpc/rpc/netdb.h: Likewise.
54812 * sunrpc/rpc/pmap_clnt.h: Likewise.
54813 * sunrpc/rpc/pmap_prot.h: Likewise.
54814 * sunrpc/rpc/pmap_rmt.h: Likewise.
54815 * sunrpc/rpc/rpc.h: Likewise.
54816 * sunrpc/rpc/rpc_des.h: Likewise.
54817 * sunrpc/rpc/rpc_msg.h: Likewise.
54818 * sunrpc/rpc/svc.h: Likewise.
54819 * sunrpc/rpc/svc_auth.h: Likewise.
54820 * sunrpc/rpc/types.h: Likewise.
54821 * sunrpc/rpc/xdr.h: Likewise.
54822 * sunrpc/rpc_clntout.c: Likewise.
54823 * sunrpc/rpc_cmsg.c: Likewise.
54824 * sunrpc/rpc_common.c: Likewise.
54825 * sunrpc/rpc_cout.c: Likewise.
54826 * sunrpc/rpc_dtable.c: Likewise.
54827 * sunrpc/rpc_hout.c: Likewise.
54828 * sunrpc/rpc_main.c: Likewise.
54829 * sunrpc/rpc_parse.c: Likewise.
54830 * sunrpc/rpc_parse.h: Likewise.
54831 * sunrpc/rpc_prot.c: Likewise.
54832 * sunrpc/rpc_sample.c: Likewise.
54833 * sunrpc/rpc_scan.c: Likewise.
54834 * sunrpc/rpc_scan.h: Likewise.
54835 * sunrpc/rpc_svcout.c: Likewise.
54836 * sunrpc/rpc_tblout.c: Likewise.
54837 * sunrpc/rpc_util.c: Likewise.
54838 * sunrpc/rpc_util.h: Likewise.
54839 * sunrpc/rpcinfo.c: Likewise.
54840 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54841 * sunrpc/rpcsvc/key_prot.x: Likewise.
54842 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54843 * sunrpc/rpcsvc/mount.x: Likewise.
54844 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54845 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54846 * sunrpc/rpcsvc/rex.x: Likewise.
54847 * sunrpc/rpcsvc/rstat.x: Likewise.
54848 * sunrpc/rpcsvc/rusers.x: Likewise.
54849 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54850 * sunrpc/rpcsvc/spray.x: Likewise.
54851 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54852 * sunrpc/rtime.c: Likewise.
54853 * sunrpc/svc.c: Likewise.
54854 * sunrpc/svc_auth.c: Likewise.
54855 * sunrpc/svc_authux.c: Likewise.
54856 * sunrpc/svc_raw.c: Likewise.
54857 * sunrpc/svc_run.c: Likewise.
54858 * sunrpc/svc_simple.c: Likewise.
54859 * sunrpc/svc_tcp.c: Likewise.
54860 * sunrpc/svc_udp.c: Likewise.
54861 * sunrpc/svc_unix.c: Likewise.
54862 * sunrpc/svcauth_des.c: Likewise.
54863 * sunrpc/xcrypt.c: Likewise.
54864 * sunrpc/xdr.c: Likewise.
54865 * sunrpc/xdr_array.c: Likewise.
54866 * sunrpc/xdr_float.c: Likewise.
54867 * sunrpc/xdr_mem.c: Likewise.
54868 * sunrpc/xdr_rec.c: Likewise.
54869 * sunrpc/xdr_ref.c: Likewise.
54870 * sunrpc/xdr_sizeof.c: Likewise.
54871 * sunrpc/xdr_stdio.c: Likewise.
54872
9da4bb31
UD
54873 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54874 handling.
54875
bdaa77bc
AS
548762010-08-19 Andreas Schwab <schwab@redhat.com>
54877
54878 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54879
fe2f79db
LM
548802010-08-19 Luis Machado <luisgpm@br.ibm.com>
54881
54882 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54883 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54884 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54885 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54886 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54887 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54888 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54889 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54892 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54893 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54894 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54895 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54896
b9b42ee0
AB
548972010-07-26 Anton Blanchard <anton@samba.org>
54898
54899 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54900 * malloc/arena.c (heap_trim): Likewise.
54901
1c06ba31
UD
549022010-08-16 Ulrich Drepper <drepper@redhat.com>
54903
54904 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54905 here. Not...
54906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54907 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54908
f8392f40
L
549092010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54910
54911 * sysdeps/i386/elf/Makefile: New file.
54912
3162f12e
AS
549132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54914
54915 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54916 from fanotify_init.
54917 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54918 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54919
28c90b2c
UD
549202010-08-15 Ulrich Drepper <drepper@redhat.com>
54921
54922 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54923 of strncasecmp_l.
1feccb6c 54924 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 54925
ca6bb004
UD
549262010-08-14 Ulrich Drepper <drepper@redhat.com>
54927
e9f82e0d
UD
54928 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54929 strncase_l-nonascii.
54930 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54931 Add strncase_l-ssse3.
54932 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54933 * sysdeps/x86_64/strcmp.S: Likewise.
54934 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54935 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54936 * sysdeps/x86_64/strncase.S: New file.
54937 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54938 * sysdeps/x86_64/strncase_l.S: New file.
54939 * string/Makefile (strop-tests): Add strncasecmp.
54940 * string/test-strncasecmp.c: New file.
54941
54942 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54943 warning.
54944
ca6bb004
UD
54945 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54946 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54947
052fa7b3
AS
549482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54949
54950 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54951
962dba78
UD
549522010-08-12 Ulrich Drepper <drepper@redhat.com>
54953
54954 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54956 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54957
bebff237
AM
549582010-05-01 Alan Modra <amodra@gmail.com>
54959
54960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54961 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54962 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54963 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54964 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54965 tidying. Don't tail-call __sigjmp_save for static lib.
54966 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54967 save location.
54968 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54969 (CALL_MCOUNT): Add eh info, and nop after bl.
54970 (TAIL_CALL_SYSCALL_ERROR): New macro.
54971 (PSEUDO_RET): Use it.
54972 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54973 Correct save location of integer regs and cr.
54974 (_dl_profile_resolve): Correct cr save location. Delete nops
54975 after bl when SHARED. Reduce cfi size a little by better
54976 placement of cfi directives.
54977 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54978 make a stack frame. Instead use parm save area as a temp.
54979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54980 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54982 Don't make a stack frame for parent, use parm save area.
54983 Increase child stack frame to 112 bytes. Don't save unused reg,
54984 and adjust reg usage. Set up cfi on error recovery and
54985 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54987 (__makecontext): Add dummy nop after jump to exit.
54988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54989 Use correct parm save area and cr save, reduce stack frame.
54990 Correct cfi for possible PSEUDO_RET frame setup.
54991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54992 Branch to local label emitted by PSEUDO_RET rather than
54993 __syscall_error.
54994
02637374
AS
549952010-08-12 Andreas Schwab <schwab@redhat.com>
54996
54997 [BZ #11904]
54998 * locale/programs/locale.c (print_assignment): New function.
54999 (show_locale_vars): Use it.
55000
c3e2f19b
UD
550012010-08-11 Ulrich Drepper <drepper@redhat.com>
55002
3cdaa6ad
UD
55003 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55004 field.
55005 (struct statfs64): Likewise.
55006 (_STATFS_F_FLAGS): Define.
55007 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55009 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55010 (ST_VALID): Define locally.
55011 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55012 __statvfs_getflags, use the provided value.
55013 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55014 __ASSUME_STATFS_F_FLAGS.
55015
754f7da3
UD
55016 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55017
10b3bedc
UD
55018 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55019 Add sys/fanotify.h.
55020 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55021 fanotify_mask for GLIBC_2.13.
55022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55023 fanotify_init and fanotify_mark.
55024 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55025 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55026
c08fb0d7
UD
55027 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55028 Add prlimit.
55029 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55030 prlimit64 for GLIBC_2.13.
55031 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55032 prlimit64.
55033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55034 syscall.
55035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55037 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55040 add prlimit alias.
55041 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55042
15bac72b
UD
55043 [BZ #11903]
55044 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55045 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55046
c3e2f19b
UD
55047 * nss/Makefile: Add rules to build and run tst-nss-test1.
55048 * shlib-versions: Add entry for libnss_test1.
55049 * nss/nss_test1.c: New file.
55050 * nss/tst-nss-test1.c: New file.
55051
55052 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55053 (__nss_configure_lookup): Set appropriate entry in
55054 __nss_configure_lookup to true.
55055 * nss/nsswitch.h: Define enum with indeces of databases in
55056 databases and __nss_database_custom arrays. Declare
55057 __nss_database_custom.
55058 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55059 to avoid using nscd when custom rules are installed.
55060 * nss/getXXbyYY_r.c: Likewise.
55061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55062
55063 * nss/nss_files/files-parse.c: Whitespace fixes.
55064
f15ce4d8
UD
550652010-08-09 Ulrich Drepper <drepper@redhat.com>
55066
55067 [BZ #11883]
55068 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55069 * posix/fnmatch_loop.c: Likewise.
55070
d22e4cc9
AK
550712010-07-17 Andi Kleen <ak@linux.intel.com>
55072
55073 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55074 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55075 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55076 * Versions.def [GLIBC_2.13]: Add.
55077
805bc17d
UD
550782010-08-06 Ulrich Drepper <drepper@redhat.com>
55079
55080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55081 Also fail if tpwd after pwuid call is NULL.
55082
5a42321d
ST
550832010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55084
55085 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55086 when converting to ms.
55087
fd3ebeda
ST
550882010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55089
55090 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55091 EOPNOTSUPP errors with ENOTTY.
55092 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55093 EOPNOTSUPP errors with ENOTTY.
55094
73507d3a
UD
550952010-07-31 Ulrich Drepper <drepper@redhat.com>
55096
55097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55098 Add strcasecmp_l-ssse3.
55099 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55100 strcasecmp.
55101 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55102 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55103 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55104
fe36dd02
UD
551052010-07-30 Ulrich Drepper <drepper@redhat.com>
55106
66f6765a
UD
55107 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55108
42e08a54
UD
55109 * string/Makefile (strop-tests): Add strcasecmp.
55110 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55111 strcasecmp_l-nonascii.
55112 (gen-as-const-headers): Add locale-defines.sym.
55113 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55114 * sysdeps/x86_64/strcasecmp.S: New file.
55115 * sysdeps/x86_64/strcasecmp_l.S: New file.
55116 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55117 * sysdeps/x86_64/locale-defines.sym: New file.
55118 * string/test-strcasecmp.c: New file.
55119
fe36dd02
UD
55120 * string/test-strcasestr.c: Test both ends of the range of characters.
55121 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55122
48cbc0d6
RM
551232010-07-29 Roland McGrath <roland@redhat.com>
55124
76e6d6bc 55125 [BZ #11856]
48cbc0d6
RM
55126 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55127
880113d9
UD
551282010-07-27 Ulrich Drepper <drepper@redhat.com>
55129
55130 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55131 for ld.so.
55132
deb9cabb
AS
551332010-07-27 Andreas Schwab <schwab@redhat.com>
55134
55135 * manual/memory.texi (Malloc Tunable Parameters): Document
55136 M_PERTURB.
55137
1c7570ff
RM
551382010-07-26 Roland McGrath <roland@redhat.com>
55139
55140 [BZ #11840]
55141 * configure.in (-fgnu89-inline check): Set and substitute
55142 gnu89_inline, not libc_cv_gnu89_inline.
55143 * configure: Regenerated.
55144 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55145
24fb0f88
UD
551462010-07-26 Ulrich Drepper <drepper@redhat.com>
55147
55148 * string/test-strnlen.c: New file.
55149 * string/Makefile (strop-tests): Add strnlen.
55150 * string/tester.c (test_strnlen): Add a few more test cases.
55151 * string/tst-strlen.c: Better error reporting.
55152
55153 * sysdeps/x86_64/strnlen.S: New file.
55154
8e96b93a
UD
551552010-07-24 Ulrich Drepper <drepper@redhat.com>
55156
55157 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55158 lower-latency instructions.
55159
dbc676d4
UD
551602010-07-23 Ulrich Drepper <drepper@redhat.com>
55161
55162 * string/test-strcasestr.c: New file.
55163 * string/test-strstr.c: New file.
55164 * string/Makefile (strop-tests): Add strstr and strcasestr.
55165 * string/str-two-way.h: Don't undefine MAX.
55166 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55167
f6a31e0e
AS
551682010-07-21 Andreas Schwab <schwab@redhat.com>
55169
55170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55171 strcasestr-nonascii.
55172 (CFLAGS-strcasestr-nonascii.c): Define.
55173 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55175 Remove unused attribute.
55176
5dbc3b6c
RM
551772010-07-20 Roland McGrath <roland@redhat.com>
55178
55179 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55180 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55181 ld.so.cache was broken. With it, there is no way to disable dsocaps
55182 like LD_HWCAP_MASK can disable hwcaps.
55183
23d101d8
EPM
551842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55185
55186 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55187
cc9f2e47
UD
551882010-07-16 Ulrich Drepper <drepper@redhat.com>
55189
55190 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55191 call in strcasestr.
55192 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55193 __strcasestr_sse42_nonascii.
55194 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55195 strcasestr-nonascii.c.
55196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55197
77c1b069
LM
551982010-06-15 Luis Machado <luisgpm@br.ibm.com>
55199
55200 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55204
440566c3
UD
552052010-07-09 Ulrich Drepper <drepper@redhat.com>
55206
55207 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55208 fcntl.
55209
5be9d05d
AS
552102010-07-06 Andreas Schwab <schwab@redhat.com>
55211
c30b7ee2 55212 [BZ #11577]
5be9d05d
AS
55213 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55214 dl_signal_cerror.
55215
8a492a67
UD
552162010-07-06 Ulrich Drepper <drepper@redhat.com>
55217
55218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55219 _PC_PIPE_BUF using F_GETPIPE_SZ.
55220
713df3d5
RM
552212010-07-05 Roland McGrath <roland@redhat.com>
55222
55223 * manual/arith.texi (Rounding Functions): Fix rint description
55224 implicit in round description.
55225
702e8f14
UD
552262010-07-02 Ulrich Drepper <drepper@redhat.com>
55227
55228 * elf/Makefile: Fix linking for a few tests to make recent linker
55229 happy.
55230
52ed8be9
AS
552312010-06-30 Andreas Schwab <schwab@redhat.com>
55232
55233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55234 $(common-objpfx)libc_nonshared.a.
55235
f47c9a11
LM
552362010-06-21 Luis Machado <luisgpm@br.ibm.com>
55237
55238 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55239 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55240 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55241 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55242 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55243 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55244 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55245 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55260 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55261 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55262 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55263 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55264 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55265 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55266 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55267 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55268 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55269 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55270 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55271 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55286
6fb8cbcb
L
552872010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55288
55289 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55290 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55291 * string/memmove.c (memmove): Renamed to ...
55292 (MEMMOVE): ...this. Default to memmove.
55293 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55294 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55295 (END_CHK): Define.
55296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55297 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55298 mempcpy-ssse3-back memmove-ssse3-back.
55299 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55302 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55303 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55304 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55305 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55306 * sysdeps/x86_64/multiarch/memmove.c: New file.
55307 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55308 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55309 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55310 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55311 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55313 Define.
55314 (index_Fast_Copy_Backward): Define.
55315 (HAS_ARCH_FEATURE): Define.
55316 (HAS_FAST_REP_STRING): Define.
55317 (HAS_FAST_COPY_BACKWARD): Define.
55318
4e733bac 553192010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55320
55321 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55322 Restore proper fallback handling.
55323
63c4ed22
UD
553242010-06-19 Ulrich Drepper <drepper@redhat.com>
55325
ac2b484c
UD
55326 [BZ #11701]
55327 * posix/group_member.c (__group_member): Correct checking loop.
55328
63c4ed22
UD
55329 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55330 OOM in getpwuid_r correctly. Return error number when the caller
55331 should return, otherwise -1.
55332 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55333 call returning > 0 value.
55334 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55335
765ade4b
AS
553362010-06-07 Andreas Schwab <schwab@redhat.com>
55337
55338 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55339 libc_nonshared.a from targets in modules-names.
55340
80da2e09
KS
553412010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55342
55343 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55344 requires it.
55345
158db122
LM
553462010-06-10 Luis Machado <luisgpm@br.ibm.com>
55347
55348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55349 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55352
caa78cf8
AS
553532010-06-02 Andreas Schwab <schwab@redhat.com>
55354
55355 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55356
b2ef2c01
UD
553572010-06-14 Ulrich Drepper <drepper@redhat.com>
55358
55359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55360 and F_GETPIPE_SZ.
55361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55367
fbd643b6
RM
553682010-06-14 Roland McGrath <roland@redhat.com>
55369
55370 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55371
f32f2869
JJ
553722010-06-07 Jakub Jelinek <jakub@redhat.com>
55373
55374 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55375 __REDIRECT followed by __THROW.
55376 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55377 * posix/getopt.h (getopt): Likewise.
55378
2a50c078
EPM
553792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55380
55381 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55382 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55383 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55384 in AT_FLAGS.
55385 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55386 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55387
eb5ad2eb
LM
553882010-05-28 Luis Machado <luisgpm@br.ibm.com>
55389
55390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55391
3c88fe1e
L
553922010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55393
55394 [BZ #11640]
55395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55396 Properly check family and model.
55397
d2f73151
TY
553982010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55399
55400 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55401
ebd2e13d
LM
554022010-05-24 Luis Machado <luisgpm@br.ibm.com>
55403
55404 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55405
b32b8b45
UD
554062010-05-21 Ulrich Drepper <drepper@redhat.com>
55407
55408 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55409 symbol reference.
55410
9acbe24d
AS
554112010-05-19 Andreas Schwab <schwab@redhat.com>
55412
55413 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55414 symbol reference.
55415
f0ccf6ea
AS
554162010-05-21 Andreas Schwab <schwab@redhat.com>
55417
3d04ff3a
AS
55418 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55419 and internal_recvmmsg.
55420 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55421 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55422 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55423 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55424
f0ccf6ea
AS
55425 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55426 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55427 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55428
5b08ac57
AS
554292010-05-20 Andreas Schwab <schwab@redhat.com>
55430
55431 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55432
4828935d
LM
554332010-05-17 Luis Machado <luisgpm@br.ibm.com>
55434
55435 POWER7 optimizations.
55436 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55437 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55438
373d545e
UD
554392010-05-19 Ulrich Drepper <drepper@redhat.com>
55440
55441 * version.h: Update for 2.13 development version.
55442
21a2b1ae
AS
554432010-05-12 Andrew Stubbs <ams@codesourcery.com>
55444
55445 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55446 exceptions. Return 0.
55447
3f7dcb2b
RM
554482010-05-07 Roland McGrath <roland@redhat.com>
55449
55450 * elf/ldconfig.c (main): Add a const.
55451
5f24d53a 554522010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 55453
a160f8d8
UD
55454 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55455 (args_options): Add no-idn option.
55456 (ahosts_keys_int): Add idn_flags to ai_flags.
55457 (parse_option): Handle 'i' option to clear idn_flags.
55458
5f24d53a
UD
55459 * malloc/malloc.c (_int_free): Possible race in the most recently
55460 added check. Only act on the data if no current modification
55461 happened.
265bb1ce
UD
55462
55463See ChangeLog.17 for earlier changes.
This page took 8.333918 seconds and 5 git commands to generate.